Skip to Content

How Range Table use BAPI_PO_GETITEMS

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 15, 2015 at 09: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.