Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sending a File or document to Filenet Server

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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

kamesh_g
Contributor
0 Kudos

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