SAP Program RNCTT_ADJUSTRECNR - IS-H: Change Record Number for EDI Mesages in a File

Title
Change Record Number of EDI Messages

Purpose
This is a test program that lets you manually change record numbers(table NC301S, field NOINFILE). This should only prove necessary inexceptional circumstances, when production messages that were receivedor sent have been illegally deleted.
Subsequent messages, whose record number is probably incorrect also,can be automatically modified as far as the next gap in the numbering.Example:
Before:
Message,,Record
233,,3
234,,3
235,,4
236,,5
237,,6
238,,8
After (message number 233 was set to record 5)
Message,,Record
234,,3
235,,4
233,,5,,<--inserted
236,,6,,<--modified
237,,7,,<--modified, then stop caused by gap
238,,8
When making changes, it is essential that you start with the lowestrecord number (at start and not at end of file)!

Features

Selection
Specify the number of the message whose record number you wish tochange.
Specify the new record number. This number must correspond to theoccurrence of the message in the original file.
If you wish the subsequent messages to also be aligned on the newrecord number, flag the Adjust subsequent messages option.

Output
The program issues a confirmation message if the change was carried outsuccessfully.