SAP SHPPNT_DATA_SELECTION Function Module for NOTRANSL: Ermitteln von Versandst.stammdaten zu gegebenen Versandst.-Schlü









SHPPNT_DATA_SELECTION is a standard shppnt data selection SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ermitteln von Versandst.stammdaten zu gegebenen Versandst.-Schlü 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 shppnt data selection FM, simply by entering the name SHPPNT_DATA_SELECTION into the relevant SAP transaction such as SE37 or SE38.

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



Function SHPPNT_DATA_SELECTION 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 'SHPPNT_DATA_SELECTION'"NOTRANSL: Ermitteln von Versandst.stammdaten zu gegebenen Versandst.-Schlü
EXPORTING
* IN_MAX_VSTEL = 0 "

CHANGING
INOUT_NEXT_VSTEL = "

TABLES
IN_SPNT_LIST = "Structure for Key of Table CIF_IMSPNT
* ET_ADDRML = "Communication Type RML
* ET_ADSMTP = "Communication Type SMTP
* ET_ADSRCT = "Language-dependent notes for all address types
* ET_ADSRT = "Language-Dependent Remarks for All Communication Types
* ET_ADSSF = "Communication Type SSF
* ET_ADTEL = "Communication Types Telephone
* ET_ADTLX = "Communication Type Telex Number
* ET_ADTTX = "Communication Type Telex Number
* ET_ADURI = "Communication Type URI
* ET_ADX400 = "Communication Type X400
OUT_TVST_TAB = "Organizational Unit: Shipping Points
OUT_TVSTT_TAB = "Organizational Unit: Shipping Points: Texts
* OUT_ADDR1_TAB = "
* ET_ADDR1 = "Address Data Category 1
* ET_ADFAX = "Communication Type Fax
* ET_ADPAG = "Communication Type Pager Numbers
* ET_ADPRT = "Communication Type PRT
* ET_ADDRFC = "Communication Type RFC

EXCEPTIONS
WRONG_NEXT_VSTEL = 1
.




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_SAPLCLOC_001 Customer Exit for Initial Transfer of Plants
EXIT_SAPLCLOC_002 Customer Exit for Initial Transfer of Vendors
EXIT_SAPLCLOC_003 Customer Exit for Initial Transfer of Customers
EXIT_SAPLCLOC_004 Customer Exit to Influence the APO Location Type

IMPORTING Parameters details for SHPPNT_DATA_SELECTION

IN_MAX_VSTEL -

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

CHANGING Parameters details for SHPPNT_DATA_SELECTION

INOUT_NEXT_VSTEL -

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

TABLES Parameters details for SHPPNT_DATA_SELECTION

IN_SPNT_LIST - Structure for Key of Table CIF_IMSPNT

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

ET_ADDRML - Communication Type RML

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

ET_ADSMTP - Communication Type SMTP

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

ET_ADSRCT - Language-dependent notes for all address types

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

ET_ADSRT - Language-Dependent Remarks for All Communication Types

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

ET_ADSSF - Communication Type SSF

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

ET_ADTEL - Communication Types Telephone

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

ET_ADTLX - Communication Type Telex Number

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

ET_ADTTX - Communication Type Telex Number

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

ET_ADURI - Communication Type URI

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

ET_ADX400 - Communication Type X400

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

OUT_TVST_TAB - Organizational Unit: Shipping Points

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

OUT_TVSTT_TAB - Organizational Unit: Shipping Points: Texts

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

OUT_ADDR1_TAB -

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

ET_ADDR1 - Address Data Category 1

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

ET_ADFAX - Communication Type Fax

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

ET_ADPAG - Communication Type Pager Numbers

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

ET_ADPRT - Communication Type PRT

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

ET_ADDRFC - Communication Type RFC

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

EXCEPTIONS details

WRONG_NEXT_VSTEL -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SHPPNT_DATA_SELECTION 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_in_max_vstel  TYPE INT4, "   0
lt_in_spnt_list  TYPE STANDARD TABLE OF CIF_IMSPNTKEY, "   
lv_inout_next_vstel  TYPE T001W-VSTEL, "   
lv_wrong_next_vstel  TYPE T001W, "   
lt_et_addrml  TYPE STANDARD TABLE OF ADDRML_STR, "   
lt_et_adsmtp  TYPE STANDARD TABLE OF ADSMTP_STR, "   
lt_et_adsrct  TYPE STANDARD TABLE OF ADSRCT_STR, "   
lt_et_adsrt  TYPE STANDARD TABLE OF ADSRT_STR, "   
lt_et_adssf  TYPE STANDARD TABLE OF ADSSF_STR, "   
lt_et_adtel  TYPE STANDARD TABLE OF ADTEL_STR, "   
lt_et_adtlx  TYPE STANDARD TABLE OF ADTLX_STR, "   
lt_et_adttx  TYPE STANDARD TABLE OF ADTTX_STR, "   
lt_et_aduri  TYPE STANDARD TABLE OF ADURI_STR, "   
lt_et_adx400  TYPE STANDARD TABLE OF ADX400_STR, "   
lt_out_tvst_tab  TYPE STANDARD TABLE OF TVST, "   
lt_out_tvstt_tab  TYPE STANDARD TABLE OF TVSTT, "   
lt_out_addr1_tab  TYPE STANDARD TABLE OF ADDR1_VAL, "   
lt_et_addr1  TYPE STANDARD TABLE OF ADDR1_STR, "   
lt_et_adfax  TYPE STANDARD TABLE OF ADFAX_STR, "   
lt_et_adpag  TYPE STANDARD TABLE OF ADPAG_STR, "   
lt_et_adprt  TYPE STANDARD TABLE OF ADPRT_STR, "   
lt_et_addrfc  TYPE STANDARD TABLE OF ADDRFC_STR. "   

  CALL FUNCTION 'SHPPNT_DATA_SELECTION'  "NOTRANSL: Ermitteln von Versandst.stammdaten zu gegebenen Versandst.-Schlü
    EXPORTING
         IN_MAX_VSTEL = lv_in_max_vstel
    CHANGING
         INOUT_NEXT_VSTEL = lv_inout_next_vstel
    TABLES
         IN_SPNT_LIST = lt_in_spnt_list
         ET_ADDRML = lt_et_addrml
         ET_ADSMTP = lt_et_adsmtp
         ET_ADSRCT = lt_et_adsrct
         ET_ADSRT = lt_et_adsrt
         ET_ADSSF = lt_et_adssf
         ET_ADTEL = lt_et_adtel
         ET_ADTLX = lt_et_adtlx
         ET_ADTTX = lt_et_adttx
         ET_ADURI = lt_et_aduri
         ET_ADX400 = lt_et_adx400
         OUT_TVST_TAB = lt_out_tvst_tab
         OUT_TVSTT_TAB = lt_out_tvstt_tab
         OUT_ADDR1_TAB = lt_out_addr1_tab
         ET_ADDR1 = lt_et_addr1
         ET_ADFAX = lt_et_adfax
         ET_ADPAG = lt_et_adpag
         ET_ADPRT = lt_et_adprt
         ET_ADDRFC = lt_et_addrfc
    EXCEPTIONS
        WRONG_NEXT_VSTEL = 1
. " SHPPNT_DATA_SELECTION




ABAP code using 7.40 inline data declarations to call FM SHPPNT_DATA_SELECTION

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 VSTEL FROM T001W INTO @DATA(ld_inout_next_vstel).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!