Skip to Content

Download file from share point to SAP

Hi Experts,

I have requirement to download file from SharePoint to SAP ECC. is there any BAPIs or function modules to achieve the same.

I s there any other way to achieve the same??

Regards

Sri

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Apr 23 at 08:47 AM

    Hi

    Check this link. this may give you some lead.

    https://answers.sap.com/questions/1428850/get-file-from-a-url-using-abap.html

    Regards,

    Venkat

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 23 at 08:10 AM
    -1

    Whatever the code u have given only works for application server files .

    My scenario is I have SharePoint link from there I need to download file in sap using fm or bapi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 23 at 08:35 AM
    -1

    DATASET concept is used only for application server files not external system files.

    For example I have share point link like below

    Https://demofile.pdf

    I want to to download into sap

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 23 at 07:51 AM
    -2

    Dear Srinivas

    You may use following pseudo code -

    DATA: e_file like rlgrap-filename value '/xxx/xxx/xxx/file.txt'.
    open dataset e_file for output in text mode.
    lOOP AT it_datatab......
       transfer it_datatab to e_file.
    ENDLOOP.
    close dataset e_file.
    

    Regards,

    Venkat

    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.