2014 Oct 29 11:34 PM
Hi Experts,
Can you please tell me there is any function module to calculate condition value in SAP Purchase order?
Let say I have amount and tax code. I need to calculate final cost of the material
Is there any FM for this? PO is not created in SAP, so not possible to use any kind of BAPI_PO_GETDETAILS
Thanks
2014 Oct 30 4:36 AM
Hi, you could call BAPI_PO_CREATE1 in simulate mode by setting input parameter TESTRUN to 'X'.
Then all the data that is normally available in a PO and that is also returned by BAPI_PO_GETDETAILS is returned by the CREATE BAPI. Condition values will be returned in input / output parameter POCOND.
Regards Jack
2014 Oct 30 4:36 AM
Hi, you could call BAPI_PO_CREATE1 in simulate mode by setting input parameter TESTRUN to 'X'.
Then all the data that is normally available in a PO and that is also returned by BAPI_PO_GETDETAILS is returned by the CREATE BAPI. Condition values will be returned in input / output parameter POCOND.
Regards Jack