SAP PMEX_ORDER_IMPORT Function Module for NOTRANSL: Auftragsextraktion: Übergabe Auftrag (incl. Vorgänge) an Extrakt









PMEX_ORDER_IMPORT is a standard pmex order import 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: Auftragsextraktion: Übergabe Auftrag (incl. Vorgänge) an Extrakt 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 pmex order import FM, simply by entering the name PMEX_ORDER_IMPORT into the relevant SAP transaction such as SE37 or SE38.

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



Function PMEX_ORDER_IMPORT 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 'PMEX_ORDER_IMPORT'"NOTRANSL: Auftragsextraktion: Übergabe Auftrag (incl. Vorgänge) an Extrakt
EXPORTING
* I_EVENT = 'I3' "

TABLES
* CAUFVT = "Order data
* CAUFVT_OLD = "
* AFVGT = "
* AFVGT_OLD = "
* AFVUT_OLD = "
* AFVVT_OLD = "
* ORG = "
* ORG_OLD = "
.



IMPORTING Parameters details for PMEX_ORDER_IMPORT

I_EVENT -

Data type: TMC5-ZEITP
Default: 'I3'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for PMEX_ORDER_IMPORT

CAUFVT - Order data

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

CAUFVT_OLD -

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

AFVGT -

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

AFVGT_OLD -

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

AFVUT_OLD -

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

AFVVT_OLD -

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

ORG -

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

ORG_OLD -

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

Copy and paste ABAP code example for PMEX_ORDER_IMPORT 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:
lt_caufvt  TYPE STANDARD TABLE OF CAUFVDB, "   
lv_i_event  TYPE TMC5-ZEITP, "   'I3'
lt_caufvt_old  TYPE STANDARD TABLE OF CAUFVDB, "   
lt_afvgt  TYPE STANDARD TABLE OF AFVGB, "   
lt_afvgt_old  TYPE STANDARD TABLE OF AAFVC, "   
lt_afvut_old  TYPE STANDARD TABLE OF AAFVU, "   
lt_afvvt_old  TYPE STANDARD TABLE OF AAFVV, "   
lt_org  TYPE STANDARD TABLE OF PMSDO, "   
lt_org_old  TYPE STANDARD TABLE OF PMSDO. "   

  CALL FUNCTION 'PMEX_ORDER_IMPORT'  "NOTRANSL: Auftragsextraktion: Übergabe Auftrag (incl. Vorgänge) an Extrakt
    EXPORTING
         I_EVENT = lv_i_event
    TABLES
         CAUFVT = lt_caufvt
         CAUFVT_OLD = lt_caufvt_old
         AFVGT = lt_afvgt
         AFVGT_OLD = lt_afvgt_old
         AFVUT_OLD = lt_afvut_old
         AFVVT_OLD = lt_afvvt_old
         ORG = lt_org
         ORG_OLD = lt_org_old
. " PMEX_ORDER_IMPORT




ABAP code using 7.40 inline data declarations to call FM PMEX_ORDER_IMPORT

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 ZEITP FROM TMC5 INTO @DATA(ld_i_event).
DATA(ld_i_event) = 'I3'.
 
 
 
 
 
 
 
 


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!