on 02-23-2012 6:16 AM
Hi Experts,
We have a requirement of attaching a file of any type(Doc,PDF,TXT,PPT) to the purchase requisition, We are able to attach a document through transaction(ME51n). Can any one please suggest are there any function modules or classes to do the same through coding.
Thanks in advance,
Regards,
Praveen
Difference between DMS and GOS attachement
GOS Attachment list:
This attachment list can be found for nearly all object (document info record, material master,euqipments,...) and allows you to add specific files to the object and store them by archivelink technique.
Original tab in DMS:
This area is something DMS specific and allows you to store original files to the document info records. This original files are normally stored in a content server and from DMS point of view you will have more functionalities as when you add the files to the attachment list.
How to create DMS attachment master?
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30bba04a-0114-2d10-6696-9898522c97df]
Important tables and FM related to DMS
[http://forums.sdn.sap.com/thread.jspa?threadID=1366084&tstart=2355]
With the tables and FMs you can work with ABAPER to achieve your requirement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can consult with your DMS consulatnt. Data management system is a module in sap which is taking care of all attchment.
It is standard module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
I guess the Methord you are following is not the Correct one,
you should not directly attach the Document in the production server as the File size varies and takes a huge space in the Production Server, for this reason we go for DMS(Data Management System), you should create the document in CV01N and then use this Document NO as reference.
Hope it helps you.
Regards,
yawar Khan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Are you asking for the ABAP Code, You can ask with your Abaper to right the code.
but the important thing is that this BAPI calls for the Standard T-Code CV01N, for creating the Document, but you are not using the same Functionality.
I doubt, if it could be used in that condition, because you need to have all the DMS Settings, all the Document Types Described and DMS document Types assigned to which all Objects they can be attached with.
Please check the prerequisites be for going for any development.
Hope it helps you
Regards.
Yawar Khan
Could you please more specific why you want to attach through coding when you have standard option of attachment in ME51N? what's the different scenario?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.