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: 

Transfer PDF file to FTP server from DMS?

Former Member
0 Kudos

Hi Friends,

      I have requirement, if PO is posted it should save in DMS as PDF format. I need to pass this PDF file to FTP server  From DMS. I've completed upto DMS part. Please suggest me how to send the PDF PO to FTP server from DMS? Please provide sample code for my reference.

With Rgd's.

R.Krish.

12 REPLIES 12

arindam_m
Active Contributor
0 Kudos

Hi,

I think to pass the file from DMS to FTP server(which i assume is the application server) you might have to run some scripts at the DMS server level for sending the file from DMS to FTP server.

Cheers,

Arindam

Former Member
0 Kudos

Hi Arindam,

     Thanks for your reply, through sap scripts only i have saved PDF PO file  in DMS.

Please can clarify me, how to run the script in DMS server level. Really am not aware on that.

Also tell me, as per your suggestion if i run the script in DMS, how it will populate in FTP server?

With Rgd's.

R.Krish.

arindam_m
Active Contributor
0 Kudos

Hi,

I am not a DMS guy but if the idea is to send the PDF to DMS and Application server. I think you can do that by writing the files into application server. For DMS settings I may also have to check with my other team here. You have documentum right?

Cheers,

Arindam

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Can you please help. How was this problem resolved? I have similar requirement.

Former Member
0 Kudos

Hi Rahul,

I was taking the PO PDF file from DMS server and posting into application server (AL11). From the application server am fetching the file and sending to FTP server. This program I was scheduled in batch mode. once successfully sending into FTP sever I was deleting the file from application server. For you reference I have attached my code.

Former Member
0 Kudos

Hi Rahul,

If your issue still not yet sloved get back to me.

With Rgd's.

Krishnan.R

Former Member
0 Kudos

Thanks Krishna,

That's the direction I took. My Program is ready .

Regards,

Rahul

shadab_maldar
Active Participant
0 Kudos

This message was moderated.

shadab_maldar
Active Participant
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Krishna,

Now I have to move back the PDF file to the DMS server , how should I do it?

FM server to R/3 I have used, but the data in in Binary format, how to Move this back to the content server?

Regards,

Rahul

Former Member
0 Kudos

This message was moderated.