SAP ISM_JSTORTPRO_USPS_POST_DATA Function Module for IS-M: Generate Cities, PCd-City Assgmts, PCds, PO Boxes from CSP File(s)









ISM_JSTORTPRO_USPS_POST_DATA is a standard ism jstortpro usps post 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 IS-M: Generate Cities, PCd-City Assgmts, PCds, PO Boxes from CSP File(s) 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 jstortpro usps post data FM, simply by entering the name ISM_JSTORTPRO_USPS_POST_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_JSTORTPRO_USPS_POST_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 'ISM_JSTORTPRO_USPS_POST_DATA'"IS-M: Generate Cities, PCd-City Assgmts, PCds, PO Boxes from CSP File(s)
EXPORTING
DSETNAME = "
COUNTRY = "
RESTART_COUNTER = "
COMMIT_COUNTER = "
LOG_FILE = "
FROM_CODEPAGE = "
TO_CODEPAGE = "
* ERROR_FILE = "Logical File Name

TABLES
* STATE_RANGE = "

EXCEPTIONS
INVALID_INPUT = 1 END_OF_DATASET = 2 CANT_READ_DATASET = 3 FILE_ERROR = 4 VERSION_ERROR = 5
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLJSS6_001 IS-M: Enter Street Type in Street Fields

IMPORTING Parameters details for ISM_JSTORTPRO_USPS_POST_DATA

DSETNAME -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

COUNTRY -

Data type: T005-LAND1
Optional: No
Call by Reference: No ( called with pass by value option)

RESTART_COUNTER -

Data type: TJY09-ZAEHLER
Optional: No
Call by Reference: No ( called with pass by value option)

COMMIT_COUNTER -

Data type: TJY09-ZAEHLER
Optional: No
Call by Reference: No ( called with pass by value option)

LOG_FILE -

Data type: FILENAME-FILEINTERN
Optional: No
Call by Reference: No ( called with pass by value option)

FROM_CODEPAGE -

Data type: CODEPAGES-CODEPAGE
Optional: No
Call by Reference: No ( called with pass by value option)

TO_CODEPAGE -

Data type: CODEPAGES-CODEPAGE
Optional: No
Call by Reference: No ( called with pass by value option)

ERROR_FILE - Logical File Name

Data type: CSEQUENCE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ISM_JSTORTPRO_USPS_POST_DATA

STATE_RANGE -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

INVALID_INPUT -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

END_OF_DATASET -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CANT_READ_DATASET -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

FILE_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

VERSION_ERROR -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISM_JSTORTPRO_USPS_POST_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_dsetname  TYPE STRING, "   
lt_state_range  TYPE STANDARD TABLE OF STRING, "   
lv_invalid_input  TYPE STRING, "   
lv_country  TYPE T005-LAND1, "   
lv_end_of_dataset  TYPE T005, "   
lv_restart_counter  TYPE TJY09-ZAEHLER, "   
lv_cant_read_dataset  TYPE TJY09, "   
lv_file_error  TYPE TJY09, "   
lv_commit_counter  TYPE TJY09-ZAEHLER, "   
lv_log_file  TYPE FILENAME-FILEINTERN, "   
lv_version_error  TYPE FILENAME, "   
lv_from_codepage  TYPE CODEPAGES-CODEPAGE, "   
lv_to_codepage  TYPE CODEPAGES-CODEPAGE, "   
lv_error_file  TYPE CSEQUENCE. "   

  CALL FUNCTION 'ISM_JSTORTPRO_USPS_POST_DATA'  "IS-M: Generate Cities, PCd-City Assgmts, PCds, PO Boxes from CSP File(s)
    EXPORTING
         DSETNAME = lv_dsetname
         COUNTRY = lv_country
         RESTART_COUNTER = lv_restart_counter
         COMMIT_COUNTER = lv_commit_counter
         LOG_FILE = lv_log_file
         FROM_CODEPAGE = lv_from_codepage
         TO_CODEPAGE = lv_to_codepage
         ERROR_FILE = lv_error_file
    TABLES
         STATE_RANGE = lt_state_range
    EXCEPTIONS
        INVALID_INPUT = 1
        END_OF_DATASET = 2
        CANT_READ_DATASET = 3
        FILE_ERROR = 4
        VERSION_ERROR = 5
. " ISM_JSTORTPRO_USPS_POST_DATA




ABAP code using 7.40 inline data declarations to call FM ISM_JSTORTPRO_USPS_POST_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 LAND1 FROM T005 INTO @DATA(ld_country).
 
 
"SELECT single ZAEHLER FROM TJY09 INTO @DATA(ld_restart_counter).
 
 
 
"SELECT single ZAEHLER FROM TJY09 INTO @DATA(ld_commit_counter).
 
"SELECT single FILEINTERN FROM FILENAME INTO @DATA(ld_log_file).
 
 
"SELECT single CODEPAGE FROM CODEPAGES INTO @DATA(ld_from_codepage).
 
"SELECT single CODEPAGE FROM CODEPAGES INTO @DATA(ld_to_codepage).
 
 


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!