cancel
Showing results for 
Search instead for 
Did you mean: 

File name naming convention in File Adapter configuration in ID

Former Member
0 Kudos

Hi All ,

I have a query related to xml filename created in IDOC-XI-FILE scenario based on value of one of IDOC field .

The scenario is like this :

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

<b><storename>_date_masterdataname.xml</b>where store name is one of field of IDOC .

Plz help me .

Thanks in Advance

Regards

Prabhat Ranjan

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Prabhat,

take a look at this weblog:

/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii

you have to specify variable substitution

(in the file adapter)

and give the path to the store name (in the variable sustitution table)

you <b>file name schema</b> (from the file communication channel can look like this)

%storename%_date_masterdataname.xml

Regards,

michal

Message was edited by: Michal Krawczyk

MichalKrawczyk
Active Contributor
0 Kudos

also if you need an example you can hava a look at:

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

variable substitution section

it shows a complete example with explanation

Regards,

michal