SAP NATRAB_CALL_DIALOG Function Module for Free Goods: Access Maintenance Dialogs









NATRAB_CALL_DIALOG is a standard natrab call 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 Free Goods: Access Maintenance Dialogs 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 natrab call dialog FM, simply by entering the name NATRAB_CALL_DIALOG into the relevant SAP transaction such as SE37 or SE38.

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



Function NATRAB_CALL_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 'NATRAB_CALL_DIALOG'"Free Goods: Access Maintenance Dialogs
EXPORTING
APPLICATION = "
ACTION = "
* KOTABLENR = 000 "
* KOSCHL = "
* DATEAB = "
* DATEBIS = "
* DATEAM = "

IMPORTING
SAVE_REQUESTED = "
CHANGE_IN_RECORD = "

TABLES
* XVAKETAB = "
.



IMPORTING Parameters details for NATRAB_CALL_DIALOG

APPLICATION -

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

ACTION -

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

KOTABLENR -

Data type: T681-KOTABNR
Default: 000
Optional: Yes
Call by Reference: No ( called with pass by value option)

KOSCHL -

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

DATEAB -

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

DATEBIS -

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

DATEAM -

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

EXPORTING Parameters details for NATRAB_CALL_DIALOG

SAVE_REQUESTED -

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

CHANGE_IN_RECORD -

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

TABLES Parameters details for NATRAB_CALL_DIALOG

XVAKETAB -

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

Copy and paste ABAP code example for NATRAB_CALL_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:
lt_xvaketab  TYPE STANDARD TABLE OF VAKEVBNR, "   
lv_application  TYPE T683-KAPPL, "   
lv_save_requested  TYPE T683, "   
lv_action  TYPE T180-AKTYP, "   
lv_change_in_record  TYPE T180, "   
lv_kotablenr  TYPE T681-KOTABNR, "   000
lv_koschl  TYPE T685-KSCHL, "   
lv_dateab  TYPE RV130-DATAB, "   
lv_datebis  TYPE RV130-DATBI, "   
lv_dateam  TYPE RV130-DATAM. "   

  CALL FUNCTION 'NATRAB_CALL_DIALOG'  "Free Goods: Access Maintenance Dialogs
    EXPORTING
         APPLICATION = lv_application
         ACTION = lv_action
         KOTABLENR = lv_kotablenr
         KOSCHL = lv_koschl
         DATEAB = lv_dateab
         DATEBIS = lv_datebis
         DATEAM = lv_dateam
    IMPORTING
         SAVE_REQUESTED = lv_save_requested
         CHANGE_IN_RECORD = lv_change_in_record
    TABLES
         XVAKETAB = lt_xvaketab
. " NATRAB_CALL_DIALOG




ABAP code using 7.40 inline data declarations to call FM NATRAB_CALL_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 KAPPL FROM T683 INTO @DATA(ld_application).
 
 
"SELECT single AKTYP FROM T180 INTO @DATA(ld_action).
 
 
"SELECT single KOTABNR FROM T681 INTO @DATA(ld_kotablenr).
DATA(ld_kotablenr) = 000.
 
"SELECT single KSCHL FROM T685 INTO @DATA(ld_koschl).
 
"SELECT single DATAB FROM RV130 INTO @DATA(ld_dateab).
 
"SELECT single DATBI FROM RV130 INTO @DATA(ld_datebis).
 
"SELECT single DATAM FROM RV130 INTO @DATA(ld_dateam).
 


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!