SAP ISM_PD_INITIAL_LOAD_DE Function Module for Initial Loading of German Postal Data









ISM_PD_INITIAL_LOAD_DE is a standard ism pd initial load de SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Initial Loading of German Postal Data 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 ism pd initial load de FM, simply by entering the name ISM_PD_INITIAL_LOAD_DE into the relevant SAP transaction such as SE37 or SE38.

Function Group: ISM_PD_LOAD_SERVICE
Program Name: SAPLISM_PD_LOAD_SERVICE
Main Program: SAPLISM_PD_LOAD_SERVICE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISM_PD_INITIAL_LOAD_DE 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 'ISM_PD_INITIAL_LOAD_DE'"Initial Loading of German Postal Data
EXPORTING
* PD_COUNTRY = 'DE' "Country Key
* NUMKR_OBJ_STR = 'ISP_STR' "Checkbox Field
* X_CHECK_PRECOND_IL = 'X' "Checkbox Field
* X_DBSAVE = ' ' "Checkbox Field
* COMMIT_CNT = 1000 "Commit Counter
* VALID_FROM_DATE = SY-DATUM "Valid-From Date
* VALID_TO_DATE = '99991231' "Valid-to date
PD_POST_VERSION_ID = "
* XSTR_LOAD = 'X' "Checkbox Field
* XORT_LOAD = 'X' "Checkbox Field
* XOTL_LOAD = 'X' "Checkbox Field
* XPLZ_LOAD = 'X' "Checkbox Field
* XPLO_LOAD = 'X' "Checkbox Field
* XKGS_LOAD = 'X' "Checkbox Field
* XPOF_LOAD = 'X' "Checkbox Field

IMPORTING
MESSAGE = "IS-M: Message Data
CNT_OTL_INSERTED = "Counter
CNT_ORT_INSERTED = "Counter
CNT_PLZ_INSERTED = "Counter
CNT_PLO_INSERTED = "Counter
CNT_STR_INSERTED = "Counter
CNT_POF_INSERTED = "Counter
CNT_KGS_LOAD = "Counter
CNT_OTL_LOAD = "Counter
CNT_ORT_LOAD = "Counter
CNT_PLZ_LOAD = "Counter
CNT_PLO_LOAD = "Counter
CNT_STR_LOAD = "Counter
CNT_POF_LOAD = "Counter
CNT_KGS_INSERTED = "Counter
.



IMPORTING Parameters details for ISM_PD_INITIAL_LOAD_DE

PD_COUNTRY - Country Key

Data type: LAND1
Default: 'DE'
Optional: No
Call by Reference: Yes

NUMKR_OBJ_STR - Checkbox Field

Data type: NROBJ
Default: 'ISP_STR'
Optional: No
Call by Reference: Yes

X_CHECK_PRECOND_IL - Checkbox Field

Data type: XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

X_DBSAVE - Checkbox Field

Data type: XFELD
Default: SPACE
Optional: No
Call by Reference: Yes

COMMIT_CNT - Commit Counter

Data type: I
Default: 1000
Optional: No
Call by Reference: Yes

VALID_FROM_DATE - Valid-From Date

Data type: GUELTIGVON
Default: SY-DATUM
Optional: No
Call by Reference: Yes

VALID_TO_DATE - Valid-to date

Data type: GUELTIGBIS
Default: '99991231'
Optional: No
Call by Reference: Yes

PD_POST_VERSION_ID -

Data type: STRING
Optional: No
Call by Reference: Yes

XSTR_LOAD - Checkbox Field

Data type: XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

XORT_LOAD - Checkbox Field

Data type: XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

XOTL_LOAD - Checkbox Field

Data type: XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

XPLZ_LOAD - Checkbox Field

Data type: XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

XPLO_LOAD - Checkbox Field

Data type: XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

XKGS_LOAD - Checkbox Field

Data type: XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

XPOF_LOAD - Checkbox Field

Data type: XFELD
Default: 'X'
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for ISM_PD_INITIAL_LOAD_DE

MESSAGE - IS-M: Message Data

Data type: RJMSG
Optional: No
Call by Reference: Yes

CNT_OTL_INSERTED - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_ORT_INSERTED - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_PLZ_INSERTED - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_PLO_INSERTED - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_STR_INSERTED - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_POF_INSERTED - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_KGS_LOAD - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_OTL_LOAD - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_ORT_LOAD - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_PLZ_LOAD - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_PLO_LOAD - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_STR_LOAD - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_POF_LOAD - Counter

Data type: I
Optional: No
Call by Reference: Yes

CNT_KGS_INSERTED - Counter

Data type: I
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISM_PD_INITIAL_LOAD_DE 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_message  TYPE RJMSG, "   
lv_pd_country  TYPE LAND1, "   'DE'
lv_numkr_obj_str  TYPE NROBJ, "   'ISP_STR'
lv_cnt_otl_inserted  TYPE I, "   
lv_cnt_ort_inserted  TYPE I, "   
lv_x_check_precond_il  TYPE XFELD, "   'X'
lv_x_dbsave  TYPE XFELD, "   SPACE
lv_cnt_plz_inserted  TYPE I, "   
lv_commit_cnt  TYPE I, "   1000
lv_cnt_plo_inserted  TYPE I, "   
lv_valid_from_date  TYPE GUELTIGVON, "   SY-DATUM
lv_cnt_str_inserted  TYPE I, "   
lv_valid_to_date  TYPE GUELTIGBIS, "   '99991231'
lv_cnt_pof_inserted  TYPE I, "   
lv_cnt_kgs_load  TYPE I, "   
lv_pd_post_version_id  TYPE STRING, "   
lv_xstr_load  TYPE XFELD, "   'X'
lv_cnt_otl_load  TYPE I, "   
lv_xort_load  TYPE XFELD, "   'X'
lv_cnt_ort_load  TYPE I, "   
lv_xotl_load  TYPE XFELD, "   'X'
lv_cnt_plz_load  TYPE I, "   
lv_xplz_load  TYPE XFELD, "   'X'
lv_cnt_plo_load  TYPE I, "   
lv_xplo_load  TYPE XFELD, "   'X'
lv_cnt_str_load  TYPE I, "   
lv_xkgs_load  TYPE XFELD, "   'X'
lv_cnt_pof_load  TYPE I, "   
lv_xpof_load  TYPE XFELD, "   'X'
lv_cnt_kgs_inserted  TYPE I. "   

  CALL FUNCTION 'ISM_PD_INITIAL_LOAD_DE'  "Initial Loading of German Postal Data
    EXPORTING
         PD_COUNTRY = lv_pd_country
         NUMKR_OBJ_STR = lv_numkr_obj_str
         X_CHECK_PRECOND_IL = lv_x_check_precond_il
         X_DBSAVE = lv_x_dbsave
         COMMIT_CNT = lv_commit_cnt
         VALID_FROM_DATE = lv_valid_from_date
         VALID_TO_DATE = lv_valid_to_date
         PD_POST_VERSION_ID = lv_pd_post_version_id
         XSTR_LOAD = lv_xstr_load
         XORT_LOAD = lv_xort_load
         XOTL_LOAD = lv_xotl_load
         XPLZ_LOAD = lv_xplz_load
         XPLO_LOAD = lv_xplo_load
         XKGS_LOAD = lv_xkgs_load
         XPOF_LOAD = lv_xpof_load
    IMPORTING
         MESSAGE = lv_message
         CNT_OTL_INSERTED = lv_cnt_otl_inserted
         CNT_ORT_INSERTED = lv_cnt_ort_inserted
         CNT_PLZ_INSERTED = lv_cnt_plz_inserted
         CNT_PLO_INSERTED = lv_cnt_plo_inserted
         CNT_STR_INSERTED = lv_cnt_str_inserted
         CNT_POF_INSERTED = lv_cnt_pof_inserted
         CNT_KGS_LOAD = lv_cnt_kgs_load
         CNT_OTL_LOAD = lv_cnt_otl_load
         CNT_ORT_LOAD = lv_cnt_ort_load
         CNT_PLZ_LOAD = lv_cnt_plz_load
         CNT_PLO_LOAD = lv_cnt_plo_load
         CNT_STR_LOAD = lv_cnt_str_load
         CNT_POF_LOAD = lv_cnt_pof_load
         CNT_KGS_INSERTED = lv_cnt_kgs_inserted
. " ISM_PD_INITIAL_LOAD_DE




ABAP code using 7.40 inline data declarations to call FM ISM_PD_INITIAL_LOAD_DE

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.

 
DATA(ld_pd_country) = 'DE'.
 
DATA(ld_numkr_obj_str) = 'ISP_STR'.
 
 
 
DATA(ld_x_check_precond_il) = 'X'.
 
DATA(ld_x_dbsave) = ' '.
 
 
DATA(ld_commit_cnt) = 1000.
 
 
DATA(ld_valid_from_date) = SY-DATUM.
 
 
DATA(ld_valid_to_date) = '99991231'.
 
 
 
 
DATA(ld_xstr_load) = 'X'.
 
 
DATA(ld_xort_load) = 'X'.
 
 
DATA(ld_xotl_load) = 'X'.
 
 
DATA(ld_xplz_load) = 'X'.
 
 
DATA(ld_xplo_load) = 'X'.
 
 
DATA(ld_xkgs_load) = 'X'.
 
 
DATA(ld_xpof_load) = 'X'.
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!