×

[PR]この広告は3ヶ月以上更新がないため表示されています。
ホームページを更新後24時間以内に表示されなくなります。




Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> UserExit>AAIP0003



Index

AAIP0003

Inv.Prog. Drilldown: Cust. Enhancement
Background

Standard reporting for investment programs (current data) 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 AAIP0003. Using this enhancement, you can define any number of your own characteristics for drilldowns, and fill then from master data fields of program positions, 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:

  • AAIR0002 Appropriation requests
  • CNEX0004 Projects

This enhancement only applies to:

  • Drilldowns on the investment program (current data)

(see entry help for transaction IME0)

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

  • Drilldowns for appropriation requests

(see entry help for transaction IMD0).

Note:

For Business Warehouse (BW), you can add your user-defined fields to the extract structure for the InfoObject 0APPR_REQU without any problems (see BW Implementation Guide in OLTP Add On).

Activating and Programming SAP Enhancement AAIP0003
  1. Create and maintain enhancement structure CI_RIPASP_MDC.
    1. If it does not yet exist, create enhancement structure CI_RIPASP_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 RIPASP_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_RIPASP_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 IMEG.
    2. Take note of the messages in the log along with their long texts.
    3. Generate the characteristic definitions in update mode (transaction IMEG).
  2. EXIT_RAIMREDA_001 Supplying data to the characteristics (mandatory)
    1. Create the include to function module EXIT_RAIMREDA_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_001 Read texts for characteristics (optional)
    1. Create the include for function module EXIT_SAPLAIPJ_001, 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_002 Check values for characteristics (optional)
    1. Create the include for fuction module EXIT_SAPLAIPJ_002, 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. Function/Program:
      • EXIT_RAIMREDA_001: Inv. Prog. Drilldowns: Fill User-Defined Characteristics
      • EXIT_SAPLAIPJ_001: Inv. Prog. Drilldowns: Read Texts for User-Defined Characteristics
      • EXIT_SAPLAIPJ_002: Inv. Prog. Drilldowns: Check Values for User-Defined Characteristics

02-Oct-2005