Application Development and Automation 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: 

how to download PDF File from FTP and want to store in xstring Type

Former Member
0 Kudos
766

Hi Folks,

I want to get PDF file from FTP ,and want to store in Xstring Data type , so i can store Pdf in Custom table.

3 REPLIES 3

SwadhinGhatuary
Active Contributor
0 Kudos
278

hi,

google with 'Uploading a PDF file in an Adobe Form offline scenario'

use fm

CALL FUNCTION 'SCMS_BINARY_TO_XSTRING' for form GET PDF DATA .

pdf data convert to xml and read that from that and save custom table

Former Member
0 Kudos
278

Hello Swadhin ,

PDF File already on FTP Server ,I am using Fm's    FTP_SERVER_TO_R3 to get file from FTP,  But i am getting in Text Format. I want to get file in Xstring Type, So i can store in custom tables.

0 Kudos
278


hi,

check with

  • SCMS_FTEXT_TO_XSTRING
  • SCMS_TEXT_TO_XSTRING

An SAP Consultant: ABAP - Binary to String, String to XSTRING, String to Binary