cancel
Showing results for 
Search instead for 
Did you mean: 

"Create Simple document" from other objects

Former Member
0 Kudos

Scenario: Creating a document using option "Create Simple document" from other objects

I have created a document type and defined the object link for Functional Location with option "create simple document"

When clicking on create icon on the additional data tab on IL02 screen, The system asks for the document type and then the file to be uploaded.

The document type that i have defined has the Description filed as mandatory field and hence i am not able to create the document.

However, for the Document type when i set the description field as not mandatory the system creates DIR. But this DIR has no description.

Please let me know if there is a BADI, using which i could set the Functional location name as the description OR if there is some enhancement by which the user is asked to enter the description when creating the document.

Warm Regards,

Vivek Mohankumar

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Vivek,

After my tests I would like to inform you that this is

the standard system behavior as the document description field is

maintained as mandatory in transaction DC10. Please note that for the

simple creation of documents this should not be set as a mandatory

field.

The creation mode can be defined in transaction DC10 for each object

under 'Define object links'.

Please note that the value "1" for the creation of documents is used

to enable a user to simple attache a word file to an object

without going to the transaction CV01n. Therefore the system behaviour

is different then creating a document by CV01n and attaching a

file to it. With simple creation mode there should not be any

mandatory fields as the user cannot enter anything during the creation

process.

However, you can change the behaviour how the document is created by

MM02 transaction if you change the customizing in transaction DC10

like this:

If you maintain the value "2" for creation of documents, the user is

put to transaction CV01n and then the description can be entered. So

maybe this would solve the issue.

Regarding a useful BADI I can only recommned you to test BADI DOCUMENT_OBJ1,

DOCUMENT_OBJ2 or DOCUMENT_MAIN01 for fill the description field.

I hope this information could be useful for you and help to avoid the

mentioned error message.

Best regards,

Christoph