04-24-2006 8:45 AM
Hi all
i am using the bapi to change the Purchase order..
Po is having eq 4 line item
its changing the First line item
for next line item its showing error .. PO is locked.
i try with call function 'DEQUEUE_EMEKKOE' .
i am not sure how it will process.
can anybody tell aby that.
or some other F. module with its functinality
thanks in advance
Manish
04-24-2006 8:50 AM
Manish,
BAPI_PO_CHANGE is the function to change the PO, can you post your code here and detail us what are you trying to do?
Regards,
Ravi
04-24-2006 8:52 AM
Use function module
<b>BAPI_PO_CHANGE
BAPI_TRANSACTION_COMMIT</b>
regards
vinod
04-24-2006 10:02 AM
hi
my scenarion is i want to unlock the Purchase order.
how i will to this plz explain in details
04-24-2006 10:11 AM
Manish,
Unless you know what kind of lock has been placed, you cannot unlock the same. There are two kinds of locks that can be placed.
EMEKKOE Purchasing Document Exclusive
EMEKKOS Purchasing Document Shared
If it is an exclusive lock you can call the function DEQUEUE_EMEKKOE and if it is a shared lock call DEQUEUE_EMEKKOS.
Regards,
Ravi
Note : Please close the thread if the question is answered
04-24-2006 10:15 AM
hi,
first call the fm SD_SALESDOCUMENT_CHANGE
then COMMIT WORK AND WAIT.
then call the fm BAPI_TRANSACTION_COMMIT
bye
sasi
07-13-2006 9:45 PM