cancel
Showing results for 
Search instead for 
Did you mean: 

need help on xi

Former Member
0 Kudos

1. How to name a file dynamically if the reciver is file. such as a

file starting with aa or endig with bb. etc....

2. if there are some 1000 or 2000 fields are there in sender side file

then which way should we prefer for mapping program.

3. if in a file to file scenario if i need a field from a rfc or some

r/3 object then how can i get that fileld to map it to the reciever

side field

Accepted Solutions (0)

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

Hi,

<i>1. How to name a file dynamically if the reciver is file. such as a

file starting with aa or endig with bb. etc....</i>

Just give the file name with aa<file name> This paarmeter can be passed based on the payload data etc.

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

just refer configuration part of this.

<i>2. if there are some 1000 or 2000 fields are there in sender side file

then which way should we prefer for mapping program.</i>

>>Purely depends on the complexity of the mapping.. If one to one mapping then no need of mapping at all. Else writing java mapping program is easier.. You can write entire root tag at a time with XSLT mapping also.. it purely depends on the complexity and message size

<i>3. if in a file to file scenario if i need a field from a rfc or some

r/3 object then how can i get that fileld to map it to the reciever

side field</i>

>>Using Mapping Lookups you can do this.

/people/michal.krawczyk2/blog/2005/09/15/xi-rfc-mapping-lookups-from-bc-to-xi

Hope this helps,

Moorthy