SAP BILLING_GET_DELIVERIES_AIP Function Module for NOTRANSL: Lieferdaten holen
BILLING_GET_DELIVERIES_AIP is a standard billing get deliveries aip 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: Lieferdaten holen 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 billing get deliveries aip FM, simply by entering the name BILLING_GET_DELIVERIES_AIP into the relevant SAP transaction such as SE37 or SE38.
Function Group: V60P
Program Name: SAPLV60P
Main Program: SAPLV60P
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BILLING_GET_DELIVERIES_AIP 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 'BILLING_GET_DELIVERIES_AIP'"NOTRANSL: Lieferdaten holen.
TABLES
IT_DELIVERY_KEYS = "Business Admin. Key for Delivery Header
ET_XKOMFKKO = "Pricing: Communications Condition Record
ET_CHAR_VALUES = "For Exchanging Characteristics Across Systems
ET_VBFS = "Error Log for Collective Processing
* ET_TEXT = "Cross-System Flow of Goods Texts
ET_LIKP = "Several Deliveries: Data, Items, Control Data
ET_VBUK = "Reference structure for XVBUK/YVBUK
ET_VBPA = "Reference structure for XVBPA/YVBPA
ET_SADR = "Reference structure for XSADR/YSADR
ET_LIPS = "Reference Structure for XLIPS/YLIPS
ET_VBUP = "Reference Structure for XVBUP/YVBUP
ET_VBFA = "Reference Structure for XVBFA/YVBFA
ET_VBUV = "Structure for Internal Table XVBUV
EXCEPTIONS
OTHERS = 1
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_SAPLV60P_001 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_002 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_003 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_004 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_005 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_006 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_007 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_008 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_009 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_010 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_011 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_012 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_013 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_018 DE-EN-LANG-SWITCH-NO-TRANSLATION
EXIT_SAPLV60P_019 DE-EN-LANG-SWITCH-NO-TRANSLATION
TABLES Parameters details for BILLING_GET_DELIVERIES_AIP
IT_DELIVERY_KEYS - Business Admin. Key for Delivery Header
Data type: LESHP_DELIVERY_KEYOptional: No
Call by Reference: Yes
ET_XKOMFKKO - Pricing: Communications Condition Record
Data type: KOMVOptional: No
Call by Reference: Yes
ET_CHAR_VALUES - For Exchanging Characteristics Across Systems
Data type: BAPI_PAOBJNR_FIELD_VALUESOptional: No
Call by Reference: Yes
ET_VBFS - Error Log for Collective Processing
Data type: VBFSOptional: No
Call by Reference: Yes
ET_TEXT - Cross-System Flow of Goods Texts
Data type: AIP_KOMTXTOptional: Yes
Call by Reference: Yes
ET_LIKP - Several Deliveries: Data, Items, Control Data
Data type: LIKPVBOptional: No
Call by Reference: Yes
ET_VBUK - Reference structure for XVBUK/YVBUK
Data type: VBUKVBOptional: No
Call by Reference: Yes
ET_VBPA - Reference structure for XVBPA/YVBPA
Data type: VBPAVBOptional: No
Call by Reference: Yes
ET_SADR - Reference structure for XSADR/YSADR
Data type: SADRVBOptional: No
Call by Reference: Yes
ET_LIPS - Reference Structure for XLIPS/YLIPS
Data type: LIPSVBOptional: No
Call by Reference: Yes
ET_VBUP - Reference Structure for XVBUP/YVBUP
Data type: VBUPVBOptional: No
Call by Reference: Yes
ET_VBFA - Reference Structure for XVBFA/YVBFA
Data type: VBFAVBOptional: No
Call by Reference: Yes
ET_VBUV - Structure for Internal Table XVBUV
Data type: VBUVVBOptional: No
Call by Reference: Yes
EXCEPTIONS details
OTHERS - 3
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for BILLING_GET_DELIVERIES_AIP 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_others | TYPE STRING, " | |||
| lt_it_delivery_keys | TYPE STANDARD TABLE OF LESHP_DELIVERY_KEY, " | |||
| lt_et_xkomfkko | TYPE STANDARD TABLE OF KOMV, " | |||
| lt_et_char_values | TYPE STANDARD TABLE OF BAPI_PAOBJNR_FIELD_VALUES, " | |||
| lt_et_vbfs | TYPE STANDARD TABLE OF VBFS, " | |||
| lt_et_text | TYPE STANDARD TABLE OF AIP_KOMTXT, " | |||
| lt_et_likp | TYPE STANDARD TABLE OF LIKPVB, " | |||
| lt_et_vbuk | TYPE STANDARD TABLE OF VBUKVB, " | |||
| lt_et_vbpa | TYPE STANDARD TABLE OF VBPAVB, " | |||
| lt_et_sadr | TYPE STANDARD TABLE OF SADRVB, " | |||
| lt_et_lips | TYPE STANDARD TABLE OF LIPSVB, " | |||
| lt_et_vbup | TYPE STANDARD TABLE OF VBUPVB, " | |||
| lt_et_vbfa | TYPE STANDARD TABLE OF VBFAVB, " | |||
| lt_et_vbuv | TYPE STANDARD TABLE OF VBUVVB. " |
|   CALL FUNCTION 'BILLING_GET_DELIVERIES_AIP' "NOTRANSL: Lieferdaten holen |
| TABLES | ||
| IT_DELIVERY_KEYS | = lt_it_delivery_keys | |
| ET_XKOMFKKO | = lt_et_xkomfkko | |
| ET_CHAR_VALUES | = lt_et_char_values | |
| ET_VBFS | = lt_et_vbfs | |
| ET_TEXT | = lt_et_text | |
| ET_LIKP | = lt_et_likp | |
| ET_VBUK | = lt_et_vbuk | |
| ET_VBPA | = lt_et_vbpa | |
| ET_SADR | = lt_et_sadr | |
| ET_LIPS | = lt_et_lips | |
| ET_VBUP | = lt_et_vbup | |
| ET_VBFA | = lt_et_vbfa | |
| ET_VBUV | = lt_et_vbuv | |
| EXCEPTIONS | ||
| OTHERS = 1 | ||
| . " BILLING_GET_DELIVERIES_AIP | ||
ABAP code using 7.40 inline data declarations to call FM BILLING_GET_DELIVERIES_AIP
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