MEPO_CONFIRMATION_PAI is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name MEPO_CONFIRMATION_PAI into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
EINB
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'MEPO_CONFIRMATION_PAI' "
EXPORTING
i_bstae = " ekpo-bstae Confirmation Control Key
i_ebeln = " ekko-ebeln Document Number
i_ebelp = " ekpo-ebelp Item
* i_ematn = SPACE " ekpo-ematn Material Number
i_funkt = " Editing function
* i_kdatb = 0 " ekko-kdatb
* i_kdate = 0 " ekko-kdate
* i_meins = SPACE " ekpo-meins Unit of Measure
* i_menge = 0 " ekpo-menge Quantity
* i_trtyp = 'A' " t168-trtyp Transaction Type
* i_txz01 = SPACE " ekpo-txz01 Material Short Text
* i_vorga = 'F' " t160-vorga Transaction/Event
i_werks = " ekpo-werks Plant
* i_matnr = " ekpo-matnr
* i_mprof = " ekpo-mprof
* i_revlv = " ekpo-revlv
* i_uptyp = SPACE " ekpo-uptyp
IMPORTING
e_ekesok = "
e_fcode = " Function Code
e_lamng = " ekes-menge
e_vb_updkz = "
* TABLES
* xeket = " beket Table of Schedule Lines
* yeket = " ueket
. " MEPO_CONFIRMATION_PAI
The ABAP code below is a full code listing to execute function module MEPO_CONFIRMATION_PAI including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_ekesok | TYPE STRING , |
| ld_e_fcode | TYPE STRING , |
| ld_e_lamng | TYPE EKES-MENGE , |
| ld_e_vb_updkz | TYPE STRING , |
| it_xeket | TYPE STANDARD TABLE OF BEKET,"TABLES PARAM |
| wa_xeket | LIKE LINE OF it_xeket , |
| it_yeket | TYPE STANDARD TABLE OF UEKET,"TABLES PARAM |
| wa_yeket | LIKE LINE OF it_yeket . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_ekesok | TYPE STRING , |
| ld_i_bstae | TYPE EKPO-BSTAE , |
| it_xeket | TYPE STANDARD TABLE OF BEKET , |
| wa_xeket | LIKE LINE OF it_xeket, |
| ld_e_fcode | TYPE STRING , |
| ld_i_ebeln | TYPE EKKO-EBELN , |
| it_yeket | TYPE STANDARD TABLE OF UEKET , |
| wa_yeket | LIKE LINE OF it_yeket, |
| ld_e_lamng | TYPE EKES-MENGE , |
| ld_i_ebelp | TYPE EKPO-EBELP , |
| ld_e_vb_updkz | TYPE STRING , |
| ld_i_ematn | TYPE EKPO-EMATN , |
| ld_i_funkt | TYPE STRING , |
| ld_i_kdatb | TYPE EKKO-KDATB , |
| ld_i_kdate | TYPE EKKO-KDATE , |
| ld_i_meins | TYPE EKPO-MEINS , |
| ld_i_menge | TYPE EKPO-MENGE , |
| ld_i_trtyp | TYPE T168-TRTYP , |
| ld_i_txz01 | TYPE EKPO-TXZ01 , |
| ld_i_vorga | TYPE T160-VORGA , |
| ld_i_werks | TYPE EKPO-WERKS , |
| ld_i_matnr | TYPE EKPO-MATNR , |
| ld_i_mprof | TYPE EKPO-MPROF , |
| ld_i_revlv | TYPE EKPO-REVLV , |
| ld_i_uptyp | TYPE EKPO-UPTYP . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name MEPO_CONFIRMATION_PAI or its description.