SAP LOCATION_RECEIPTION_DIALOG Function Module for NOTRANSL: Aufruf Dialog Empfangsstellen









LOCATION_RECEIPTION_DIALOG is a standard location receiption dialog 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: Aufruf Dialog Empfangsstellen 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 location receiption dialog FM, simply by entering the name LOCATION_RECEIPTION_DIALOG into the relevant SAP transaction such as SE37 or SE38.

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



Function LOCATION_RECEIPTION_DIALOG 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 'LOCATION_RECEIPTION_DIALOG'"NOTRANSL: Aufruf Dialog Empfangsstellen
EXPORTING
CALLBACK_PROGRAM = "
I_ROLLNAME = "
CALLBACK_USER_COMMAND = "
* I_WERKS = "
I_LOCNR = "
* I_ADRNR = "
I_NAME1 = "
I_T020 = "
I_TITLE0 = "
I_TITLE1 = "

CHANGING
I_OKCODE = "

TABLES
I_XWRF12 = "
I_KNVA = "
* I_KNVP = "
* I_XWRF4 = "
.



IMPORTING Parameters details for LOCATION_RECEIPTION_DIALOG

CALLBACK_PROGRAM -

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

I_ROLLNAME -

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

CALLBACK_USER_COMMAND -

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

I_WERKS -

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

I_LOCNR -

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

I_ADRNR -

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

I_NAME1 -

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

I_T020 -

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

I_TITLE0 -

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

I_TITLE1 -

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

CHANGING Parameters details for LOCATION_RECEIPTION_DIALOG

I_OKCODE -

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

TABLES Parameters details for LOCATION_RECEIPTION_DIALOG

I_XWRF12 -

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

I_KNVA -

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

I_KNVP -

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

I_XWRF4 -

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

Copy and paste ABAP code example for LOCATION_RECEIPTION_DIALOG 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_i_okcode  TYPE STRING, "   
lt_i_xwrf12  TYPE STANDARD TABLE OF FWRF12, "   
lv_callback_program  TYPE SY-REPID, "   
lv_i_rollname  TYPE DD04L-ROLLNAME, "   
lt_i_knva  TYPE STANDARD TABLE OF FKNVA, "   
lv_callback_user_command  TYPE FKNVA, "   
lt_i_knvp  TYPE STANDARD TABLE OF FKNVP, "   
lv_i_werks  TYPE T001W-WERKS, "   
lv_i_locnr  TYPE T001W, "   
lt_i_xwrf4  TYPE STANDARD TABLE OF FWRF4, "   
lv_i_adrnr  TYPE T001W-ADRNR, "   
lv_i_name1  TYPE T001W, "   
lv_i_t020  TYPE T020, "   
lv_i_title0  TYPE T020, "   
lv_i_title1  TYPE T020. "   

  CALL FUNCTION 'LOCATION_RECEIPTION_DIALOG'  "NOTRANSL: Aufruf Dialog Empfangsstellen
    EXPORTING
         CALLBACK_PROGRAM = lv_callback_program
         I_ROLLNAME = lv_i_rollname
         CALLBACK_USER_COMMAND = lv_callback_user_command
         I_WERKS = lv_i_werks
         I_LOCNR = lv_i_locnr
         I_ADRNR = lv_i_adrnr
         I_NAME1 = lv_i_name1
         I_T020 = lv_i_t020
         I_TITLE0 = lv_i_title0
         I_TITLE1 = lv_i_title1
    CHANGING
         I_OKCODE = lv_i_okcode
    TABLES
         I_XWRF12 = lt_i_xwrf12
         I_KNVA = lt_i_knva
         I_KNVP = lt_i_knvp
         I_XWRF4 = lt_i_xwrf4
. " LOCATION_RECEIPTION_DIALOG




ABAP code using 7.40 inline data declarations to call FM LOCATION_RECEIPTION_DIALOG

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 REPID FROM SY INTO @DATA(ld_callback_program).
 
"SELECT single ROLLNAME FROM DD04L INTO @DATA(ld_i_rollname).
 
 
 
 
"SELECT single WERKS FROM T001W INTO @DATA(ld_i_werks).
 
 
 
"SELECT single ADRNR FROM T001W INTO @DATA(ld_i_adrnr).
 
 
 
 
 


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!