04-02-2014 1:07 PM
Hi All,
Right now the issue is, if one particular user is raising one invoice and in the same time if another user is doing some payment for the same customer.
Due to this transaction, there will be change in the Credit master data (FD32- KNKK table SKFOR field. Since all the user is trying to amend this field through different user transactions, the table is not updating properly.
So we would like to go for a user exit in such way that- if the user is trying to amend the KNKK-SKFOR table through different transaction then we should allow only one user.
Please any one share any user exit through which i can fit in this requirement.
Regards,
Mythily.A
04-02-2014 1:21 PM
Sounds rather like a standard locking issue.
Look at transaction SM12 when somebody is currently updating FD32, find the corresponding lock entry and have your own application check for existing locks of the same object type before allowing to modify any data.
Please search for further information on ABAP locking concept using enqueue/dequeue function modules.
Thomas