cancel
Showing results for 
Search instead for 
Did you mean: 

DMS requirement in Web Dynpro

0 Kudos

Hi,

We have requirement on web dynpro. Web dynpro screen is already developed for Quality notification on suplier portal. Now they want to attach documents to that notification from supplier end.

The requirement is like this attached document will have to be stored in DMS/content server and at the same time that document should get attached to notification number. How this can be done?

Please help.

Regards,

Atul Tulaskar

Accepted Solutions (1)

Accepted Solutions (1)

ravi_ekambaram
Active Contributor
0 Kudos

Hi Atul,

1) You need to create an separate document type for storing all supporting documents of Quality notifications.

2) Whenever supplier attach a document, create an DIR for the above document type from custom program.

3) While creating DIR from back end in addition to document description, attachment etc.,

     a) Storage category created for content server has to be provided.

     b) Quality Notification number has to provided for object linking DIR with notification

Regards,

Ravi

0 Kudos

thanks for ur reply Ravi.

Can u give more idea about custom program. how it would be?

Answers (1)

Answers (1)

MangeshP
Active Contributor
0 Kudos

Hi Atul,

Correct my understanding. your requirement is.

1. On portal you Supplier (Vendor) creates a quality notification.

2. once quality notification is created it is created also in SAP QM module.

3. Supplier has all the information on his views of which Quality notifications he has created.

4. This documents can be viewed by Internal users as well as suppliers who are not from organization.

if this is your requirement, you can use the "BAPI_DOCUMENT_CREATE2"to create a program to create a DIR when External user wants to attach the document to quality notification.

The logic of program should be When user wants to attach document he should

1. get the details of QM notification

2. Create DIR and link DIR to QM Notification ( You need to decide how to name DIR number and description and other compulsary parameters)

3. Attach the Document from users desktop and checkin in the DIR.

4. Send a confirmation message to user that document has been uploaded against QM notification.

5. If user want to View document you should use BAPI_DOCUMENT_CHECKOUTVIEW2" to create a program to display originals.

We can develope this fucntionality but you need to decide what are steps required to come upto the solution. This will aslo help your webdynpro consultant to design the system.

I know we will not be able to provide a program but we can help with program logic and some BAPI's which can do this.

Please let us know if this is helping you. Best of luck

With Warm Regards

Mangesh Pande

0 Kudos

Mangesh,

Thanks for the detailed information. We have already working on the same way as u have noted here.

My only dobt is about the check in of original. Is "BAPI_DOCUMENT_CREATE2 take care of check in?

MangeshP
Active Contributor
0 Kudos

Hi Atul,

You are coreect. BAPI_DOCUMENT_CREATE2 take care of check in also.

With Warm Regards

Mangesh Pande

MangeshP
Active Contributor
0 Kudos

Hi Atul,

Check this link. Hope it helps.

With Warm Regards

Mangesh Pande