2022 Dec 15 2:57 AM
Hi, I was encountering an issue where in the latest entry in EKBE table doesn't have the latest BELNR. Is this a normal working condition? as you can see below, the row which is highlighted in yellow is the latest entry in EKBE. However, its BELNR is less than the entry below it. Shouldn't the BELNR be in incremental sequence of 1?
2022 Dec 15 8:01 AM
screenshot-2022-12-15-132932.png
I think, the entries sorted on Document number and Credit Indicator.
U can add one more entry with other credit indicator for the same document number and check where it will come and sit.
2022 Dec 15 8:06 AM
2022 Dec 16 10:00 AM
Check your FI/MM number ranges Customizing, not every document type uses the same range, only similar documents will share a common range. Try to sort first by VGABE / Transaction/event type (good movements, invoices, etc.) or BEWTP / Category of document
2022 Dec 16 4:16 PM
Depending on the event type BELNR doesn't refer the same type of object,
Look at
CASE <ekbe>-bewtp.
WHEN 'E' OR 'O' OR 'U'.
<ekbe>-tcode = 'MB03'. " material movement
WHEN 'L' OR 'J'.
<ekbe>-tcode = 'VL03N'. " delivery
WHEN 'D'.
<ekbe>-tcode = 'ML81N'. " Service Entry
WHEN 'N' OR 'Q' OR 'W'.
<ekbe>-tcode = 'MIR4'. " Invoice
WHEN 'K'.
<ekbe>-tcode = 'MR11SHOW'. " Account maintenance document
WHEN 'T'.
<ekbe>-tcode = 'MR43'. " parked document
WHEN OTHERS.
<ekbe>-tcode = 'FB03'. " financial document
ENDCASE.
Display the history within ME23N and navigate to display transaction with some double-clicks.
2022 Dec 16 5:09 PM
Could you add one of the following fields to your screenshot:
Then sort by this type and system date/time creation