on 04-17-2006 12:43 PM - last edited on 02-03-2024 6:11 PM by postmig_api_4
Hi,
In XI SP12 is possible to use dynamic filename? I need to generate a filename in Adapter using the content of an element in message, how I do it?
thanks.
I have the bellow experience in Dynamic filename:
in Repository I have the message:
<ZBR_Invoic01_Marcopolo>
<HEADER>
<...>
</HEADER>
<ITEM>
<NFNUM>444</NFNUM>
<...>
</ITEM>
</ZBR_Invoic01_Marcopolo>
In reference variable subistitution :
var1 -> payload:ZBR_Invoic01_Marcopolo,1,ITEM,1,NFNUM1
This cause the error in Adapter: Cannot parse pseudo-path for variable substitution 'var1'.
I change the mesage type to:
<ZBRInvoic01Marcopolo> (without undescore)
<....>
</ZBRInvoic01Marcopolo>
and it work properly, no errors!!!
???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all,
now I see the Variable Substitution and it work fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where I found the some of Adapter(Java) patches to upgrade my system? In the SAP system data I look the level 12 on the SAPGui. What components are necessary to updgrade de Adapter (Java)?
thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi -
Check your SAP BASIS 6.40 XI Content version and make sure it is SP12 - within the patching process, applying the latest patch for this is sometimes missed and this contains your adapter metadata which affects your adapter configuration.
To check, log on to the Int. Repository and right click on your SAP BASIS 6.40 SWCV and select Display Support Package. Make sure you see at least SP12. If not, have your Basis team import this content and check you adapter config again.
Regards,
Jin
Hi Elton,
This Variable Substitution is a part of SP12. If you are not able to see "Variable Substitution" and under that "Enable" Check box in the Reciever File Adapter , then some of Adapter(Java) patches needs to updated/upgraded.
http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
Hope this helps,
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I don't see the option Variable Substitution in my Adapter Specific configuration. Remember I use the SP12.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elton,
The dynamic filename generation concept is as follows.
In your filename field. just give a variable with % symbols. (eg: %file% ).
Now, under the option Variable Name Substitution, you can give how the value has to be created.
It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.
For the former, your give
message:interface_name ,etc
and for the payload part you give,
Payload: "your element root which u wanna acecss"
Just check this link out,
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
And read the contents under variable substitution and it will help you understand the concepts better.
If you have any clarifications, do get back,
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
yes you can - you need to use Variable Substitution
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.