Do you have any question about this error?
Message type: E = Error
Message class: FAGL_REORGANIZATION - Reorganization
Message number: 338
Message text: Follow-on documents of sales document item &1 &2 not logged
Logging the reassignment of sales document item &V1& &V2& failed.
The cause is an internal error that occurred when writing data to data
base table <AB>FAGL_R_SD_LOG</>.
Processing is terminated.
Start the reassignment again.
If the error reoccurs, contact your system administrator.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
FAGL_REORGANIZATION338
- Follow-on documents of sales document item &1 &2 not logged ?The SAP error message FAGL_REORGANIZATION338 indicates that there are follow-on documents related to a sales document item that have not been logged. This typically occurs during the reorganization of financial documents, particularly when trying to delete or archive documents that are still linked to other transactions.
Cause:
The error is usually caused by the following reasons:
- Existing Follow-on Documents: There are follow-on documents (like invoices, credit memos, etc.) that are still linked to the sales document item you are trying to reorganize.
- Data Integrity: SAP enforces data integrity rules, which means that if there are dependencies (like follow-on documents), the system will not allow the reorganization to proceed to prevent data inconsistencies.
- Configuration Issues: There might be configuration settings in the system that are preventing the logging of follow-on documents.
Solution:
To resolve this error, you can take the following steps:
Identify Follow-on Documents:
- Use transaction codes like
VA03
(Display Sales Order) orVF03
(Display Billing Document) to check for any existing follow-on documents related to the sales document item.- You can also use transaction
FBL3N
to check for any financial documents linked to the sales order.Delete or Archive Follow-on Documents:
- If you find any follow-on documents that are no longer needed, you may need to delete or archive them before proceeding with the reorganization.
- Ensure that you have the necessary authorizations to delete or archive these documents.
Check Configuration:
- Review the configuration settings related to document management and reorganization in your SAP system. Ensure that the settings allow for the logging of follow-on documents.
Consult Documentation:
- Refer to SAP Notes or documentation related to the FAGL_REORGANIZATION338 error for any specific recommendations or patches that may address the issue.
Contact SAP Support:
- If the issue persists after following the above steps, consider reaching out to SAP Support for further assistance. They may provide additional insights or solutions based on the specific configuration and version of your SAP system.
Related Information:
FBL3N
, VA03
, VF03
, and FAGL_REORGANIZE
.By following these steps, you should be able to identify the cause of the error and take appropriate action to resolve it.
Get instant SAP help. Start your 7-day free trial now.
FAGL_REORGANIZATION337
Document flow of sales document item &1 &2 could not be determined
What causes this issue? Error occurred while reading the document flow of the sales document item.System Response The system could <ZH>not<...
FAGL_REORGANIZATION336
Sales document item &1 &2: company code cannot be determined
What causes this issue? The supplier company code or the seller company code could <ZH>not</> be determined for sales document item &...
FAGL_REORGANIZATION339
Item &1 &2: Substituted profit center &3 is not compatible with ReorgPlan
What causes this issue? The substitution function for determining the profit center of billing documents has determined profit center &V3& fo...
FAGL_REORGANIZATION340
Processing of item &1 &2 was terminated due to database error
What causes this issue? For the reassignment of sales document items, multiple changes need to be made consistently: Adjustments to the item itself A...
Click on this link to search all SAP messages.