cancel
Showing results for 
Search instead for 
Did you mean: 

PI File Adapter variable substitution

Former Member
0 Kudos

Hi everybody,

I do have the following message:

<?xml version="1.0" encoding="utf-8"?>

<ns:MT_FileIn_Budget xmlns:ns="urn:rlp.de:test:budgeting">

<BudgetRecord>

<Monat>Pa</Monat>

<Jahr>b_Lie</Jahr>

.................

................. etc.

I want to extract the "Monat" variable in the Receiver File Adapter as a substitution variable in the "Advanced" Tab in the

Receiver File Adapter configuration.

I have the following value in the Substitution table :

var1 payload:BudgetRecord,1,Monat,1

(and then use var1 in the filename)

If I use Header Mapping instead , everythings works.

Any ideas? something misspelled?

cheers hs

View Entire Topic
Former Member
0 Kudos

Hi Holger,

I've done this more with IDocs, but in those we have to identify the root (message type). Does this work?

var1 payload:MT_FileIn_Budget,1,BudgetRecord,1,Monat,1

holger_stumm2
Active Contributor
0 Kudos

@Mike

@abhishek

Works fine, Mike was by 50 seconds faster. Thanks for all your help

cheers hs