We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

AAIR0004 - IM Drilldown: Definition of User-Defined Characteristics

AAIR0004 - IM Drilldown: Definition of User-Defined Characteristics

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Background

Standard reporting for appropriation requests allows you to run reports based on a number of pre-defined master data characteristics.

If you want to use master data characteristics, which are not included in those pre-defined by SAP, in your drilldowns, you can use SAP enhancement AAIR0004. Using this enhancement, you can define any number of your own characteristics for drilldowns, and fill then from master data fields of appropriation requests, orders and projects.

A particular advantage is that you can generate your own user-defined characteristics for fields defined in the following master data enhancements:

This enhancement only applies to:

  • Drilldowns on appropriation requests
(see drilldowns for transaction IMD0)

You should also implement the related enhancement AAIP0003 if you are using:

  • Drilldowns for the investment program (current data)
(see drilldowns for transaction IME0).

You should also implement the related enhancement AAIC0003 if you are using:

  • Drilldowns on the investment program (summarized data)
(see drilldowns for transaktion IMC0).

Activating and Programming SAP Enhancement AAIR0004

  1. Create and maintain enhancement structure CI_RIRASP_MDC.
    1. If it does not yet exist, create enhancement structure CI_RIRASP_MDC. Enter the fields for your user-defined characteristics.
    2. Also maintain the foreign key relationships for the existing check tables. The system provides automatic proposals here. You can use all of the fields of the RIRASP_MDC structure in the foreign key relationships.
    3. When you define the enhancement structure, you can also enter search helps for the F4 entry help.
    4. Activate the CI_RIRASP_MDC structure.
Example:
You want to report on orders using the order type as characteristic. To do so, define the ZZORDER_TYPE field to data element AUFART in the enhancement structure. When you maintain the foreign key relationship for the field, the system automatically proposes check table T003O and creates a proposal for the foreign key relationship. .
  1. Generating the definition of the characteristic for the drilldown
    1. Generate the characteristic definitions for your new user-defined fields, initially in test mode, using transaction IMDG.
    2. Take note of the messages in the log along with their long texts.
    3. Generate the characteristic definitions in update mode (transaction IMDG).
  2. EXIT_SAPLAIAJ_001 Supplying data to the characteristics (mandatory)
    1. Create the include to function module EXIT_SAPLAIAJ_001, if it does not already exist. Supply the new characteristics with data here.
    2. Use the example program code as a reference.
    3. Pay attention to the notes in the example program code.
  3. EXIT_SAPLAIPJ_003 Read texts for characteristics (optional)
    1. Create the include for function module EXIT_SAPLAIPJ_003, if it does not already exist. Supply the texts for the new characteristics here.
    2. Use the example program code as a reference.
    3. Pay attention to the notes in the example program code.
  4. EXIT_SAPLAIPJ_004 Check values for characteristics (optional)
    1. Create the include for fuction module EXIT_SAPLAIPJ_004, if it does not already exist. Implement the value checks for the new characteristics here.
    2. Use the example program code as a reference.
    3. Pay attention to the notes in the example program code.





    RFUMSV00 - Advance Return for Tax on Sales/Purchases   Addresses (Business Address Services)  
    This documentation is copyright by SAP AG.

    Length: 4754 Date: 20200918 Time: 101202     sap01-206 ( 60 ms )