SAP SAMPLE_PROCESS_00010123 Function Module for PO: Determine Relevance Of Receiver Items Check









SAMPLE_PROCESS_00010123 is a standard sample process 00010123 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for PO: Determine Relevance Of Receiver Items Check 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 sample process 00010123 FM, simply by entering the name SAMPLE_PROCESS_00010123 into the relevant SAP transaction such as SE37 or SE38.

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



Function SAMPLE_PROCESS_00010123 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 'SAMPLE_PROCESS_00010123'"PO: Determine Relevance Of Receiver Items Check
EXPORTING
I_IBKKAPIIMP_SND = "Ordering Party Data
I_XACTIVITY = "Activity
I_X_SINGLE_BP = "'X' : All Receiver BP = Sender BP

IMPORTING
E_RETURN = "Return Value

CHANGING
C_X_PO_RCV_CHECK = "'X': Receiver Items need to be checked

TABLES
I_TAB_IBKKAPIIMP_RCV = "Recipient Data
T_MESG = "Structure for Transferring Error Messages
.



IMPORTING Parameters details for SAMPLE_PROCESS_00010123

I_IBKKAPIIMP_SND - Ordering Party Data

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

I_XACTIVITY - Activity

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

I_X_SINGLE_BP - 'X' : All Receiver BP = Sender BP

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

EXPORTING Parameters details for SAMPLE_PROCESS_00010123

E_RETURN - Return Value

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

CHANGING Parameters details for SAMPLE_PROCESS_00010123

C_X_PO_RCV_CHECK - 'X': Receiver Items need to be checked

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

TABLES Parameters details for SAMPLE_PROCESS_00010123

I_TAB_IBKKAPIIMP_RCV - Recipient Data

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

T_MESG - Structure for Transferring Error Messages

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

Copy and paste ABAP code example for SAMPLE_PROCESS_00010123 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_e_return  TYPE SYSUBRC, "   
lv_c_x_po_rcv_check  TYPE BKK_XFELD, "   
lv_i_ibkkapiimp_snd  TYPE IBKKAPIIMP, "   
lt_i_tab_ibkkapiimp_rcv  TYPE STANDARD TABLE OF IBKKAPIIMP, "   
lt_t_mesg  TYPE STANDARD TABLE OF IBKKMESG, "   
lv_i_xactivity  TYPE TACT-ACTVT, "   
lv_i_x_single_bp  TYPE BKK_XFELD. "   

  CALL FUNCTION 'SAMPLE_PROCESS_00010123'  "PO: Determine Relevance Of Receiver Items Check
    EXPORTING
         I_IBKKAPIIMP_SND = lv_i_ibkkapiimp_snd
         I_XACTIVITY = lv_i_xactivity
         I_X_SINGLE_BP = lv_i_x_single_bp
    IMPORTING
         E_RETURN = lv_e_return
    CHANGING
         C_X_PO_RCV_CHECK = lv_c_x_po_rcv_check
    TABLES
         I_TAB_IBKKAPIIMP_RCV = lt_i_tab_ibkkapiimp_rcv
         T_MESG = lt_t_mesg
. " SAMPLE_PROCESS_00010123




ABAP code using 7.40 inline data declarations to call FM SAMPLE_PROCESS_00010123

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 ACTVT FROM TACT INTO @DATA(ld_i_xactivity).
 
 


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!