on 2020 Jan 21 9:50 AM
Hi expert,
I am trying to cancel an invoice with MR8M tcode (I am posting in the previous year 2019), the system shows this error message « Message no. F5151 : Incorrect doc.no.: $ 2. Select document number between 5100000000 and 5199999999 »
I searched the forum and could not find help with this issue and I checked the number range for 2019 and 2020.
I used the ST05 tcode to see the program and i found the following select statement :
SELECT WHERE "CLIENT" = '310' AND "OBJECT" = 'RF_BELEG' AND "SUBOBJECT" = '0030' AND "NRRANGENR" = '51' AND "TOYEAR" >= '2020'
The year should be 2019 since i have tried to post the cancel in 2019 and not 2020??
PS : we are using the SAP S 4/HANA 1709
Is there any way to resolve the problem
Thanks in advance
Request clarification before answering.
Hi Sabrine,
If you click the Display Document button in transaction MR8M, does it show the document?
If not, the MM document number, which you have entered, is not correct.
You can find the MM document number for example via transaction MIR5 which allows you to display MM documents according to various selection criteria such as user, creation date, creation time,...
Best regards,
Jonathan Eemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check document type on the details tab of the MM document and afterwards check number range is defined correctly in FI and set as internal numbering for this document type.
IMG Path document types in FI: Financial Accounting (New)\ Financial Accounting Global Settings (New)\Document\Document Types\Define Document Type for Entry View
Transaction code to check number ranges in FI: FBN1
Best regards,
Jonathan Eemans
| User | Count |
|---|---|
| 30 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.