‎2008 Oct 28 3:23 AM
i have run the same material that time material will be lock
how to release one
give me same solution
CALL TRANSACTION 'MB1A' USING T_BDCDATA MESSAGES INTO T_BDCMSGCOLL
MODE 'N' UPDATE 'A'.
or else .
give same sample program
Edited by: Karthikeyan Pandurangan on Oct 28, 2008 4:26 AM
‎2008 Oct 28 3:31 AM
Is there any special purpose to run same material simultaneously.
Run BDC for one material and carry on with the other.
For unlocking got to SM12 Txcode and you can release.
Please share why you want to run BDC for the same material.
Cheers!!
VEnk@
‎2008 Oct 28 3:32 AM
Hi Karthikeyan ,
if i understand you, you are trying to run transaction MB1A, with severals material using BDC, and you are getting and error that shows a material locked.
I think you should clear the internal table T_BDCDATA everytime that you process a material, CLEAR T_BDCDATA[], so you will not get a error message.
Best regards,
Alejandro López
‎2008 Oct 28 5:27 AM
first check there is a lock on the same material before performing the call transaction, if there is no locks proceed with call transaction. if there is a lock skip that material, and process them later.
to find the lock on a material use the function module ENQUEUE_READ
‎2008 Oct 28 8:38 AM
Hi use FM ENQUEUE_E_MATNR_LOCK to lock or DEQUEUE_E_MATNR_LOCK to unlock.
Rgds,
Jey