SAP SAMPLE_INTERFACE_00010127 Function Module for Process Order: Exclude Additional Function Codes









SAMPLE_INTERFACE_00010127 is a standard sample interface 00010127 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Process Order: Exclude Additional Function Codes 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 interface 00010127 FM, simply by entering the name SAMPLE_INTERFACE_00010127 into the relevant SAP transaction such as SE37 or SE38.

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



Function SAMPLE_INTERFACE_00010127 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_INTERFACE_00010127'"Process Order: Exclude Additional Function Codes
EXPORTING
I_PAYM_ORDER_HDR = "Structure for Payment Order - Header Data
I_PAYM_ORDER_SND = "Structure for Payment Order - Item Data
I_PAYM_ORDER_RCV = "Table type for PO recipients
I_ACTIVITY = "Activity
I_DOCTYPE = "BCA: Document Type
I_TAB_EXBUT = "Function Codes to be Excluded

CHANGING
C_TAB_EXBUT_USER = "
.



IMPORTING Parameters details for SAMPLE_INTERFACE_00010127

I_PAYM_ORDER_HDR - Structure for Payment Order - Header Data

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

I_PAYM_ORDER_SND - Structure for Payment Order - Item Data

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

I_PAYM_ORDER_RCV - Table type for PO recipients

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

I_ACTIVITY - Activity

Data type: TBKKI_02A-AKTYP
Optional: No
Call by Reference: Yes

I_DOCTYPE - BCA: Document Type

Data type: TBKKIDT-DOCTYPE
Optional: No
Call by Reference: Yes

I_TAB_EXBUT - Function Codes to be Excluded

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

CHANGING Parameters details for SAMPLE_INTERFACE_00010127

C_TAB_EXBUT_USER -

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

Copy and paste ABAP code example for SAMPLE_INTERFACE_00010127 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_c_tab_exbut_user  TYPE BKKP_T_EXCL_BUTTONS, "   
lv_i_paym_order_hdr  TYPE IBKKPOHD, "   
lv_i_paym_order_snd  TYPE IBKKPOIT, "   
lv_i_paym_order_rcv  TYPE BKK_TTYPE_PO_RECIPIENTS, "   
lv_i_activity  TYPE TBKKI_02A-AKTYP, "   
lv_i_doctype  TYPE TBKKIDT-DOCTYPE, "   
lv_i_tab_exbut  TYPE BKKP_T_EXCL_BUTTONS. "   

  CALL FUNCTION 'SAMPLE_INTERFACE_00010127'  "Process Order: Exclude Additional Function Codes
    EXPORTING
         I_PAYM_ORDER_HDR = lv_i_paym_order_hdr
         I_PAYM_ORDER_SND = lv_i_paym_order_snd
         I_PAYM_ORDER_RCV = lv_i_paym_order_rcv
         I_ACTIVITY = lv_i_activity
         I_DOCTYPE = lv_i_doctype
         I_TAB_EXBUT = lv_i_tab_exbut
    CHANGING
         C_TAB_EXBUT_USER = lv_c_tab_exbut_user
. " SAMPLE_INTERFACE_00010127




ABAP code using 7.40 inline data declarations to call FM SAMPLE_INTERFACE_00010127

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 AKTYP FROM TBKKI_02A INTO @DATA(ld_i_activity).
 
"SELECT single DOCTYPE FROM TBKKIDT INTO @DATA(ld_i_doctype).
 
 


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!