3 weeks ago
Hello!
I would like some help, we need to make an accounting entry referring to a document billed by SD, but it will be a manual entry, I would like to know if there is the possibility of adding this entry to the SD flow, in VF...
Is there a more Standard way possible, and if it's just Z, how would I do it?
------------------------------------------------------------------------------------------------------------------------------------
PT BR
Ola!
Gostaria de uma ajuda, precisamos fazer um lançamento contábil referente a um documento faturado por SD, mas será um lançamente manual, gostaria de saber se existe a possibilidade de adicionar esse lançamento no fluxo de SD, na VF...
Existe algum modo mais Standard possível, e se for somente Z, como eu faria?
Request clarification before answering.
In SAP, creating a manual accounting entry that integrates with the SD (Sales and Distribution) billing flow is possible, but it depends on the specific requirements and the level of integration needed. Here’s a breakdown:
Standard Approach Options:
1. User Exit / BAdI for VF01/VF02 (Standard Billing): SAP provides several user exits or Business Add-Ins (BAdIs) that allow you to enhance the billing process without modifying the standard system. For example:
User Exit: USEREXIT_ACCOUNT_PREP_KOMKCV or USEREXIT_ACCOUNT_PREP_KOMPCV in the billing document. These are located in the enhancement RV60AFZZ.
BAdI: AC_DOCUMENT or SD_VPRS_ACCOUNTING.
How it works:
You can add logic in these exits to create additional accounting entries while the billing document is being processed.
This keeps the process integrated with the billing flow and ensures consistency.
2. Accounting Adjustment in FI Post-Billing:
If you need to make a manual adjustment after the billing document is posted, you can use transaction FB01 to post directly to FI.
However, this entry would not be tied directly to the SD billing document unless additional logic (e.g., referencing billing doc in text fields) is added.
---
Customized (Z) Approach:
If standard options do not fully meet your needs, you can create a custom solution:
1. Enhancements in Billing Document Flow:
Use a custom ABAP program to insert logic that triggers additional accounting postings when a billing document is created (via VF01 or VF02).
Link this logic to the billing document (e.g., using the billing document number in the custom table or referencing the SD flow).
2. Steps to Create Custom Z Logic:
Identify the point of enhancement: Use BAdIs or user exits mentioned above.
Create a custom program: Develop a Z-program to perform the manual posting (similar to FB01) but triggered programmatically during billing document processing.
Integration with SD Flow: Store the link between the billing document and the manual accounting entry in custom tables for reporting and audit purposes.
---
Recommendation:
If possible, use the Standard User Exit or BAdI approach to maintain integration and avoid unnecessary customization. Custom (Z) solutions should only be used if the standard options cannot fulfill your business requirements.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.