02-16-2007 12:57 PM
Hi all,
I am trying to fine a BAPI for deleltion of Purchase Order.
My Understanding says that we can use BAPI_PO_CHANGE for the above purpose marking the deletion Indiacator as 'X'.
Though the BAPI is giving me the return as "The Purchase Order ________ is succefully changed", but the disired purposed is not solved.
That is I am still being able to spot the corresponding Purchase Order with the Deletion Indicator NOT MARKED 'X'.
Kindly guide.
Debabrata
02-16-2007 1:00 PM
hi,
You need to use the below bapi after that one
<b>BAPI_PO_DELETE_HISTORY</b>
Delete Purchase Order History
Regards
Sudheer
02-16-2007 1:07 PM
Well Thanks for the answer.
But I could not understand the phrase "After That One"...
Do you mean to say that I need to use both the BAPIs for the above purpose
in sequence ?
Moreover, can you please substantiate your reply with a piece of code ?...
Your efforts will be rewarded.
Many Thanks
Dev
02-16-2007 1:11 PM
02-16-2007 1:25 PM
I am not calling BAPI from a code.
I am directly executing the BAPI.
If I am executing the BAPI_PO_DELETE_HISTORY, it is giving me the return as "Cumpulsory Fields Missing".
I need to know all the mandatory parameters for that. But again as per the check in boxex in the BAPI Parameter Interface all but the Purchse Order Number are optional.