SAP MCS_BUSG3_MENU Function Module for









MCS_BUSG3_MENU is a standard mcs busg3 menu 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 mcs busg3 menu FM, simply by entering the name MCS_BUSG3_MENU into the relevant SAP transaction such as SE37 or SE38.

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



Function MCS_BUSG3_MENU 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 'MCS_BUSG3_MENU'"
EXPORTING
* I_BARS = '10' "Number of bars which can be displayed in a screen
* I_DIM1 = ' ' "Generic term of columns
* I_DIM2 = ' ' "Generic term of lines
* I_TITLE = ' ' "Title of GRAPH_MATRIX_3D/GRAPH_2D
* I_VALT = ' ' "Unit of value fields

TABLES
T_EXTRAKT3 = "Internal table for GRAPH-Data
T_KENNZAHLEN = "Internal table with column names
.



IMPORTING Parameters details for MCS_BUSG3_MENU

I_BARS - Number of bars which can be displayed in a screen

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

I_DIM1 - Generic term of columns

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

I_DIM2 - Generic term of lines

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

I_TITLE - Title of GRAPH_MATRIX_3D/GRAPH_2D

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

I_VALT - Unit of value fields

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

TABLES Parameters details for MCS_BUSG3_MENU

T_EXTRAKT3 - Internal table for GRAPH-Data

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

T_KENNZAHLEN - Internal table with column names

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

Copy and paste ABAP code example for MCS_BUSG3_MENU 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_bars  TYPE STRING, "   '10'
lt_t_extrakt3  TYPE STANDARD TABLE OF MCS10, "   
lv_i_dim1  TYPE MCS10, "   SPACE
lt_t_kennzahlen  TYPE STANDARD TABLE OF MCS03, "   
lv_i_dim2  TYPE MCS03, "   SPACE
lv_i_title  TYPE MCS03, "   SPACE
lv_i_valt  TYPE MCS03. "   SPACE

  CALL FUNCTION 'MCS_BUSG3_MENU'  "
    EXPORTING
         I_BARS = lv_i_bars
         I_DIM1 = lv_i_dim1
         I_DIM2 = lv_i_dim2
         I_TITLE = lv_i_title
         I_VALT = lv_i_valt
    TABLES
         T_EXTRAKT3 = lt_t_extrakt3
         T_KENNZAHLEN = lt_t_kennzahlen
. " MCS_BUSG3_MENU




ABAP code using 7.40 inline data declarations to call FM MCS_BUSG3_MENU

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.

DATA(ld_i_bars) = '10'.
 
 
DATA(ld_i_dim1) = ' '.
 
 
DATA(ld_i_dim2) = ' '.
 
DATA(ld_i_title) = ' '.
 
DATA(ld_i_valt) = ' '.
 


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!