SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

locks in NRIV while online invoicing EA19

Former Member
0 Kudos
298

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
223

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

View solution in original post

3 REPLIES 3

Former Member
0 Kudos
224

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

0 Kudos
223

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.

0 Kudos
223

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