SAP ISM_JSTSTRPRO_USPS_UPDA_CREATE Function Module for IS-M: Generate UPDA Records from ZIP+4 and Z4TRANS Files from USPS
ISM_JSTSTRPRO_USPS_UPDA_CREATE is a standard ism jststrpro usps upda create 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 UPDA Records from ZIP+4 and Z4TRANS Files from USPS 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 jststrpro usps upda create FM, simply by entering the name ISM_JSTSTRPRO_USPS_UPDA_CREATE 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_JSTSTRPRO_USPS_UPDA_CREATE 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_JSTSTRPRO_USPS_UPDA_CREATE'"IS-M: Generate UPDA Records from ZIP+4 and Z4TRANS Files from USPS.
EXPORTING
DSETNAME = "
* ERROR_FILE = "Logical File Name
COUNTRY = "
RESTART_COUNTER = "
COMMIT_COUNTER = "
LOG_FILE = "
FROM_CODEPAGE = "
TO_CODEPAGE = "
IN_JSTAENDER = "
* VERSION = "
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_JSTSTRPRO_USPS_UPDA_CREATE
DSETNAME -
Data type: FILENAME-FILEINTERNOptional: No
Call by Reference: No ( called with pass by value option)
ERROR_FILE - Logical File Name
Data type: CSEQUENCEOptional: Yes
Call by Reference: No ( called with pass by value option)
COUNTRY -
Data type: T005-LAND1Optional: No
Call by Reference: No ( called with pass by value option)
RESTART_COUNTER -
Data type: TJY09-ZAEHLEROptional: No
Call by Reference: No ( called with pass by value option)
COMMIT_COUNTER -
Data type: TJY09-ZAEHLEROptional: No
Call by Reference: No ( called with pass by value option)
LOG_FILE -
Data type: FILENAME-FILEINTERNOptional: No
Call by Reference: No ( called with pass by value option)
FROM_CODEPAGE -
Data type: CODEPAGES-CODEPAGEOptional: No
Call by Reference: No ( called with pass by value option)
TO_CODEPAGE -
Data type: CODEPAGES-CODEPAGEOptional: No
Call by Reference: No ( called with pass by value option)
IN_JSTAENDER -
Data type: JSTAENDEROptional: No
Call by Reference: No ( called with pass by value option)
VERSION -
Data type: JYTVERSION-VERSION_NROptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISM_JSTSTRPRO_USPS_UPDA_CREATE
STATE_RANGE -
Data type:Optional: No
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_JSTSTRPRO_USPS_UPDA_CREATE 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 FILENAME-FILEINTERN, " | |||
| lt_state_range | TYPE STANDARD TABLE OF FILENAME, " | |||
| lv_invalid_input | TYPE FILENAME, " | |||
| lv_error_file | TYPE CSEQUENCE, " | |||
| 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_in_jstaender | TYPE JSTAENDER, " | |||
| lv_version | TYPE JYTVERSION-VERSION_NR. " |
|   CALL FUNCTION 'ISM_JSTSTRPRO_USPS_UPDA_CREATE' "IS-M: Generate UPDA Records from ZIP+4 and Z4TRANS Files from USPS |
| EXPORTING | ||
| DSETNAME | = lv_dsetname | |
| ERROR_FILE | = lv_error_file | |
| 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 | |
| IN_JSTAENDER | = lv_in_jstaender | |
| VERSION | = lv_version | |
| 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_JSTSTRPRO_USPS_UPDA_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM ISM_JSTSTRPRO_USPS_UPDA_CREATE
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 FILEINTERN FROM FILENAME INTO @DATA(ld_dsetname). | ||||
| "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). | ||||
| "SELECT single VERSION_NR FROM JYTVERSION INTO @DATA(ld_version). | ||||
Search for further information about these or an SAP related objects