SAP 1078_TRANSL_INT_EXT_API Function Module for API to BAPI Structure Mapping
1078_TRANSL_INT_EXT_API is a standard 1078 transl int ext api SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for API to BAPI Structure Mapping processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for 1078 transl int ext api FM, simply by entering the name 1078_TRANSL_INT_EXT_API into the relevant SAP transaction such as SE37 or SE38.
Function Group: 1078
Program Name: SAPL1078
Main Program: SAPL1078
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function 1078_TRANSL_INT_EXT_API pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION '1078_TRANSL_INT_EXT_API'"API to BAPI Structure Mapping.
TABLES
* E_BAPI_DANGEROUSGOODDATA = "
* I_PACK_REQUIREMENT = "Packaging Code Approvals
* I_PRODUCT_RELEASE = "Product Release
* I_PROV_CARRIAGE = "Provisions for Carriage
* I_SPEC_PACK_PROV = "
* I_TRANSP_APPROVAL = "Transport Restrictions
* E_BAPI_DANGEROUSGOODPACK = "
* E_BAPI_PACK_REQUIREMENT = "BAPI Structure Dangerous Goods Packing Requirement
* E_BAPI_PRODUCT_RELEASE = "BAPI Structure Dangerous Goods Product Release
* E_BAPI_PROV_CARRIAGE = "BAPI Structure Transport Regulations
* E_BAPI_SPEC_PACK_PROV = "BAPI Structure Special Packing Provisions
* E_BAPI_TRANSP_APPROVAL = "BAPI Structure Transport Restrictions
* I_DANGEROUSGOODDATA = "Dangerous Goods Master (Header)
* I_DANGEROUSGOODPACK = "
EXCEPTIONS
PARAMETER_ERROR = 1
TABLES Parameters details for 1078_TRANSL_INT_EXT_API
E_BAPI_DANGEROUSGOODDATA -
Data type: BAPI1078_DANGEROUSGOODDATAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PACK_REQUIREMENT - Packaging Code Approvals
Data type: RCBDUAPIPACKOptional: Yes
Call by Reference: Yes
I_PRODUCT_RELEASE - Product Release
Data type: RCBDUAPIDGRELAPPLOptional: Yes
Call by Reference: Yes
I_PROV_CARRIAGE - Provisions for Carriage
Data type: RCBDUAPICARROptional: Yes
Call by Reference: Yes
I_SPEC_PACK_PROV -
Data type: RCBDUAPISPOptional: Yes
Call by Reference: Yes
I_TRANSP_APPROVAL - Transport Restrictions
Data type: RCBDUAPITRAPPROptional: Yes
Call by Reference: Yes
E_BAPI_DANGEROUSGOODPACK -
Data type: BAPI1078_DANGEROUSGOODPACKOptional: Yes
Call by Reference: No ( called with pass by value option)
E_BAPI_PACK_REQUIREMENT - BAPI Structure Dangerous Goods Packing Requirement
Data type: BAPI1078_PACK_REQUIREMENTOptional: Yes
Call by Reference: No ( called with pass by value option)
E_BAPI_PRODUCT_RELEASE - BAPI Structure Dangerous Goods Product Release
Data type: BAPI1078_PRODUCT_RELEASEOptional: Yes
Call by Reference: No ( called with pass by value option)
E_BAPI_PROV_CARRIAGE - BAPI Structure Transport Regulations
Data type: BAPI1078_PROV_CARRIAGEOptional: Yes
Call by Reference: No ( called with pass by value option)
E_BAPI_SPEC_PACK_PROV - BAPI Structure Special Packing Provisions
Data type: BAPI1078_SPEC_PACK_PROVOptional: Yes
Call by Reference: No ( called with pass by value option)
E_BAPI_TRANSP_APPROVAL - BAPI Structure Transport Restrictions
Data type: BAPI1078_TRANSP_APPROVALOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DANGEROUSGOODDATA - Dangerous Goods Master (Header)
Data type: RDGAPIDGHEADOptional: Yes
Call by Reference: Yes
I_DANGEROUSGOODPACK -
Data type: RDGAPIPKOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
PARAMETER_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for 1078_TRANSL_INT_EXT_API Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_parameter_error | TYPE STRING, " | |||
| lt_e_bapi_dangerousgooddata | TYPE STANDARD TABLE OF BAPI1078_DANGEROUSGOODDATA, " | |||
| lt_i_pack_requirement | TYPE STANDARD TABLE OF RCBDUAPIPACK, " | |||
| lt_i_product_release | TYPE STANDARD TABLE OF RCBDUAPIDGRELAPPL, " | |||
| lt_i_prov_carriage | TYPE STANDARD TABLE OF RCBDUAPICARR, " | |||
| lt_i_spec_pack_prov | TYPE STANDARD TABLE OF RCBDUAPISP, " | |||
| lt_i_transp_approval | TYPE STANDARD TABLE OF RCBDUAPITRAPPR, " | |||
| lt_e_bapi_dangerousgoodpack | TYPE STANDARD TABLE OF BAPI1078_DANGEROUSGOODPACK, " | |||
| lt_e_bapi_pack_requirement | TYPE STANDARD TABLE OF BAPI1078_PACK_REQUIREMENT, " | |||
| lt_e_bapi_product_release | TYPE STANDARD TABLE OF BAPI1078_PRODUCT_RELEASE, " | |||
| lt_e_bapi_prov_carriage | TYPE STANDARD TABLE OF BAPI1078_PROV_CARRIAGE, " | |||
| lt_e_bapi_spec_pack_prov | TYPE STANDARD TABLE OF BAPI1078_SPEC_PACK_PROV, " | |||
| lt_e_bapi_transp_approval | TYPE STANDARD TABLE OF BAPI1078_TRANSP_APPROVAL, " | |||
| lt_i_dangerousgooddata | TYPE STANDARD TABLE OF RDGAPIDGHEAD, " | |||
| lt_i_dangerousgoodpack | TYPE STANDARD TABLE OF RDGAPIPK. " |
|   CALL FUNCTION '1078_TRANSL_INT_EXT_API' "API to BAPI Structure Mapping |
| TABLES | ||
| E_BAPI_DANGEROUSGOODDATA | = lt_e_bapi_dangerousgooddata | |
| I_PACK_REQUIREMENT | = lt_i_pack_requirement | |
| I_PRODUCT_RELEASE | = lt_i_product_release | |
| I_PROV_CARRIAGE | = lt_i_prov_carriage | |
| I_SPEC_PACK_PROV | = lt_i_spec_pack_prov | |
| I_TRANSP_APPROVAL | = lt_i_transp_approval | |
| E_BAPI_DANGEROUSGOODPACK | = lt_e_bapi_dangerousgoodpack | |
| E_BAPI_PACK_REQUIREMENT | = lt_e_bapi_pack_requirement | |
| E_BAPI_PRODUCT_RELEASE | = lt_e_bapi_product_release | |
| E_BAPI_PROV_CARRIAGE | = lt_e_bapi_prov_carriage | |
| E_BAPI_SPEC_PACK_PROV | = lt_e_bapi_spec_pack_prov | |
| E_BAPI_TRANSP_APPROVAL | = lt_e_bapi_transp_approval | |
| I_DANGEROUSGOODDATA | = lt_i_dangerousgooddata | |
| I_DANGEROUSGOODPACK | = lt_i_dangerousgoodpack | |
| EXCEPTIONS | ||
| PARAMETER_ERROR = 1 | ||
| . " 1078_TRANSL_INT_EXT_API | ||
ABAP code using 7.40 inline data declarations to call FM 1078_TRANSL_INT_EXT_API
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects