‎2009 Aug 14 5:01 AM
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
‎2009 Aug 14 9:34 AM
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.
‎2009 Aug 16 10:21 AM
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
‎2009 Aug 14 9:36 AM
hi ,
use this link.
http://help.sap.com/erp2005_ehp_03/helpdata/EN/f8/8c423c1a7a7869e10000000a114084/content.htm.
~linganna