Ansicht
Dokumentation

EHPRC_DMS_INT - Integrate Compliance Information into Document Management

EHPRC_DMS_INT - Integrate Compliance Information into Document Management

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you integrate compliance information into document management. By integrating this information, you can do the following:

  • Display compliance information from within document management
  • Edit basic material composition from within document management
  • Display compliance information in a Business Context Viewer side panel.

For displaying compliance information or editing a basic material composition from within document management, you have implemented the customer exit as described below.

For the integration of the Business Context Viewer side panel, you have completed the Customizing activity Integrate Compliance Data with Business Context Viewer.

In the standard system, compliance information is not integrated.

Implement customer exit CV110001

To activate the integration of compliance information into document management, you need to implement customer exit CV110001 and integrate the corresponding functionality.

  1. Create enhancement project
    1. Create a new enhancement project in transaction CMOD. Provide a name and short text.
    2. Navigate to the 'Enhancement Assignments' section. Assign the enhancement CV110001 (DMS: Enhancements for DMS Dialog (FB: CV110)) to the project and save.
    3. Navigate to the 'Components' section.
  2. Implement Screen Exit
    1. Double-click on the screen exit SAPLCV110 0200 of enhancement CV110001 to enter the screen maintenance.
    2. Enter a short description.
    3. Set screen type to 'subscreen'.
    4. Edit the screen layout.
    5. Add an new button for the 'Show Compliance Information' function.
Set the Name property to 'SHOW_CI' (element name).
Set the Text property to 'Show Compliance Information' (button text).
Set the FctCode property to 'SHOW_CI' (function code).

  1. Add an new button for the 'Edit Basic Material Composition' function.
Set the Name property to 'EDIT_BM' (element name).
Set the Text property to 'Edit Basic Material Composition' (button text).
Set the FctCode property to 'EDIT_BM' (function code).

  1. Activate and save the screen.
Note: If you want to provide only one of the two functions in document management add only the required button to the screen.
  1. Implement Function Exit 001
    1. On the 'Components' screen of the enhancement CV110001 double-click on the function exit EXIT_SAPLCV110_001.
    2. Double click on the name of the include in this function module. Create the include, if the system asks you to.
    3. Add the following function call in the include:

CALL FUNCTION 'EHPRC_CV110_001_SCREEN_ACTIVE'
EXPORTING
IS_DRAW = ps_draw
IMPORTING
EV_NAME_TAB1= pfx_tab1.
  1. Save and activate the include.
  • Implement Function Exit 002
    1. On the 'Components' screen of the enhancement CV110001 double-click on the function exit EXIT_SAPLCV110_002.
    2. Double click on the name of the include in this function module. Create the include, if the system asks you to.
    3. Add the following function call in the include:

    CALL FUNCTION 'EHPRC_CV110_002_SET_DATA'
    EXPORTING
    iv_tcode = pf_tcode
    is_draw = ps_draw.
    1. Save and activate the include.
  • Implement Function Exit 004
    1. On the 'Components' screen of the enhancement CV110001 double-click on the function exit EXIT_SAPLCV110_004.
    2. Double click on the name of the include in this function module. Create the include, if the system asks you to.
    3. Add the following function call in the include:

    CALL FUNCTION 'EHPRC_CV110_004_OKCODE'
    CHANGING
    xv_okcode = PFX_OKCODE.
    1. Save and activate the include.

    Note: The exit function 003 is not needed, since this integration function does not change any document data.

    1. Activate the Enhancement
      1. On the 'Components' screen of the enhancement CV110001 activate the enhancement
      2. Leave transaction CMOD






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

    Length: 5585 Date: 20240523 Time: 180116     sap01-206 ( 48 ms )