‎2007 Mar 06 4:08 PM
I'm looking for BAPI, which returns all items for sales order.
Returned items must have included all information, which we can see in transaction va02 on card Item Overview
I'll reward with points for good BAPI.
BR Tomek
‎2007 Mar 06 4:10 PM
‎2007 Mar 12 10:31 AM
‎2007 Mar 12 10:50 AM
‎2007 Mar 12 10:53 AM
hi ,
chek the below bapi's...
BAPI_SALESORDER_CHANGE
BAPI_SALESORDER_CREATEFROMDAT1
BAPI_SALESORDER_CREATEFROMDAT2
Regards,
nagaraj
‎2007 Mar 12 10:53 AM
hi tom,
try this bapi BAPI_SALESORDER_GETLIST.
regards,
alson.
‎2007 Mar 12 10:57 AM
hi tom,
u can even use this bapi BAPI_SALESORDER_SIMULATE.
regards,
alson
‎2007 Mar 12 12:41 PM
I'll post it again, I think U all read my post to quickly.
I'm looking for BAPI, which <b>returns all items for sales order</b>.
Returned items <b>must have included all information</b>, which we can see in <b>transaction va02 on card Item Overview</b>
BR, Tomek
‎2007 Mar 12 2:40 PM
I'm curious what specific piece of information you can't get retrieve from the above referenced BAPISDORDER_GETDETAILEDLIST. Yes, it will pull more than you need, but I don't think a bapi exists that only brings back the item overview. At least I don't see one in my 4.6c system.
‎2007 Mar 13 12:30 PM
I'm also courious with BAPI which is in your proposal. This BAPI has interface:
I_BAPI_VIEW
I_MEMORY_READ
where I_BAPI_VIEW is a structure where are only elements that have XFELD
I_MEMORY_READ is ORDER_READ-MEM_ACCESS.
So my question is where I should write SALES ORDER number to receive list I want?
As you see all other BAPI's are useless beacause they did different things I need!
‎2007 Mar 13 3:15 PM
In the i_bapi_view structure, populate which tables you would like to have returned by using a value of X.
Use the sales documents table to pass which documents you want information on.
So if you wanted item details:
i_bapi_view-item = 'X'.
sales_documents-vbeln = '0000012345'.
append sales_documents.
call function 'BAPISDORDER_GETDETAILEDLIST'
exporting
i_bapi_view = i_bapi_view
tables
sales_documents = sales_documents
order_items_out = order_items_out.
‎2010 Jul 15 10:08 AM