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

Number Range Issue for Billing Document

Former Member
0 Likes
1,237

Invoice Numbers are getting skipped while executing MIRO and MIRA, We cannont deactive the Deactive Buffer for object RE_BELEG in SNRO as its will deactive buffer for all company codes.
We require this fuctionality for specific comapany codes.

1 ACCEPTED SOLUTION
Read only

anuraj_rana
Explorer
0 Likes
731

Hi,

We also faced the same issue in which we are not allowed to change the SNRO for the object RE_BELE.

You can follow the following steps.

Function Module NUMBER_GET_NEXT contains IGNORE_BUFFER as an importing parameter, you just need to pass 'X', but for that you need to create an implicit enhancement in function module MRM_INVOICE_NUMBER_GENERATE.

Copy whole logic of MRM_INVOICE_NUMBER_GENERATE into an include and pass IGNORE_BUFFER as "X" to the function module NUMBER_GET_NEXT.

In such a way you can execute the NURMER_GET_NEXT with IGNORE_BUFFER EQ X for the intended company code and for rest of the company code the original logic will work.

Hope it will help.

Thanks

Anuraj

Invoice Numbers are getting skipped while executing MIRO and MIRA, We cannont deactive the Deactive Buffer for object RE_BELEG in SNRO as its will deactive buffer for all company codes.
We require this fuctionality for specific comapany codes.

3 REPLIES 3
Read only

Former Member
0 Likes
731

Hi Kumar,

Can you try by making the NO. OF NUMBERS IN BUFFER by 0.

I am not sure whether it will work or not,but let's give it a try though.

Regards,

Santanu Mohapatra.

Read only

anuraj_rana
Explorer
0 Likes
732

Hi,

We also faced the same issue in which we are not allowed to change the SNRO for the object RE_BELE.

You can follow the following steps.

Function Module NUMBER_GET_NEXT contains IGNORE_BUFFER as an importing parameter, you just need to pass 'X', but for that you need to create an implicit enhancement in function module MRM_INVOICE_NUMBER_GENERATE.

Copy whole logic of MRM_INVOICE_NUMBER_GENERATE into an include and pass IGNORE_BUFFER as "X" to the function module NUMBER_GET_NEXT.

In such a way you can execute the NURMER_GET_NEXT with IGNORE_BUFFER EQ X for the intended company code and for rest of the company code the original logic will work.

Hope it will help.

Thanks

Anuraj

Read only

0 Likes
731

thanks  Anuraj,  issue is resolved !!!