Ansicht
Dokumentation
SRF_RPG_ACT_NEW_STAT - BAdI: Control Status Change of the Reporting Activity
Fill RESBD Structure from EBP Component Structure General Data in Customer MasterThis documentation is copyright by SAP AG.
This Business Add-In (BAdI) is used in the Financial Accounting (FI) component.
The BAdI SRF_RPG_ACT_NEW_STATUS is called when the user tries to change the status of a reporting activity manually in the Run Statutory Reports app. You can implement BAdI SRF_RPG_ACT_NEW_STATUS to restrict or control the status change of a non – report generation (Fiori app or ABAP program) activity in the Run Statutory Reports app.
For example, say, in the Clarification Phase user is not authorized to change the status of the activity to Complete. You can implement this BAdI SRF_RPG_ACT_NEW_STATUS to ensure that when the user tries to set the status of a reporting activity– an error is displayed – informing the user that reporting activity status cannot be changed in the Clarification Phase.
The BAdI contains the interface IF_SRF_RPG_ACT_NEW_STATUSwhich in turn contains the method BEFORE_STATUS_IS_CHANGED. Please find below the details of the parameters of BEFORE_EXT_ACTIVITY_IS_CALLEDmethod:
Parameter | Type | Description |
---|---|---|
IV_RPG_ACTIVITY_KEY | Importing | Reporting activity key |
IV_NEW_ACTIVITY_STATUS | Importing | New status of the reporting activity |
CT_MESSAGES | Changing | Error Message |
Requirements |
For more information about the standard settings (filters, single, or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).
For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.
RFUMSV00 - Advance Return for Tax on Sales/Purchases Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 2419 Date: 20240523 Time: 181429 sap01-206 ( 45 ms )