Ansicht
Dokumentation
FMCA_SAMPLE_P290 - TRM: Clearing Reset/Reversal during Delta Posting
BAL_S_LOG - Application Log: Log header data General Material DataThis documentation is copyright by SAP AG.
Functionality
The function module called for event P290 could be used for customer specific clearing resets and reversals of PSCD documents posted for Form Bunde which is currently re-assessed.
The event P290 is triggered only for the posting control 'Delta Posting' after the event P312 is triggered, so that the originally existing debit items will be considered together with the new delta postings. In contrast to that, posting control 'Reverse and New Posting' will not trigger this event and will keep all existing postings from the form process reversed.
Importing parameters are:
- IV_RETURN_ID - form bundle key
- IV_ORIGIN - from where was event triggered ('BILLING' or 'TO_ZERO')
- IT_MAP - table containing the assignments of billings documents to be adjusted to adjustment billing documents (output from event P312)
The messages to be displayed in Form Processing Framework could be appended to parameter table CT_RETURN.
The usage of COMMIT WORK. and ROLLBACK WORK statements is allowed in implementation for this event.
Example
You can call FMCA_EVENT_P290, the sample implementation for this event, to realize the following:
- get the billing documents, invoicing documents and PSCD documents posted for the form bundle which is to be re-assessed
- get all PSCD Interest documents (posted for these invoicing PSCD documents) and reverse them, if they are not reversed or written off yet
- get the clearing documents (which clear these invoicing PSCD documents) with clearing reasons Account Maintenance, Automatic Clearing or Transfer Posting and reverse them
- get the clearing documents (which clear these invoicing PSCD documents) with clearing reasons Incoming Payment and do clearing reset for them
As a sample delivery, all clearing documents with clearing reasons other than those above mentioned will not be included for similar processing. Each custom implementation of the event shall make project specific decisions what kinds of clearing documents can be reversed and/or clearing reset here.
Whenever an error occurs during reversal or clearing reset the further processing of this event will stop and processing of calling program will continue. The user should be aware of this and should do the necessary manual steps to reverse and/or reset clearing of remaining documents as required.
Notes
Further information
Parameters
CT_RETURNIT_MAP
IV_ORIGIN
IV_RETURN_ID
Exceptions
Function Group
FMCA_FPF_SAMPLEBAL Application Log Documentation Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 2942 Date: 20240523 Time: 120239 sap01-206 ( 55 ms )