Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Locking just a filed from a table

Hi in my report I want to block a particular filed from a ztable . I have a report which has a selection screen where few entries are made . Out of these particular entries I just want to block the fileds say plant from that ztable . I have used ENQUEUE , DEQUEUE for this but the problem is that its locking the entire entrie and not allowing other user to go ahead with his use of the report for other plants . I wnat to block other users from using same plant if someone is already using that plant. Could I get soem info on how to just block plant field for that particular plant only if someone is alreday using that particular plant . Other should be able to use other plants.

I ahve use FM Enqueue_ez..._lock and Deque .

Please advice

Thanks

Tags:
replied

I am not sure how it will behave when you specify the partial keys.. in your case plant is a part of key.

Try specifying all the values in key .i.e.

MANDT MANDT -key

WERKS WERKS_D - key

LGORT LGORT_D - key

SPYEAR GJAHR -key

SPMONTH MONTH - key

CHARG CHARG_D - key

KUNNR_SP KUNNR - key

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question