‎2006 Jul 21 11:37 AM
Hi,
When aading a new line item via BAPI (BAPI_PO_CHANGE) or BDC (me22) in a Sales order and Purchase order, the added item document flow does not get updated. If you view at the document flow of the new line item it does not have a PO in it while when looking at the original line item it does.
When I manually add a line item via me22n there is no problem, the new line item document flow gets updated.
But when I manually add a line item via me22 the same problem occurs.
How can I be able to solve this problem? I needed to be able to create a program to add a line item in SO and PO.
thanks in advance
‎2006 Jul 21 11:58 AM
call the bapi for the sales order change after the call to the first bapi is succesful
BAPI_SALESORDER_CHANGE
Regards,
ravi
‎2006 Jul 24 2:55 PM
hi ravi,
thanks for the help..
but i am actually using bdc (va02) to update the sales order. The sales order and the purchase order are getting updated (with the new line item) the problem is that the document flow of the added line item does not get updated.