on 02-22-2010 2:01 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You missed the Message Type name:
payload:MT_FileIn_Budget ,1,BudgetRecord,1,Monat,1
Then in the File channel have the proper syntax.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
why do you want to use the variable substitution and not ASMA (adapter specific message attributes)?
ASMA is a lot better (supported by many adapters and easy to debug - as you see it in dynamicconfig section of PI message)
way of doing those things
try it and it will work for sure - leave variable substitution for those who did not upgrade to SP14 of xi 3.0 ...
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
maybe you can clarify a better solution for my problem:
The reason why I am using variable substitution is, that I am not using graphical mapping here.
I am using a XSLT style sheet translation (PI 7.11) as a mapping step.
I need to set the file name depending on the operation mapping.
For every specific situation (about 10) , there is one OM. This OM (XSLT, no SAP Graphical Mapping) should set a specfic filename. for every specific situation there is an integration scenario with the specific OM.
The Business Component with one comm channel should only be there once (we don't want 10 communication channels)
Do you have a recommendation ?
thx
hs
or may be we can enhance the XSLT itself: http://help.sap.com/saphelp_nw04/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/content.htm
Possible?
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.