SAP MATERIAL_FIELD_SELECTION_COMB Function Module for NOTRANSL: Bestimmen der vorgangsspez. Feldauswahlleiste bei der Materialst









MATERIAL_FIELD_SELECTION_COMB is a standard material field selection comb 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: Bestimmen der vorgangsspez. Feldauswahlleiste bei der Materialst 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 material field selection comb FM, simply by entering the name MATERIAL_FIELD_SELECTION_COMB into the relevant SAP transaction such as SE37 or SE38.

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



Function MATERIAL_FIELD_SELECTION_COMB 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 'MATERIAL_FIELD_SELECTION_COMB'"NOTRANSL: Bestimmen der vorgangsspez. Feldauswahlleiste bei der Materialst
EXPORTING
INDUSTRY_REF = "Field reference for material master
MATERIAL_TYPE_REF = "Field reference for material master
* PLANT_REF = ' ' "Field reference for material master
PROCUREMENT = "Procurement Type
TRANSACTION_REF = "Field reference for material master
* CAD_KENNZEICHEN = ' ' "CAD Indicator
* FLG_RETAIL = ' ' "Propose Field Content from the Reference
* CALL_MODE2 = ' ' "3-Byte field
* RMMG1_MATNR = ' ' "Material Number

IMPORTING
SELECTION_BAR = "Field Selection String
SELECTION_BAR_2 = "Field Selection String
.



IMPORTING Parameters details for MATERIAL_FIELD_SELECTION_COMB

INDUSTRY_REF - Field reference for material master

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

MATERIAL_TYPE_REF - Field reference for material master

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

PLANT_REF - Field reference for material master

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

PROCUREMENT - Procurement Type

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

TRANSACTION_REF - Field reference for material master

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

CAD_KENNZEICHEN - CAD Indicator

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

FLG_RETAIL - Propose Field Content from the Reference

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

CALL_MODE2 - 3-Byte field

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

RMMG1_MATNR - Material Number

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

EXPORTING Parameters details for MATERIAL_FIELD_SELECTION_COMB

SELECTION_BAR - Field Selection String

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

SELECTION_BAR_2 - Field Selection String

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

Copy and paste ABAP code example for MATERIAL_FIELD_SELECTION_COMB 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_industry_ref  TYPE T137-FLREF, "   
lv_selection_bar  TYPE T130A-FAUSW, "   
lv_selection_bar_2  TYPE T133F-FAUSW, "   
lv_material_type_ref  TYPE T134-FLREF, "   
lv_plant_ref  TYPE T130W-FLREF, "   SPACE
lv_procurement  TYPE MARC-BESKZ, "   
lv_transaction_ref  TYPE T130M-FLREF, "   
lv_cad_kennzeichen  TYPE MARA-CADKZ, "   SPACE
lv_flg_retail  TYPE T130F-KZREF, "   SPACE
lv_call_mode2  TYPE RMMG2-CALL_MODE2, "   SPACE
lv_rmmg1_matnr  TYPE MATNR. "   SPACE

  CALL FUNCTION 'MATERIAL_FIELD_SELECTION_COMB'  "NOTRANSL: Bestimmen der vorgangsspez. Feldauswahlleiste bei der Materialst
    EXPORTING
         INDUSTRY_REF = lv_industry_ref
         MATERIAL_TYPE_REF = lv_material_type_ref
         PLANT_REF = lv_plant_ref
         PROCUREMENT = lv_procurement
         TRANSACTION_REF = lv_transaction_ref
         CAD_KENNZEICHEN = lv_cad_kennzeichen
         FLG_RETAIL = lv_flg_retail
         CALL_MODE2 = lv_call_mode2
         RMMG1_MATNR = lv_rmmg1_matnr
    IMPORTING
         SELECTION_BAR = lv_selection_bar
         SELECTION_BAR_2 = lv_selection_bar_2
. " MATERIAL_FIELD_SELECTION_COMB




ABAP code using 7.40 inline data declarations to call FM MATERIAL_FIELD_SELECTION_COMB

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 FLREF FROM T137 INTO @DATA(ld_industry_ref).
 
"SELECT single FAUSW FROM T130A INTO @DATA(ld_selection_bar).
 
"SELECT single FAUSW FROM T133F INTO @DATA(ld_selection_bar_2).
 
"SELECT single FLREF FROM T134 INTO @DATA(ld_material_type_ref).
 
"SELECT single FLREF FROM T130W INTO @DATA(ld_plant_ref).
DATA(ld_plant_ref) = ' '.
 
"SELECT single BESKZ FROM MARC INTO @DATA(ld_procurement).
 
"SELECT single FLREF FROM T130M INTO @DATA(ld_transaction_ref).
 
"SELECT single CADKZ FROM MARA INTO @DATA(ld_cad_kennzeichen).
DATA(ld_cad_kennzeichen) = ' '.
 
"SELECT single KZREF FROM T130F INTO @DATA(ld_flg_retail).
DATA(ld_flg_retail) = ' '.
 
"SELECT single CALL_MODE2 FROM RMMG2 INTO @DATA(ld_call_mode2).
DATA(ld_call_mode2) = ' '.
 
DATA(ld_rmmg1_matnr) = ' '.
 


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!