05-15-2015 9:11 AM
Hallo Expert,
I want to use range table use bapi_po_getitems.
ls_range-sign = 'I'.
ls_range-option = 'BT'.
ls_range-low = '20140101'. " Fest Datum 2015 Aktuel
ls_range-high = '20141231'.
APPEND ls_range TO it_range1.
CALL FUNCTION 'BAPI_PO_GETITEMS'
EXPORTING
* PURCHASEORDER =
doc_date = it_range1
vendor = lifnr
TABLES
* PO_HEADERS =
po_items = lt_bapeko
* RETURN =
In this case give type conflict error.
05-15-2015 10:02 AM
You can not use a range for this parameter as it accepts only one value .
If you want to get multiple PO details based on the document date you can call the FM BAPI_PO_GETITEMS inside a loop (on document date ) and get the value in your internal table.