cancel
Showing results for 
Search instead for 
Did you mean: 

Create document after save business object automatically

Former Member
0 Kudos

Hello DMS Experts,

I'm new in this SAP funcionality (DMS), but I have one question from my customer that is generate a DMS object automatically after save the business object of the SAP. Eg.: After save a material data (MM01).

Therefore, I wonder if there is some way of to do this by customizing.

And if anybody had this need and how resolved.

Thanks in advanced.

Best Regards,

Bruno

Accepted Solutions (1)

Accepted Solutions (1)

former_member188883
Active Contributor
0 Kudos

Hi Bruno,

Refer the steps described in the link below.

http://wiki.sdn.sap.com/wiki/display/SCM/Attaching+Design+Diagram+to+Material+Master

The steps described will not stored the document in the SAP content server but within the SAP database tables.

In case you need to store documents in SAP content server, you need to install and configure content server first. Then define document types relevant for Material Master.

In Material Master creation program, you may need to incorporate function module

BAPI_DOCUMENT_CREATE2 to create DMS document and store into the content server.

It shall require ABAP programming knowledge.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak

Thank you very much for your reply.

Then do you think that not is possible customize the DMS for create automatically a DMS Object after save the material master in MM01 transaction?

I really wish that were possible.

But really we can create by BAPI in some EXIT, BADI or Enhancement Point.

Thank you.

Best regards,

Bruno

former_member188883
Active Contributor
0 Kudos

Hi Bruno,

Through standard customizing it is not possible to achieve your requirement.

But through BAPI in some EXIT, BADI or Enhancement Point during the Material Master save condition can do the trick for your.

You may manually add the attachments as described in the link shared above.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

Through standard customizing it is not possible to achieve your requirement.

This is sad news.

But, ok!

Thank you very much for your help!

Best regards,

Bruno

Answers (2)

Answers (2)

Makal
Active Contributor
0 Kudos

Deear Bruno,

I do not agree with . This is possible.

Of course you can achieve your requirement in standard SAP DMS system. I agree with 's response. If you follow steps he has mentioned, you'll achieve what you are looking for.

Best Regards,

Amaresh Makal

Former Member
0 Kudos

Hi Bruno,

If I Understood you right, yes there is.. I'm assuming that you have an original pdf, txt and you want to save it directly from MM01 transaction without using CV01N transaction..

If it is the case;

First you have to create a document type with object link MARA from "define object links"  and enter the "CreateDocument" field "1"

Than create a profile and give a name to it under the customization of DMS: DocumentManagement-->GeneralData-->DefineProfile

1 - Enter a random name

2 - Assign/groups users:  give user names who are responsible users for DMS

3 - DetermineDefinitions:Enter your repository in the Storage Category field

and save..

For the first time it will be asking you in MM01 in "document data" window under "additional data" tab.

Push "all versions" button and than "create"..

Regards