Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

call transcation problem

Former Member
0 Likes
579

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

4 REPLIES 4
Read only

Former Member
0 Likes
545

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@

Read only

alejandro_lpez
Contributor
0 Likes
545

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

Read only

Former Member
0 Likes
545

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

Read only

0 Likes
545

Hi use FM ENQUEUE_E_MATNR_LOCK to lock or DEQUEUE_E_MATNR_LOCK to unlock.

Rgds,

Jey