SAP MENU_MIGRATE_AREA_MENUS_SAVE Function Module for









MENU_MIGRATE_AREA_MENUS_SAVE is a standard menu migrate area menus save SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 menu migrate area menus save FM, simply by entering the name MENU_MIGRATE_AREA_MENUS_SAVE into the relevant SAP transaction such as SE37 or SE38.

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



Function MENU_MIGRATE_AREA_MENUS_SAVE 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 'MENU_MIGRATE_AREA_MENUS_SAVE'"
EXPORTING
* TRANSPORT_ORDER = ' ' "
* NO_TRANSPORT = ' ' "
* NO_MESSAGES = ' ' "Single-Character Flag
* XPRA = ' ' "Single-Character Flag

IMPORTING
OLD_TREES_EXIST = "
NUM_OF_MENUS = "

TABLES
INPUT_NODES = "
INPUT_TEXTS = "
MIGRATION_TABLE = "
LANGUAGES = "
* PROTOCOL = "

EXCEPTIONS
NO_TADIR_ENTRY = 1
.



IMPORTING Parameters details for MENU_MIGRATE_AREA_MENUS_SAVE

TRANSPORT_ORDER -

Data type: KO200-TRKORR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

NO_TRANSPORT -

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

NO_MESSAGES - Single-Character Flag

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

XPRA - Single-Character Flag

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

EXPORTING Parameters details for MENU_MIGRATE_AREA_MENUS_SAVE

OLD_TREES_EXIST -

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

NUM_OF_MENUS -

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

TABLES Parameters details for MENU_MIGRATE_AREA_MENUS_SAVE

INPUT_NODES -

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

INPUT_TEXTS -

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

MIGRATION_TABLE -

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

LANGUAGES -

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

PROTOCOL -

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

EXCEPTIONS details

NO_TADIR_ENTRY -

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

Copy and paste ABAP code example for MENU_MIGRATE_AREA_MENUS_SAVE 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_input_nodes  TYPE STANDARD TABLE OF SMENSAPMIG, "   
lv_no_tadir_entry  TYPE SMENSAPMIG, "   
lv_old_trees_exist  TYPE SMENSAPNEW-CUSTOMIZED, "   
lv_transport_order  TYPE KO200-TRKORR, "   SPACE
lt_input_texts  TYPE STANDARD TABLE OF SMENSAPMGT, "   
lv_no_transport  TYPE CHAR1, "   SPACE
lv_num_of_menus  TYPE I, "   
lv_no_messages  TYPE CHAR1, "   SPACE
lt_migration_table  TYPE STANDARD TABLE OF MENU_TCODE, "   
lv_xpra  TYPE CHAR1, "   SPACE
lt_languages  TYPE STANDARD TABLE OF SSM_LANG, "   
lt_protocol  TYPE STANDARD TABLE OF MENMIGPROT. "   

  CALL FUNCTION 'MENU_MIGRATE_AREA_MENUS_SAVE'  "
    EXPORTING
         TRANSPORT_ORDER = lv_transport_order
         NO_TRANSPORT = lv_no_transport
         NO_MESSAGES = lv_no_messages
         XPRA = lv_xpra
    IMPORTING
         OLD_TREES_EXIST = lv_old_trees_exist
         NUM_OF_MENUS = lv_num_of_menus
    TABLES
         INPUT_NODES = lt_input_nodes
         INPUT_TEXTS = lt_input_texts
         MIGRATION_TABLE = lt_migration_table
         LANGUAGES = lt_languages
         PROTOCOL = lt_protocol
    EXCEPTIONS
        NO_TADIR_ENTRY = 1
. " MENU_MIGRATE_AREA_MENUS_SAVE




ABAP code using 7.40 inline data declarations to call FM MENU_MIGRATE_AREA_MENUS_SAVE

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 CUSTOMIZED FROM SMENSAPNEW INTO @DATA(ld_old_trees_exist).
 
"SELECT single TRKORR FROM KO200 INTO @DATA(ld_transport_order).
DATA(ld_transport_order) = ' '.
 
 
DATA(ld_no_transport) = ' '.
 
 
DATA(ld_no_messages) = ' '.
 
 
DATA(ld_xpra) = ' '.
 
 
 


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!