Skip to Content
author's profile photo Former Member
Former Member

DMS object link error eventhough OBJECT CHECK is not selected

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 30, 2007 at 12:58 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Christoph Hopf

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.