cancel
Showing results for 
Search instead for 
Did you mean: 

Object Link to Contract in SAP MM

MangeshP
Active Contributor
0 Kudos

Dear Friends,

We can link to Contract Line Items( displayed in ME33K).

We can link only to Line items.

My requirement is to link DIR at Contract created by ME31K at header level and not at item level.

There is also one standard object available called "/BEV3/CHWV - Contract Handl. Doc". Is it same as created in ME31K.

I have configured this object in DC10.When I create DIR and go to Object link tab page I see Blank screen.

Is there any way we can link DIR directly to Header of Contract and not to line items.

With Regards

Mangesh Pande

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mangesh,

This can be achived with help of Abap'r and following steps:

Purpose

You can also link documents with SAP objects for which no linking is supported in the standard SAP System.

Prerequisites

In Customizing for the Do cument Management , you must maintain the key fields for the SAP objects that you want to link to document info records, by choosing Control Data  Maintain key fields.

Process

1. Program two screens for the following module pools for the SAP object that is to be linked additionally:

u2013 SAPLCV00

u2013 SAPLCVIN

The process logic must be according to that of screen 0204 in program SAPLCV00 and must not be changed.

2. Create the function module OBJECT_CHECK_XXXX (XXXX = name of the SAP object).

If this object can be classified, this function module already exists in the standard system. Otherwise, copy the existing function module OBJECT_CHECK_EQUI (linking of equipment) and change it to suit the new object.

Result

After you have completed the above, documents can be linked with the SAP object that you have added. You define the settings for this in Customizing for the Document Management System (see: Object Links).

Please chekc and revert.

Regards,

Ravindra

Answers (1)

Answers (1)

MangeshP
Active Contributor
0 Kudos

Thabnks