SAP SAMPLE_INTERFACE_00501015 Function Module for NOTRANSL: Verbuchungsdaten Lieferungsbeleges
SAMPLE_INTERFACE_00501015 is a standard sample interface 00501015 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: Verbuchungsdaten Lieferungsbeleges 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 00501015 FM, simply by entering the name SAMPLE_INTERFACE_00501015 into the relevant SAP transaction such as SE37 or SE38.
Function Group: V50P
Program Name: SAPLV50P
Main Program: SAPLV50P
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SAMPLE_INTERFACE_00501015 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_00501015'"NOTRANSL: Verbuchungsdaten Lieferungsbeleges.
TABLES
* XLIKP = "Reference Structure for XLIKP/YLIKP
* YVBPA = "Reference structure for XVBPA/YVBPA
* XVBFA = "Reference Structure for XVBFA/YVBFA
* YVBFA = "Reference Structure for XVBFA/YVBFA
* TKOMV = "Price Determination Communications-Condition Record
* XTVPOD = "Reference Structure for XTVPOD/YTVPOD
* YLIKP = "Reference Structure for XLIKP/YLIKP
* XLIPS = "Reference Structure for XLIPS/YLIPS
* YLIPS = "Reference Structure for XLIPS/YLIPS
* XVBUK = "Reference structure for XVBUK/YVBUK
* YVBUK = "Reference structure for XVBUK/YVBUK
* XVBUP = "Reference Structure for XVBUP/YVBUP
* YVBUP = "Reference Structure for XVBUP/YVBUP
* XVBPA = "Reference structure for XVBPA/YVBPA
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLV50P_001 Determination of epsilon for picking status calculation
TABLES Parameters details for SAMPLE_INTERFACE_00501015
XLIKP - Reference Structure for XLIKP/YLIKP
Data type: LIKPVBOptional: Yes
Call by Reference: Yes
YVBPA - Reference structure for XVBPA/YVBPA
Data type: VBPAVBOptional: Yes
Call by Reference: Yes
XVBFA - Reference Structure for XVBFA/YVBFA
Data type: VBFAVBOptional: Yes
Call by Reference: Yes
YVBFA - Reference Structure for XVBFA/YVBFA
Data type: VBFAVBOptional: Yes
Call by Reference: Yes
TKOMV - Price Determination Communications-Condition Record
Data type: KOMVOptional: Yes
Call by Reference: Yes
XTVPOD - Reference Structure for XTVPOD/YTVPOD
Data type: TVPODVBOptional: Yes
Call by Reference: Yes
YLIKP - Reference Structure for XLIKP/YLIKP
Data type: LIKPOptional: Yes
Call by Reference: Yes
XLIPS - Reference Structure for XLIPS/YLIPS
Data type: LIPSVBOptional: Yes
Call by Reference: Yes
YLIPS - Reference Structure for XLIPS/YLIPS
Data type: LIPSVBOptional: Yes
Call by Reference: Yes
XVBUK - Reference structure for XVBUK/YVBUK
Data type: VBUKVBOptional: Yes
Call by Reference: Yes
YVBUK - Reference structure for XVBUK/YVBUK
Data type: VBUKVBOptional: Yes
Call by Reference: Yes
XVBUP - Reference Structure for XVBUP/YVBUP
Data type: VBUPVBOptional: Yes
Call by Reference: Yes
YVBUP - Reference Structure for XVBUP/YVBUP
Data type: VBUPVBOptional: Yes
Call by Reference: Yes
XVBPA - Reference structure for XVBPA/YVBPA
Data type: VBPAVBOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for SAMPLE_INTERFACE_00501015 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_xlikp | TYPE STANDARD TABLE OF LIKPVB, " | |||
| lt_yvbpa | TYPE STANDARD TABLE OF VBPAVB, " | |||
| lt_xvbfa | TYPE STANDARD TABLE OF VBFAVB, " | |||
| lt_yvbfa | TYPE STANDARD TABLE OF VBFAVB, " | |||
| lt_tkomv | TYPE STANDARD TABLE OF KOMV, " | |||
| lt_xtvpod | TYPE STANDARD TABLE OF TVPODVB, " | |||
| lt_ylikp | TYPE STANDARD TABLE OF LIKP, " | |||
| lt_xlips | TYPE STANDARD TABLE OF LIPSVB, " | |||
| lt_ylips | TYPE STANDARD TABLE OF LIPSVB, " | |||
| lt_xvbuk | TYPE STANDARD TABLE OF VBUKVB, " | |||
| lt_yvbuk | TYPE STANDARD TABLE OF VBUKVB, " | |||
| lt_xvbup | TYPE STANDARD TABLE OF VBUPVB, " | |||
| lt_yvbup | TYPE STANDARD TABLE OF VBUPVB, " | |||
| lt_xvbpa | TYPE STANDARD TABLE OF VBPAVB. " |
|   CALL FUNCTION 'SAMPLE_INTERFACE_00501015' "NOTRANSL: Verbuchungsdaten Lieferungsbeleges |
| TABLES | ||
| XLIKP | = lt_xlikp | |
| YVBPA | = lt_yvbpa | |
| XVBFA | = lt_xvbfa | |
| YVBFA | = lt_yvbfa | |
| TKOMV | = lt_tkomv | |
| XTVPOD | = lt_xtvpod | |
| YLIKP | = lt_ylikp | |
| XLIPS | = lt_xlips | |
| YLIPS | = lt_ylips | |
| XVBUK | = lt_xvbuk | |
| YVBUK | = lt_yvbuk | |
| XVBUP | = lt_xvbup | |
| YVBUP | = lt_yvbup | |
| XVBPA | = lt_xvbpa | |
| . " SAMPLE_INTERFACE_00501015 | ||
ABAP code using 7.40 inline data declarations to call FM SAMPLE_INTERFACE_00501015
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