SAP Function Modules

ISM_POSTALDATA_IMP_INSERT SAP Function module







ISM_POSTALDATA_IMP_INSERT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name ISM_POSTALDATA_IMP_INSERT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: JSS8
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISM_POSTALDATA_IMP_INSERT - ISM POSTALDATA IMP INSERT





CALL FUNCTION 'ISM_POSTALDATA_IMP_INSERT' "
* EXPORTING
*   i_jstortpro =               " jpost_jstortpro
*   i_jststrpro =               " jpost_jststrpro
*   i_jstplzpro =               " jpost_jstplzpro
*   i_jstplzort =               " jpost_jstplzort
*   i_jstotlpro =               " jpost_jstotlpro
*   i_jstpofpro =               " jpost_jstpofpro
*   i_jstkgspro =               " jpost_jstkgspro
*   i_jstcounty =               " jpost_jstcounty
*   i_jstalias =                " jpost_jstalias
*   i_jstortpro_tab =           " jpost_jstortpro_tab
*   i_jststrpro_tab =           " jpost_jststrpro_tab
*   i_jstplzpro_tab =           " jpost_jstplzpro_tab
*   i_jstplzort_tab =           " jpost_jstplzort_tab
*   i_jstotlpro_tab =           " jpost_jstotlpro_tab
*   i_jstpofpro_tab =           " jpost_jstpofpro_tab
*   i_jstkgspro_tab =           " jpost_jstkgspro_tab
*   i_jstcounty_tab =           " jpost_jstcounty_tab
*   i_jstalias_tab =            " jpost_jstalias_tab
    .  "  ISM_POSTALDATA_IMP_INSERT

ABAP code example for Function Module ISM_POSTALDATA_IMP_INSERT





The ABAP code below is a full code listing to execute function module ISM_POSTALDATA_IMP_INSERT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).


DATA(ld_i_jstortpro) = 'Check type of data required'.
DATA(ld_i_jststrpro) = 'Check type of data required'.
DATA(ld_i_jstplzpro) = 'Check type of data required'.
DATA(ld_i_jstplzort) = 'Check type of data required'.
DATA(ld_i_jstotlpro) = 'Check type of data required'.
DATA(ld_i_jstpofpro) = 'Check type of data required'.
DATA(ld_i_jstkgspro) = 'Check type of data required'.
DATA(ld_i_jstcounty) = 'Check type of data required'.
DATA(ld_i_jstalias) = 'Check type of data required'.
DATA(ld_i_jstortpro_tab) = 'Check type of data required'.
DATA(ld_i_jststrpro_tab) = 'Check type of data required'.
DATA(ld_i_jstplzpro_tab) = 'Check type of data required'.
DATA(ld_i_jstplzort_tab) = 'Check type of data required'.
DATA(ld_i_jstotlpro_tab) = 'Check type of data required'.
DATA(ld_i_jstpofpro_tab) = 'Check type of data required'.
DATA(ld_i_jstkgspro_tab) = 'Check type of data required'.
DATA(ld_i_jstcounty_tab) = 'Check type of data required'.
DATA(ld_i_jstalias_tab) = 'Check type of data required'. . CALL FUNCTION 'ISM_POSTALDATA_IMP_INSERT' * EXPORTING * i_jstortpro = ld_i_jstortpro * i_jststrpro = ld_i_jststrpro * i_jstplzpro = ld_i_jstplzpro * i_jstplzort = ld_i_jstplzort * i_jstotlpro = ld_i_jstotlpro * i_jstpofpro = ld_i_jstpofpro * i_jstkgspro = ld_i_jstkgspro * i_jstcounty = ld_i_jstcounty * i_jstalias = ld_i_jstalias * i_jstortpro_tab = ld_i_jstortpro_tab * i_jststrpro_tab = ld_i_jststrpro_tab * i_jstplzpro_tab = ld_i_jstplzpro_tab * i_jstplzort_tab = ld_i_jstplzort_tab * i_jstotlpro_tab = ld_i_jstotlpro_tab * i_jstpofpro_tab = ld_i_jstpofpro_tab * i_jstkgspro_tab = ld_i_jstkgspro_tab * i_jstcounty_tab = ld_i_jstcounty_tab * i_jstalias_tab = ld_i_jstalias_tab . " ISM_POSTALDATA_IMP_INSERT
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_i_jstortpro  TYPE JPOST_JSTORTPRO ,
ld_i_jststrpro  TYPE JPOST_JSTSTRPRO ,
ld_i_jstplzpro  TYPE JPOST_JSTPLZPRO ,
ld_i_jstplzort  TYPE JPOST_JSTPLZORT ,
ld_i_jstotlpro  TYPE JPOST_JSTOTLPRO ,
ld_i_jstpofpro  TYPE JPOST_JSTPOFPRO ,
ld_i_jstkgspro  TYPE JPOST_JSTKGSPRO ,
ld_i_jstcounty  TYPE JPOST_JSTCOUNTY ,
ld_i_jstalias  TYPE JPOST_JSTALIAS ,
ld_i_jstortpro_tab  TYPE JPOST_JSTORTPRO_TAB ,
ld_i_jststrpro_tab  TYPE JPOST_JSTSTRPRO_TAB ,
ld_i_jstplzpro_tab  TYPE JPOST_JSTPLZPRO_TAB ,
ld_i_jstplzort_tab  TYPE JPOST_JSTPLZORT_TAB ,
ld_i_jstotlpro_tab  TYPE JPOST_JSTOTLPRO_TAB ,
ld_i_jstpofpro_tab  TYPE JPOST_JSTPOFPRO_TAB ,
ld_i_jstkgspro_tab  TYPE JPOST_JSTKGSPRO_TAB ,
ld_i_jstcounty_tab  TYPE JPOST_JSTCOUNTY_TAB ,
ld_i_jstalias_tab  TYPE JPOST_JSTALIAS_TAB .

ld_i_jstortpro = 'Check type of data required'.
ld_i_jststrpro = 'Check type of data required'.
ld_i_jstplzpro = 'Check type of data required'.
ld_i_jstplzort = 'Check type of data required'.
ld_i_jstotlpro = 'Check type of data required'.
ld_i_jstpofpro = 'Check type of data required'.
ld_i_jstkgspro = 'Check type of data required'.
ld_i_jstcounty = 'Check type of data required'.
ld_i_jstalias = 'Check type of data required'.
ld_i_jstortpro_tab = 'Check type of data required'.
ld_i_jststrpro_tab = 'Check type of data required'.
ld_i_jstplzpro_tab = 'Check type of data required'.
ld_i_jstplzort_tab = 'Check type of data required'.
ld_i_jstotlpro_tab = 'Check type of data required'.
ld_i_jstpofpro_tab = 'Check type of data required'.
ld_i_jstkgspro_tab = 'Check type of data required'.
ld_i_jstcounty_tab = 'Check type of data required'.
ld_i_jstalias_tab = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISM_POSTALDATA_IMP_INSERT or its description.