SAP USER_EXIT_EXTRACT Function Module for Encapsulates User Exit for further Extractors









USER_EXIT_EXTRACT is a standard user exit extract SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Encapsulates User Exit for further Extractors 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 user exit extract FM, simply by entering the name USER_EXIT_EXTRACT into the relevant SAP transaction such as SE37 or SE38.

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



Function USER_EXIT_EXTRACT 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 'USER_EXIT_EXTRACT'"Encapsulates User Exit for further Extractors
EXPORTING
WA_SET = "Data on Setting Pop Up (250)
IP_MATNR_ASSIGN = "Assignment IP - Material

CHANGING
WA_PARTS = "Data of Selected Parts (IP DB)

TABLES
I_PARTS = "Equvalent for i_parts (marked Mat. in adspc_ip)
I_SPCIPHDR = "Stores header information for IP data
I_SPCIPPDR = "Spare parts / End items
I_SPCIPPDS = "SPEC2000: Procurement Data Segment
I_SPCIPCSN = "Locations
.



IMPORTING Parameters details for USER_EXIT_EXTRACT

WA_SET - Data on Setting Pop Up (250)

Data type: ORFSET
Optional: No
Call by Reference: Yes

IP_MATNR_ASSIGN - Assignment IP - Material

Data type: IP_MATNR_ASSIGN
Optional: No
Call by Reference: Yes

CHANGING Parameters details for USER_EXIT_EXTRACT

WA_PARTS - Data of Selected Parts (IP DB)

Data type: ORFPART
Optional: No
Call by Reference: Yes

TABLES Parameters details for USER_EXIT_EXTRACT

I_PARTS - Equvalent for i_parts (marked Mat. in adspc_ip)

Data type: TPARTS
Optional: No
Call by Reference: Yes

I_SPCIPHDR - Stores header information for IP data

Data type: SPCIPHDR
Optional: No
Call by Reference: Yes

I_SPCIPPDR - Spare parts / End items

Data type: SPCIPPDR
Optional: No
Call by Reference: Yes

I_SPCIPPDS - SPEC2000: Procurement Data Segment

Data type: SPCIPPDS
Optional: No
Call by Reference: Yes

I_SPCIPCSN - Locations

Data type: SPCIPCSN
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for USER_EXIT_EXTRACT 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_wa_set  TYPE ORFSET, "   
lt_i_parts  TYPE STANDARD TABLE OF TPARTS, "   
lv_wa_parts  TYPE ORFPART, "   
lt_i_spciphdr  TYPE STANDARD TABLE OF SPCIPHDR, "   
lv_ip_matnr_assign  TYPE IP_MATNR_ASSIGN, "   
lt_i_spcippdr  TYPE STANDARD TABLE OF SPCIPPDR, "   
lt_i_spcippds  TYPE STANDARD TABLE OF SPCIPPDS, "   
lt_i_spcipcsn  TYPE STANDARD TABLE OF SPCIPCSN. "   

  CALL FUNCTION 'USER_EXIT_EXTRACT'  "Encapsulates User Exit for further Extractors
    EXPORTING
         WA_SET = lv_wa_set
         IP_MATNR_ASSIGN = lv_ip_matnr_assign
    CHANGING
         WA_PARTS = lv_wa_parts
    TABLES
         I_PARTS = lt_i_parts
         I_SPCIPHDR = lt_i_spciphdr
         I_SPCIPPDR = lt_i_spcippdr
         I_SPCIPPDS = lt_i_spcippds
         I_SPCIPCSN = lt_i_spcipcsn
. " USER_EXIT_EXTRACT




ABAP code using 7.40 inline data declarations to call FM USER_EXIT_EXTRACT

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.

 
 
 
 
 
 
 
 


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!