cancel
Showing results for 
Search instead for 
Did you mean: 

DMS object link error eventhough OBJECT CHECK is not selected

Former Member
0 Kudos

Hello Friends,

I have a doubt in DMS ,

I am trying to attach non existing document(In Documnet object link)

to documnet info record but it is rasing the error message that 'object does not exist' eventhough OBJECT CHECK is not slected in customization for the object link check. All other object links(vendor and customer) are working fine for the documnet info record but only for the documnet to documnet(means documnet object link ) is raising error message.

Check:

It is checking the documnet in the below program

main program: SAPLCVCH

Sub program :LCVCHF02

code:

  • Read from database

ELSE.

SELECT SINGLE * FROM draw INTO psx_draw

WHERE dokar = ps_drawkey-dokar AND

doknr = ps_drawkey-doknr AND

doktl = ps_drawkey-doktl AND

dokvr = ps_drawkey-dokvr.

IF sy-subrc <> 0.

pfx_error = 'X'. EXIT.

ENDIF.

SAPLCV130

LCV130F03

Here error message raisng:

IF sy-subrc EQ 4.

Special Validation if the object is Document Info Record, We have to

check document number and document type

IF ( ( draw-doknr NE space OR draw-dokar <> space )

AND drad-dokob = 'DRAW' ).

IF pf_new = 'X'.

CLEAR intdrad-objky.

MODIFY intdrad INDEX tab_x-current_line.

MESSAGE e184 WITH drad-dokob objtab.

ELSE.

MESSAGE w184 WITH drad-dokob objtab.

ENDIF.

ENDIF.

Thanks in Advance

Jay

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Jay,

Independent of the 'Object check' flag within document management

system customising, the object links can be broadly categorised into

two types

1. Links that can be created without their existence previously

Ex: material master, equipment, customer, vendor etc.

This means that even thought a material XYZ does not exists in R/3 there

is a possibility to link it to a document, and create the material at

any later point of time.

2. Links that are mandatorily to be present before linking them with

the document. Ex: WBS element, Sales order item, document info record,

asset master etc

This means that R/3 system expects the links to be existing before they

are linked to any document.

The above explaination goes irrespective of the customising setting.

The system is designed to reject NON-existing entries of WBS elements,

sales order etc, when user tries to link them.

I hope this information is usefull for you. If it is, please reward points.

Best regards,

Christoph

Former Member
0 Kudos

Hi Christoph ,

Thanks for your reply....

But I have a quesry reagrding the same.As you said in the second point Mandatory object should(for example: Document info record) exist before linking.

I have a requirement that non-existing objetcs shoulöd attach.

Please clarify the below points.

1) Is there any SAP note exist for attaching non-existing mandatory object links(ex: document info record).

2) Other than SAP note is there any solution exist????

Thanks in Advance

Jay

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Jay,

please see the following SAP notes for further informations on this isssue:

893196 DMS: Unnecessary check for object existence

863177 DMS: Validation of attached object link

814466 DMS: Validation of Object Links.

Best regards,

Christoph

Former Member
0 Kudos

Hello Christoph ,

The below notes I already cheked.Little bit confused which one to use and that to these are already implemented.

893196 DMS: Unnecessary check for object existence

863177 DMS: Validation of attached object link

814466 DMS: Validation of Object Links.

Can you please let me know what exactly need to do for linking the non-existing mandatory object links.Can you please let me know what exactly need to do so that i can go ahead.

Thanks and Regards

Jay