SAP J_1S_ORTPRO_PTT_POSTE_DATA Function Module for IS-M/SD CH: Transfer PTT City Data for Table JSTORTPRO









J_1S_ORTPRO_PTT_POSTE_DATA is a standard j 1s ortpro ptt poste 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/SD CH: Transfer PTT City Data for Table JSTORTPRO 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 j 1s ortpro ptt poste data FM, simply by entering the name J_1S_ORTPRO_PTT_POSTE_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function J_1S_ORTPRO_PTT_POSTE_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 'J_1S_ORTPRO_PTT_POSTE_DATA'"IS-M/SD CH: Transfer PTT City Data for Table JSTORTPRO
EXPORTING
DSETNAME = "Dataset name
LAND = "Country
TESTL = "
AENDER = "

IMPORTING
LOC_JSTORTPRO = "
X_DBCODE_PLZ = "
X_DBCODE_PLZCH = "
X_DBCODE_PLZORT = "
X_DBCODE_STR = "
X_DBCODE_STRCH = "
LOC_JSTPLZORT = "
LOC_JSTPLZPRO = "
LOC_JSTSTRPRO = "
LOC_J_1SBOTPRO = "
LOC_J_1SPLZPRO = "
LOC_J_1SSTRPRO = "
X_DBCODE_BOTCH = "
X_DBCODE_ORT = "

EXCEPTIONS
CANT_READ_DATASET = 1 END_OF_DATASET = 2 UNKNOWN_DATA = 3
.



IMPORTING Parameters details for J_1S_ORTPRO_PTT_POSTE_DATA

DSETNAME - Dataset name

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

LAND - Country

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

TESTL -

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

AENDER -

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

EXPORTING Parameters details for J_1S_ORTPRO_PTT_POSTE_DATA

LOC_JSTORTPRO -

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

X_DBCODE_PLZ -

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

X_DBCODE_PLZCH -

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

X_DBCODE_PLZORT -

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

X_DBCODE_STR -

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

X_DBCODE_STRCH -

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

LOC_JSTPLZORT -

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

LOC_JSTPLZPRO -

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

LOC_JSTSTRPRO -

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

LOC_J_1SBOTPRO -

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

LOC_J_1SPLZPRO -

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

LOC_J_1SSTRPRO -

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

X_DBCODE_BOTCH -

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

X_DBCODE_ORT -

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

EXCEPTIONS details

CANT_READ_DATASET - Cannot be read

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)

UNKNOWN_DATA -

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

Copy and paste ABAP code example for J_1S_ORTPRO_PTT_POSTE_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, "   
lv_loc_jstortpro  TYPE JSTORTPRO, "   
lv_cant_read_dataset  TYPE JSTORTPRO, "   
lv_x_dbcode_plz  TYPE JSTORTPRO, "   
lv_x_dbcode_plzch  TYPE JSTORTPRO, "   
lv_x_dbcode_plzort  TYPE JSTORTPRO, "   
lv_x_dbcode_str  TYPE JSTORTPRO, "   
lv_x_dbcode_strch  TYPE JSTORTPRO, "   
lv_land  TYPE T005-LAND1, "   
lv_loc_jstplzort  TYPE JSTPLZORT, "   
lv_end_of_dataset  TYPE JSTPLZORT, "   
lv_testl  TYPE JSTPLZORT, "   
lv_unknown_data  TYPE JSTPLZORT, "   
lv_loc_jstplzpro  TYPE JSTPLZPRO, "   
lv_aender  TYPE JSTAENDER, "   
lv_loc_jststrpro  TYPE JSTSTRPRO, "   
lv_loc_j_1sbotpro  TYPE J_1SBOTPRO, "   
lv_loc_j_1splzpro  TYPE J_1SPLZPRO, "   
lv_loc_j_1sstrpro  TYPE J_1SSTRPRO, "   
lv_x_dbcode_botch  TYPE J_1SSTRPRO, "   
lv_x_dbcode_ort  TYPE J_1SSTRPRO. "   

  CALL FUNCTION 'J_1S_ORTPRO_PTT_POSTE_DATA'  "IS-M/SD CH: Transfer PTT City Data for Table JSTORTPRO
    EXPORTING
         DSETNAME = lv_dsetname
         LAND = lv_land
         TESTL = lv_testl
         AENDER = lv_aender
    IMPORTING
         LOC_JSTORTPRO = lv_loc_jstortpro
         X_DBCODE_PLZ = lv_x_dbcode_plz
         X_DBCODE_PLZCH = lv_x_dbcode_plzch
         X_DBCODE_PLZORT = lv_x_dbcode_plzort
         X_DBCODE_STR = lv_x_dbcode_str
         X_DBCODE_STRCH = lv_x_dbcode_strch
         LOC_JSTPLZORT = lv_loc_jstplzort
         LOC_JSTPLZPRO = lv_loc_jstplzpro
         LOC_JSTSTRPRO = lv_loc_jststrpro
         LOC_J_1SBOTPRO = lv_loc_j_1sbotpro
         LOC_J_1SPLZPRO = lv_loc_j_1splzpro
         LOC_J_1SSTRPRO = lv_loc_j_1sstrpro
         X_DBCODE_BOTCH = lv_x_dbcode_botch
         X_DBCODE_ORT = lv_x_dbcode_ort
    EXCEPTIONS
        CANT_READ_DATASET = 1
        END_OF_DATASET = 2
        UNKNOWN_DATA = 3
. " J_1S_ORTPRO_PTT_POSTE_DATA




ABAP code using 7.40 inline data declarations to call FM J_1S_ORTPRO_PTT_POSTE_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_land).
 
 
 
 
 
 
 
 
 
 
 
 
 


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!