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: 
Read only

Issue in Creating CSV file on FTP folder from SAP internal table data via background job program

Ajain
Explorer
0 Kudos
977

Hello SAP Community,

I am getting the issue/error in Creating CSV file on FTP folder from SAP internal table data via background job program.

Background Job is failing.

Connection is fine via FM 'FTP_CONNECT'.

Program in Foreground is working fine!

Please help me out with the FM's/solution.

Thanks in Advance.

AJ

4 REPLIES 4
Read only

Sandra_Rossi
Active Contributor
0 Kudos
923

Pass the correct parameters for the RFC destination:

  • SAPFTPA: use the FTP client of the ABAP server (dialog or background)
  • SAPFTP: use the SAP GUI FTP client of the user's laptop (dialog only)

 

Read only

Ajain
Explorer
0 Kudos
916

Hello Sandra, Thank you for the prompt response.

As per the understanding, we are using WINSCP so in that case SAPFTPA is not used for RFC destination.
For background, we are trying to send internal table data from SAP to FTP folder via abap program.
Is there are a workaround for the background job to complete successfully.?

 

 

Read only

Ajain
Explorer
0 Kudos
786

Hello Raymond,

This document mainly focus on set-up the synchronization between local system folder and FTP server folder.
Can you please share the solution specific documentation/note. 

Thank you in advance for the help and support.