This BAdI is dedicated to the population and ALV handling of the Custom fields for the Late Invoicing report as well as the ‘handling’ Method that can be used to trigger custom processing of a Late Invoicing result being identified during the analysis run.
The following Interface Methods are provided:
Late Invoicing Custom Fields
This Method provides the details of the Result Record at runtime in CHANGING parameter, allowing for direct access to the Custom fields. The Fallback Class provides some sample code for this Method.
Late Invoicing Custom Field Catalog
This Method grants access to the ALV Field Catalog that will be used during the Transformation of the results and can be used to unhide the custom fields and control their rendering using standard ALV techniques. The Fallback Class provides some sample code for this Method.
Late Invoicing Double Click
This Method is invoked when a a Custom field is double-clicked in the ALV display and can be used to handle the request as required. The Fallback Class provides some sample code for this Method.
Late Invoicing Handling
This Method allows for custom logic to be triggered during the analysis of Late Billing results. Note that this Method will only be invoked if the associated runtime parameter is set for the Analysis program:
A result outcome is expected to be be populated in RESULT field TRIG_RESP with the following values supported:
0 No Action
1 Action In Progress
2 New Action
3 Action Failure
In addition the setting of the ALV LED Indicator can be handled directly by using RESULT field LIGHT.
Post your comment on this topic.