cancel
Showing results for 
Search instead for 
Did you mean: 

FileName in BPM

Former Member
0 Kudos

Hello everybody,

we poll via file adapter. The files we read are processed in BPM.

Is it possible to access the value of a file name in BPM?

Regards Mario

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Mario,

yes,

set the Set Adapter-Specific Message Attributes indicator at communication channel and choose file name to store adapter attribute "file name" in the message header of the XI message. Map the value into the message to have it at BPM containter.

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm">SAP Library: Configuring the Sender File/FTP Adapter</a>

Regards,

Udo

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Mario,

Like pointed by Michal, I guess you would need to access the filename in a mapping outside the BPM and then store it against some Element in your target message mapping output!

There was a similar discussion in a similar thread sometime back and it was found that one cannot access the filename / dynamic configuration inside a BPM.

Regards

Bhavesh

Former Member
MichalKrawczyk
Active Contributor
0 Kudos

Hi Mario,

you can always do it like shown in my blog:

(put the mapping out of BPM)

/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm

BTW

this is even highly advisable as you relieve the BPM from performing

the transformation step (BPM best practice!)

Regards,

michal