2009 Jun 23 11:00 AM
Hi all,
I've have implemented event ISU_SAMPLE_R432 for invoicing process.The modification consists on
insert some new registers in a new Z table with information about consumption invoiced in the new print document that it's being created during the process.
The problem is that it seems number of locks in NRIV table have increased when online invoicing, form example from t-code EA19, when several users are using this transaction at the same time.
Could be this issue a result of the implementations in R432?. Any way to avoid this effect?
Thank you.
Edited by: Almudena González on Jun 23, 2009 12:00 PM
2009 Jun 23 12:16 PM
Hi Almudena,
Did you use FM 'NUMBER_RANGE_ENQUEUE' and 'NUMBER_RANGE_DEQUEUE' before calling FM 'NUMBER_GET_NEXT'?
I did faced the same problem, we have changed the setting and increased the 'No. of numbers in buffer' to 1000.
Hope this helps in your case also.
Regards,
Manish
2009 Jun 23 12:16 PM
Hi Almudena,
Did you use FM 'NUMBER_RANGE_ENQUEUE' and 'NUMBER_RANGE_DEQUEUE' before calling FM 'NUMBER_GET_NEXT'?
I did faced the same problem, we have changed the setting and increased the 'No. of numbers in buffer' to 1000.
Hope this helps in your case also.
Regards,
Manish
2009 Jun 24 12:48 PM
Hello Manish,
thank you for you answer.
But, the fact is that i'm not using FM 'NUMBER_GET_NEXT' in this event, I think the locks against NRIV
are made in the standard process of invoicing in EA19. I'm thinking that perhaps my update of table Z in event R432 costs or lasts for too long and this causes the large block in NRIV too.
Thanks anyway.
2009 Jun 24 12:58 PM
Hi Almudena,
Updation of Z table will not affect your lock on NRIV. But you can create a lock object for the Z table and then update it with proper Enqueue and Dequeue.
Hope this helps.
Regards,
Manish