on 07-28-2006 10:58 AM
Hi All,
I've a scenario from file to IDOC. The structure of file is as follows.
Struct ( occurs unbounded times )
|
- Name
Str. of IDOC
Node
|
- name1
- name2
- name3
- name4
The problem is that the name in file can occur many times.
So if say name occurs 2 times in the file then it has to be mapped to name1 and name2 in IDOC.
If Name in file occurs 3 times it'll be mapped to name1, name2 and name3 in IDOC.
Am looking for some help.
Thanks,
Joe.
Hi,
How are you going to identify different sets of records?
You can use key fields and then map it as u wish.
Regards,
Alok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joe,
For every name in the file, you will have to map the value to the name field in the IDoc. Use SplitByValue node function available in the graphical editor. You will be able to achieve this mapping. For more about the usage, here's the documenation and a blog(where an example has been given):-
http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/frameset.htm
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Regards,
Sushumna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.