counter incrementation (CF)
Hi,
We have implemented a counter (000000 to 999999) in the zone BEDNR at the purchase requisitions by an user exit.
This number is incremented by adding 1 to the last value saved in table TVARV.
Sometimes it is wrongly incremented or even not incremented at all.
Should we force a commit or manage the problem with lock control ?
Any suggestion would be appreciated.
Thanks in advance
Charlie
Tr: counter incrementation (CF)
The user exit should only work for a specific type of document (ZTYPE1).
I found that the user exit is activated when creating an item, it checks that the type of document is ZTYPE1 and then it increments the zone BEDNR.
The problem is that if I ever create the item before selecting the type of document the condition is bypassed.
How can I solve this ?
Thanks in advance
Charlie
>>counter incrementation (CF)
>>Hi,
>>We have implemented a counter (000000 to 999999) in the zone BEDNR at the purchase requisitions by an >>user exit.
>>This number is incremented by adding 1 to the last value saved in table TVARV.
>>Sometimes it is wrongly incremented or even not incremented at all.
>>Should we force a commit or manage the problem with lock control ?
>>Any suggestion would be appreciated.
>>
>>Thanks in advance
>>Charlie