on 11-07-2007 11:33 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.