cancel
Showing results for 
Search instead for 
Did you mean: 

Pass Thru File to Proxy

markbernabe
Active Participant
0 Kudos

Hi Experts,

Is there a standard way to send a binary file via FTP to ABAP proxy? I won't be sending anything else, just the file. So no payload or mapping needed.

Appreciate your feedback.

Mark

Accepted Solutions (0)

Answers (5)

Answers (5)

nabendu_sen
Active Contributor
0 Kudos

Hi Mark,

Your Proxy code has to use get_attachment method to accept attachments.

You would also want to check:

Otherwise you can go for normal Inbound Proxy and perform required mapping in your ESR.

Regards,

Nabendu.

Former Member
0 Kudos

Hi Mark,

if you want to use the proxy then you should use the ESR but not for mapping. Only you need to create inbound interface in ESR to write the inbound proxy code in ECC for the service interface.

if you have constraint not to touch ESR then the only option left is you need to create a by pass scenario in PI to place the files in the ECC file system then abap program required to process the files.

Cheers

Hidayat

suman_saha
Contributor
0 Kudos

Hi,

If you need to post data in ECC as inbound proxy, you need to create inbound service interface in PI and generate the proxy into ECC, hence Operation Mapping is necessary. So you just need to create single data type for the file and use the same to create both sender and receiver side message types and interfaces. Do simple one to one mapping.

If you don't want to use proxy, if only the file need to be dumped into the server(to be checked in AL11), you may use bypass scenario and FILE adapter NFS protocol.

Suman

somil_gulati
Explorer
0 Kudos

Hi Mark,

You can pick the file using File adapter and use PayloadSwapBean to convert it as an attachment, then your ABAP proxy code can easily read the payload and extract it.

Thanks

Somil

azharshaikh
Active Contributor
0 Kudos

Hi Mark,

You can do File to File Transfer without any mappings. However in your scenario do you want to place the file into backend R/3 system File Directory?

If its a File to Proxy scenario, you can do a pass through scenario (no mappings) if your Source Structure is exactly same as the Target structure...pls chk if its same in your case...orelse you will require to do mapping step to map the Source File Structure to your required Proxy receiver structure.

Regards,

Azhar

Former Member
0 Kudos

Hello Azhar,,

I agree no mapping will be needed in this case. But as the receiver interface is proxy, I believe ESR content will be required.

BR,

Diptee