Advertising:
Create wrapper for function modules and BAPIs: Difference between revisions
From SAP Knowledge Base
(Created page with "Category:RESTful_application_programming_model There are good reasons to wrap a function module (BAPI). On the one hand, to have the wrapped FuBa as Tier 2 code so that it can be exchanged with Tier 1 code if SAP offers a released cloud API or similar or to use the wrapped code to release it as Tier 1 in its SAP S/4HANA, SAP S/4HANA Cloud, private edition system. On the other hand, to be able to use COMMIT-WORK required or causing Fubas (BAPIs) through the BGPF fra...") |
No edit summary |
||
Line 4: | Line 4: | ||
On the one hand, to have the wrapped FuBa as Tier 2 code so that it can be exchanged with Tier 1 code if SAP offers a released cloud API or similar or to use the wrapped code to release it as Tier 1 in its SAP S/4HANA, SAP S/4HANA Cloud, private edition system. | On the one hand, to have the wrapped FuBa as Tier 2 code so that it can be exchanged with Tier 1 code if SAP offers a released cloud API or similar or to use the wrapped code to release it as Tier 1 in its SAP S/4HANA, SAP S/4HANA Cloud, private edition system. | ||
On the other hand, to be able to use COMMIT-WORK required or causing Fubas (BAPIs) through the BGPF framework or through call destination 'NONE' in RAP framework if these modules are not called in the SAVE sequence. | On the other hand, to be able to use [[COMMIT-WORK_required_or_causing_Fubas_(BAPIs)_and_classes_in_RAP|COMMIT-WORK required or causing Fubas (BAPIs)]] through the BGPF framework or through call destination 'NONE' in RAP framework if these modules are not called in the SAVE sequence. | ||
It is helpful to use the generator of an SAP employee: | It is helpful to use the generator of an SAP employee: |
Revision as of 14:54, 21 December 2024
There are good reasons to wrap a function module (BAPI).
On the one hand, to have the wrapped FuBa as Tier 2 code so that it can be exchanged with Tier 1 code if SAP offers a released cloud API or similar or to use the wrapped code to release it as Tier 1 in its SAP S/4HANA, SAP S/4HANA Cloud, private edition system.
On the other hand, to be able to use COMMIT-WORK required or causing Fubas (BAPIs) through the BGPF framework or through call destination 'NONE' in RAP framework if these modules are not called in the SAVE sequence.
It is helpful to use the generator of an SAP employee:
Alternatively, this can also be done manually: