SAP MDM_FILL_EKORG_SEG Function Module for NOTRANSL: Verarbeitung Einkaufsorganisationsdaten









MDM_FILL_EKORG_SEG is a standard mdm fill ekorg seg 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: Verarbeitung Einkaufsorganisationsdaten 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 mdm fill ekorg seg FM, simply by entering the name MDM_FILL_EKORG_SEG into the relevant SAP transaction such as SE37 or SE38.

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



Function MDM_FILL_EKORG_SEG 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 'MDM_FILL_EKORG_SEG'"NOTRANSL: Verarbeitung Einkaufsorganisationsdaten
EXPORTING
IP_MESSAGE_TYPE = "Message Type

CHANGING
CP_CIMTYPE = "Extension Type

TABLES
ET_IDOC_DATA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
IT_LFM1 = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IT_LFM2 = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* IT_WYT3 = "DE-EN-LANG-SWITCH-NO-TRANSLATION
.



IMPORTING Parameters details for MDM_FILL_EKORG_SEG

IP_MESSAGE_TYPE - Message Type

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

CHANGING Parameters details for MDM_FILL_EKORG_SEG

CP_CIMTYPE - Extension Type

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

TABLES Parameters details for MDM_FILL_EKORG_SEG

ET_IDOC_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IT_LFM1 - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IT_LFM2 - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

IT_WYT3 - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for MDM_FILL_EKORG_SEG 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_cp_cimtype  TYPE EDIDC-CIMTYP, "   
lt_et_idoc_data  TYPE STANDARD TABLE OF EDIDD, "   
lv_ip_message_type  TYPE TBDME-MESTYP, "   
lt_it_lfm1  TYPE STANDARD TABLE OF LFM1, "   
lt_it_lfm2  TYPE STANDARD TABLE OF LFM2, "   
lt_it_wyt3  TYPE STANDARD TABLE OF WYT3. "   

  CALL FUNCTION 'MDM_FILL_EKORG_SEG'  "NOTRANSL: Verarbeitung Einkaufsorganisationsdaten
    EXPORTING
         IP_MESSAGE_TYPE = lv_ip_message_type
    CHANGING
         CP_CIMTYPE = lv_cp_cimtype
    TABLES
         ET_IDOC_DATA = lt_et_idoc_data
         IT_LFM1 = lt_it_lfm1
         IT_LFM2 = lt_it_lfm2
         IT_WYT3 = lt_it_wyt3
. " MDM_FILL_EKORG_SEG




ABAP code using 7.40 inline data declarations to call FM MDM_FILL_EKORG_SEG

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 CIMTYP FROM EDIDC INTO @DATA(ld_cp_cimtype).
 
 
"SELECT single MESTYP FROM TBDME INTO @DATA(ld_ip_message_type).
 
 
 
 


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!