cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Send PDF file from SAP to AWS Server using ABAP

satz3443
Discoverer
0 Kudos
591

Hi,

Good Day!

I have an ABAP program which creates a pdf file of a smartform. Now, my requirement is to send the pdf file directly to AWS server using ABAP code without storing the file in application server. I have searched in the community a lot about this, but didn't get complete idea about this, hence posting a question. Will appreciate if anyone could guide me here.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Ulrich_Schmidt1
Product and Topic Expert
Product and Topic Expert
0 Kudos

If the AWS server has an HTTP interface, e.g. accepting the pdf file in the body of an HTTP POST or HTTP PUT operation, you can simply use the ABAP class CL_HTTP_CLIENT. It can be used in two ways:

  • either by providing the target URL (and credentials for the AWS server) directly in the code
  • or by creating a destination of type 'G' in SM59, where you provide the URL and credentials.
    If the AWS server expects HTTPS and logon via an X.509 certificate, this is probably the preferred option.
nagalakshmib3182
Explorer
0 Kudos
I have same Scenario, we have to place smart form generated PDF file in AWS FSX ftp from sap ecc system. can anyone help me how to achieve this ?