CL_FINB_REPORTING_AUTH_CHECK - Authorization Check in Reporting

General Material Data   General Data in Customer Master  
This documentation is copyright by SAP AG.

Functionality

There is no cross-application authorization object that is automatically checked inpackage FINB_REPORTING. For this reason, an authorization check needs to be implemented individually for each specific application.

The abstract class CL_FINB_REPORTING_AUTH_CHECK is used as the interface for authorization checks in reporting.

With the authorization check, the system can check the selection criteria or select beforehand all of the data requested by the user:

  • Checking the selection criteria:
  1. A selection is only permitted if all selection criteria relating to an authorization are covered by the respective authorizations.
  2. The authorizations are appended to the selection criteria using an AND operation.
Before the report data is selected, the method CHECK_SELECTION_CRITERIA is called. This method can be used to check the selection criteria and make any necessary changes.
  • Selection of all data requested by the user:
The authorizations are checked for each selected record. All columns or rows for which there are no authorizations can be hidden here.
Before the requested data is issued, the method CHECK_OUTPUT_LIST is called. This method can be used to change the data to be issued.

The system can set appropriate messages in the transferred message handler. In the case of an error message, no data is displayed.

Note

The line items and documents are displayed in the same way. The context in which an authorization checkis to occur is stored in the attributes REPORT_ENVIRONMENT and CLASS_NAME_REP_ENV. The reporting tool sets in each case the navigation target IF_FINB_NAVIGATION_TARGET as the context.

Relationships

Example

Notes

Further information



PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.


Length: 2016 Date: 20120526 Time: 124642     triton ( 86 ms )