Do you have any question about this error?
Message type: E = Error
Message class: 29 - Bills of Material
Message number: 806
Message text: Sub-item record must be preceded by an item record
Record types in a sequential file must be in a specific sequence: a
sub-item record (record type 3) must be preceded by the item record
(record type 2) to which the sub-item records relate.
In this sequential file, the record types are not in the correct
sequence.
INCLUDE AD_NA_BATCH
Error message extract from SAP system. Copyright SAP SE.
29806
- Sub-item record must be preceded by an item record ?The SAP error message 29806, "Sub-item record must be preceded by an item record," typically occurs in the context of document processing, particularly when dealing with item and sub-item records in a transaction. This error indicates that the system expects a sub-item record to follow an item record, but it has not found the required item record before the sub-item.
Cause:
- Incorrect Document Structure: The document being processed may have an incorrect structure where a sub-item is defined without a corresponding item record.
- Data Entry Error: During data entry, a user may have inadvertently skipped entering the main item before entering sub-items.
- File Upload Issues: If data is being uploaded from an external file (like a CSV or Excel), the format may not be correct, leading to the system not recognizing the sequence of records.
- Custom Development: If there are custom programs or enhancements, they may not be handling the item and sub-item relationships correctly.
Solution:
- Check Document Structure: Review the document to ensure that all sub-items are preceded by their corresponding item records. Each sub-item must be linked to an item.
- Correct Data Entry: If the error is due to manual entry, ensure that the user enters the item record first before any sub-items.
- Review Upload Files: If the error arises during a data upload, check the format of the file to ensure that item records are correctly placed before sub-item records.
- Debug Custom Code: If there is custom code involved, review it to ensure that it correctly handles the relationships between items and sub-items.
- Consult Documentation: Refer to SAP documentation or help resources for specific guidelines on the structure of item and sub-item records.
Related Information:
By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
29805
Item record must be preceded by a header record
What causes this issue? Record types in a sequential file must be in a specific sequence: item records (record type 2) must be preceded by the header...
29804
Previous session header record was ignored
What causes this issue? The sequential file contains two consecutive session header records. For this reason, the previous session header record is i...
29807
Session &: session record contains no session name
&Cause& The session header of a sequential file requires general data in order to create a session, eg. session name, client, user name. Sess...
29808
Session &: session record contains no client
What causes this issue? The session header of a sequential file requires general data in order to create a session, eg. session name, client, user na...
Click on this link to search all SAP messages.