We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
Outbound Processing: Resetting Clearing Information in FI Documents or Setting User-Specific Information
This user exit can only be activated for ALE message types FIDCC1 and FIDCC2.
As standard from Release 4.6B, the FI documents that were distributed by ALE using message type FIDCC1
or FIDCC2 are cleared immediately in the sender system. All line items that contain a customer or vendor are cleared.
The clearing fields are set as follows in these line items:
G/L accounts managed on an open item basis are not cleared.
For message types FIDCC1 and FIDCC2, you can use user exit 10 to prevent clearing, or set clearing yourself.
This option should only be used with caution however.
For example, documents that have not been cleared cannot be archived. Using this option also means that you can use functions in the sender system as well as the receiver system, for example, payment of open items. The danger of this is that items could be paid twice.
User exit 10 could be applied, for example, if you only want to send copies of FI documents and the operational financial accounting system is still in the sender system. In such a case, you would probably not want to clear the sent document. Set parameter NO_AUGBL = 'X', to prevent clearing.
Alternatively, you could use it to clear individual G/L accounts managed on an open item basis.
In this case, use parameter SET_AUGBL_BY_USER = 'X' or SET_AUGBL_ALL_BY_USER = 'X' to transfer the document clearing to the customer.
It does not make sense to clear the GR/IR clearing account if for example, the GR/IR analysis RFWERE00 is to be run in the sender system. This report analyzes open items in the GR/IR account. Therefore, no automatic clearing should be carried out.
User exit 10 is called up online in function module FI_IDOC_PREPARE, and transferred to the FI document already created.
This means that the user has to know at this point whether the document will be sent by ALE or not -> See CMOD enhancements F050S002/3/4. These enable a user to prevent a document being sent at the time of posting.
User exit 10 is only called up
In this case, the whole document (BKPF, BSEG) is transferred to user exit 10 as a document copy.
The user can set the following output parameters in user exit 10.
A document copy exists in the user exit.
In the line items to be cleared, you must make an entry in the field BSEG-AUGBL, for example "X".
The standard program then sets the ALE clearing information in all line items so indicated:
Only the line items to be cleared are taken into account, that is, only the G/L account and customer and vendor accounts managed on an open item basis (BSEG-XOPVW = 'X' and BSEG-KOART = 'D'/'K').
No fields are transferred from the document copy to the original document. You cannot therefore overwrite the BKPF and BSEG originals.