on 08-28-2007 7:29 AM
Hi,
I am doing a message mapping for a file-to-RFC scenario.
The source structure has fields material and material desc.
The RFC has an internal table as a parameter with the following structure:
Item (0..unbounded)
Material 0..1
Level 0..1
Desc 0..1
The requirement is to split the material number into 3 different numbers acc to some logic. These 3 numbers will go as <b>Material</b> in the 3 diff rows in the target internal table with some values for <b>Level</b> and material desc will be mapped to <b>Desc</b>.
I tried to do this by using <b>Duplicate Subtree</b>. But i get the following error while saving the mapping:
Target structure has no such path: /ns0:ZRFC_ZMDM_PROD_HIERARCHY/PROD_HIERARCHY/item[1]/MATERIAL. Skipping mapping..... and so on for other fields...
Can someone suggest a solution for the same?
Thanks in advance.
Regards,
Karen Pereira
Hi ,
U can write Used defined function to do the same , which returns the expected result . Copy it for three times change the Logic.
Hope it helps.,
Best Regards.,
V.Rangarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.