cancel
Showing results for 
Search instead for 
Did you mean: 

Replicating IDOC segment

venky_b
Participant
0 Kudos

Hi Experts,

Iam doing File to IDOC scenario. in which there is one header and multiple items.

in item there are 3 fields in sender side. for each field i have to create separate segment at the target side within one IDOC.

E1BPCOND -> this is a target segment

Cond_type-> this target field

Source field -> target field

Distisale -> E1BPCOND /Cond_type

similarly i have to create segment for other two fields

Disticost -> E1BPCOND / Cond_type

Distibookcost -> E1BPCOND/ Cond_type

Please send logic for this

thanks in adv

venky

Accepted Solutions (0)

Answers (3)

Answers (3)

venky_b
Participant
0 Kudos

Duplicate that Idoc segment

Former Member
0 Kudos

Hi,

The logic is like this.

Map your Item node to idoc like this.

ITEM -


>splitByValue (select <b>for each</b>) -


>target segment

Regards,

Sarvesh

Message was edited by:

Sarvesh Singh

nisarkhan_n
Active Contributor
0 Kudos

use SPLIT by Value function and try to map the source field to the target sgemtn..

venky_b
Participant
0 Kudos

Hello Nisar,

Within one line item there are 3 fields and for each field ihave to create segement, so total 3 segement for3 fields.

nisarkhan_n
Active Contributor
0 Kudos

so you mean from the legacy side for 1 field you ahve to crete the sepreate segment with that only field value...try using the SPLIT by VALUE it should work...

send me you email id i haev a good doc explaing this fucntino might be usefull to you.....i will mail you and then you cn decided

Former Member
0 Kudos

excuse me! don't share the email ids over snd, its against sdn policy.

nisarkhan_n
Active Contributor
0 Kudos

sorry sarvesh.......it;s a mistake from my side (-:

Former Member
0 Kudos

Venkat whay don't you try to use SplitByValue??

nisarkhan_n
Active Contributor
0 Kudos

you can read this blog for a start.

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2792. [original link is broken] [original link is broken] [original link is broken]

This will explain what SplitByValue is.