SAP JGBP_0003_IMPORT_DATA Function Module for Conversion: Determine Program Parameters
JGBP_0003_IMPORT_DATA is a standard jgbp 0003 import data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Conversion: Determine Program Parameters 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 jgbp 0003 import data FM, simply by entering the name JGBP_0003_IMPORT_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: JGBP_CONVERT
Program Name: SAPLJGBP_CONVERT
Main Program: SAPLJGBP_CONVERT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function JGBP_0003_IMPORT_DATA 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 'JGBP_0003_IMPORT_DATA'"Conversion: Determine Program Parameters.
EXPORTING
* I_TEST = "Test Run
* I_CHECK = "Update Run Only If Test Run Completed Without Errors
* I_RUN = "Update Run Without Considering Test Run
* I_PROTOKOLL_NAME = "Log name
* I_PROTOKOLL_SHOW = "
* I_PROTOKOLL_DETAIL = "Show Log Details
* I_PROJEKT = "Convers. proj.
* I_TABNAME = "Subproject
* I_CON_PACK = '00100' "Block Size
EXCEPTIONS
ZTPKT = 1
IMPORTING Parameters details for JGBP_0003_IMPORT_DATA
I_TEST - Test Run
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_CHECK - Update Run Only If Test Run Completed Without Errors
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_RUN - Update Run Without Considering Test Run
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_PROTOKOLL_NAME - Log name
Data type: DDPRH-PROTNAMEOptional: Yes
Call by Reference: Yes
I_PROTOKOLL_SHOW -
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_PROTOKOLL_DETAIL - Show Log Details
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: Yes
I_PROJEKT - Convers. proj.
Data type: TPU2-PROJEKTOptional: Yes
Call by Reference: Yes
I_TABNAME - Subproject
Data type: TPU2-TABNAMEOptional: Yes
Call by Reference: Yes
I_CON_PACK - Block Size
Data type: NUMC5Default: '00100'
Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
ZTPKT - No Event Modules Defined
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for JGBP_0003_IMPORT_DATA 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_ztpkt | TYPE STRING, " | |||
| lv_i_test | TYPE BOOLE-BOOLE, " | |||
| lv_i_check | TYPE BOOLE-BOOLE, " | |||
| lv_i_run | TYPE BOOLE-BOOLE, " | |||
| lv_i_protokoll_name | TYPE DDPRH-PROTNAME, " | |||
| lv_i_protokoll_show | TYPE BOOLE-BOOLE, " | |||
| lv_i_protokoll_detail | TYPE BOOLE-BOOLE, " | |||
| lv_i_projekt | TYPE TPU2-PROJEKT, " | |||
| lv_i_tabname | TYPE TPU2-TABNAME, " | |||
| lv_i_con_pack | TYPE NUMC5. " '00100' |
|   CALL FUNCTION 'JGBP_0003_IMPORT_DATA' "Conversion: Determine Program Parameters |
| EXPORTING | ||
| I_TEST | = lv_i_test | |
| I_CHECK | = lv_i_check | |
| I_RUN | = lv_i_run | |
| I_PROTOKOLL_NAME | = lv_i_protokoll_name | |
| I_PROTOKOLL_SHOW | = lv_i_protokoll_show | |
| I_PROTOKOLL_DETAIL | = lv_i_protokoll_detail | |
| I_PROJEKT | = lv_i_projekt | |
| I_TABNAME | = lv_i_tabname | |
| I_CON_PACK | = lv_i_con_pack | |
| EXCEPTIONS | ||
| ZTPKT = 1 | ||
| . " JGBP_0003_IMPORT_DATA | ||
ABAP code using 7.40 inline data declarations to call FM JGBP_0003_IMPORT_DATA
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.| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_test). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_check). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_run). | ||||
| "SELECT single PROTNAME FROM DDPRH INTO @DATA(ld_i_protokoll_name). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_protokoll_show). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_protokoll_detail). | ||||
| "SELECT single PROJEKT FROM TPU2 INTO @DATA(ld_i_projekt). | ||||
| "SELECT single TABNAME FROM TPU2 INTO @DATA(ld_i_tabname). | ||||
| DATA(ld_i_con_pack) | = '00100'. | |||
Search for further information about these or an SAP related objects