on 07-27-2008 5:44 PM
Hi Everybody,
In one of my interface i need to get the file name of incoming flat file using JMS adapter at sender side. and then i am using xslt to convert it to IDOC and then posting to SAP IDOC.
my incoming filname are in this form price<DateTimestamp>.txt. when i do the tranformation this incoming file name should be part of one element in the IDOC which i am posting.
EX:
<IDOC
<REF>price<DateTimestamp>.txt</REF>
</IDOC>
Hope it is clear to everybody. I need your suggestion how i can capture this incoming file name and send it as part of IDOC.
Thanks
raj
Hi Beena,
Thanks for your help. It is very useful.
Thanks
raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shabarish,
Thanks for your reply. Is there anyway i can acheiver this please do let me know. I have one more option.In my application i am using JMS adapter at sender side and they are ready to send the filename as part of messageid, or correlation id. if so how i can get this and manipulate it. if you have any idea please do let me know
Thanks
sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this:
http://help.sap.com/saphelp_nw70/helpdata/en/43/03fe1bdc7821ade10000000a1553f6/content.htm
Thanks,
Beena.
If they are passing it in message id or correlation id,
you can access it using
<xsl:variable name="dynamic-conf"
select="map:get($inputparam, 'DynamicConfiguration')" />
<xsl:variable name="dynamic-key"
select="key:create('http://sap.com/xi/XI/System/JMS', 'DCJMSMessageID/ DCJMSCorrelationID')" />
<xsl:variable name="dynamic-value"
select="dyn:get($dynamic-conf, $dynamic-key)" />
Check this:
http://help.sap.com/saphelp_nw70/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
Thanks,
Beena.
http://help.sap.com/saphelp_nw04/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
~~~~
the link outlines the parameters you can get when you use the adapter specific properties for JMS adapter
http://help.sap.com/saphelp_nw04/helpdata/en/ca/e7673c86d19b35e10000000a11402f/frameset.htm
~~~
this is for the SOAP adapter
Note that file name is not part of the ASMA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.