SAP BAPISDORDER_GETDETAILEDLIST Function Module for NOTRANSL: Kundenauftrag: Liste aller Auftragsdaten









BAPISDORDER_GETDETAILEDLIST is a standard bapisdorder getdetailedlist 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: Kundenauftrag: Liste aller Auftragsdaten 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 bapisdorder getdetailedlist FM, simply by entering the name BAPISDORDER_GETDETAILEDLIST into the relevant SAP transaction such as SE37 or SE38.

Function Group: 2032
Program Name: SAPL2032
Main Program: SAPL2032
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPISDORDER_GETDETAILEDLIST 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 'BAPISDORDER_GETDETAILEDLIST'"NOTRANSL: Kundenauftrag: Liste aller Auftragsdaten
EXPORTING
I_BAPI_VIEW = "Bapi View for Data Reduction
* I_MEMORY_READ = "

TABLES
SALES_DOCUMENTS = "Document Numbers to Be Selected
* ORDER_CONDITIONS_OUT = "Order Conditions for Document Numbers
* ORDER_COND_HEAD = "
* ORDER_COND_ITEM = "
* ORDER_COND_QTY_SCALE = "
* ORDER_COND_VAL_SCALE = "
* ORDER_CONTRACTS_OUT = "Contract Data for Document Numbers
* ORDER_TEXTHEADERS_OUT = "Text Header Information for Document Numbers
* ORDER_TEXTLINES_OUT = "Text Lines for Document Numbers
* ORDER_FLOWS_OUT = "Document Flows for Document Numbers
* ORDER_CFGS_CUREFS_OUT = "Instance in the Configuration for Document Numbers
* ORDER_HEADERS_OUT = "Order Headers for Document Numbers
* ORDER_CFGS_CUCFGS_OUT = "Configuration Data for Document Numbers
* ORDER_CFGS_CUINS_OUT = "Instance Data for Document Numbers
* ORDER_CFGS_CUPRTS_OUT = "PartOf Data for Document Numbers
* ORDER_CFGS_CUVALS_OUT = "Characteristic Value Assignment for Document Numbers
* ORDER_CFGS_CUBLBS_OUT = "Configuration BLOB for Document Numbers
* ORDER_CFGS_CUVKS_OUT = "
* ORDER_BILLINGPLANS_OUT = "Billing Plan for Document Numbers
* ORDER_BILLINGDATES_OUT = "Billing Plan Deadlines for Document Numbers
* ORDER_CREDITCARDS_OUT = "Credit Cards for Document Numbers
* EXTENSIONOUT = "
* ORDER_ITEMS_OUT = "Order Item Data for Document Numbers
* ORDER_SCHEDULES_OUT = "Order Schedule Lines for Document Numbers
* ORDER_BUSINESS_OUT = "Business Data for Document Numbers
* ORDER_PARTNERS_OUT = "Order Partners for Document Numbers
* ORDER_ADDRESS_OUT = "
* ORDER_STATUSHEADERS_OUT = "Header Status for Document Numbers
* ORDER_STATUSITEMS_OUT = "Item Status for Document Numbers
.



IMPORTING Parameters details for BAPISDORDER_GETDETAILEDLIST

I_BAPI_VIEW - Bapi View for Data Reduction

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

I_MEMORY_READ -

Data type: ORDER_READ-MEM_ACCESS
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BAPISDORDER_GETDETAILEDLIST

SALES_DOCUMENTS - Document Numbers to Be Selected

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

ORDER_CONDITIONS_OUT - Order Conditions for Document Numbers

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

ORDER_COND_HEAD -

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

ORDER_COND_ITEM -

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

ORDER_COND_QTY_SCALE -

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

ORDER_COND_VAL_SCALE -

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

ORDER_CONTRACTS_OUT - Contract Data for Document Numbers

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

ORDER_TEXTHEADERS_OUT - Text Header Information for Document Numbers

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

ORDER_TEXTLINES_OUT - Text Lines for Document Numbers

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

ORDER_FLOWS_OUT - Document Flows for Document Numbers

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

ORDER_CFGS_CUREFS_OUT - Instance in the Configuration for Document Numbers

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

ORDER_HEADERS_OUT - Order Headers for Document Numbers

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

ORDER_CFGS_CUCFGS_OUT - Configuration Data for Document Numbers

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

ORDER_CFGS_CUINS_OUT - Instance Data for Document Numbers

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

ORDER_CFGS_CUPRTS_OUT - PartOf Data for Document Numbers

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

ORDER_CFGS_CUVALS_OUT - Characteristic Value Assignment for Document Numbers

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

ORDER_CFGS_CUBLBS_OUT - Configuration BLOB for Document Numbers

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

ORDER_CFGS_CUVKS_OUT -

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

ORDER_BILLINGPLANS_OUT - Billing Plan for Document Numbers

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

ORDER_BILLINGDATES_OUT - Billing Plan Deadlines for Document Numbers

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

ORDER_CREDITCARDS_OUT - Credit Cards for Document Numbers

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

EXTENSIONOUT -

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

ORDER_ITEMS_OUT - Order Item Data for Document Numbers

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

ORDER_SCHEDULES_OUT - Order Schedule Lines for Document Numbers

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

ORDER_BUSINESS_OUT - Business Data for Document Numbers

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

ORDER_PARTNERS_OUT - Order Partners for Document Numbers

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

ORDER_ADDRESS_OUT -

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

ORDER_STATUSHEADERS_OUT - Header Status for Document Numbers

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

ORDER_STATUSITEMS_OUT - Item Status for Document Numbers

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

Copy and paste ABAP code example for BAPISDORDER_GETDETAILEDLIST 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_i_bapi_view  TYPE ORDER_VIEW, "   
lt_sales_documents  TYPE STANDARD TABLE OF SALES_KEY, "   
lt_order_conditions_out  TYPE STANDARD TABLE OF BAPISDCOND, "   
lt_order_cond_head  TYPE STANDARD TABLE OF BAPICONDHD, "   
lt_order_cond_item  TYPE STANDARD TABLE OF BAPICONDIT, "   
lt_order_cond_qty_scale  TYPE STANDARD TABLE OF BAPICONDQS, "   
lt_order_cond_val_scale  TYPE STANDARD TABLE OF BAPICONDVS, "   
lt_order_contracts_out  TYPE STANDARD TABLE OF BAPISDCNTR, "   
lt_order_textheaders_out  TYPE STANDARD TABLE OF BAPISDTEHD, "   
lt_order_textlines_out  TYPE STANDARD TABLE OF BAPITEXTLI, "   
lt_order_flows_out  TYPE STANDARD TABLE OF BAPISDFLOW, "   
lt_order_cfgs_curefs_out  TYPE STANDARD TABLE OF BAPICUREFM, "   
lv_i_memory_read  TYPE ORDER_READ-MEM_ACCESS, "   
lt_order_headers_out  TYPE STANDARD TABLE OF BAPISDHD, "   
lt_order_cfgs_cucfgs_out  TYPE STANDARD TABLE OF BAPICUCFGM, "   
lt_order_cfgs_cuins_out  TYPE STANDARD TABLE OF BAPICUINSM, "   
lt_order_cfgs_cuprts_out  TYPE STANDARD TABLE OF BAPICUPRTM, "   
lt_order_cfgs_cuvals_out  TYPE STANDARD TABLE OF BAPICUVALM, "   
lt_order_cfgs_cublbs_out  TYPE STANDARD TABLE OF BAPICUBLBM, "   
lt_order_cfgs_cuvks_out  TYPE STANDARD TABLE OF BAPICUVKM, "   
lt_order_billingplans_out  TYPE STANDARD TABLE OF BAPISDBPL, "   
lt_order_billingdates_out  TYPE STANDARD TABLE OF BAPISDBPLD, "   
lt_order_creditcards_out  TYPE STANDARD TABLE OF BAPICCARDM, "   
lt_extensionout  TYPE STANDARD TABLE OF BAPIPAREX, "   
lt_order_items_out  TYPE STANDARD TABLE OF BAPISDIT, "   
lt_order_schedules_out  TYPE STANDARD TABLE OF BAPISDHEDU, "   
lt_order_business_out  TYPE STANDARD TABLE OF BAPISDBUSI, "   
lt_order_partners_out  TYPE STANDARD TABLE OF BAPISDPART, "   
lt_order_address_out  TYPE STANDARD TABLE OF BAPISDCOAD, "   
lt_order_statusheaders_out  TYPE STANDARD TABLE OF BAPISDHDST, "   
lt_order_statusitems_out  TYPE STANDARD TABLE OF BAPISDITST. "   

  CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'  "NOTRANSL: Kundenauftrag: Liste aller Auftragsdaten
    EXPORTING
         I_BAPI_VIEW = lv_i_bapi_view
         I_MEMORY_READ = lv_i_memory_read
    TABLES
         SALES_DOCUMENTS = lt_sales_documents
         ORDER_CONDITIONS_OUT = lt_order_conditions_out
         ORDER_COND_HEAD = lt_order_cond_head
         ORDER_COND_ITEM = lt_order_cond_item
         ORDER_COND_QTY_SCALE = lt_order_cond_qty_scale
         ORDER_COND_VAL_SCALE = lt_order_cond_val_scale
         ORDER_CONTRACTS_OUT = lt_order_contracts_out
         ORDER_TEXTHEADERS_OUT = lt_order_textheaders_out
         ORDER_TEXTLINES_OUT = lt_order_textlines_out
         ORDER_FLOWS_OUT = lt_order_flows_out
         ORDER_CFGS_CUREFS_OUT = lt_order_cfgs_curefs_out
         ORDER_HEADERS_OUT = lt_order_headers_out
         ORDER_CFGS_CUCFGS_OUT = lt_order_cfgs_cucfgs_out
         ORDER_CFGS_CUINS_OUT = lt_order_cfgs_cuins_out
         ORDER_CFGS_CUPRTS_OUT = lt_order_cfgs_cuprts_out
         ORDER_CFGS_CUVALS_OUT = lt_order_cfgs_cuvals_out
         ORDER_CFGS_CUBLBS_OUT = lt_order_cfgs_cublbs_out
         ORDER_CFGS_CUVKS_OUT = lt_order_cfgs_cuvks_out
         ORDER_BILLINGPLANS_OUT = lt_order_billingplans_out
         ORDER_BILLINGDATES_OUT = lt_order_billingdates_out
         ORDER_CREDITCARDS_OUT = lt_order_creditcards_out
         EXTENSIONOUT = lt_extensionout
         ORDER_ITEMS_OUT = lt_order_items_out
         ORDER_SCHEDULES_OUT = lt_order_schedules_out
         ORDER_BUSINESS_OUT = lt_order_business_out
         ORDER_PARTNERS_OUT = lt_order_partners_out
         ORDER_ADDRESS_OUT = lt_order_address_out
         ORDER_STATUSHEADERS_OUT = lt_order_statusheaders_out
         ORDER_STATUSITEMS_OUT = lt_order_statusitems_out
. " BAPISDORDER_GETDETAILEDLIST




ABAP code using 7.40 inline data declarations to call FM BAPISDORDER_GETDETAILEDLIST

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 MEM_ACCESS FROM ORDER_READ INTO @DATA(ld_i_memory_read).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!