on 06-13-2008 11:42 AM
hi experts,
I need to add variable after file name.
So I used variable
My payload is
- <ns1:MTI_RCIInterface xmlns:ns1="http://abcd.com/FI_IDOC_XXX_FILE">
- <RS>
- <HEADER>
<H_CODTYPENR>H</H_CODTYPENR>
<H_IDENT>EDCXQ42</H_IDENT>
<H_NUMSEQ>00001</H_NUMSEQ>
<H_DATE>20080613</H_DATE>
</HEADER>
I want to use H_IDENT.
Please suggest what i give in refernce
I gave
payload:RS,1,HEADER,1,H_IDENT,1
pl. help
Akhil
Puneet answer worked
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Akhil Rastogi,
Try to close the thread if you get suitable answers....hope you got it..
DO ENCOURAGE SDNers
Regards
chandrakanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
goto ID->File Receiver CC-->
FileName Scheme %var1%.xml
Variable Substitution-->
var1=payload:RS,1,HEADER,1,H_IDENT,1
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Akhil,
Refer the below link;
[http://www.saptechnical.com/Tutorials/XI/Variable/substitution.htm]
Regards,
Kiran Bobbala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Akhil,
Lets suppose this is ur target filename :
FI_IDOC_XXX_FILE
Where XXX is H_IDENT
then in file name schema : FI_IDOC_%var%_FILE
Variable Substituiton:
Variable Name--> var
reference --> payload:MTI_RCIInterface,1,RS,1,HEADER,1,H_IDENT,1
I am sure this will work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akhil,
Have a look at blog. It will help you.
http://www.saptechnical.com/Tutorials/XI/Variable/substitution.htm
Thanks,
Punit
Edited by: punit jhawar on Jun 13, 2008 12:50 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi I am getting this on RWB
Error Exception caught by adapter framework: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var1
var1 is the variable name i used.
why it says it cannot found var1 in message payload.
I am using xi 3.0 sp09..is that a problem.
Thanks
Akhil
Akhil,
Good to know that my input helped you.
About the recent issue, I would suggest you to check the messages in RWB--> CC Monitoring and see exactly where is the problem.
Make sure that you can access the target folder using the speciified login details.
Let us know the messages you see out there and may be we can help you.
if u r using SP12
then
Solution to the problem encountered using Variable Substitution with XI-SP12
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
SAP NetWeaver XI: Variable Substitution with Adapter-Specific Message Attributes via DynamicConfigurationBean
/people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean
regards
chandrakanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi akhil,
go thru the below and follow accordingly,
An interesting usage of Variable Substitution in XI
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
regards
chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.