cancel
Showing results for 
Search instead for 
Did you mean: 

Create Object Link Field Mandatory

Former Member
0 Kudos

Hi,

I want to create Object Links Field mandatory for some document type in CV01N. so user can not upload file without linking file to any Object Links (WBS / Network Activity).

If this possible kindly let me know the steps.

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Maybe you could add some code in the BADI - DOCUMENT_OBJ. But if that doesn't work, you definately would be able to add code to the BADI DOCUMENT_MAIN01~BEFORE_SAVE. Check that there is a DRAD record (table that stores DIR object links) of object type LFA1. If the entry exists, allow the save to continue. If the entry doesn't exist, give error message for user to add vendor information.

Hope it helps!

Regards

Poongs

Former Member
0 Kudos

HI

sorry "it If the entry doesn't exist, give error message for user to add vendor information". It is not vendor information it is WBS .

Former Member
0 Kudos

Thanks Kannon..Answer is very helpfull for me.