├── README.md ├── src ├── zbs_demo_rap_gen1 │ ├── zbs_demo_gen1.srvd.srvdsrv │ ├── zbs_c_dmogen1.ddls.baseinfo │ ├── zbs_r_dmogen1.ddls.baseinfo │ ├── zbp_bs_demo_simple_gen1.clas.abap │ ├── zbs_c_dmogen1.bdef.asbdef │ ├── package.devc.xml │ ├── zbp_bs_demo_simple_gen1.clas.locals_imp.abap │ ├── zbs_c_dmogen1.ddls.asddls │ ├── zbs_c_dmogen1.ddls.xml │ ├── zbs_r_dmogen1.ddls.xml │ ├── zbs_c_dmogen1.ddlx.xml │ ├── zbs_demo_key.doma.xml │ ├── zbs_r_dmogen1.ddls.asddls │ ├── zbp_bs_demo_simple_gen1.clas.xml │ ├── zbs_ui_demo_gen1_o4_0001_g4ba.sco2.xml │ ├── zbs_demo_gen1.srvd.xml │ ├── zbs_demo_key.dtel.xml │ ├── zbs_demo_description.dtel.xml │ └── zbs_demo_price.dtel.xml ├── zbs_demo_rap_interface │ ├── zbs_rap_companynames.bdef.asbdef │ ├── zbs_demo_rap_onprem_odata.srvd.srvdsrv │ ├── zbs_rap_companynames.ddls.baseinfo │ ├── package.devc.xml │ ├── zbs_rap_companynames.ddls.xml │ ├── zcl_bs_demo_read_odata.clas.xml │ ├── zcl_bs_demo_read_func.clas.xml │ ├── zcl_bs_demo_odata_actions.clas.xml │ ├── zbs_demo_rap_onprem_func.clas.xml │ ├── zcl_bs_demo_read_odata_new.clas.xml │ ├── zbs_rap_companynames.ddls.asddls │ ├── zbs_demo_outbound_service_rest.sco3.xml │ └── zbs_demo_rap_onprem_odata.srvd.xml ├── zbs_demo_rap_unmanaged │ ├── zbs_demo_unmanaged.srvd.srvdsrv │ ├── zbs_c_dmounmanaged.bdef.asbdef │ ├── zbp_bs_demo_unmanaged.clas.abap │ ├── zbs_r_dmounmanaged.ddls.baseinfo │ ├── zbs_c_dmounmanaged.ddls.baseinfo │ ├── zbs_r_dmounmanaged.ddls.asddls │ ├── package.devc.xml │ ├── zbs_r_dmounmanaged.bdef.asbdef │ ├── zbs_r_dmounmanaged.ddls.xml │ ├── zbs_c_dmounmanaged.ddls.xml │ ├── zif_bs_demo_rap_data_handler.intf.xml │ ├── zcl_bs_demo_unmanaged_data.clas.xml │ ├── zcl_bs_demo_unmanaged_query.clas.xml │ ├── zcl_bs_demo_rap_data_handler.clas.xml │ ├── zcl_bs_demo_unmanaged_data.clas.abap │ ├── zbp_bs_demo_unmanaged.clas.xml │ ├── zbs_ui_demo_unmanaged_o2_iwsg.sco2.xml │ └── zbs_demo_unmanaged.srvd.xml ├── zbs_demo_rap_custom_action │ ├── zbs_custom_action.srvd.srvdsrv │ ├── zbp_bs_demo_custom_action.clas.abap │ ├── zbs_r_cusactentitytp.ddls.baseinfo │ ├── zbs_r_cusactentitytp.bdef.asbdef │ ├── package.devc.xml │ ├── zbs_r_cusactentitytp.ddls.xml │ ├── zcl_bs_demo_custom_action_qry.clas.xml │ ├── zbp_bs_demo_custom_action.clas.xml │ ├── zbs_ui_custom_action_o2_iwsg.sco2.xml │ └── zbs_custom_action.srvd.xml ├── zbs_demo_rap_pattern │ ├── zbs_demo_rap_pattern_report │ │ ├── zbs_s_drpexcelpopup.bdef.asbdef │ │ ├── zbp_bs_drp_currency.clas.abap │ │ ├── zbs_s_drpeventdata.ddls.asddls │ │ ├── zbs_s_drpeventdata.ddls.baseinfo │ │ ├── zbs_s_drpexcelpopup.ddls.baseinfo │ │ ├── zbs_s_drpexcelpopup.ddls.asddls │ │ ├── zbs_demo_drp_currency.srvd.srvdsrv │ │ ├── zcl_bs_drp_event_consumption.clas.abap │ │ ├── zbs_b_drpadditionalcurrency.ddls.baseinfo │ │ ├── zbs_b_drpcurrencycountry.ddls.baseinfo │ │ ├── zbs_b_drpcurrencycountry.ddls.asddls │ │ ├── zbs_i_drpcurrencycountry.ddls.baseinfo │ │ ├── zbs_c_drpcurrencycountry.ddls.baseinfo │ │ ├── zbs_r_drpcurrency.ddls.baseinfo │ │ ├── zbs_c_drpcurrency.ddls.baseinfo │ │ ├── package.devc.xml │ │ ├── zbs_c_drpcurrencycountry.ddlx.asddlxs │ │ ├── zbs_r_drpcurrency.ddls.xml │ │ ├── zbs_s_drpexcelpopup.ddls.xml │ │ ├── zbs_c_drpcurrency.ddls.xml │ │ ├── zbs_s_drpeventdata.ddls.xml │ │ ├── zbs_b_drpcurrencycountry.ddls.xml │ │ ├── zbs_i_drpcurrencycountry.ddls.xml │ │ ├── zbs_c_drpcurrency.ddlx.xml │ │ ├── zbs_b_drpadditionalcurrency.ddls.xml │ │ ├── zbs_c_drpcurrencycountry.ddls.xml │ │ ├── zbs_c_drpcurrencycountry.ddlx.xml │ │ ├── zbs_c_drpcurrencycountry.ddls.asddls │ │ ├── zbs_i_drpcurrencycountry.ddls.asddls │ │ ├── zcl_bs_drp_event_consumption.clas.xml │ │ ├── zbp_bs_drp_currency.clas.xml │ │ ├── zbs_c_drpcurrency.bdef.asbdef │ │ ├── zbs_ui_demo_drp_currency_o4_0001_g4ba.sco2.xml │ │ ├── zcx_drp_excel_error.clas.xml │ │ ├── zbs_demo_drp_currency.srvd.xml │ │ └── zbs_b_drpadditionalcurrency.ddls.asddls │ ├── zbs_demo_rap_pattern_api │ │ ├── zbs_api_location_endpoint.srvd.srvdsrv │ │ ├── zbp_bs_api_location.clas.abap │ │ ├── zbs_r_apilocation.ddls.baseinfo │ │ ├── zbs_r_apilocation.ddls.asddls │ │ ├── package.devc.xml │ │ ├── zbs_r_apilocation.ddls.xml │ │ ├── zbs_r_apilocation.bdef.asbdef │ │ ├── zcl_bs_api_target.clas.xml │ │ ├── zbp_bs_api_location.clas.xml │ │ ├── zbs_api_location_endp_o2_iwsg.sco2.xml │ │ └── zbs_api_location_endpoint.srvd.xml │ ├── zbs_demo_rap_pattern_cds │ │ ├── zbp_bs_cdspattern_invoice.clas.abap │ │ ├── zbs_t_cdspatterninvoice.ddls.baseinfo │ │ ├── zbs_t_cdspatternposition.ddls.baseinfo │ │ ├── zbs_demo_pattern_cds.srvd.srvdsrv │ │ ├── zbs_c_cdspatterninvoice.ddls.baseinfo │ │ ├── zbs_c_cdspatternposition.ddls.baseinfo │ │ ├── package.devc.xml │ │ ├── zbs_t_cdspatterninvoice.ddls.xml │ │ ├── zbs_t_cdspatternposition.ddls.xml │ │ ├── zbs_c_cdspatterninvoice.ddls.xml │ │ ├── zbs_c_cdspatternposition.ddls.xml │ │ ├── zbs_c_cdspatterninvoice.ddls.asddls │ │ ├── zbs_c_cdspatterninvoice.ddlx.xml │ │ ├── zbs_c_cdspatternposition.ddlx.xml │ │ ├── zbs_c_cdspatternposition.ddls.asddls │ │ ├── zbs_c_cdspatterninvoice.bdef.asbdef │ │ ├── zbp_bs_cdspattern_invoice.clas.xml │ │ ├── zbs_ui_demo_pattern_cds_o4_0001_g4ba.sco2.xml │ │ ├── zbs_demo_pattern_cds.srvd.xml │ │ └── zbs_t_cdspatternposition.ddls.asddls │ ├── zbs_demo_rap_pattern_custom │ │ ├── zbs_dcp_swc.srvd.srvdsrv │ │ ├── zbp_bs_dcp_softwarecomponent.clas.abap │ │ ├── zbs_r_dcpsoftwarecomponent.ddls.baseinfo │ │ ├── zbs_i_dcpteamvh.ddls.baseinfo │ │ ├── zbs_i_dcpapplicationvh.ddls.baseinfo │ │ ├── zbs_i_cpstagingvh.ddls.baseinfo │ │ ├── package.devc.xml │ │ ├── zbs_i_dcpteamvh.ddls.xml │ │ ├── zbs_i_cpstagingvh.ddls.xml │ │ ├── zbs_i_dcpapplicationvh.ddls.xml │ │ ├── zbs_r_dcpsoftwarecomponent.ddls.xml │ │ ├── zcl_bs_dcp_swc_query.clas.xml │ │ ├── zcl_bs_dcp_data_init.clas.xml │ │ ├── zbs_demo_dcp_text.doma.xml │ │ ├── zbs_i_dcpteamvh.ddls.asddls │ │ ├── zbs_r_dcpsoftwarecomponent.bdef.asbdef │ │ ├── zbp_bs_dcp_softwarecomponent.clas.xml │ │ ├── zbs_ui_dcp_swc_o2_iwsg.sco2.xml │ │ ├── zbs_ui_dcp_swc_o4_0001_g4ba.sco2.xml │ │ ├── zbs_dcp_swc.srvd.xml │ │ ├── zbs_demo_dcp_text.dtel.xml │ │ ├── zbs_i_cpstagingvh.ddls.asddls │ │ ├── zbs_demo_dcp_staging.dtel.xml │ │ ├── zbs_demo_dcp_team.dtel.xml │ │ └── zbs_demo_dcp_appl.dtel.xml │ ├── package.devc.xml │ └── zbs_demo_rap_pattern_singleton │ │ └── package.devc.xml ├── zbs_demo_rap_complexe │ ├── zbs_i_rapcmailpopup.ddls.asddls │ ├── zbs_rapc_invoice.srvd.srvdsrv │ ├── zbp_bs_rapcinvoice.clas.abap │ ├── zbs_i_rapcmailpopup.ddls.baseinfo │ ├── zbs_i_rapcmaterial.ddls.baseinfo │ ├── zbs_s_rapcreateinvoice.ddls.baseinfo │ ├── zbs_s_rapcreateposition.ddls.baseinfo │ ├── zbs_r_rapcinvoice.ddls.baseinfo │ ├── zbs_s_rapcreateinvoice.ddls.asddls │ ├── zbs_i_rapcposition.ddls.baseinfo │ ├── zbs_s_rapcreateinvoice.bdef.asbdef │ ├── zbs_c_rapcinvoice.ddls.baseinfo │ ├── zbs_c_rapcposition.ddls.baseinfo │ ├── package.devc.xml │ ├── zbs_r_rapcinvoice.ddls.asddls │ ├── zbs_s_rapcreateinvoice.ddls.xml │ ├── zbs_i_rapcmailpopup.ddls.xml │ ├── zbs_r_rapcinvoice.ddls.xml │ ├── zbs_s_rapcreateposition.ddls.xml │ ├── zbs_c_rapcinvoice.ddls.xml │ ├── zbs_i_rapcmaterial.ddls.xml │ ├── zbs_i_rapcposition.ddls.xml │ ├── zbs_c_rapcposition.ddls.asddls │ ├── zbs_c_rapcposition.ddls.xml │ ├── zbs_c_rapcinvoice.ddlx.xml │ ├── zbs_c_rapcposition.ddlx.xml │ ├── zbs_i_rapcmaterial.ddls.asddls │ ├── zbs_c_rapcinvoice.bdef.asbdef │ ├── zcl_bs_demo_crap_eml.clas.xml │ ├── zcl_bs_demo_crap_mail.clas.xml │ ├── zcl_bs_demo_crap_ve_exit.clas.xml │ ├── zcl_bs_demo_eml_deep_action.clas.xml │ ├── zbs_s_rapcreateposition.ddls.asddls │ ├── zbp_bs_rapcinvoice.clas.xml │ ├── zbs_ui_rapc_invoice_o2_iwsg.sco2.xml │ ├── zbs_api_rapc_invoice_o4_0001_g4ba.sco2.xml │ ├── zbs_rapc_invoice.srvd.xml │ ├── zbs_i_rapcposition.ddls.asddls │ └── zbs_c_rapcinvoice.ddls.asddls ├── zbs_demo_rap_custom │ ├── zbs_demo_company_names.srvd.srvdsrv │ ├── zbp_bs_demo_company_names.clas.abap │ ├── zbs_r_rapcustomcompanynames.ddls.baseinfo │ ├── zbs_r_rapcustomcompanynames.bdef.asbdef │ ├── package.devc.xml │ ├── zbs_r_rapcustomcompanynames.ddls.xml │ ├── zcl_bs_demo_custom_company_qry.clas.xml │ ├── zbp_bs_demo_company_names.clas.xml │ ├── zbs_ui_demo_com_names_o2_iwsg.sco2.xml │ └── zbs_demo_company_names.srvd.xml ├── zbs_demo_rap_simple │ ├── zbp_bs_demo_rappartner.clas.abap │ ├── zbs_simple_partner.srvd.srvdsrv │ ├── zbs_i_rapcityvh.ddls.baseinfo │ ├── zbs_i_popupentity.ddls.baseinfo │ ├── zbs_i_rapcustomentitycnames.ddls.baseinfo │ ├── zbs_c_rappartner.ddls.baseinfo │ ├── zbs_i_rappartner.ddls.baseinfo │ ├── zbs_c_countryvh.ddls.baseinfo │ ├── zbs_i_rapcustomentitycnames.ddls.asddls │ ├── package.devc.xml │ ├── zbs_c_rappartner.bdef.asbdef │ ├── zbs_i_rapcityvh.ddls.asddls │ ├── zbs_i_rapcityvh.ddls.xml │ ├── zbs_i_popupentity.ddls.xml │ ├── zbs_c_countryvh.ddls.xml │ ├── zbs_c_rappartner.ddls.xml │ ├── zbs_i_rappartner.ddls.xml │ ├── zbs_i_rapcustomentitycnames.ddls.xml │ ├── zcl_bs_demo_unit_cleanup.clas.abap │ ├── zbs_c_rappartner.ddlx.xml │ ├── zbs_i_rappartner.ddlx.xml │ ├── zcl_bs_demo_simple_eml.clas.xml │ ├── zcl_bs_demo_action_eml.clas.xml │ ├── zcl_bs_demo_adjust_data.clas.xml │ ├── zcl_bs_demo_city_query.clas.xml │ ├── zcl_bs_demo_unit_cleanup.clas.xml │ ├── zcl_bs_demo_cust_cname_query.clas.xml │ ├── zbs_i_popupentity.ddls.asddls │ ├── zbp_bs_demo_rappartner.clas.xml │ ├── zcl_bs_demo_unit_rap.clas.xml │ ├── zcl_bs_demo_unit_service.clas.xml │ ├── zbs_c_countryvh.ddls.asddls │ ├── zbs_ui_simple_partner_o2_iwsg.sco2.xml │ ├── zbs_api_simple_partner_o2_iwsg.sco2.xml │ ├── zbs_ui_simple_partner_o4_0001_g4ba.sco2.xml │ ├── zbs_simple_partner.srvd.xml │ └── zcl_bs_demo_action_eml.clas.abap ├── zbs_demo_rap_gen3 │ ├── zbs_a_generatortemplate.ddls.baseinfo │ ├── zbs_g3invoice.ront.json │ ├── zbs_r_g3header.ddls.baseinfo │ ├── zbs_bp_c_g3header.clas.abap │ ├── zbs_bp_r_g3header.clas.abap │ ├── zbs_r_g3note.ddls.baseinfo │ ├── zbs_r_g3position.ddls.baseinfo │ ├── zbs_g3invoice.nont.json │ ├── zbs_c_g3header.ddls.baseinfo │ ├── zbs_c_g3note.ddls.baseinfo │ ├── zbs_c_g3position.ddls.baseinfo │ ├── zbs_ui_g3invoice_o4.srvd.srvdsrv │ ├── package.devc.xml │ ├── zbs_a_generatortemplate.ddls.asddls │ ├── zbs_c_g3note.ddls.asddls │ ├── zbs_bp_r_g3header.clas.locals_imp.abap │ ├── zbs_r_g3note.ddls.xml │ ├── zbs_c_g3note.ddls.xml │ ├── zbs_r_g3header.ddls.xml │ ├── zbs_c_g3header.ddls.xml │ ├── zbs_r_g3position.ddls.xml │ ├── zbs_a_generatortemplate.ddls.xml │ ├── zbs_c_g3position.ddls.xml │ ├── zbs_c_g3note.ddlx.xml │ ├── zbs_c_g3header.ddlx.xml │ ├── zbs_c_g3position.ddlx.xml │ ├── zbs_c_g3position.ddls.asddls │ ├── zbs_r_g3note.ddls.asddls │ ├── zbs_bp_r_g3header.clas.xml │ ├── zbs_bp_c_g3header.clas.xml │ ├── zbs_c_g3header.ddls.asddls │ ├── zbs_ui_g3invoice_o4_0001_g4ba.sco2.xml │ ├── zbs_ui_g3invoice_o4.srvd.xml │ └── zbs_r_g3position.ddls.asddls ├── zbs_demo_rap_fiori │ ├── zbs_demo_rap_fiori_config │ │ ├── zbs_i_dmocustomtile.ddls.baseinfo │ │ ├── package.devc.xml │ │ ├── zbs_i_dmocustomtile.ddls.xml │ │ ├── zif_bs_demo_tilec.intf.xml │ │ ├── zcl_bs_demo_tile_query.clas.xml │ │ ├── zcl_bs_demo_tilec_partnerapp.clas.xml │ │ ├── zcl_bs_demo_tile_endpoint.clas.xml │ │ ├── zbs_i_dmocustomtile.ddls.asddls │ │ ├── zbs_demo_tile_endpoint_http.sco2.xml │ │ └── zbs_demo_tile_endpoint.http.xml │ ├── package.devc.xml │ ├── zbs_demo_rap_fiori_lp │ │ ├── zbs_demo_adt_space.uist.json │ │ ├── package.devc.xml │ │ └── zcl_bs_demo_scope_launchpad.clas.xml │ ├── zbs_demo_rap_fiori_quick │ │ └── package.devc.xml │ ├── zbs_demo_rap_fiori_item │ │ └── package.devc.xml │ ├── zbs_demo_rap_apps_0001.sia7.xml │ ├── zbs_demo_rap_apps_0002.sia7.xml │ └── zbs_demo_rap_apps_0003.sia7.xml ├── zbs_demo_rap_google │ ├── zbs_r_dmolanguage.ddls.baseinfo │ ├── zbs_c_dmolanguage.ddls.baseinfo │ ├── zbp_bs_c_demo_language.clas.abap │ ├── zbp_bs_r_demo_language.clas.abap │ ├── zbs_demo_language.srvd.srvdsrv │ ├── package.devc.xml │ ├── zbs_c_dmolanguage.bdef.asbdef │ ├── zbs_c_dmolanguage.ddls.xml │ ├── zbs_r_dmolanguage.ddls.xml │ ├── zbs_c_dmolanguage.ddlx.xml │ ├── zbs_demo_text.doma.xml │ ├── zcl_bs_demo_google_integration.clas.xml │ ├── zbp_bs_r_demo_language.clas.xml │ ├── zbp_bs_c_demo_language.clas.xml │ ├── zbs_ui_demo_language_o4_0001_g4ba.sco2.xml │ ├── zbs_demo_text.dtel.xml │ ├── zbs_demo_language.srvd.xml │ └── zbs_r_dmolanguage.ddls.asddls ├── zbs_demo_rap_tree │ ├── zbs_i_dmotreeteamhr.ddls.baseinfo │ ├── zbs_r_dmotreeteam.ddls.baseinfo │ ├── zbs_c_dmotreeteam.ddls.baseinfo │ ├── zbp_bs_demo_tree_team.clas.abap │ ├── zbp_bs_demo_tree_teamc.clas.abap │ ├── zbs_demo_tree_team.srvd.srvdsrv │ ├── zbs_i_dmotreeteamhr.ddls.asddls │ ├── zbs_c_dmotreeteam.bdef.asbdef │ ├── package.devc.xml │ ├── zbs_i_dmotreeteamhr.ddls.xml │ ├── zbs_r_dmotreeteam.ddls.xml │ ├── zbs_c_dmotreeteam.ddls.xml │ ├── zbs_c_dmotreeteam.ddlx.xml │ ├── zbp_bs_demo_tree_team.clas.xml │ ├── zbp_bs_demo_tree_teamc.clas.xml │ ├── zbs_c_dmotreeteam.ddls.asddls │ ├── zbs_ui_demo_tree_team_o4_0001_g4ba.sco2.xml │ └── zbs_demo_tree_team.srvd.xml ├── package.devc.xml ├── zbs_demo_rap_utility │ ├── package.devc.xml │ ├── zif_bs_demo_service_prov.intf.xml │ ├── zcl_bs_demo_service_prov_fact.clas.abap │ ├── zcl_bs_demo_service_prov.clas.xml │ ├── zcl_bs_demo_service_prov_fact.clas.xml │ ├── zcx_bs_demo_provider_error.clas.xml │ └── zcx_bs_demo_provider_error.clas.abap └── zbs_demo_rap_gen2 │ └── package.devc.xml └── .abapgit.xml /README.md: -------------------------------------------------------------------------------- 1 | # Ressources for RAP Blog 2 | Hi there, 3 | here are the example ressources for my blog https://software-heroes.com/. 4 | 5 | Greetings 6 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_demo_gen1.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Service definition for ZBS_C_DMOGEN1' 2 | define service ZBS_DEMO_GEN1 { 3 | expose ZBS_C_DMOGEN1 as Simple; 4 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zbs_rap_companynames.bdef.asbdef: -------------------------------------------------------------------------------- 1 | implementation abstract; 2 | define behavior for ZBS_RAP_COMPANYNAMES 3 | { 4 | create; 5 | update; 6 | delete; 7 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_demo_unmanaged.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Unmanaged Service' 2 | define service ZBS_DEMO_UNMANAGED { 3 | expose ZBS_C_DMOUnmanaged as Unmanaged; 4 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/zbs_custom_action.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Custom Action' 2 | define service ZBS_CUSTOM_ACTION { 3 | expose ZBS_R_CusActEntityTP as CustomAction; 4 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_s_drpexcelpopup.bdef.asbdef: -------------------------------------------------------------------------------- 1 | abstract; 2 | 3 | define behavior for ZBS_S_DRPExcelPopup 4 | { 5 | field ( mandatory ) EventComment, TestRun; 6 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_i_rapcmailpopup.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Popup entity for Mail' 2 | define abstract entity ZBS_I_RAPCMailPopup 3 | { 4 | ReceiverMail : abap.char(512); 5 | 6 | } 7 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/zbs_demo_company_names.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Service for Company Names' 2 | define service ZBS_DEMO_COMPANY_NAMES { 3 | expose ZBS_R_RAPCustomCompanyNames as CompanyNames; 4 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_c_dmounmanaged.bdef.asbdef: -------------------------------------------------------------------------------- 1 | projection; 2 | strict ( 1 ); 3 | 4 | define behavior for ZBS_C_DMOUnmanaged alias Unmanaged 5 | { 6 | use create; 7 | use update; 8 | use delete; 9 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zbs_api_location_endpoint.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Location API' 2 | define service ZBS_API_LOCATION_ENDPOINT { 3 | expose ZBS_R_APILocation as Location; 4 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_rapc_invoice.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Invoice Service' 2 | define service ZBS_RAPC_INVOICE { 3 | expose ZBS_C_RAPCInvoice as Invoice; 4 | expose ZBS_C_RAPCPosition as Position; 5 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbp_bs_rapcinvoice.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zbp_bs_rapcinvoice DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF zbs_r_rapcinvoice. 2 | ENDCLASS. 3 | 4 | 5 | 6 | CLASS ZBP_BS_RAPCINVOICE IMPLEMENTATION. 7 | ENDCLASS. 8 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbp_bs_demo_rappartner.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zbp_bs_demo_rappartner DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF zbs_i_rappartner. 2 | ENDCLASS. 3 | 4 | 5 | 6 | CLASS ZBP_BS_DEMO_RAPPARTNER IMPLEMENTATION. 7 | ENDCLASS. 8 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbp_bs_demo_unmanaged.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zbp_bs_demo_unmanaged DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF zbs_r_dmounmanaged. 2 | ENDCLASS. 3 | 4 | 5 | 6 | CLASS ZBP_BS_DEMO_UNMANAGED IMPLEMENTATION. 7 | ENDCLASS. 8 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/zbp_bs_demo_custom_action.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zbp_bs_demo_custom_action DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF zbs_r_cusactentitytp. 2 | ENDCLASS. 3 | 4 | CLASS zbp_bs_demo_custom_action IMPLEMENTATION. 5 | ENDCLASS. 6 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zbs_demo_rap_onprem_odata.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'ZBS_DEMO_RAP_ONPREM_ODATA' 2 | @OData.schema.name: 'cds_zbs_demo_company_names' 3 | define service ZBS_DEMO_RAP_ONPREM_ODATA { 4 | expose ZBS_RAP_COMPANYNAMES; 5 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zbp_bs_api_location.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zbp_bs_api_location DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF zbs_r_apilocation. 2 | ENDCLASS. 3 | 4 | CLASS zbp_bs_api_location IMPLEMENTATION. 5 | ENDCLASS. 6 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/zbp_bs_demo_company_names.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zbp_bs_demo_company_names DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF zbs_r_rapcustomcompanynames. 2 | ENDCLASS. 3 | 4 | 5 | 6 | CLASS ZBP_BS_DEMO_COMPANY_NAMES IMPLEMENTATION. 7 | ENDCLASS. 8 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_simple_partner.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Simple Partner Service' 2 | define service ZBS_SIMPLE_PARTNER { 3 | expose ZBS_C_RAPPartner as Partner; 4 | expose ZBS_I_RAPCityVH; 5 | expose ZBS_I_DMOCustomTile as Tile; 6 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbp_bs_drp_currency.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zbp_bs_drp_currency DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF zbs_r_drpcurrency. 2 | ENDCLASS. 3 | 4 | 5 | 6 | CLASS ZBP_BS_DRP_CURRENCY IMPLEMENTATION. 7 | ENDCLASS. 8 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_s_drpeventdata.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Additional event data' 2 | define abstract entity ZBS_S_DRPEventData 3 | { 4 | EventComment : abap.char(60); 5 | LastEditor : abap.char(12); 6 | 7 | } 8 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_rapcityvh.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_i_rapcmailpopup.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_a_generatortemplate.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbp_bs_cdspattern_invoice.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zbp_bs_cdspattern_invoice DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF zbs_t_cdspatterninvoice. 2 | ENDCLASS. 3 | 4 | CLASS zbp_bs_cdspattern_invoice IMPLEMENTATION. 5 | ENDCLASS. 6 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_popupentity.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zbs_rap_companynames.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/zbs_r_rapcustomcompanynames.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/zbs_r_cusactentitytp.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_dcp_swc.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Software Component' 2 | define service ZBS_DCP_SWC { 3 | expose ZBS_R_DCPSoftwareComponent as SoftwareComponent; 4 | expose ZBS_I_DCPTeamVH; 5 | expose ZBS_I_DCPApplicationVH; 6 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_rapcustomentitycnames.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbp_bs_dcp_softwarecomponent.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zbp_bs_dcp_softwarecomponent DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF zbs_r_dcpsoftwarecomponent. 2 | ENDCLASS. 3 | 4 | CLASS zbp_bs_dcp_softwarecomponent IMPLEMENTATION. 5 | ENDCLASS. 6 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_c_dmogen1.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_R_DMOGEN1" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_r_dmogen1.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DMO_GEN1" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/zbs_i_dmocustomtile.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_r_dmolanguage.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DMO_LANG" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zbs_r_apilocation.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_c_rappartner.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_I_RAPPARTNER" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_rappartner.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DMO_PARTNER" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_i_rapcmaterial.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DMO_MATERIAL" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_c_dmolanguage.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_R_DMOLANGUAGE" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_t_cdspatterninvoice.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_t_cdspatternposition.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_s_drpeventdata.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_s_drpexcelpopup.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_r_dmounmanaged.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DMO_UNMGND" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_r_dcpsoftwarecomponent.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [], 8 | "BASE": 9 | [], 10 | "ANNO_REF": 11 | [], 12 | "SCALAR_FUNCTION": 13 | [], 14 | "VERSION":0, 15 | "ANNOREF_EVALUATION_ERROR":"" 16 | } 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_c_dmounmanaged.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_R_DMOUNMANAGED" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_s_rapcreateinvoice.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [ 8 | "ZBS_S_RAPCREATEPOSITION" 9 | ], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_s_rapcreateposition.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [ 8 | "ZBS_S_RAPCREATEINVOICE" 9 | ], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_c_countryvh.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "I_COUNTRY", 7 | "I_COUNTRYTEXT" 8 | ], 9 | "ASSOCIATED": 10 | [], 11 | "BASE": 12 | [], 13 | "ANNO_REF": 14 | [], 15 | "SCALAR_FUNCTION": 16 | [], 17 | "VERSION":0, 18 | "ANNOREF_EVALUATION_ERROR":"" 19 | } 20 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_g3invoice.ront.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatVersion": "1", 3 | "header": { 4 | "description": "SAP Object Type ZBS_G3INVOICE", 5 | "originalLanguage": "en", 6 | "abapLanguageVersion": "cloudDevelopment" 7 | }, 8 | "typeCategory": "businessObject", 9 | "name": "ZBS_G3Invoice" 10 | } 11 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_r_g3header.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_G3HEADER" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_R_G3POSITION" 11 | ], 12 | "BASE": 13 | [], 14 | "ANNO_REF": 15 | [], 16 | "SCALAR_FUNCTION": 17 | [], 18 | "VERSION":0, 19 | "ANNOREF_EVALUATION_ERROR":"" 20 | } 21 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_i_dcpteamvh.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DCP_TEAM" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_s_drpexcelpopup.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Excel Popup' 2 | define root abstract entity ZBS_S_DRPExcelPopup 3 | { 4 | @EndUserText.label: 'Comment' 5 | EventComment : abap.char(60); 6 | @EndUserText.label: 'Test run' 7 | TestRun : abap_boolean; 8 | } 9 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_demo_drp_currency.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Currency Service' 2 | @ObjectModel.leadingEntity.name: 'ZBS_C_DRPCurrency' 3 | define service ZBS_DEMO_DRP_CURRENCY { 4 | expose ZBS_C_DRPCurrency as Currency; 5 | expose ZBS_C_DRPCurrencyCountry as Country; 6 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_i_dmotreeteamhr.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "DDDDL_HIERARCHY", 7 | "ZBS_R_DMOTREETEAM" 8 | ], 9 | "ASSOCIATED": 10 | [], 11 | "BASE": 12 | [], 13 | "ANNO_REF": 14 | [], 15 | "SCALAR_FUNCTION": 16 | [], 17 | "VERSION":0, 18 | "ANNOREF_EVALUATION_ERROR":"" 19 | } 20 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_r_dmotreeteam.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DMO_TEAM" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_R_DMOTREETEAM" 11 | ], 12 | "BASE": 13 | [], 14 | "ANNO_REF": 15 | [], 16 | "SCALAR_FUNCTION": 17 | [], 18 | "VERSION":0, 19 | "ANNOREF_EVALUATION_ERROR":"" 20 | } 21 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_r_rapcinvoice.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DMO_INVOICE" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_I_RAPCPOSITION" 11 | ], 12 | "BASE": 13 | [], 14 | "ANNO_REF": 15 | [], 16 | "SCALAR_FUNCTION": 17 | [], 18 | "VERSION":0, 19 | "ANNOREF_EVALUATION_ERROR":"" 20 | } 21 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_bp_c_g3header.clas.abap: -------------------------------------------------------------------------------- 1 | class ZBS_BP_C_G3HEADER definition 2 | public 3 | abstract 4 | final 5 | for behavior of ZBS_C_G3HEADER . 6 | 7 | public section. 8 | protected section. 9 | private section. 10 | ENDCLASS. 11 | 12 | 13 | 14 | CLASS ZBS_BP_C_G3HEADER IMPLEMENTATION. 15 | ENDCLASS. 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_bp_r_g3header.clas.abap: -------------------------------------------------------------------------------- 1 | class ZBS_BP_R_G3HEADER definition 2 | public 3 | abstract 4 | final 5 | for behavior of ZBS_R_G3HEADER . 6 | 7 | public section. 8 | protected section. 9 | private section. 10 | ENDCLASS. 11 | 12 | 13 | 14 | CLASS ZBS_BP_R_G3HEADER IMPLEMENTATION. 15 | ENDCLASS. 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_demo_pattern_cds.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'CDS Pattern Service' 2 | @ObjectModel.leadingEntity.name: 'ZBS_C_CDSPatternInvoice' 3 | define service ZBS_DEMO_PATTERN_CDS { 4 | expose ZBS_C_CDSPatternInvoice as Invoice; 5 | expose ZBS_C_CDSPatternPosition as Position; 6 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zcl_bs_drp_event_consumption.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zcl_bs_drp_event_consumption DEFINITION 2 | PUBLIC ABSTRACT FINAL 3 | FOR EVENTS OF ZBS_R_DRPCurrency. 4 | 5 | PUBLIC SECTION. 6 | ENDCLASS. 7 | 8 | 9 | CLASS zcl_bs_drp_event_consumption IMPLEMENTATION. 10 | ENDCLASS. 11 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_c_dmotreeteam.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_R_DMOTREETEAM" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_C_DMOTREETEAM" 11 | ], 12 | "BASE": 13 | [], 14 | "ANNO_REF": 15 | [], 16 | "SCALAR_FUNCTION": 17 | [], 18 | "VERSION":0, 19 | "ANNOREF_EVALUATION_ERROR":"" 20 | } 21 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_b_drpadditionalcurrency.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DRP_ADDCURR" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_b_drpcurrencycountry.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_DRP_COUNTRY" 7 | ], 8 | "ASSOCIATED": 9 | [], 10 | "BASE": 11 | [], 12 | "ANNO_REF": 13 | [], 14 | "SCALAR_FUNCTION": 15 | [], 16 | "VERSION":0, 17 | "ANNOREF_EVALUATION_ERROR":"" 18 | } 19 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_r_g3note.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_G3NOTE" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_R_G3HEADER", 11 | "ZBS_R_G3POSITION" 12 | ], 13 | "BASE": 14 | [], 15 | "ANNO_REF": 16 | [], 17 | "SCALAR_FUNCTION": 18 | [], 19 | "VERSION":0, 20 | "ANNOREF_EVALUATION_ERROR":"" 21 | } 22 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_r_g3position.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_G3POSITION" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_R_G3HEADER", 11 | "ZBS_R_G3NOTE" 12 | ], 13 | "BASE": 14 | [], 15 | "ANNO_REF": 16 | [], 17 | "SCALAR_FUNCTION": 18 | [], 19 | "VERSION":0, 20 | "ANNOREF_EVALUATION_ERROR":"" 21 | } 22 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_s_rapcreateinvoice.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Create Invoice' 2 | define root abstract entity ZBS_S_RAPCreateInvoice 3 | { 4 | key DummyKey : abap.char(1); 5 | Document : abap.char(8); 6 | Partner : abap.char(10); 7 | _Position : composition [0..*] of ZBS_S_RAPCreatePosition; 8 | } 9 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbp_bs_demo_simple_gen1.clas.abap: -------------------------------------------------------------------------------- 1 | class ZBP_BS_DEMO_SIMPLE_GEN1 definition 2 | public 3 | abstract 4 | final 5 | for behavior of ZBS_R_DMOGEN1 . 6 | 7 | public section. 8 | protected section. 9 | private section. 10 | ENDCLASS. 11 | 12 | 13 | 14 | CLASS ZBP_BS_DEMO_SIMPLE_GEN1 IMPLEMENTATION. 15 | ENDCLASS. 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbp_bs_demo_tree_team.clas.abap: -------------------------------------------------------------------------------- 1 | class ZBP_BS_DEMO_TREE_TEAM definition 2 | public 3 | abstract 4 | final 5 | for behavior of ZBS_R_DMOTREETEAM . 6 | 7 | public section. 8 | protected section. 9 | private section. 10 | ENDCLASS. 11 | 12 | 13 | 14 | CLASS ZBP_BS_DEMO_TREE_TEAM IMPLEMENTATION. 15 | ENDCLASS. 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbp_bs_demo_tree_teamc.clas.abap: -------------------------------------------------------------------------------- 1 | class ZBP_BS_DEMO_TREE_TEAMC definition 2 | public 3 | abstract 4 | final 5 | for behavior of ZBS_C_DMOTREETEAM . 6 | 7 | public section. 8 | protected section. 9 | private section. 10 | ENDCLASS. 11 | 12 | 13 | 14 | CLASS ZBP_BS_DEMO_TREE_TEAMC IMPLEMENTATION. 15 | ENDCLASS. 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_g3invoice.nont.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatVersion": "1", 3 | "header": { 4 | "description": "SAP Object Node Type ZBS_G3INVOICE", 5 | "originalLanguage": "en", 6 | "abapLanguageVersion": "cloudDevelopment" 7 | }, 8 | "name": "ZBS_G3Invoice", 9 | "sapObjectType": "ZBS_G3Invoice", 10 | "rootNode": true 11 | } 12 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbp_bs_c_demo_language.clas.abap: -------------------------------------------------------------------------------- 1 | class ZBP_BS_C_DEMO_LANGUAGE definition 2 | public 3 | abstract 4 | final 5 | for behavior of ZBS_C_DMOLANGUAGE . 6 | 7 | public section. 8 | protected section. 9 | private section. 10 | ENDCLASS. 11 | 12 | 13 | 14 | CLASS ZBP_BS_C_DEMO_LANGUAGE IMPLEMENTATION. 15 | ENDCLASS. 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbp_bs_r_demo_language.clas.abap: -------------------------------------------------------------------------------- 1 | class ZBP_BS_R_DEMO_LANGUAGE definition 2 | public 3 | abstract 4 | final 5 | for behavior of ZBS_R_DMOLANGUAGE . 6 | 7 | public section. 8 | protected section. 9 | private section. 10 | ENDCLASS. 11 | 12 | 13 | 14 | CLASS ZBP_BS_R_DEMO_LANGUAGE IMPLEMENTATION. 15 | ENDCLASS. 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_demo_language.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText: { 2 | label: 'Service Definition for ZBS_C_DMOLanguage' 3 | } 4 | @ObjectModel: { 5 | leadingEntity: { 6 | name: 'ZBS_C_DMOLanguage' 7 | } 8 | } 9 | define service ZBS_DEMO_LANGUAGE provider contracts odata_v4_ui { 10 | expose ZBS_C_DMOLANGUAGE as Language; 11 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_i_dcpapplicationvh.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_I_DCPTEAMVH", 7 | "ZBS_DCP_APPL" 8 | ], 9 | "ASSOCIATED": 10 | [], 11 | "BASE": 12 | [], 13 | "ANNO_REF": 14 | [], 15 | "SCALAR_FUNCTION": 16 | [], 17 | "VERSION":0, 18 | "ANNOREF_EVALUATION_ERROR":"" 19 | } 20 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_demo_tree_team.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText: { 2 | label: 'Service Definition for ZBS_C_DMOTreeTeam' 3 | } 4 | @ObjectModel: { 5 | leadingEntity: { 6 | name: 'ZBS_C_DMOTreeTeam' 7 | } 8 | } 9 | define service ZBS_DEMO_TREE_TEAM provider contracts odata_v4_ui { 10 | expose ZBS_C_DMOTREETEAM as Team; 11 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_r_dmounmanaged.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Unmanaged Root' 3 | define root view entity ZBS_R_DMOUnmanaged 4 | as select from zbs_dmo_unmgnd 5 | { 6 | key gen_key as TableKey, 7 | text as Description, 8 | cdate as CreationDate 9 | } 10 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_i_rapcposition.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_I_RAPCMATERIAL", 7 | "ZBS_DMO_POSITION" 8 | ], 9 | "ASSOCIATED": 10 | [ 11 | "ZBS_R_RAPCINVOICE" 12 | ], 13 | "BASE": 14 | [], 15 | "ANNO_REF": 16 | [], 17 | "SCALAR_FUNCTION": 18 | [], 19 | "VERSION":0, 20 | "ANNOREF_EVALUATION_ERROR":"" 21 | } 22 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zbs_r_apilocation.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Location API' 2 | define root custom entity ZBS_R_APILocation 3 | { 4 | key LocationId : abap.char(15); 5 | LocationName : abap.char(80); 6 | LocationCoordinates : abap.char(35); 7 | LocalPeople : abap.int4; 8 | } 9 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_s_rapcreateinvoice.bdef.asbdef: -------------------------------------------------------------------------------- 1 | abstract; 2 | strict( 2 ); 3 | with hierarchy; 4 | 5 | define behavior for ZBS_S_RAPCreateInvoice alias Invoice 6 | { 7 | field ( suppress ) DummyKey; 8 | association _Position; 9 | } 10 | 11 | define behavior for ZBS_S_RAPCreatePosition alias Position 12 | { 13 | field ( suppress ) DummyKey; 14 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_c_dmogen1.bdef.asbdef: -------------------------------------------------------------------------------- 1 | projection; 2 | strict ( 2 ); 3 | use draft; 4 | 5 | define behavior for ZBS_C_DMOGEN1 alias Simple 6 | use etag 7 | 8 | { 9 | use create; 10 | use update; 11 | use delete; 12 | 13 | use action Edit; 14 | use action Activate; 15 | use action Discard; 16 | use action Resume; 17 | use action Prepare; 18 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3header.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_R_G3HEADER" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_C_G3POSITION", 11 | "ZBS_R_G3POSITION" 12 | ], 13 | "BASE": 14 | [ 15 | "ZBS_R_G3HEADER" 16 | ], 17 | "ANNO_REF": 18 | [], 19 | "SCALAR_FUNCTION": 20 | [], 21 | "VERSION":0, 22 | "ANNOREF_EVALUATION_ERROR":"" 23 | } 24 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_i_cpstagingvh.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "DDCDS_CUSTOMER_DOMAIN_VALUE", 7 | "DDCDS_CUSTOMER_DOMAIN_VALUE_T" 8 | ], 9 | "ASSOCIATED": 10 | [], 11 | "BASE": 12 | [], 13 | "ANNO_REF": 14 | [], 15 | "SCALAR_FUNCTION": 16 | [], 17 | "VERSION":0, 18 | "ANNOREF_EVALUATION_ERROR":"" 19 | } 20 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/zbs_r_rapcustomcompanynames.bdef.asbdef: -------------------------------------------------------------------------------- 1 | unmanaged implementation in class zbp_bs_demo_company_names unique; 2 | strict ( 1 ); 3 | 4 | define behavior for ZBS_R_RAPCustomCompanyNames alias CompanyNames 5 | lock master 6 | authorization master ( instance ) 7 | { 8 | field ( readonly : update ) CompanyName; 9 | 10 | create; 11 | update; 12 | delete; 13 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_c_rapcinvoice.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_R_RAPCINVOICE" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_C_RAPCPOSITION", 11 | "ZBS_I_RAPCPOSITION" 12 | ], 13 | "BASE": 14 | [ 15 | "ZBS_R_RAPCINVOICE" 16 | ], 17 | "ANNO_REF": 18 | [], 19 | "SCALAR_FUNCTION": 20 | [], 21 | "VERSION":0, 22 | "ANNOREF_EVALUATION_ERROR":"" 23 | } 24 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_c_rapcposition.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_I_RAPCPOSITION" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_C_RAPCINVOICE", 11 | "ZBS_R_RAPCINVOICE" 12 | ], 13 | "BASE": 14 | [ 15 | "ZBS_I_RAPCPOSITION" 16 | ], 17 | "ANNO_REF": 18 | [], 19 | "SCALAR_FUNCTION": 20 | [], 21 | "VERSION":0, 22 | "ANNOREF_EVALUATION_ERROR":"" 23 | } 24 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_b_drpcurrencycountry.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Country Assignment' 3 | define view entity ZBS_B_DRPCurrencyCountry 4 | as select from zbs_drp_country 5 | { 6 | key currency as Currency, 7 | key country as Country, 8 | ranking as CountryRanking 9 | } 10 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_i_dmotreeteamhr.ddls.asddls: -------------------------------------------------------------------------------- 1 | define hierarchy ZBS_I_DMOTreeTeamHR 2 | as parent child hierarchy( 3 | source ZBS_R_DMOTreeTeam 4 | child to parent association _TeamLeader 5 | start where 6 | TeamLeader is initial 7 | siblings order by 8 | PlayerName ascending 9 | ) 10 | { 11 | key UserId, 12 | TeamLeader 13 | } 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_rapcustomentitycnames.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Custom entity for company names' 2 | @ObjectModel.query.implementedBy: 'ABAP:ZCL_BS_DEMO_CUST_CNAME_QUERY' 3 | define custom entity ZBS_I_RAPCustomEntityCNames 4 | { 5 | key CompanyName : abap.char( 60 ); 6 | Branch : abap.char( 50 ); 7 | CompanyDescription : abap.char( 255 ); 8 | } 9 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_c_cdspatterninvoice.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [ 8 | "ZBS_T_CDSPATTERNPOSITION", 9 | "ZBS_C_CDSPATTERNPOSITION" 10 | ], 11 | "BASE": 12 | [ 13 | "ZBS_T_CDSPATTERNINVOICE" 14 | ], 15 | "ANNO_REF": 16 | [], 17 | "SCALAR_FUNCTION": 18 | [], 19 | "VERSION":0, 20 | "ANNOREF_EVALUATION_ERROR":"" 21 | } 22 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_c_cdspatternposition.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [], 6 | "ASSOCIATED": 7 | [ 8 | "ZBS_T_CDSPATTERNINVOICE", 9 | "ZBS_C_CDSPATTERNINVOICE" 10 | ], 11 | "BASE": 12 | [ 13 | "ZBS_T_CDSPATTERNPOSITION" 14 | ], 15 | "ANNO_REF": 16 | [], 17 | "SCALAR_FUNCTION": 18 | [], 19 | "VERSION":0, 20 | "ANNOREF_EVALUATION_ERROR":"" 21 | } 22 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3note.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_R_G3NOTE" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_C_G3HEADER", 11 | "ZBS_C_G3POSITION", 12 | "ZBS_R_G3HEADER", 13 | "ZBS_R_G3POSITION" 14 | ], 15 | "BASE": 16 | [ 17 | "ZBS_R_G3NOTE" 18 | ], 19 | "ANNO_REF": 20 | [], 21 | "SCALAR_FUNCTION": 22 | [], 23 | "VERSION":0, 24 | "ANNOREF_EVALUATION_ERROR":"" 25 | } 26 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_i_drpcurrencycountry.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "I_COUNTRY", 7 | "I_COUNTRYTEXT", 8 | "ZBS_B_DRPCURRENCYCOUNTRY" 9 | ], 10 | "ASSOCIATED": 11 | [ 12 | "ZBS_R_DRPCURRENCY" 13 | ], 14 | "BASE": 15 | [], 16 | "ANNO_REF": 17 | [], 18 | "SCALAR_FUNCTION": 19 | [], 20 | "VERSION":0, 21 | "ANNOREF_EVALUATION_ERROR":"" 22 | } 23 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3position.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_R_G3POSITION" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_C_G3HEADER", 11 | "ZBS_C_G3NOTE", 12 | "ZBS_R_G3HEADER", 13 | "ZBS_R_G3NOTE" 14 | ], 15 | "BASE": 16 | [ 17 | "ZBS_R_G3POSITION" 18 | ], 19 | "ANNO_REF": 20 | [], 21 | "SCALAR_FUNCTION": 22 | [], 23 | "VERSION":0, 24 | "ANNOREF_EVALUATION_ERROR":"" 25 | } 26 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_c_dmotreeteam.bdef.asbdef: -------------------------------------------------------------------------------- 1 | projection implementation in class ZBP_BS_DEMO_TREE_TEAMC unique; 2 | strict ( 2 ); 3 | use draft; 4 | define behavior for ZBS_C_DMOTreeTeam alias Team 5 | use etag 6 | 7 | { 8 | use create; 9 | use update; 10 | use delete; 11 | 12 | use action Edit; 13 | use action Activate; 14 | use action Discard; 15 | use action Resume; 16 | use action Prepare; 17 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_ui_g3invoice_o4.srvd.srvdsrv: -------------------------------------------------------------------------------- 1 | @EndUserText: { 2 | label: 'Service Definition for ZBS_C_G3HEADER' 3 | } 4 | @ObjectModel: { 5 | leadingEntity: { 6 | name: 'ZBS_C_G3HEADER' 7 | } 8 | } 9 | define service ZBS_UI_G3INVOICE_O4 provider contracts odata_v4_ui { 10 | expose ZBS_C_G3HEADER as G3Header; 11 | expose ZBS_C_G3POSITION as G3Position; 12 | expose ZBS_C_G3NOTE as G3Note; 13 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/zbs_r_cusactentitytp.bdef.asbdef: -------------------------------------------------------------------------------- 1 | unmanaged implementation in class zbp_bs_demo_custom_action unique; 2 | strict ( 2 ); 3 | 4 | define behavior for ZBS_R_CusActEntityTP alias CustomAction 5 | lock master 6 | authorization master ( instance ) 7 | { 8 | internal update; 9 | 10 | field ( readonly ) my_key; 11 | 12 | action myCustomAction result [1] $self; 13 | static action resetAllIcons; 14 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_c_drpcurrencycountry.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "ZBS_I_DRPCURRENCYCOUNTRY" 7 | ], 8 | "ASSOCIATED": 9 | [ 10 | "ZBS_C_DRPCURRENCY", 11 | "ZBS_R_DRPCURRENCY" 12 | ], 13 | "BASE": 14 | [ 15 | "ZBS_I_DRPCURRENCYCOUNTRY" 16 | ], 17 | "ANNO_REF": 18 | [], 19 | "SCALAR_FUNCTION": 20 | [], 21 | "VERSION":0, 22 | "ANNOREF_EVALUATION_ERROR":"" 23 | } 24 | } -------------------------------------------------------------------------------- /src/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ABAP RESTful Programming Model 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Tree View 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_r_drpcurrency.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "I_CURRENCY", 7 | "I_CURRENCYTEXT", 8 | "ZBS_B_DRPADDITIONALCURRENCY" 9 | ], 10 | "ASSOCIATED": 11 | [ 12 | "I_BUSINESSUSERVH", 13 | "ZBS_I_DRPCURRENCYCOUNTRY" 14 | ], 15 | "BASE": 16 | [], 17 | "ANNO_REF": 18 | [], 19 | "SCALAR_FUNCTION": 20 | [], 21 | "VERSION":0, 22 | "ANNOREF_EVALUATION_ERROR":"" 23 | } 24 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Simple RAP View 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Fiori Applications 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Easy RAP Generator 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Google Translate App 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Unmanaged Objekt 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_utility/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Utility Objects 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Complexe RAP example 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | App with Custom Entity 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_lp/zbs_demo_adt_space.uist.json: -------------------------------------------------------------------------------- 1 | { 2 | "formatVersion": "1", 3 | "header": { 4 | "description": "Space via ADT", 5 | "originalLanguage": "en", 6 | "abapLanguageVersion": "cloudDevelopment" 7 | }, 8 | "generalInformation": { 9 | "title": "Custom Apps", 10 | "sortPriority": 1.0 11 | }, 12 | "pages": [ 13 | { 14 | "name": "ZBS_DEMO_ADT_PAGE" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen2/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | RAP Generator (Fiori App) 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_c_drpcurrency.ddls.baseinfo: -------------------------------------------------------------------------------- 1 | { 2 | "BASEINFO": 3 | { 4 | "FROM": 5 | [ 6 | "I_BUSINESSUSERVH", 7 | "ZBS_R_DRPCURRENCY" 8 | ], 9 | "ASSOCIATED": 10 | [ 11 | "ZBS_C_DRPCURRENCYCOUNTRY", 12 | "ZBS_I_DRPCURRENCYCOUNTRY" 13 | ], 14 | "BASE": 15 | [ 16 | "ZBS_R_DRPCURRENCY" 17 | ], 18 | "ANNO_REF": 19 | [], 20 | "SCALAR_FUNCTION": 21 | [], 22 | "VERSION":0, 23 | "ANNOREF_EVALUATION_ERROR":"" 24 | } 25 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_lp/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Launchpad 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | RAP Generator (from Scratch) 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Interface for On-Premise 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | RAP Pattern for Development 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Custom Entity with Action 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_a_generatortemplate.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Template for RAP Generator' 2 | define abstract entity ZBS_A_GeneratorTemplate 3 | { 4 | @EndUserText.label: 'Position' 5 | PositionNumber : abap.int4; 6 | PositionText : abap.char( 200 ); 7 | @Semantics.amount.currencyCode: 'Currency' 8 | Amount : abap.curr( 15, 2 ); 9 | @Semantics.currencyCode: true 10 | Currency : abap.cuky( 5 ); 11 | } 12 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Configuration 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_quick/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Quick Deployment 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | API Pattern 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CDS Pattern 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_item/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | App Descriptor Item 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_c_dmolanguage.bdef.asbdef: -------------------------------------------------------------------------------- 1 | projection implementation in class ZBP_BS_C_DEMO_LANGUAGE unique; 2 | strict ( 2 ); 3 | use draft; 4 | 5 | define behavior for ZBS_C_DMOLanguage alias Language 6 | use etag 7 | 8 | { 9 | use create; 10 | use update; 11 | use delete; 12 | 13 | use action Edit; 14 | use action Activate; 15 | use action Discard; 16 | use action Resume; 17 | use action Prepare; 18 | 19 | use action TranslateText; 20 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Custom Pattern 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Report Pattern 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_r_rapcinvoice.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Interface for ZBS_DMO_INVOICE' 3 | define root view entity ZBS_R_RAPCInvoice 4 | as select from zbs_dmo_invoice 5 | composition [0..*] of ZBS_I_RAPCPosition as _Position 6 | { 7 | key document as Document, 8 | doc_date as DocDate, 9 | doc_time as DocTime, 10 | partner as Partner, 11 | _Position 12 | } 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbp_bs_demo_simple_gen1.clas.locals_imp.abap: -------------------------------------------------------------------------------- 1 | CLASS LHC_SIMPLE DEFINITION INHERITING FROM CL_ABAP_BEHAVIOR_HANDLER. 2 | PRIVATE SECTION. 3 | METHODS: 4 | GET_GLOBAL_AUTHORIZATIONS FOR GLOBAL AUTHORIZATION 5 | IMPORTING 6 | REQUEST requested_authorizations FOR Simple 7 | RESULT result. 8 | ENDCLASS. 9 | 10 | CLASS LHC_SIMPLE IMPLEMENTATION. 11 | METHOD GET_GLOBAL_AUTHORIZATIONS. 12 | ENDMETHOD. 13 | ENDCLASS. 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3note.ddls.asddls: -------------------------------------------------------------------------------- 1 | @Metadata.allowExtensions: true 2 | @EndUserText.label: '###GENERATED Core Data Service Entity' 3 | @AccessControl.authorizationCheck: #CHECK 4 | define view entity ZBS_C_G3NOTE 5 | as projection on ZBS_R_G3NOTE 6 | { 7 | key Uuid, 8 | ParentUuid, 9 | RootUuid, 10 | AdditionalNote, 11 | _G3Position : redirected to parent ZBS_C_G3POSITION, 12 | _G3Header : redirected to ZBS_C_G3HEADER 13 | 14 | } 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_singleton/package.devc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Singleton Pattern 7 | E 8 | E 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_c_dmogen1.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #CHECK 2 | @Metadata.allowExtensions: true 3 | @EndUserText.label: 'Projection View for ZBS_R_DMOGEN1' 4 | @ObjectModel.semanticKey: [ 'UuidKey' ] 5 | define root view entity ZBS_C_DMOGEN1 6 | provider contract transactional_query 7 | as projection on ZBS_R_DMOGEN1 8 | { 9 | key UuidKey, 10 | Description, 11 | Price, 12 | Currency, 13 | LocalLastChanged 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_bp_r_g3header.clas.locals_imp.abap: -------------------------------------------------------------------------------- 1 | CLASS LHC_ZBS_R_G3HEADER DEFINITION INHERITING FROM CL_ABAP_BEHAVIOR_HANDLER. 2 | PRIVATE SECTION. 3 | METHODS: 4 | GET_GLOBAL_AUTHORIZATIONS FOR GLOBAL AUTHORIZATION 5 | IMPORTING 6 | REQUEST requested_authorizations FOR G3Header 7 | RESULT result. 8 | ENDCLASS. 9 | 10 | CLASS LHC_ZBS_R_G3HEADER IMPLEMENTATION. 11 | METHOD GET_GLOBAL_AUTHORIZATIONS. 12 | ENDMETHOD. 13 | ENDCLASS. 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_c_drpcurrencycountry.ddlx.asddlxs: -------------------------------------------------------------------------------- 1 | @Metadata.layer: #CUSTOMER 2 | annotate entity ZBS_C_DRPCurrencyCountry with 3 | { 4 | @UI.hidden: true 5 | Currency; 6 | 7 | @UI:{ 8 | lineItem: [{ position: 10 }] 9 | } 10 | Country; 11 | 12 | @UI:{ 13 | lineItem: [{ position: 20 }] 14 | } 15 | CountryName; 16 | 17 | @UI:{ 18 | lineItem: [{ position: 30 }] 19 | } 20 | CountryRanking; 21 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_c_rappartner.bdef.asbdef: -------------------------------------------------------------------------------- 1 | projection; 2 | strict; 3 | use draft; 4 | 5 | define behavior for ZBS_C_RAPPartner alias Partner 6 | { 7 | use create; 8 | use update; 9 | use delete; 10 | 11 | use action fillEmptyStreets; 12 | use action clearAllEmptyStreets; 13 | use action copyLine; 14 | use action withPopup; 15 | 16 | use action Edit; 17 | use action Activate; 18 | use action Discard; 19 | use action Prepare; 20 | use action Resume; 21 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_rapcityvh.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'City Value Help' 2 | @ObjectModel.query.implementedBy: 'ABAP:ZCL_BS_DEMO_CITY_QUERY' 3 | define custom entity ZBS_I_RAPCityVH 4 | { 5 | @EndUserText.label: 'City' 6 | @EndUserText.quickInfo: 'Name of the City' 7 | key City : abap.char(60); 8 | @EndUserText.label: 'City (Short)' 9 | @EndUserText.quickInfo: 'Short name of the City' 10 | CityShort : abap.char(10); 11 | } 12 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_rapcityvh.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_RAPCITYVH 7 | E 8 | City Value Help 9 | Q 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_c_dmogen1.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_DMOGEN1 7 | E 8 | ##GENERATED Simple RAP 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_r_dmogen1.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_DMOGEN1 7 | E 8 | ##GENERATED Simple RAP 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_r_g3note.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_G3NOTE 7 | E 8 | View Entity for ZBS_G3NOTE 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_popupentity.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_POPUPENTITY 7 | E 8 | Entity for popup 9 | A 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3note.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_G3NOTE 7 | E 8 | Projection View for ZBS_R_G3NOTE 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_r_g3header.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_G3HEADER 7 | E 8 | View Entity for ZBS_G3HEADER 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_c_countryvh.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_COUNTRYVH 7 | E 8 | Help Search for country 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_i_dmotreeteamhr.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_DMOTREETEAMHR 7 | E 8 | Demo Tree Hierarchy 9 | H 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_r_dmounmanaged.bdef.asbdef: -------------------------------------------------------------------------------- 1 | unmanaged implementation in class zbp_bs_demo_unmanaged unique; 2 | strict ( 1 ); 3 | 4 | define behavior for ZBS_R_DMOUnmanaged alias Unmanaged 5 | lock master 6 | authorization master ( instance ) 7 | { 8 | create; 9 | update; 10 | delete; 11 | 12 | field ( readonly ) TableKey; 13 | 14 | mapping for zbs_dmo_unmgnd 15 | { 16 | TableKey = gen_key; 17 | Description = text; 18 | CreationDate = cdate; 19 | } 20 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_r_dmounmanaged.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_DMOUNMANAGED 7 | E 8 | Unmanaged Root 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_s_rapcreateinvoice.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_S_RAPCREATEINVOICE 7 | E 8 | Create Invoice 9 | A 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3header.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_G3HEADER 7 | E 8 | Projection View for ZBS_R_G3HEADER 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_r_g3position.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_G3POSITION 7 | E 8 | View Entity for ZBS_G3POSITION 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_c_rappartner.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_RAPPARTNER 7 | E 8 | RAP consumption for partner 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_rappartner.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_RAPPARTNER 7 | E 8 | RAP interface for Partner 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_r_dmotreeteam.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_DMOTREETEAM 7 | E 8 | View Entity for ZBS_DMO_TEAM 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_c_dmounmanaged.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_DMOUNMANAGED 7 | E 8 | Unmanaged Consumption 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_i_rapcmailpopup.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_RAPCMAILPOPUP 7 | E 8 | Popup entity for Mail 9 | A 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_r_rapcinvoice.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_RAPCINVOICE 7 | E 8 | Interface for ZBS_DMO_INVOICE 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_s_rapcreateposition.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_S_RAPCREATEPOSITION 7 | E 8 | Create Position 9 | A 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_c_rapcinvoice.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_RAPCINVOICE 7 | E 8 | Consumption for ZBS_R_RAPCINVOICE 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_i_rapcmaterial.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_RAPCMATERIAL 7 | E 8 | Interface for ZBS_DMO_MATERIAL 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_i_rapcposition.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_RAPCPOSITION 7 | E 8 | Interface for ZBS_DMO_POSITION 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_c_dmogen1.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_DMOGEN1 8 | ##GENERATED Simple RAP 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_a_generatortemplate.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_A_GENERATORTEMPLATE 7 | E 8 | Template for RAP Generator 9 | A 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3position.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_G3POSITION 7 | E 8 | Projection View for ZBS_R_G3POSITION 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_i_dcpteamvh.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_DCPTEAMVH 7 | E 8 | VH for Team 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_c_dmotreeteam.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_DMOTREETEAM 7 | E 8 | Projection View for ZBS_R_DMOTreeTeam 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_c_rapcposition.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Consumption for ZBS_I_RAPCPOSITION' 2 | @AccessControl.authorizationCheck: #NOT_REQUIRED 3 | @Metadata.allowExtensions: true 4 | define view entity ZBS_C_RAPCPosition 5 | as projection on ZBS_I_RAPCPosition as Position 6 | { 7 | key Document, 8 | key PositionNumber, 9 | Material, 10 | Quantity, 11 | Unit, 12 | Price, 13 | Currency, 14 | _Invoice : redirected to parent ZBS_C_RAPCInvoice 15 | } 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_c_rapcposition.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_RAPCPOSITION 7 | E 8 | Consumption for ZBS_I_RAPCPOSITION 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/zbs_r_cusactentitytp.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_CUSACTENTITYTP 7 | E 8 | Custom Entity with Action 9 | Q 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/zbs_i_dmocustomtile.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_DMOCUSTOMTILE 7 | E 8 | Custom Tile 9 | Q 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_c_dmolanguage.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_DMOLANGUAGE 7 | E 8 | ###GENERATED Core Data Service Entity 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_r_dmolanguage.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_DMOLANGUAGE 7 | E 8 | ###GENERATED Core Data Service Entity 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zbs_r_apilocation.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_APILOCATION 7 | E 8 | Location API 9 | Q 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3note.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_G3NOTE 8 | Metadata Extension for ZBS_C_G3NOTE 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_i_cpstagingvh.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_CPSTAGINGVH 7 | E 8 | VH for Staging 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_r_drpcurrency.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_DRPCURRENCY 7 | E 8 | Currency Overview 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_s_drpexcelpopup.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_S_DRPEXCELPOPUP 7 | E 8 | Excel Popup 9 | A 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/zbs_r_rapcustomcompanynames.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_RAPCUSTOMCOMPANYNAMES 7 | E 8 | Custom Entity with Unmanaged 9 | Q 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3header.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_G3HEADER 8 | Metadata Extension for ZBS_C_G3HEADER 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zbs_rap_companynames.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_RAP_COMPANYNAMES 7 | E 8 | Service Consumption ZBS_RAP_COMPANYNAMES 9 | A 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_rapcustomentitycnames.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_RAPCUSTOMENTITYCNAMES 7 | E 8 | Custom entity for company names 9 | Q 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_unit_cleanup.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zcl_bs_demo_unit_cleanup DEFINITION 2 | PUBLIC 3 | FINAL 4 | CREATE PUBLIC. 5 | 6 | PUBLIC SECTION. 7 | INTERFACES if_oo_adt_classrun. 8 | 9 | PROTECTED SECTION. 10 | PRIVATE SECTION. 11 | ENDCLASS. 12 | 13 | 14 | 15 | CLASS ZCL_BS_DEMO_UNIT_CLEANUP IMPLEMENTATION. 16 | 17 | 18 | METHOD if_oo_adt_classrun~main. 19 | DELETE FROM zbs_dmo_partner 20 | WHERE name = 'Do it Yourself'. 21 | 22 | COMMIT WORK. 23 | ENDMETHOD. 24 | ENDCLASS. 25 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_c_rapcinvoice.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_RAPCINVOICE 8 | Metadata for ZBS_C_RAPCINVOICE 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_c_rapcposition.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_RAPCPOSITION 8 | Metadata for ZBS_C_RAPCPOSITION 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_i_rapcmaterial.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Interface for ZBS_DMO_MATERIAL' 3 | define view entity ZBS_I_RAPCMaterial 4 | as select from zbs_dmo_material 5 | { 6 | key material as Material, 7 | name as MaterialName, 8 | description as Description, 9 | stock as Stock, 10 | stock_unit as StockUnit, 11 | price_per_unit as PricePerUnit, 12 | currency as Currency 13 | } 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3position.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_G3POSITION 8 | Metadata Extension for ZBS_C_G3POSITION 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_t_cdspatterninvoice.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_T_CDSPATTERNINVOICE 7 | E 8 | CDS-P: Invoice 9 | T 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_t_cdspatternposition.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_T_CDSPATTERNPOSITION 7 | E 8 | CDS-P: Position 9 | T 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_c_drpcurrency.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_DRPCURRENCY 7 | E 8 | Consumption for Currency 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_s_drpeventdata.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_S_DRPEVENTDATA 7 | E 8 | Additional event data 9 | A 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_c_rappartner.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_RAPPARTNER 8 | Metadata for consumption (Partner) 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_c_dmolanguage.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_DMOLANGUAGE 8 | Metadata Extension for ZBS_C_DMOLanguage 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_c_cdspatterninvoice.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_CDSPATTERNINVOICE 7 | E 8 | Consumption Invoice 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_c_cdspatternposition.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_CDSPATTERNPOSITION 7 | E 8 | Consumption Position 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_i_dcpapplicationvh.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_DCPAPPLICATIONVH 7 | E 8 | VH for Application 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_b_drpcurrencycountry.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_B_DRPCURRENCYCOUNTRY 7 | E 8 | Country Assignment 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_i_drpcurrencycountry.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_I_DRPCURRENCYCOUNTRY 7 | E 8 | Country Assignment 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_c_dmotreeteam.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_DMOTREETEAM 8 | Metadata Extension for ZBS_C_DMOTREETEAM 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_r_dcpsoftwarecomponent.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_R_DCPSOFTWARECOMPONENT 7 | E 8 | Software Component 9 | Q 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_c_drpcurrency.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_DRPCURRENCY 8 | Metadata for Currency 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_c_cdspatterninvoice.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Consumption Invoice' 3 | @Metadata.allowExtensions: true 4 | define root view entity ZBS_C_CDSPatternInvoice 5 | provider contract transactional_query 6 | as projection on ZBS_T_CDSPatternInvoice 7 | { 8 | key DocumentNumber, 9 | DocumentDate, 10 | DocumentTime, 11 | PartnerNumber, 12 | _Position : redirected to composition child ZBS_C_CDSPatternPosition 13 | } 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_c_cdspatterninvoice.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_CDSPATTERNINVOICE 8 | Metadata Invoice 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_b_drpadditionalcurrency.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_B_DRPADDITIONALCURRENCY 7 | E 8 | Additional Informations 9 | W 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3position.ddls.asddls: -------------------------------------------------------------------------------- 1 | @Metadata.allowExtensions: true 2 | @EndUserText.label: '###GENERATED Core Data Service Entity' 3 | @AccessControl.authorizationCheck: #CHECK 4 | define view entity ZBS_C_G3POSITION 5 | as projection on ZBS_R_G3POSITION 6 | { 7 | key Uuid, 8 | ParentUuid, 9 | PositionNumber, 10 | PositionText, 11 | Amount, 12 | @Semantics.currencyCode: true 13 | Currency, 14 | _G3Note : redirected to composition child ZBS_C_G3NOTE, 15 | _G3Header : redirected to parent ZBS_C_G3HEADER 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_c_cdspatternposition.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_CDSPATTERNPOSITION 8 | Metadata Position 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_c_drpcurrencycountry.ddls.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_C_DRPCURRENCYCOUNTRY 7 | E 8 | Consumption for Country Assignment 9 | P 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_c_drpcurrencycountry.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_C_DRPCURRENCYCOUNTRY 8 | Metadata for Country 9 | EN 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_demo_key.doma.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_KEY 7 | E 8 | RAW 9 | 000016 10 | 000032 11 | Key 12 | E 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/zif_bs_demo_tilec.intf.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZIF_BS_DEMO_TILEC 7 | E 8 | Tile Config 9 | 2 10 | 1 11 | X 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_c_rapcinvoice.bdef.asbdef: -------------------------------------------------------------------------------- 1 | projection; 2 | strict ( 1 ); 3 | 4 | define behavior for ZBS_C_RAPCInvoice alias Invoice 5 | { 6 | use create; 7 | use update; 8 | use delete; 9 | 10 | use action sendTestMail; 11 | use action CreateInvoiceDocument; 12 | // Actual DEEP TABLE PARAMETER not supported in SADL 13 | // use action CreateMultipleInvoices; 14 | 15 | use association _Position { create; } 16 | } 17 | 18 | define behavior for ZBS_C_RAPCPosition alias Position 19 | { 20 | use update; 21 | use delete; 22 | 23 | use association _Invoice; 24 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zcl_bs_demo_crap_eml.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_CRAP_EML 7 | E 8 | EML Part 2 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zcl_bs_demo_crap_mail.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_CRAP_MAIL 7 | E 8 | Test Mail 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zbs_r_apilocation.bdef.asbdef: -------------------------------------------------------------------------------- 1 | unmanaged implementation in class zbp_bs_api_location unique; 2 | strict ( 2 ); 3 | 4 | define behavior for ZBS_R_APILocation alias Location 5 | lock master 6 | authorization master ( instance ) 7 | { 8 | create ( authorization : global ); 9 | 10 | field ( readonly : update ) LocationId; 11 | 12 | mapping for zbs_api_target { 13 | LocationId = location_id; 14 | LocationName = location_name; 15 | LocationCoordinates = location_coordinates; 16 | LocalPeople = local_people; 17 | } 18 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_utility/zif_bs_demo_service_prov.intf.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZIF_BS_DEMO_SERVICE_PROV 7 | E 8 | Service Provider (Interface) 9 | 2 10 | 1 11 | X 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zcl_bs_demo_read_odata.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_READ_ODATA 7 | E 8 | Read OData 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_c_cdspatternposition.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Consumption Position' 3 | @Metadata.allowExtensions: true 4 | define view entity ZBS_C_CDSPatternPosition 5 | as projection on ZBS_T_CDSPatternPosition 6 | { 7 | key DocumentNumber, 8 | key PositionNumber, 9 | MaterialNumber, 10 | PositionQuantity, 11 | PositionUnit, 12 | PositionPrice, 13 | PositionCurrency, 14 | _Document : redirected to parent ZBS_C_CDSPatternInvoice 15 | } 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_rappartner.ddlx.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_I_RAPPARTNER 8 | Metadata extension for partner 9 | EN 10 | 5 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_simple_eml.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_SIMPLE_EML 7 | E 8 | EML explained 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_utility/zcl_bs_demo_service_prov_fact.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zcl_bs_demo_service_prov_fact DEFINITION 2 | PUBLIC ABSTRACT FINAL 3 | CREATE PUBLIC. 4 | 5 | PUBLIC SECTION. 6 | CLASS-METHODS create_service_provider 7 | IMPORTING configuration TYPE zif_bs_demo_service_prov=>configuration 8 | RETURNING VALUE(result) TYPE REF TO zif_bs_demo_service_prov. 9 | ENDCLASS. 10 | 11 | 12 | CLASS zcl_bs_demo_service_prov_fact IMPLEMENTATION. 13 | METHOD create_service_provider. 14 | RETURN NEW zcl_bs_demo_service_prov( configuration ). 15 | ENDMETHOD. 16 | ENDCLASS. 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zcl_bs_demo_read_func.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_READ_FUNC 7 | E 8 | Read function module 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_action_eml.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_ACTION_EML 7 | E 8 | Trigger action with EML 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_adjust_data.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_ADJUST_DATA 7 | E 8 | Adjust Request data 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_city_query.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_CITY_QUERY 7 | E 8 | Query Class for City 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_unit_cleanup.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_UNIT_CLEANUP 7 | E 8 | Delete test cases 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zif_bs_demo_rap_data_handler.intf.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZIF_BS_DEMO_RAP_DATA_HANDLER 7 | E 8 | Data Handler for ZBS_DMO_UNMGND 9 | 2 10 | 1 11 | X 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zcl_bs_demo_crap_ve_exit.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_CRAP_VE_EXIT 7 | E 8 | Virtual element exit 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zcl_bs_demo_odata_actions.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_ODATA_ACTIONS 7 | E 8 | Actions for OData 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_c_drpcurrencycountry.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Consumption for Country Assignment' 3 | @Metadata.allowExtensions: true 4 | define view entity ZBS_C_DRPCurrencyCountry 5 | as projection on ZBS_I_DRPCurrencyCountry 6 | { 7 | key Currency, 8 | @Consumption.valueHelpDefinition: [{ entity: { name: 'I_CountryVH', element: 'Country' } }] 9 | key Country, 10 | CountryName, 11 | CountryRanking, 12 | _Currency : redirected to parent ZBS_C_DRPCurrency 13 | } 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zcl_bs_demo_unmanaged_data.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_UNMANAGED_DATA 7 | E 8 | Insert Dummy data 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_utility/zcl_bs_demo_service_prov.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_SERVICE_PROV 7 | E 8 | Service Provider (Class) 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zcl_bs_demo_eml_deep_action.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_EML_DEEP_ACTION 7 | E 8 | EML for Deep Action 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zbs_demo_rap_onprem_func.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_RAP_ONPREM_FUNC 7 | E 8 | generated ACO class 9 | 35 10 | 1 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_cust_cname_query.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_CUST_CNAME_QUERY 7 | E 8 | Custom entity query 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/zcl_bs_demo_custom_company_qry.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_CUSTOM_COMPANY_QRY 7 | E 8 | Query for Company Names 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/zcl_bs_demo_tile_query.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_TILE_QUERY 7 | E 8 | Query for Tile 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_demo_text.doma.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_TEXT 7 | E 8 | CHAR 9 | 000500 10 | 000500 11 | X 12 | Text 13 | E 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zcl_bs_demo_read_odata_new.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_READ_ODATA_NEW 7 | E 8 | Read data with new model v2 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zcl_bs_dcp_swc_query.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DCP_SWC_QUERY 7 | E 8 | Query for SWC 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zcl_bs_demo_unmanaged_query.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_UNMANAGED_QUERY 7 | E 8 | Query for Unmanaged Data 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/zcl_bs_demo_custom_action_qry.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_CUSTOM_ACTION_QRY 7 | E 8 | Custom Action Query 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_r_dmogen1.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #CHECK 2 | @EndUserText.label: '##GENERATED Simple RAP' 3 | define root view entity ZBS_R_DMOGEN1 4 | as select from zbs_dmo_gen1 as Simple 5 | { 6 | key uuid_key as UuidKey, 7 | description as Description, 8 | @Semantics.amount.currencyCode: 'Currency' 9 | price as Price, 10 | currency as Currency, 11 | @Semantics.systemDateTime.localInstanceLastChangedAt: true 12 | local_last_changed as LocalLastChanged, 13 | @Semantics.systemDateTime.lastChangedAt: true 14 | last_changed as LastChanged 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zcl_bs_api_target.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_API_TARGET 7 | E 8 | Target API for Interface 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zcl_bs_dcp_data_init.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DCP_DATA_INIT 7 | E 8 | Initialize data 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_utility/zcl_bs_demo_service_prov_fact.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_SERVICE_PROV_FACT 7 | E 8 | Service Provider (Factory) 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zcl_bs_demo_rap_data_handler.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_RAP_DATA_HANDLER 7 | E 8 | Data Handler for ZBS_DMO_UNMGND 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_lp/zcl_bs_demo_scope_launchpad.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_SCOPE_LAUNCHPAD 7 | E 8 | Scope Launchpad Content 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_c_cdspatterninvoice.bdef.asbdef: -------------------------------------------------------------------------------- 1 | projection; 2 | strict ( 2 ); 3 | use draft; 4 | 5 | define behavior for ZBS_C_CDSPatternInvoice alias Invoice 6 | { 7 | use create; 8 | use update; 9 | use delete; 10 | 11 | use action Edit; 12 | use action Activate; 13 | use action Discard; 14 | use action Resume; 15 | use action Prepare; 16 | 17 | use association _Position { create; with draft; } 18 | } 19 | 20 | define behavior for ZBS_C_CDSPatternPosition alias Position 21 | { 22 | use update; 23 | use delete; 24 | 25 | use association _Document { with draft; } 26 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/zcl_bs_demo_tilec_partnerapp.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_TILEC_PARTNERAPP 7 | E 8 | Partner App Config 9 | 1 10 | X 11 | X 12 | X 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zbs_rap_companynames.ddls.asddls: -------------------------------------------------------------------------------- 1 | /********** GENERATED on 01/09/2023 at 20:33:39 by CB9980000024**************/ 2 | @OData.entitySet.name: 'CompanyNames' 3 | @OData.entityType.name: 'CompanyNamesType' 4 | define root abstract entity ZBS_RAP_COMPANYNAMES { 5 | key CompanyName : abap.char( 60 ) ; 6 | @Odata.property.valueControl: 'Branch_vc' 7 | Branch : abap.char( 50 ) ; 8 | Branch_vc : RAP_CP_ODATA_VALUE_CONTROL ; 9 | @Odata.property.valueControl: 'CompanyDescription_vc' 10 | CompanyDescription : abap.char( 255 ) ; 11 | CompanyDescription_vc : RAP_CP_ODATA_VALUE_CONTROL ; 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_i_popupentity.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Entity for popup' 2 | define abstract entity ZBS_I_PopupEntity 3 | { 4 | @Consumption.valueHelpDefinition: [{ entity: { name: 'ZBS_C_CountryVH', element: 'Country' } }] 5 | @EndUserText.label: 'Search Country' 6 | SearchCountry : land1; 7 | @EndUserText.label: 'New date' 8 | NewDate : abap.dats; 9 | @EndUserText.label: 'Message type' 10 | MessageType : abap.int4; 11 | @EndUserText.label: 'Update data' 12 | FlagUpdate : abap.char(1); 13 | @EndUserText.label: 'Show Messages' 14 | FlagMessage : abap_boolean; 15 | } 16 | -------------------------------------------------------------------------------- /.abapgit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | E 6 | /src/ 7 | FULL 8 | 9 | /.gitignore 10 | /LICENSE 11 | /README.md 12 | /package.json 13 | /.travis.yml 14 | /.gitlab-ci.yml 15 | /abaplint.json 16 | /azure-pipelines.yml 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_demo_dcp_text.doma.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_DCP_TEXT 7 | E 8 | CHAR 9 | 000070 10 | 000070 11 | X 12 | Text 13 | E 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zcl_bs_demo_unmanaged_data.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zcl_bs_demo_unmanaged_data DEFINITION 2 | PUBLIC 3 | FINAL 4 | CREATE PUBLIC. 5 | 6 | PUBLIC SECTION. 7 | INTERFACES if_oo_adt_classrun. 8 | ENDCLASS. 9 | 10 | 11 | 12 | CLASS ZCL_BS_DEMO_UNMANAGED_DATA IMPLEMENTATION. 13 | 14 | 15 | METHOD if_oo_adt_classrun~main. 16 | DATA(lo_rap) = zcl_bs_demo_rap_data_handler=>create_instance( ). 17 | 18 | lo_rap->modify( VALUE #( text = 'Belgium' ) ). 19 | lo_rap->modify( VALUE #( text = 'Germany' ) ). 20 | lo_rap->modify( VALUE #( text = 'USA' ) ). 21 | 22 | COMMIT WORK. 23 | ENDMETHOD. 24 | ENDCLASS. 25 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zcl_bs_demo_google_integration.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_GOOGLE_INTEGRATION 7 | E 8 | Google Integration 9 | 1 10 | X 11 | X 12 | X 13 | X 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_r_g3note.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #CHECK 2 | @Metadata.allowExtensions: true 3 | @EndUserText.label: '###GENERATED Core Data Service Entity' 4 | define view entity ZBS_R_G3NOTE 5 | as select from ZBS_G3NOTE as G3Note 6 | association to parent ZBS_R_G3POSITION as _G3Position on $projection.ParentUuid = _G3Position.Uuid 7 | association [1..1] to ZBS_R_G3HEADER as _G3Header on $projection.RootUuid = _G3Header.Uuid 8 | { 9 | key uuid as Uuid, 10 | parent_uuid as ParentUuid, 11 | root_uuid as RootUuid, 12 | additional_note as AdditionalNote, 13 | _G3Position, 14 | _G3Header 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_i_dcpteamvh.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | 3 | @EndUserText.label: 'VH for Team' 4 | 5 | @Search.searchable: true 6 | 7 | define view entity ZBS_I_DCPTeamVH 8 | as select from zbs_dcp_team 9 | 10 | { 11 | @ObjectModel.text.element: [ 'Description' ] 12 | @Search.defaultSearchElement: true 13 | @Search.fuzzinessThreshold: 1.0 14 | @UI.textArrangement: #TEXT_ONLY 15 | key team as Team, 16 | 17 | @Search.defaultSearchElement: true 18 | @Search.fuzzinessThreshold: 0.8 19 | description as Description 20 | } 21 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_s_rapcreateposition.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Create Position' 2 | define abstract entity ZBS_S_RAPCreatePosition 3 | { 4 | key DummyKey : abap.char(1); 5 | Material : abap.char(5); 6 | @Semantics.quantity.unitOfMeasure : 'Unit' 7 | Quantity : abap.quan(10,0); 8 | Unit : abap.unit(3); 9 | @Semantics.amount.currencyCode : 'Currency' 10 | Price : abap.curr(15,2); 11 | Currency : abap.cuky; 12 | _DummyAssociation : association to parent ZBS_S_RAPCreateInvoice on $projection.DummyKey = _DummyAssociation.DummyKey; 13 | } 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_i_drpcurrencycountry.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Country Assignment' 3 | define view entity ZBS_I_DRPCurrencyCountry 4 | as select from ZBS_B_DRPCurrencyCountry 5 | association to parent ZBS_R_DRPCurrency as _Currency on _Currency.Currency = $projection.Currency 6 | association of one to one I_Country as _Country on _Country.Country = $projection.Country 7 | { 8 | key Currency, 9 | key Country, 10 | _Country._Text[ Language = $session.system_language ].CountryName, 11 | CountryRanking, 12 | _Currency 13 | } 14 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_bp_r_g3header.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_BP_R_G3HEADER 7 | E 8 | Behavior Definition for ZBS_R_G3HEADER 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_G3HEADER 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbp_bs_demo_simple_gen1.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_DEMO_SIMPLE_GEN1 7 | E 8 | ##GENERATED Behavior implementation 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_DMOGEN1 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zbs_demo_outbound_service_rest.sco3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_OUTBOUND_SERVICE_REST 7 | REST 8 | 5 9 | ZBS_DEMO_OUTBOUND_SERVICE_REST 10 | SCO3 11 | Outbound Service 12 | 5 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_bp_c_g3header.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_BP_C_G3HEADER 7 | E 8 | Projection Behavior Definition for ZBS_C_G3HEADER 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_C_G3HEADER 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbp_bs_rapcinvoice.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_RAPCINVOICE 7 | E 8 | Behavior Implementation for ZBS_R_RAPCINVOICE 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_RAPCINVOICE 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbp_bs_r_demo_language.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_R_DEMO_LANGUAGE 7 | E 8 | Behavior Definition for ZBS_R_DMOLanguage 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_DMOLANGUAGE 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbp_bs_demo_tree_team.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_DEMO_TREE_TEAM 7 | E 8 | Behavior Definition for ZBS_R_DMOTreeTeam 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_DMOTREETEAM 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/zcl_bs_demo_tile_endpoint.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_TILE_ENDPOINT 7 | E 8 | Handlerclass for HTTP Service ZBS_DEMO_TILE_ENDPOINT 9 | 1 10 | X 11 | X 12 | X 13 | X 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbp_bs_demo_rappartner.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_DEMO_RAPPARTNER 7 | E 8 | Behavior Implementation for ZBS_I_RAPPARTNER 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_I_RAPPARTNER 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_unit_rap.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_UNIT_RAP 7 | E 8 | Unit Test for RAP Model 9 | 05 10 | 1 11 | X 12 | X 13 | X 14 | 12 15 | 11 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbp_bs_demo_tree_teamc.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_DEMO_TREE_TEAMC 7 | E 8 | Projection Behavior Definition for ZBS_C_DMOTreeTeam 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_C_DMOTREETEAM 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbp_bs_demo_unmanaged.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_DEMO_UNMANAGED 7 | E 8 | Behavior Implementation for ZBS_R_DMOUNMANAGED 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_DMOUNMANAGED 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbp_bs_c_demo_language.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_C_DEMO_LANGUAGE 7 | E 8 | Projection Behavior Definition for ZBS_C_DMOLanguage 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_C_DMOLANGUAGE 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_unit_service.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DEMO_UNIT_SERVICE 7 | E 8 | Unit Test for Service 9 | 05 10 | 1 11 | X 12 | X 13 | X 14 | 12 15 | 11 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/zbp_bs_demo_custom_action.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_DEMO_CUSTOM_ACTION 7 | E 8 | Behavior Implementation for ZBS_R_CUSACTENTITYTP 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_CUSACTENTITYTP 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_c_g3header.ddls.asddls: -------------------------------------------------------------------------------- 1 | @Metadata.allowExtensions: true 2 | @EndUserText.label: '###GENERATED Core Data Service Entity' 3 | @ObjectModel.semanticKey: [ 'DocumentId' ] 4 | @AccessControl.authorizationCheck: #CHECK 5 | @ObjectModel.sapObjectNodeType.name: 'ZBS_G3Invoice' 6 | define root view entity ZBS_C_G3HEADER 7 | provider contract TRANSACTIONAL_QUERY 8 | as projection on ZBS_R_G3HEADER 9 | { 10 | key Uuid, 11 | DocumentId, 12 | CustomerNumber, 13 | Description, 14 | LocalCreatedBy, 15 | LocalCreatedAt, 16 | LocalLastChangedBy, 17 | LocalLastChangedAt, 18 | LastChangedAt, 19 | _G3Position : redirected to composition child ZBS_C_G3POSITION 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zbp_bs_api_location.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_API_LOCATION 7 | E 8 | Behavior Implementation for ZBS_R_APILOCATION 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_APILOCATION 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zcl_bs_drp_event_consumption.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCL_BS_DRP_EVENT_CONSUMPTION 7 | E 8 | Event Consumption CLass 9 | 07 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_DRPCURRENCY 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/zbp_bs_demo_company_names.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_DEMO_COMPANY_NAMES 7 | E 8 | Behavior Implementation for ZBS_R_RAPCUSTOMCOMPANYNAMES 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_RAPCUSTOMCOMPANYNAMES 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbp_bs_drp_currency.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_DRP_CURRENCY 7 | E 8 | Behavior Implementation for ZBS_R_DRPCURRENCY 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_DRPCURRENCY 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_r_dcpsoftwarecomponent.bdef.asbdef: -------------------------------------------------------------------------------- 1 | unmanaged implementation in class zbp_bs_dcp_softwarecomponent unique; 2 | strict ( 2 ); 3 | 4 | define behavior for ZBS_R_DCPSoftwareComponent alias SWC 5 | lock master 6 | authorization master ( instance ) 7 | { 8 | update; 9 | 10 | field ( readonly ) 11 | staging, 12 | sc_name, 13 | active_branch, 14 | avail_on_inst, 15 | descr, 16 | sc_type_descr; 17 | 18 | static action CreateOutputMessage; 19 | 20 | mapping for zbs_dcp 21 | { 22 | staging = staging; 23 | sc_name = sc_name; 24 | application = application; 25 | information = information; 26 | team = team; 27 | } 28 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbp_bs_cdspattern_invoice.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_CDSPATTERN_INVOICE 7 | E 8 | Behavior Implementation for ZBS_T_CDSPATTERNINVOICE 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_T_CDSPATTERNINVOICE 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_c_countryvh.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Search help for country' 3 | @Search.searchable: true 4 | @ObjectModel.resultSet.sizeCategory: #XS 5 | define view entity ZBS_C_CountryVH 6 | as select from I_Country 7 | { 8 | @Search.defaultSearchElement: true 9 | @Search.fuzzinessThreshold: 0.8 10 | @Search.ranking: #HIGH 11 | @ObjectModel.text.element: [ 'Description' ] 12 | key Country, 13 | @Semantics.text: true 14 | @Search.defaultSearchElement: true 15 | @Search.fuzzinessThreshold: 0.8 16 | @Search.ranking: #LOW 17 | _Text[1: Language = $session.system_language].CountryName as Description 18 | } 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/zbs_i_dmocustomtile.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Custom Tile' 2 | @ObjectModel.query.implementedBy: 'ABAP:ZCL_BS_DEMO_TILE_QUERY' 3 | define custom entity ZBS_I_DMOCustomTile 4 | { 5 | key key_field : abap.char(20); 6 | title : abap.string; 7 | subtitle : abap.string; 8 | icon : abap.string; 9 | @OData.property.name: 'number' 10 | numberOutput : abap.dec( 15, 4 ); 11 | numberDigits : abap.int2; 12 | numberFactor : abap.string; 13 | numberState : abap.string; 14 | numberUnit : abap.string; 15 | stateArrow : abap.string; 16 | info : abap.string; 17 | infoState : abap.string; 18 | } 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbp_bs_dcp_softwarecomponent.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBP_BS_DCP_SOFTWARECOMPONENT 7 | E 8 | Behavior Implementation for ZBS_R_DCPSOFTWARECOMPONENT 9 | 06 10 | 1 11 | X 12 | X 13 | X 14 | ZBS_R_DCPSOFTWARECOMPONENT 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_ui_demo_gen1_o4_0001_g4ba.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_DEMO_GEN1_O4_0001_G4BA 7 | G4BA 8 | ZBS_UI_DEMO_GEN1_O4 9 | X 10 | 5 11 | ZBS_UI_DEMO_GEN1_O4_0001_G4BA 12 | ZBS_UI_DEMO_GEN1_O4 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_ui_g3invoice_o4_0001_g4ba.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_G3INVOICE_O4_0001_G4BA 7 | G4BA 8 | ZBS_UI_G3INVOICE_O4 9 | X 10 | 5 11 | ZBS_UI_G3INVOICE_O4_0001_G4BA 12 | ZBS_UI_G3INVOICE_O4 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_ui_rapc_invoice_o2_iwsg.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_RAPC_INVOICE_O2_IWSG 7 | IWSG 8 | ZBS_UI_RAPC_INVOICE_O2_0001 9 | X 10 | 5 11 | ZBS_UI_RAPC_INVOICE_O2_IWSG 12 | ZBS_UI_RAPC_INVOICE_O2 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_ui_dcp_swc_o2_iwsg.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_DCP_SWC_O2_IWSG 7 | IWSG 8 | ZBS_UI_DCP_SWC_O2_0001 9 | X 10 | 5 11 | ZBS_UI_DCP_SWC_O2_IWSG 12 | ZBS_UI_DCP_SWC_O2 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_ui_dcp_swc_o4_0001_g4ba.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_DCP_SWC_O4_0001_G4BA 7 | G4BA 8 | ZBS_UI_DCP_SWC_O4 9 | X 10 | 5 11 | ZBS_UI_DCP_SWC_O4_0001_G4BA 12 | ZBS_UI_DCP_SWC_O4 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_c_drpcurrency.bdef.asbdef: -------------------------------------------------------------------------------- 1 | projection; 2 | strict ( 2 ); 3 | use draft; 4 | 5 | define behavior for ZBS_C_DRPCurrency alias Currency 6 | { 7 | use update; 8 | 9 | use action Edit; 10 | use action Activate; 11 | use action Discard; 12 | use action Resume; 13 | use action Prepare; 14 | 15 | use action LoadExcelContent; 16 | use function GetDefaultsForExcelPopup; 17 | 18 | side effects 19 | { 20 | action LoadExcelContent affects entity _Country, field ExcelAttachement; 21 | } 22 | 23 | use association _Country { create; with draft; } 24 | } 25 | 26 | define behavior for ZBS_C_DRPCurrencyCountry alias Country 27 | { 28 | use update; 29 | use delete; 30 | 31 | use association _Currency { with draft; } 32 | } -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_c_dmotreeteam.ddls.asddls: -------------------------------------------------------------------------------- 1 | @Metadata.allowExtensions: true 2 | @EndUserText.label: '###GENERATED Core Data Service Entity' 3 | @AccessControl.authorizationCheck: #CHECK 4 | @OData.hierarchy.recursiveHierarchy:[{ entity.name: 'ZBS_I_DMOTreeTeamHR' }] 5 | define root view entity ZBS_C_DMOTreeTeam 6 | provider contract transactional_query 7 | as projection on ZBS_R_DMOTreeTeam 8 | association of many to one ZBS_C_DMOTreeTeam as _TeamLeader on $projection.TeamLeader = _TeamLeader.UserId 9 | { 10 | key UserId, 11 | PlayerName, 12 | PlayerEmail, 13 | PlayerPosition, 14 | Score, 15 | Team, 16 | TeamLeader, 17 | LocalCreatedBy, 18 | LocalLastChangedBy, 19 | LocalLastChanged, 20 | LastChanged, 21 | _TeamLeader 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_api_rapc_invoice_o4_0001_g4ba.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_API_RAPC_INVOICE_O4_0001_G4BA 7 | G4BA 8 | ZBS_API_RAPC_INVOICE_O4 9 | X 10 | 5 11 | ZBS_API_RAPC_INVOICE_O4_0001_G4BA 12 | ZBS_API_RAPC_INVOICE_O4 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/zbs_ui_demo_com_names_o2_iwsg.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_DEMO_COM_NAMES_O2_IWSG 7 | IWSG 8 | ZBS_UI_DEMO_COM_NAMES_O2_0001 9 | X 10 | 5 11 | ZBS_UI_DEMO_COM_NAMES_O2_IWSG 12 | ZBS_UI_DEMO_COM_NAMES_O2 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/zbs_ui_custom_action_o2_iwsg.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_CUSTOM_ACTION_O2_IWSG 7 | IWSG 8 | ZBS_UI_CUSTOM_ACTION_O2_0001 9 | X 10 | 5 11 | ZBS_UI_CUSTOM_ACTION_O2_IWSG 12 | ZBS_UI_CUSTOM_ACTION_O2 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_ui_demo_language_o4_0001_g4ba.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_DEMO_LANGUAGE_O4_0001_G4BA 7 | G4BA 8 | ZBS_UI_DEMO_LANGUAGE_O4 9 | X 10 | 5 11 | ZBS_UI_DEMO_LANGUAGE_O4_0001_G4BA 12 | ZBS_UI_DEMO_LANGUAGE_O4 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_ui_simple_partner_o2_iwsg.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_SIMPLE_PARTNER_O2_IWSG 7 | IWSG 8 | ZBS_UI_SIMPLE_PARTNER_O2_0001 9 | X 10 | 5 11 | ZBS_UI_SIMPLE_PARTNER_O2_IWSG 12 | ZBS_UI_SIMPLE_PARTNER_O2 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_ui_demo_tree_team_o4_0001_g4ba.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_DEMO_TREE_TEAM_O4_0001_G4BA 7 | G4BA 8 | ZBS_UI_DEMO_TREE_TEAM_O4 9 | X 10 | 5 11 | ZBS_UI_DEMO_TREE_TEAM_O4_0001_G4BA 12 | ZBS_UI_DEMO_TREE_TEAM_O4 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_ui_demo_unmanaged_o2_iwsg.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_DEMO_UNMANAGED_O2_IWSG 7 | IWSG 8 | ZBS_UI_DEMO_UNMANAGED_O2_0001 9 | X 10 | 5 11 | ZBS_UI_DEMO_UNMANAGED_O2_IWSG 12 | ZBS_UI_DEMO_UNMANAGED_O2 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_api_simple_partner_o2_iwsg.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_API_SIMPLE_PARTNER_O2_IWSG 7 | IWSG 8 | ZBS_API_SIMPLE_PARTNER_O2_0001 9 | X 10 | 5 11 | ZBS_API_SIMPLE_PARTNER_O2_IWSG 12 | ZBS_API_SIMPLE_PARTNER_O2 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_ui_simple_partner_o4_0001_g4ba.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_SIMPLE_PARTNER_O4_0001_G4BA 7 | G4BA 8 | ZBS_UI_SIMPLE_PARTNER_O4 9 | X 10 | 5 11 | ZBS_UI_SIMPLE_PARTNER_O4_0001_G4BA 12 | ZBS_UI_SIMPLE_PARTNER_O4 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/zbs_demo_tile_endpoint_http.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_TILE_ENDPOINT_HTTP 7 | HTTP 8 | ZBS_DEMO_TILE_ENDPOINT 9 | X 10 | 5 11 | ZBS_DEMO_TILE_ENDPOINT_HTTP 12 | HTTP Service ZBS_DEMO_TILE_ENDPOINT 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zbs_api_location_endp_o2_iwsg.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_API_LOCATION_ENDP_O2_IWSG 7 | IWSG 8 | ZBS_API_LOCATION_ENDP_O2_0001 9 | X 10 | 5 11 | ZBS_API_LOCATION_ENDP_O2_IWSG 12 | ZBS_API_LOCATION_ENDP_O2 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_ui_demo_pattern_cds_o4_0001_g4ba.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_DEMO_PATTERN_CDS_O4_0001_G4BA 7 | G4BA 8 | ZBS_UI_DEMO_PATTERN_CDS_O4 9 | X 10 | 5 11 | ZBS_UI_DEMO_PATTERN_CDS_O4_0001_G4BA 12 | ZBS_UI_DEMO_PATTERN_CDS_O4 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_ui_demo_drp_currency_o4_0001_g4ba.sco2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_DEMO_DRP_CURRENCY_O4_0001_G4BA 7 | G4BA 8 | ZBS_UI_DEMO_DRP_CURRENCY_O4 9 | X 10 | 5 11 | ZBS_UI_DEMO_DRP_CURRENCY_O4_0001_G4BA 12 | ZBS_UI_DEMO_DRP_CURRENCY_O4 13 | 5 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_demo_gen1.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_GEN1 7 | SRVD/SRV 8 | ##GENERATED Simple RAP 9 | EN 10 | EN 11 | ./zbs_demo_gen1/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_rapc_invoice.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_RAPC_INVOICE 7 | SRVD/SRV 8 | Invoice Service 9 | EN 10 | EN 11 | ./zbs_rapc_invoice/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_fiori_config/zbs_demo_tile_endpoint.http.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ZBS_DEMO_TILE_ENDPOINT 6 | 7 | ZBS_DEMO_TILE_ENDPOINT 8 | A 9 | E 10 | Tile Configuration Endpoint 11 | 12 | 13 | 14 | ZBS_DEMO_TILE_ENDPOINT 15 | A 16 | 01 17 | ZCL_BS_DEMO_TILE_ENDPOINT 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_i_rapcposition.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Interface for ZBS_DMO_POSITION' 3 | define view entity ZBS_I_RAPCPosition 4 | as select from zbs_dmo_position 5 | association to parent ZBS_R_RAPCInvoice as _Invoice on $projection.Document = _Invoice.Document 6 | association [1] to ZBS_I_RAPCMaterial as _Material on $projection.Material = _Material.Material 7 | { 8 | key document as Document, 9 | key pos_number as PositionNumber, 10 | material as Material, 11 | @Semantics.quantity.unitOfMeasure : 'Unit' 12 | quantity as Quantity, 13 | _Material.StockUnit as Unit, 14 | price as Price, 15 | currency as Currency, 16 | _Invoice 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom_action/zbs_custom_action.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_CUSTOM_ACTION 7 | SRVD/SRV 8 | Custom Action 9 | EN 10 | EN 11 | ./zbs_custom_action/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_unmanaged/zbs_demo_unmanaged.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_UNMANAGED 7 | SRVD/SRV 8 | Unmanaged Service 9 | EN 10 | EN 11 | ./zbs_demo_unmanaged/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_demo_key.dtel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_KEY 7 | E 8 | ZBS_DEMO_KEY 9 | 55 10 | 10 11 | 20 12 | 40 13 | Key 14 | Key 15 | Key 16 | Key 17 | Key 18 | E 19 | D 20 | 5 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_dcp_swc.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DCP_SWC 7 | SRVD/SRV 8 | Software Component 9 | EN 10 | EN 11 | ./zbs_dcp_swc/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zbs_simple_partner.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_SIMPLE_PARTNER 7 | SRVD/SRV 8 | Simple Partner Service 9 | EN 10 | EN 11 | ./zbs_simple_partner/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_demo_text.dtel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_TEXT 7 | E 8 | ZBS_DEMO_TEXT 9 | 55 10 | 10 11 | 20 12 | 40 13 | Text 14 | Text 15 | Text 16 | Text 17 | Text 18 | E 19 | D 20 | 5 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_custom/zbs_demo_company_names.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_COMPANY_NAMES 7 | SRVD/SRV 8 | Service for Company Names 9 | EN 10 | EN 11 | ./zbs_demo_company_names/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_ui_g3invoice_o4.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_UI_G3INVOICE_O4 7 | SRVD/SRV 8 | Service Definition for ZBS_C_G3HEADER 9 | EN 10 | EN 11 | ./zbs_ui_g3invoice_o4/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_demo_language.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_LANGUAGE 7 | SRVD/SRV 8 | Service Definition for ZBS_C_DMOLanguage 9 | EN 10 | EN 11 | ./zbs_demo_language/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_tree/zbs_demo_tree_team.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_TREE_TEAM 7 | SRVD/SRV 8 | Service Definition for ZBS_C_DMOTreeTeam 9 | EN 10 | EN 11 | ./zbs_demo_tree_team/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_demo_pattern_cds.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_PATTERN_CDS 7 | SRVD/SRV 8 | CDS Pattern Service 9 | EN 10 | EN 11 | ./zbs_demo_pattern_cds/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zcx_drp_excel_error.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCX_DRP_EXCEL_ERROR 7 | E 8 | Excel Error 9 | 40 10 | 1 11 | X 12 | X 13 | X 14 | 15 | 16 | 17 | ZCX_DRP_EXCEL_ERROR 18 | CONSTRUCTOR 19 | E 20 | CONSTRUCTOR 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_utility/zcx_bs_demo_provider_error.clas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZCX_BS_DEMO_PROVIDER_ERROR 7 | E 8 | Provider Error 9 | 40 10 | 1 11 | X 12 | X 13 | X 14 | 15 | 16 | 17 | ZCX_BS_DEMO_PROVIDER_ERROR 18 | CONSTRUCTOR 19 | E 20 | CONSTRUCTOR 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_complexe/zbs_c_rapcinvoice.ddls.asddls: -------------------------------------------------------------------------------- 1 | @EndUserText.label: 'Consumption for ZBS_R_RAPCINVOICE' 2 | @AccessControl.authorizationCheck: #NOT_REQUIRED 3 | @Metadata.allowExtensions: true 4 | @Search.searchable: true 5 | define root view entity ZBS_C_RAPCInvoice 6 | provider contract transactional_query 7 | as projection on ZBS_R_RAPCInvoice as Invoice 8 | { 9 | @Search.defaultSearchElement: true 10 | @Search.fuzzinessThreshold: 1.0 11 | key Document, 12 | DocDate, 13 | DocTime, 14 | @Search.defaultSearchElement: true 15 | @Search.fuzzinessThreshold: 0.8 16 | Partner, 17 | @ObjectModel.virtualElementCalculatedBy: 'ABAP:ZCL_BS_DEMO_CRAP_VE_EXIT' 18 | virtual NumberOfPositions : abap.int4, 19 | _Position : redirected to composition child ZBS_C_RAPCPosition 20 | } 21 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_demo_drp_currency.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_DRP_CURRENCY 7 | SRVD/SRV 8 | Currency Service 9 | EN 10 | EN 11 | ./zbs_demo_drp_currency/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_google/zbs_r_dmolanguage.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #CHECK 2 | @Metadata.allowExtensions: true 3 | @EndUserText.label: '###GENERATED Core Data Service Entity' 4 | define root view entity ZBS_R_DMOLanguage 5 | as select from ZBS_DMO_LANG as Language 6 | { 7 | key identification as Identification, 8 | source_language as SourceLanguage, 9 | source_text as SourceText, 10 | target_language as TargetLanguage, 11 | target_text as TargetText, 12 | @Semantics.user.createdBy: true 13 | local_created_by as LocalCreatedBy, 14 | @Semantics.user.localInstanceLastChangedBy: true 15 | local_last_changed_by as LocalLastChangedBy, 16 | @Semantics.systemDateTime.localInstanceLastChangedAt: true 17 | local_last_changed as LocalLastChanged, 18 | @Semantics.systemDateTime.lastChangedAt: true 19 | last_changed as LastChanged 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_api/zbs_api_location_endpoint.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_API_LOCATION_ENDPOINT 7 | SRVD/SRV 8 | Location API 9 | EN 10 | EN 11 | ./zbs_api_location_endpoint/source/main 12 | ABAP_SOURCE 13 | ABAP Development Tools 14 | S 15 | Definition 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen3/zbs_r_g3position.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #CHECK 2 | @Metadata.allowExtensions: true 3 | @EndUserText.label: '###GENERATED Core Data Service Entity' 4 | define view entity ZBS_R_G3POSITION 5 | as select from ZBS_G3POSITION as G3Position 6 | association to parent ZBS_R_G3HEADER as _G3Header on $projection.ParentUuid = _G3Header.Uuid 7 | composition [1..*] of ZBS_R_G3NOTE as _G3Note 8 | { 9 | key uuid as Uuid, 10 | parent_uuid as ParentUuid, 11 | position_number as PositionNumber, 12 | position_text as PositionText, 13 | @Semantics.amount.currencyCode: 'Currency' 14 | amount as Amount, 15 | @Consumption.valueHelpDefinition: [ { 16 | entity.name: 'I_CurrencyStdVH', 17 | entity.element: 'Currency', 18 | useForValidation: true 19 | } ] 20 | currency as Currency, 21 | _G3Note, 22 | _G3Header 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_cds/zbs_t_cdspatternposition.ddls.asddls: -------------------------------------------------------------------------------- 1 | @ClientHandling.type: #CLIENT_DEPENDENT 2 | @AbapCatalog.deliveryClass: #APPLICATION_DATA 3 | @AccessControl.authorizationCheck: #NOT_REQUIRED 4 | @EndUserText.label: 'CDS-P: Position' 5 | define table entity ZBS_T_CDSPatternPosition 6 | { 7 | key DocumentNumber : abap.char(8); 8 | key PositionNumber : abap.int2; 9 | MaterialNumber : abap.char(5); 10 | @Semantics.quantity.unitOfMeasure : 'PositionUnit' 11 | PositionQuantity : abap.quan(10,0); 12 | PositionUnit : abap.unit(3); 13 | @Semantics.amount.currencyCode : 'PositionCurrency' 14 | PositionPrice : abap.curr(15,2); 15 | PositionCurrency : abap.cuky; 16 | 17 | _Document : association to parent ZBS_T_CDSPatternInvoice on _Document.DocumentNumber = $projection.DocumentNumber; 18 | } 19 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_demo_dcp_text.dtel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_DCP_TEXT 7 | E 8 | ZBS_DEMO_DCP_TEXT 9 | 55 10 | 10 11 | 20 12 | 40 13 | Text 14 | Text 15 | Text 16 | Text 17 | Text 18 | E 19 | D 20 | 5 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_report/zbs_b_drpadditionalcurrency.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | @EndUserText.label: 'Additional Informations' 3 | define view entity ZBS_B_DRPAdditionalCurrency 4 | as select from zbs_drp_addcurr 5 | { 6 | key currency as Currency, 7 | ccomment as CurrencyComment, 8 | documentation as Documentation, 9 | picture_url as PictureURL, 10 | last_editor as LastEditor, 11 | excel_attachment as ExcelAttachement, 12 | excel_mimetype as ExcelMimetype, 13 | excel_filename as ExcelFilename, 14 | picture_attachment as PictureAttachement, 15 | picture_mimetype as PictureMimetype, 16 | picture_filename as PictureFilename, 17 | last_changed as LastChanged, 18 | local_last_changed as LocalLastChanged 19 | } 20 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_i_cpstagingvh.ddls.asddls: -------------------------------------------------------------------------------- 1 | @AccessControl.authorizationCheck: #NOT_REQUIRED 2 | 3 | @EndUserText.label: 'VH for Staging' 4 | 5 | @ObjectModel.resultSet.sizeCategory: #XS 6 | 7 | define view entity ZBS_I_CPStagingVH 8 | as select from DDCDS_CUSTOMER_DOMAIN_VALUE( 9 | p_domain_name : 'ZBS_DEMO_DCP_STAGING') as Values 10 | 11 | left outer join DDCDS_CUSTOMER_DOMAIN_VALUE_T( 12 | p_domain_name : 'ZBS_DEMO_DCP_STAGING') as Texts 13 | on Texts.domain_name = Values.domain_name 14 | and Texts.value_position = Values.value_position 15 | and Texts.language = $session.system_language 16 | 17 | { 18 | @ObjectModel.text.element: [ 'Description' ] 19 | @UI.textArrangement: #TEXT_LAST 20 | key Values.value_low as Staging, 21 | 22 | Texts.text as Description 23 | } 24 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_utility/zcx_bs_demo_provider_error.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zcx_bs_demo_provider_error DEFINITION 2 | PUBLIC 3 | INHERITING FROM cx_static_check FINAL 4 | CREATE PUBLIC. 5 | 6 | PUBLIC SECTION. 7 | INTERFACES if_t100_message. 8 | INTERFACES if_t100_dyn_msg. 9 | 10 | METHODS constructor 11 | IMPORTING textid LIKE if_t100_message=>t100key OPTIONAL 12 | !previous LIKE previous OPTIONAL. 13 | 14 | PROTECTED SECTION. 15 | 16 | PRIVATE SECTION. 17 | ENDCLASS. 18 | 19 | 20 | CLASS zcx_bs_demo_provider_error IMPLEMENTATION. 21 | METHOD constructor ##ADT_SUPPRESS_GENERATION. 22 | super->constructor( previous = previous ). 23 | CLEAR me->textid. 24 | IF textid IS INITIAL. 25 | if_t100_message~t100key = if_t100_message=>default_textid. 26 | ELSE. 27 | if_t100_message~t100key = textid. 28 | ENDIF. 29 | ENDMETHOD. 30 | ENDCLASS. 31 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_interface/zbs_demo_rap_onprem_odata.srvd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_RAP_ONPREM_ODATA 7 | SRVD/SRV 8 | ZBS_DEMO_RAP_ONPREM_ODATA 9 | EN 10 | EN 11 | ./zbs_demo_rap_onprem_odata/source/main 12 | ABAP_SOURCE 13 | 9 14 | Service consumption model 15 | S 16 | Definition 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_demo_dcp_staging.dtel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_DCP_STAGING 7 | E 8 | ZBS_DEMO_DCP_STAGING 9 | 55 10 | 10 11 | 20 12 | 40 13 | Staging 14 | Staging 15 | Staging 16 | Staging 17 | Staging 18 | E 19 | D 20 | 5 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_demo_dcp_team.dtel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_DCP_TEAM 7 | E 8 | 55 9 | 10 10 | 20 11 | 40 12 | Team 13 | Team 14 | Team 15 | Team 16 | Team 17 | E 18 | CHAR 19 | 000020 20 | 000020 21 | 5 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_demo_description.dtel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_DESCRIPTION 7 | E 8 | 55 9 | 10 10 | 20 11 | 40 12 | Description 13 | Description 14 | Desc 15 | Description 16 | Description 17 | E 18 | CHAR 19 | 000100 20 | 000100 21 | 5 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_gen1/zbs_demo_price.dtel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_PRICE 7 | E 8 | 55 9 | 10 10 | 20 11 | 40 12 | Price 13 | Price 14 | Price 15 | Price 16 | Price 17 | E 18 | CURR 19 | 000016 20 | 000002 21 | 000021 22 | 5 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_pattern/zbs_demo_rap_pattern_custom/zbs_demo_dcp_appl.dtel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ZBS_DEMO_DCP_APPL 7 | E 8 | 55 9 | 10 10 | 20 11 | 40 12 | Application 13 | Application 14 | Appl. 15 | Application 16 | Application 17 | E 18 | CHAR 19 | 000030 20 | 000030 21 | 5 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_apps_0001.sia7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_DEMO_RAP_APPS_0001 8 | 5 9 | 10 | 11 | ZBS_DEMO_RAP_APPS_0001 12 | ZBS_DEMO_RAP_APPS 13 | ZBS_DEMO_PARTNER_EXT 14 | A 15 | A 16 | A 17 | X-SAP-UI2-PAGE:X-SAP-UI2-CATALOGPAGE:ZBS_DEMO_RAP_APPS:04TZ3K691XLRAIFVUB8PXB9T2 18 | 5 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_apps_0002.sia7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_DEMO_RAP_APPS_0002 8 | 5 9 | 10 | 11 | ZBS_DEMO_RAP_APPS_0002 12 | ZBS_DEMO_RAP_APPS 13 | ZBS_DMO_SIMPLE_APP_EXT 14 | A 15 | A 16 | A 17 | X-SAP-UI2-PAGE:X-SAP-UI2-CATALOGPAGE:ZBS_DEMO_RAP_APPS:3XLE3GSXYZGFEUGP2PDZJ68N2 18 | 5 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_fiori/zbs_demo_rap_apps_0003.sia7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | ZBS_DEMO_RAP_APPS_0003 8 | 5 9 | 10 | 11 | ZBS_DEMO_RAP_APPS_0003 12 | ZBS_DEMO_RAP_APPS 13 | ZBS_DMO_MANUAL_APP_EXT 14 | A 15 | A 16 | A 17 | X-SAP-UI2-PAGE:X-SAP-UI2-CATALOGPAGE:ZBS_DEMO_RAP_APPS:3XLE3GSXYZGFEUGTZ3YBM9ZY6 18 | 5 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/zbs_demo_rap_simple/zcl_bs_demo_action_eml.clas.abap: -------------------------------------------------------------------------------- 1 | CLASS zcl_bs_demo_action_eml DEFINITION 2 | PUBLIC 3 | FINAL 4 | CREATE PUBLIC . 5 | 6 | PUBLIC SECTION. 7 | INTERFACES if_oo_adt_classrun. 8 | 9 | PROTECTED SECTION. 10 | PRIVATE SECTION. 11 | ENDCLASS. 12 | 13 | 14 | 15 | CLASS ZCL_BS_DEMO_ACTION_EML IMPLEMENTATION. 16 | 17 | 18 | METHOD if_oo_adt_classrun~main. 19 | MODIFY ENTITIES OF ZBS_I_RAPPartner 20 | ENTITY Partner EXECUTE fillEmptyStreets 21 | FROM VALUE #( ( PartnerNumber = '1000000007' ) ) 22 | RESULT DATA(lt_new_partner) 23 | MAPPED DATA(ls_mapped) 24 | FAILED DATA(ls_failed) 25 | REPORTED DATA(ls_reported). 26 | 27 | COMMIT ENTITIES. 28 | 29 | IF line_exists( lt_new_partner[ 1 ] ). 30 | out->write( lt_new_partner[ 1 ]-PartnerNumber ). 31 | out->write( lt_new_partner[ 1 ]-%param ). 32 | ELSE. 33 | out->write( `Not worked` ). 34 | ENDIF. 35 | ENDMETHOD. 36 | ENDCLASS. 37 | --------------------------------------------------------------------------------