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

Sending a File or document to Filenet Server

Dear Techie,

My requirement is i have a files (.txt or .pdf or .doc. or .xls..) located on SAP Application server ( AL11). I need to write a custom program which needs to download the file from the applicationserver and needs to upload or send the file to Filenet server and get back the url for file in Filenet.

For this i am trying with the function module SCMS_HTTP_CREATE, but i am fiacing a problem like after uploding the file into filenet the content is dispalying in single line rahter original file contains multiple lilnes.

Please help me to solve this problem.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2010 at 12:42 PM

    if you are looping that URL internal table

    Define like this : new_line type c value cl_abap_char_utilities=>CR_LF

    Append this keyword CR_LF before your append.

    Regards,

    sri

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 20, 2011 at 11:38 AM

    Hi Murali

    If you have sample code for this requirement .Could you please share with me .

    I am facing same probelm like you.

    Thanks

    kamesh

    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.