cancel
Showing results for 
Search instead for 
Did you mean: 

Document Type - Object link to be made mandatory

former_member210673
Participant
0 Kudos

hi All,

We are having a requirement that - For a particular 'Document Type' Object link shall be made mandatory.

Ex: For Doc. Type: ABC - 'Sales Document - Item' is MANDATORY

      For Doc. Type: XYZ - 'WBS Element' as Object link is MANDATORY

How do I achieve this?. Pl. advise.

-thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

What Shishir said is very much correct. I have implemented this in my project for many document types & it is working fine without any issue since long time.

Thanks

Pravin

Former Member
0 Kudos

Hi,

You can use BADI DOCUMENT_MAIN01~BEFORE_SAVE.

Here you can develop a check against DIR for WBS/Sales order object link via Object Type like PRPS for WBS entry saved in DRAD table or not.

Regards

Shishir

former_member204787
Contributor
0 Kudos

Hi ,

In DC10 define document type and assign sap object links . To make fields as mandatory its an risky in DMS customization it will effect on other sap object links like BOM item,BOM header. why beacuse for an BOM item you cannot assign values directly on CV02N.So that you need to create DIR  first and than assign BOM item from user t-code . 

Regards,

chandu.

former_member210673
Participant
0 Kudos

Dear Chandu,

What you have told makes sense. But, as in Q: - I am trying to check for the 'Object-link' restriction for 'Objects' that are configured for a particular 'Document Type'. 

-thanks