12-01-2008 9:10 AM
Hi All,
Is there any FM which tells that FI document number used by transaction FB02 is in use by another user or in another words how to know whether document number is already queued by another process.
Thanks,
Mark
12-01-2008 9:12 AM
You can check transaction SM12. Just remove 'user name' and press 'Enter',you can see locked entries by all users.
Regards,
Aparna.
12-01-2008 9:13 AM
Hi,
This is a standard Tcode hence the SAP already taken care of this they use ENQUE Function Modules
which you can create in Tcode SE11
Try open the Tcode in 2 diff sessions and give the same document numbers
Hope this will solve your purpose.
regards
Ramchander Rao.K
12-01-2008 8:28 PM
Hi Mark,
Use the FM
call function 'ENQUEUE_EFBVOR'
exporting
bvorg = x_bvorg
belnr = x_belnr
exceptions
foreign_lock = 1
others = 2.
to lock the posting document.
Regards
Raj
05-03-2011 12:41 PM