×

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




Sapass

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



Index

COOMEP01

CO: Customer Enhancements: Line Items
You can use enhancement COOMEP01 to make the following

modifications to line item reports:

You can add user-defined fields to line item reports. These reports can be enhanced with customer-specific authorization checks, that supplement

or replace the SAP standard report checks.

You can change the format of the reports.

These enhancements are carried out in exits that exist as function

modules

in the customer name ranges, ensuring that customer changes are not overwritten during upgrades or new releases.

Notes

Note that exits are used for all the report objects listed below. The interface therefore offers parameter I_REP_OBJECTin order to distinguishbetween the objects. Always use this parameter so that the exit uses the desired report object only.

The exits for customer-specific fields and customer-specific

authorization are run through for each record found. You should keep

this in mind when programming so that your coding does not adversely affect system performance.

The potential report objects include:

  • Cost centers
  • Orders
  • Projects (and networks)
  • Cost objects
  • Business processes
  • Document numbers

The current objects available can be taken from domain KAEP_OBJ, where they are defined as fixed values.

At present, you can extend line item reports for plan, actual, commitments, and budgets.

Example for customer-specific fields:

You want to display an FI document number in an actual line item report:

Procedure:

  1. Add the new fields to your corresponding customer include.
  2. Use transaction SM34 to maintain view V_TKALV for the corresponding report object.

    This is necessary only if you want given fields in the customer exit (to read FI document numbers, you also require the company code).
  3. Use transaction CMOD to create a project and maintain your
    user exit.
    Exact instrucutions can be found in the relevant
    application component. For more information, see the corresponding

    Function/Program:
    • EXIT_SAPLKAEP_001: Line Item Reports in Actual: Customer-Specific Fields in Display Variant
    • EXIT_SAPLKAEP_002: Line Item Reports in Plan: Customer-Specific Fields in Display Variant
    • EXIT_SAPLKAEP_003: Line Item Reports in Commit.:Customer-Specific Fields in Display Variant
    • EXIT_SAPLKAEP_004: Line Item Reports Budget: Customer-Specific Fields in Display Variant
    • EXIT_SAPLKAEP_005: Line Item Reports in Actual: Customer-Specific Authorization Check
    • EXIT_SAPLKAEP_006: Line Item Reports in Plan: Customer-Specific Authorization Check
    • EXIT_SAPLKAEP_007: Line Item Reports in Commitment: Customer-Specific Authorization Check
    • EXIT_SAPLKAEP_008: Line Item Reports Budget: Customer-Specific Authorization Check
    • EXIT_SAPLKAEP_009: Line Item Reports: Customer-Specific Preparation of Lists

02-Oct-2005