on 09-26-2005 10:43 AM
Dear All ,
<b>Is it necessary to have XI 3.0 SP12 for Dynamic target xml file in file adapter . Currently we are using XI 3.0 SP9 .</b>
The Scenario is like this : IDOC-XI-FILE
I have to send one xml file per store for material master . In this case how can I define my file name with store name in File adapter configuration in ID .
Naming convention should be
<storename>_date_masterdataname.xmlwhere store name is one of field of IDOC .
Plz help me .
Thanks in Advance
Regards
Prabhat
Hi Prabhat
Yes SP12 is required. If you have SP12, you can use the variable substitution option in the File Adapter.
Basically to use the dynamic file name option, your final payload should have the the 'store name' as one of its field. Thats when the value can picked up by referencing the payload.
But in case your final output file should not have the 'store name' field in it, it is not a problem. That particular field also can be suppressed using a feature in 'File Content Conversion' parameters.
cheers
Sameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prabhat
Module Processor is a good option, but the blog suggested by Arpit, if i am not wrong, does not have a dynamic file name associated to it. In the sense it picks up the filename mentioned, from the sender file adapter.
So how is that going to help Prabhat, who needs a dynamic file name??
cheers
Sameer
Dear Samir ,
I agree with your suggestion and infact we are going for SP12 upgradation
But for my knowledge purpose I want to know <b>where I should write the code for the module processor</b> i.e Process function and convert function . I am not able to understand where I should write the java code mentioned in the Weblog.
Thanks in advance .
Regards
Prabhat
Hi Prabhat
The following links will help you in understanding the usage the module processor and to deploy,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples... to develop a module for reading file name in a sender file adapter xi 3.0.pdf
http://help.sap.com/saphelp_nw04/helpdata/en/e9/61e1407e858031e10000000a1550b0/content.htm
cheers
Sameer
Hi
<i>>>Is it necessary to have XI 3.0 SP12 for Dynamic target xml file in file adapter</i>
Yes it is necessary. On SP9 u don't hav this facility.
You can do this either by updating to <b>SP12</b> or
u can achieve this with the help of <b>Module Processor</b>,for that go thru this blog
/people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
Regards
Arpit Seth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabhat ,
Yes, you must have SP12.
Refer to this blog for more details
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
Cheers
Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.