2013 Apr 29 11:51 AM
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.
2013 Apr 29 12:19 PM
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
2013 Apr 29 12:11 PM
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.
2013 Apr 29 12:19 PM
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
2013 Apr 29 12:56 PM