Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

doubt on badi Document_obj1

Former Member
0 Likes
892

Hi experts,

I have an requirement to customize the object link in cv01n transaction. For that i used badi Document_obj.

Now i want to know the use of this badi Document_obj1.

Thanks

Ramesh Manoharan

3 REPLIES 3
Read only

Former Member
0 Likes
669

Hi,

The function group CV130 (Object Link Document -> Object) contains the screen 1501. This screen contains all functions; exceptions are the object text and the value assignment display. You can use this screen as a template for its own object connection (for example, DMS_TEST Test Object).

Prerequisites

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

Maintain Key Fields

In the field Table enter the object DMS_TEST. You do not need to make any other settings.

Maintain Screen for Object Link

For this example you need to enter the following data:

Object DMS_TEST

Object desc. Test Object

Screen (Screen number) 500

Define Object Links for Document Type

Enter the object link for the document type that you want to link with the object DMS_TEST.

You make these settings under Control Data ® Define Document Types ® Maintain Object Link Descriptions and Define Object Links.

Implementation

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).

Enter the Filter Value DMS_TEST.

Enter the following data on the Subscreen tab page:

Program SAPLCV100; Screen 1501 (Find Document)

Program SAPLCV130; Screen 1501 (Edit Object Link)

Enter the following data on the Interface tab page:

GET_DATA

TABLE_DRAD_WORK[] = IF_EX_DOCUMENT_OBJ~TABLE_DRAD_WORK[].

activity = IF_EX_DOCUMENT_OBJ~activity.

PUT_DATA

IF_EX_DOCUMENT_OBJ~TABLE_DRAD_WORK[] = TABLE_DRAD_WORK[].

IF_EX_DOCUMENT_OBJ~TABLE_DRAD_DB[] = TABLE_DRAD_DB[].

IF_EX_DOCUMENT_OBJ~ACTIVITY = ACTIVITY.

IF_EX_DOCUMENT_OBJ~DRAW = DRAW.

OBJECT_CHECK

RUN_NO_ACTION = X.

JUMP_TO_SCREEN

call transaction MM02.

run_no_action = X.

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

Read only

0 Likes
669

Hi ,

Thanks for your helpful answer. I have another doubt my client wants to have object link for goods receipt . SAP doesnt provide

object link for goods receipt . for that i have used badi document_obj its working fine. now my doubt is client wants to see the

link documents in MIGO transaction. SO any BADI is there , pls help me regarding this..

Thanks

Ramesh Manoharan

Read only

Former Member