07-27-2012 4:55 PM
Dear Friends,
I need to add a new line item in the purchase order based on certain conditions from reading the po line items.
i am trying with ME_PROCESS_PO_CUST , but i am not sure to use which method to insert new line item.
can i use bapi(BAPI_CHANGE_PO) inside the check method of ME_PROCESS_PO_CUST to insert new line item.
Thanks,
Shans
07-28-2012 11:26 AM
07-28-2012 7:37 PM
Yes you can use BAPI_CHANGE_PO for this purpose. Note that the Bapi gets triggered wen ME23N is used online once in PBO and once in PAI. There is a field to distinguish, I don't remeber details. Try some code and come back.
Regards
Clemens
07-30-2012 7:50 AM
bapi_po_change cannot be used in me_process_po_cust i found out!!.
can any one give me correct solution please.
07-31-2012 12:40 PM