SAP M60V_COMBINATION_DISPLAY Function Module for NOTRANSL: Anzeige der Kombination von Variantentabellenzeilen









M60V_COMBINATION_DISPLAY is a standard m60v combination display 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: Anzeige der Kombination von Variantentabellenzeilen 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 m60v combination display FM, simply by entering the name M60V_COMBINATION_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

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



Function M60V_COMBINATION_DISPLAY 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 'M60V_COMBINATION_DISPLAY'"NOTRANSL: Anzeige der Kombination von Variantentabellenzeilen
EXPORTING
* TABLE_NAME = "Class number
TABLE_LINE = "Row Number of Variant Table - External
TABLE_NUMBER = "Internal Class Number
* IMP_REPORT = "ABAP System Field: Obsolete
* IMP_DCRIPT = "ABAP System Field: Obsolete
* KEY_DATE = SY-DATLO "ABAP System Field: Local Date of Current User
* IMP_ALV = "New Input Values

IMPORTING
STRING = "Charact. values combination/key for planning variants
STRLEN = "string length

TABLES
* TAB_STRING = "Output characteristic values combinatn
* TAB_VAR = "Structure for planning table contents
.



IMPORTING Parameters details for M60V_COMBINATION_DISPLAY

TABLE_NAME - Class number

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

TABLE_LINE - Row Number of Variant Table - External

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

TABLE_NUMBER - Internal Class Number

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

IMP_REPORT - ABAP System Field: Obsolete

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

IMP_DCRIPT - ABAP System Field: Obsolete

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

KEY_DATE - ABAP System Field: Local Date of Current User

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

IMP_ALV - New Input Values

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

EXPORTING Parameters details for M60V_COMBINATION_DISPLAY

STRING - Charact. values combination/key for planning variants

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

STRLEN - string length

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

TABLES Parameters details for M60V_COMBINATION_DISPLAY

TAB_STRING - Output characteristic values combinatn

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

TAB_VAR - Structure for planning table contents

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

Copy and paste ABAP code example for M60V_COMBINATION_DISPLAY 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_string  TYPE RM60C-ATWTB, "   
lv_table_name  TYPE KLAH-CLASS, "   
lt_tab_string  TYPE STANDARD TABLE OF RM60STRING, "   
lv_strlen  TYPE RM60C-STRLG, "   
lt_tab_var  TYPE STANDARD TABLE OF RM60CUVT, "   
lv_table_line  TYPE TPSVP-LNPOS, "   
lv_table_number  TYPE KLAH-CLINT, "   
lv_imp_report  TYPE SY-MARKY, "   
lv_imp_dcript  TYPE SY-MARKY, "   
lv_key_date  TYPE SY-DATLO, "   SY-DATLO
lv_imp_alv  TYPE SY-MARKY. "   

  CALL FUNCTION 'M60V_COMBINATION_DISPLAY'  "NOTRANSL: Anzeige der Kombination von Variantentabellenzeilen
    EXPORTING
         TABLE_NAME = lv_table_name
         TABLE_LINE = lv_table_line
         TABLE_NUMBER = lv_table_number
         IMP_REPORT = lv_imp_report
         IMP_DCRIPT = lv_imp_dcript
         KEY_DATE = lv_key_date
         IMP_ALV = lv_imp_alv
    IMPORTING
         STRING = lv_string
         STRLEN = lv_strlen
    TABLES
         TAB_STRING = lt_tab_string
         TAB_VAR = lt_tab_var
. " M60V_COMBINATION_DISPLAY




ABAP code using 7.40 inline data declarations to call FM M60V_COMBINATION_DISPLAY

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 ATWTB FROM RM60C INTO @DATA(ld_string).
 
"SELECT single CLASS FROM KLAH INTO @DATA(ld_table_name).
 
 
"SELECT single STRLG FROM RM60C INTO @DATA(ld_strlen).
 
 
"SELECT single LNPOS FROM TPSVP INTO @DATA(ld_table_line).
 
"SELECT single CLINT FROM KLAH INTO @DATA(ld_table_number).
 
"SELECT single MARKY FROM SY INTO @DATA(ld_imp_report).
 
"SELECT single MARKY FROM SY INTO @DATA(ld_imp_dcript).
 
"SELECT single DATLO FROM SY INTO @DATA(ld_key_date).
DATA(ld_key_date) = SY-DATLO.
 
"SELECT single MARKY FROM SY INTO @DATA(ld_imp_alv).
 


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!