Show TOC

 Enhancement Without Modification of the Object Links Locate this document in the navigation structure

Use

In the SAP system, a large number of object links are provided to documents such as materials, equipment, and production resources/tools. You can find the complete list of SAP objects in Customizing for Document Management, under   Control Data   Maintain Screen for Object Link.   In this activity you can also enter your own object links.

The Business Add-In (BAdI) is defined so that you can integrate your own objects in transactions for document management (CV01N, CV02N, CV03N, CV04N) without modification.

Note Note

You must integrate the object link from the object using the APIs of the function group CV140. SAP objects need to be modified.

End of the note.

Integration

The interface for this BAdI is defined in the SAP system, and the call for the implementation is programmed into the application programs for document processing.

  • Subscreens for Dialog Processing

    Your call your subscreen from subscreen container 1500 in the document management program.

    To do this, you create a program that calls the subscreen. Then you need to make the implementation.

  • Implementation of the Business Add-In

    The Implementation includes information about the program that contains the subscreen that you want to call. For example, you create in implementation a subscreen for document processing and document search.

Prerequisites

In order to create the customer program in the Screen Painter, as well as to create the implementation, you need to be able to use the ABAP programming language.

You need to do the following in Customizing for Document Management:

  • Maintain Screen for Object Link Enter screen number 500 for subscreen container 1500.In this case, the application program copies the flow logic for screen container 1500.These settings are made in   Control Data   Maintain Screen for Object Link.  

  • Maintain Key Fields Enter the object. You do not need to make any other settings (such as transaction code).

  • Define Object Links for Document Type Create an entry for the document type that you want to link with the new SAP object.You make these settings under   Control Data   Define Document Types   Maintain Object Link Descriptions   and Define Object Links.

Features

With this Business Add-In, you can edit the dialog processing for the new object links by using the following transactions.

Edit Document

Find Document

Create documentTransaction CV01N

Find document using object links (transaction CV04N)

Change documentTransaction CV02N

Display documentTransaction CV03N

Activities

You need to do the following for new object links:

  1. You need a subscreen to maintain link data. Create separate subscreens in your program for both document processing and the search function. These subscreens must each contain a table control for the object link data.

    You program the complete flow logic for the new subscreen in Screen Painter (transaction SE51). You program the screen layout in PROCESS BEFORE OUTPUT (PBO), and the screen processing in PROCESS AFTER INPUT (PAI).

    You can find information on creating the program under:

    Screen Containers and Customer-Specific Subscreens .

  2. Implement the program to process the subscreen with reference to BAdI definition DOCUMENT_OBJ. Use the following function:   Tools   ABAP Workbench   Utilities   Business Add-Ins   Implementation   (Transaction SE19).

    You can find information on BAdI implementation under: Implementation Interface .