06-18-2013 7:27 AM
Hi Experts,
I am using the FM ENQUEUE_EJGKNA1 passing the in order to put the lock on the customer 'XYZ'.
I am passing mode_kna1 as E ( Write_lock), Client= sy-mandt & customer ID.
The record is locked & I can see the ock in SM12.
However when I try to chnage the customer attributes in XD02, it allows me to do so.
Could you please let me know how I can prevent these changes to the customer.
Thanks
Vinay
06-18-2013 8:10 AM
Hi,
I used the FM Conversion_Exit_Alpha_Input before passing the Customer number to FM.
Now the message is being displayed that the Account is locked by User.
Thanks
06-18-2013 7:39 AM
Hi Vinay,
That is strange....
Well please try using FM ENQUEUE_EXKNA1
Regards,
Yakub
06-18-2013 7:51 AM
This could be one reason that customer ID that enter differently for FM and XD02. SAP cannot be wrong
06-18-2013 8:07 AM
Also Vinay.
check if before passing it to the lock object have you done conversion exit on the KUNNR.
06-18-2013 8:10 AM
Hi,
I used the FM Conversion_Exit_Alpha_Input before passing the Customer number to FM.
Now the message is being displayed that the Account is locked by User.
Thanks