cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter dynamic configuration - Multiple filenames

Former Member
0 Kudos

Hi

Can anyone explaing the following.

We are using the sender file adaper to pick up files from an ftp location. The dynamic config is used to store the filename.

We are getting 1 PI message per file, but the dynamic config in SXMB_MONI is sometimes showing multiple filenames for one message.

This makes it impossible to get the correct filename and do something usefull with it:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">xxxxxxxx1.PDF</SAP:Record>

<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">xxxxxxxx2.PDF</SAP:Record>

<SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">xxxxxxxx3.PDF</SAP:Record>

</SAP:DynamicConfiguration>

Kind regards

Thierry Boeve

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Luis

Thanks for your answer.

This note explains how you can work with multiple entries in dynamic configuration for the mail adapter.

It doesn't explain why I end up with multiple filenames in the file adapter. (while 1 message only represents just 1 file).

Kind regards

Thierry

henrique_pinto
Active Contributor
0 Kudos

Hi Therry,

you said you get 1 message per file, but that is just the main payload right?

Are you 100% sure you don't get additional files as attachments?

Check the payload entry for your message in SXMB_MONI, and see if you can find additional payloads other than the main payload.

BR,

Henrique.

Former Member
0 Kudos

No, there is only the main payload.

Kind regards

Thierry Boeve

henrique_pinto
Active Contributor
0 Kudos

It's a strange behavior, then.

I'd open an OSS message to check that out.

BR,

Henrique.

Former Member
0 Kudos

Hi.

Pls. Check the following SAP Note.

https://websmp230.sap-ag.de/sap%28bD1lcyZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1078455

It will be help you.

Regards