cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PO : File to Mail Scenario

vk_k3
Participant
0 Kudos

Hello Guys,

I have a very simple scenario, where I have to pick a csv file and send the same as an attachment to an Email.

I know the theory is simple in this case, but however I am looking for simple and best scenario.

I am trying not to use mapping if possible.

I am using SAP PO 7.4 Java only.

Any thoughts ?

Regards,

Vk

Accepted Solutions (0)

Answers (3)

Answers (3)

iaki_vila
Active Contributor
0 Kudos

Hi Vk,

I think you should use ESR development,afaik there is not standard module to support your requirement entirely and to do your own module adapter could be quite difficult.

Regards.

iaki_vila
Active Contributor
0 Kudos

Hi Vk,

According with Roberto Cantero you can do it with PayloadSwapBean, this document could be helpful http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5...

Regards.

vk_k3
Participant
0 Kudos

HI Inaki,

As I have replied,

I dont have an XML payload with which I can have an attachment.

I am using FTP so I dont have "additional files" option also.

Any other suggestions ?

Regards,

Vk

former_member193376
Active Contributor
0 Kudos

Do a FTP to file scenario first, where you could use your FTP adapter to pick the file and drop it in a file directory and then use a file adapter to pick the file and send it via mail as an attachment. so in this case you will have the additional File option.

Regards,

Saiyog

vk_k3
Participant
0 Kudos

Hi Saiyog,

That is not a good solution.it will introduce another single point of failure.

Also we dont have 2 files in my requirement.

i have only one csv file which I have to attach directly to email.

Any other thoughts?

Regards,

Vk

rcsegovia
Active Participant
0 Kudos

Hi VK ,

Have a look into

regards,

Roberto.

vk_k3
Participant
0 Kudos

HI Roberto,

Thanks for your quick response!

Just to repeat my requirement again,

I don't have a payload and an attachment to swap the same.

All I have is only a single CSV file in an FTP and I have to pick it and attach it to an email.

The Email Body is empty.

I dont think I can use PayloadSwapBean.

Regards,

Vk