Skip to Content
author's profile photo Former Member
Former Member

Mass upload of documents under SAP Record Mangement (DPF)

Hi Experts,

I have a requirement of mass upload of files into DPF.

We need to pick the files from a given Unix location and create the records in employees DPF.

I am aware of the solution of creating archieve links and link them to DPF.

However, our requirement is to store documents in SAP RM under the same repository where the files in DPF gets stored.

As far as I know, only records from HCM process and forms sits in SAP RM.

I Also tried Creating the document and linking them to record. But could not execute the FM SRM_DOCUMENT_CHECKIN_VIA_TAB.

My question to the forum is, whether such requirement is feasible to map using custom code?

Please help!



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 12, 2013 at 10:04 AM

    Dear Mukesh,

    I hope you know that you require a content model which has been linked to the repository you want the documents to be stored in.

    For creating a document & linking, the steps are : create document(SRM_DOCUMENT_CREATE), assign content to it(SRM_DOCUMENT_CHECKIN_VIA_TAB), link to the record(SRM_RECORD_ADDELEMENT) & then commit.

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ravindar,

      It wouldn't be possible for me to provide the code snippet since I am working in a different project and client now.

      I assume your requirement is to store the documents in SAP repository.

      My approach was slightly different.

      I followed the archive link approach.

      FM - ARCHIVOBJECT_CREATE_TABLE and then creating a link to the DPF.

      So that's how the documents were stored on a content server, and through the DPF link we could access them.

      I would suggest you to open a new thread for your query, since the thread is quite old and closed.

      I hope we have DPF Gurus on the forum who can help you to store the documents in SAP repository.


      Mukesh Dhakar

  • Posted on Dec 11, 2015 at 09:20 AM

    Hi Experts,

    We have a requirement where-in we have to upload files to RMS from existing attachments in purchase requisition created in ECC or documents from a legacy environment.

    Can we do that using a BAPI? Is it possible to do that with BAPI_RECORD_CREATE?

    Please suggest. Will be great if you could share an example for this function in order to analyze this scenario.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.