Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

NRIV Table Lock

Former Member
0 Likes
1,205

Hi,

I need a help on how to get NRIV table lock released ?

The users create Claims using portal as well R/3.

While creating claim, a number will be generated.

Problem is :

When users create claim , one user gets system hang and other are not able to create claim.

In DB01 we can see a lock on NRIV table HOLD status and DBTABLOG WAIT status.

Once this lock is released, the users are able to create claim as usual.

Program logic:

Thre is a number range used for Claim number.

This object is locked and unlocked by FM 'NUMBER_RANGE_ENQUEUE' and 'NUMBER_RANGE_DEQUEUE'.

To generate number : NUMBER_GET_NEXT is used.

This object is not buffered.

While Header table Enqueue , Lock mode is 'E'.

Suggestion i gave : To increase the buffer size. we can give No of number in buffer as 10 - 20.

But if so, how will the GAPS in the number generated would be. So user is afraid on this gap.

Please help me to get rid of this NRIV table lock.

Regards,

Priya

Hi,

I need a help on how to get NRIV table lock released ?

The users create Claims using portal as well R/3.

While creating claim, a number will be generated.

Problem is :

When users create claim , one user gets system hang and other are not able to create claim.

In DB01 we can see a lock on NRIV table HOLD status and DBTABLOG WAIT status.

Once this lock is released, the users are able to create claim as usual.

Program logic:

Thre is a number range used for Claim number.

This object is locked and unlocked by FM 'NUMBER_RANGE_ENQUEUE' and 'NUMBER_RANGE_DEQUEUE'.

To generate number : NUMBER_GET_NEXT is used.

This object is not buffered.

While Header table Enqueue , Lock mode is 'E'.

Suggestion i gave : To increase the buffer size. we can give No of number in buffer as 10 - 20.

But if so, how will the GAPS in the number generated would be. So user is afraid on this gap.

Please help me to get rid of this NRIV table lock.

Regards,

Priya

1 REPLY 1
Read only

Former Member
0 Likes
608

Check

the note 399207