2009 Nov 16 5:06 AM
Hi Friends,
we have used the two BAPI' s for release the purchase requistion ME53N.
The frist bapi 'BAPI_REQUISITION_DELETE' delete the item of the purchase requistion , this one is working correctly.
the second bapi "BAPI_REQUISITION_RELEASE_GEN",
in debug mode the 2nd bapi successfully release the purchase requistion but it normal mode(with out the debug mode) it's not release the purchase requistion, we are putted the wait statement upto 2 seconds but still i am getting the same problem,
Can you please help me.
Thanks & Regards
CHARAN.
2009 Nov 16 6:10 AM
Hai Please read given below Information and please read status in table requisitionItems.
This method enables you to list all purchase requisitions that have tobe released with a certain release code and group (collective release).
Notes
The authorization object M_EINK_FRG is checked.
Transfer
The release code must be passed on in the parameter RelCode and the release group in the parameter RelGroup.
The parameter ItemsForRelease determines whether only thoserequisitions awaiting release are listed, or only those that have
already been released. The latter is useful if you wish to have a listfor the purposes of cancelling releases that have already been effected.
Return
The result is returned in the table RequisitionItems.
Return messages
Messages are returned in the parameter return. The parameterdocumentation shows the return codes and their meanings. .