SAP ABAP IMG Activity FAGL_AUTH_ADD_DATA_C (Implement Additional Authorization Check for Reporting)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-GL (Application Component) General Ledger Accounting
     FAGL_REPORTING (Package) Reporting: New General Ledger
IMG Activity
ID FAGL_AUTH_ADD_DATA_C Implement Additional Authorization Check for Reporting  
Transaction Code S_PCO_36000451   (empty) 
Created on 20050617    
Customizing Attributes FAGL_AUTH_ADD_DATA_C   Implement Additional Authorization Check for Reporting 
Customizing Activity FAGL_AUTH_ADD_DATA_C   Additional Authorization Check 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FAGL_AUTH_ADD_DATA_C    

Use

You can use this BAdI to implement an additional authorization check for customer fields. The BAdI is run after the standard authorization checks in General Ledger Accounting and after the authorization checks in SAP modules or industry solutions.

Generally, the calling program and a structure with data are transferred to the methods. The methods have different data transfer structures:

  • The transfer structure FAGLPOSX is transferred by line item display / line item drilldown. The data generally comes from the entry view and the general ledger view. The field descriptions come from table BKPF / BSEG. Fields from the tables in New General Ledger Accounting are converted into BKPF/BSEG names.
  • The method with transfer structure GLU1 uses programs that only read the totals tables and line item tables in New General Ledger Accounting (such as balance display and drilldown reports for the transaction figures in New General Ledger Accounting). With this method, an additional parameter is transferred, displaying whether the data originates from a line item. If this parameter is not set, the data comes from a totals record.

You can perform authorization checks in the BAdI methods. If a user does not have authorization for a field value, you set the exception NO_AUTHORITY. The call program then skips the transferred data record.

Requirements

Standard settings

Activities

Implement the methods of the BAdI.

For information on using BAdIs, see this documentation.

Example

Business Attributes
ASAP Roadmap ID 153   Design enhancements 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG FAGL_AUTH_ADD_DATA_C 0 HLA0001201 Standard G/L Account Maintenance 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050617 
SAP Release Created in 600