cancel
Showing results for 
Search instead for 
Did you mean: 

Access Filename of DynamicConfiguration in InboundProxy

Former Member
0 Kudos

hi experts,

our scenario is like this: file-sender -> pi -> abap proxy.

in the inbound proxy, i need the filename, that we have uploaded.

in the file-communication-channel i marked "add adapter specific attributes" + "filename"

now the part of the dynamic-configuration in soap-header looks like this:

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

<SAP:Record
namespace
="http://sap.com/xi/XI/System/File" name="FileName">5930075168_3_2013-09-26_14.03.57.000.xml</SAP:Record>
<SAP:Record
namespace
="http://sap.com/xi/XI/Message/30/general" name="senderAgreementGUID">f57690b255eb3e16b8f99c6b1f8388e3</SAP:Record>
</SAP:DynamicConfiguration>
but i didn't find any possibility to access the filename in my proxy.
any ideas?
thx,
dieter

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

Using DC code read the filename and populate the inbound proxy field with the same (check the code given in the below link):

http://scn.sap.com/community/pi-and-soa-middleware/blog/2005/11/10/xi-the-same-filename-from-a-sende...

Thanks

Amit Srivastava

gagandeep_batra
Active Contributor
0 Kudos

Hi Dieter,

You can use dynamic Configuration for that and map the file name to any field of proxy & then use that field in your proxy.

you can see my answer for code in following thread

http://scn.sap.com/thread/3437624

Regard

gAgan