This BAdI is dedicated to the population and ALV handling of the Custom fields for the Late Billing report as well as the ‘handling’ Method that can be used to trigger custom processing of a Late Billing result being identified during the analysis run.
The following Interface Methods are provided:
Late Billing 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 Billing 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 Billing 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 Billing 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.
Comparte tu opinión sobre este tema.