cancel
Showing results for 
Search instead for 
Did you mean: 

Mesg mapping:File-to-RFC-1 row in src mapped as 3 rows in RFC internal tab

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member189387
Active Contributor
0 Kudos

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

Answers (0)