cancel
Showing results for 
Search instead for 
Did you mean: 

how to create the segments(E1BPACCR09) at target side for duplicate segment(BBSEG) values like (01,50,50)

Former Member
0 Kudos

Hi,

Please see my mapping below

in Split by value display queue it shows duplicate values but its not creating the segments for two values 50,50. it creates for only one value in testing that is my problem.

in below image only 2 Segments E1BPACCR09 are there i need 3 segments for 3-BBSEG VALUES (01,50,50). HOW To Achive This Plz Help me.

Thanks,

Bhaskar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Grzeg,

i have tried without split by value but its merging the segments(E1BPACCR09) in 1st idoc, (E1BPACCR09)sgments not coming for 2nd idoc Please observe in below image.

Mapping :-

Segments Output:--

E1BPACCR09 Segments coming under 1st idoc only. i need three E1BPACCR09 Segments in 2nd idoc. what we can do in mapping please help me.


former_member184681
Active Contributor
0 Kudos

Does it mean you have multiple accounting documents in a single message, each of them having multiple lines? If so, the final solution is (step by step):

- set the context of the source field NEWBS to the FI_BELEG node

- remove the RemoveContexts function

- remove the SplitByValue function

Regards,

Greg

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Grzegorz Glowacki,

if NEWBS='SK' VALUE is 50 then i will create a one segment E1BPACCR09.

For one more duplication value is 50 in BSEG NODE then its not creating the segment E1BPACCR09. in display queue it shows two values 50,50 in Split by value. but its not creating the segment for 2nd value 50.This is my requirement.What we can do.

Thanks,

Bhaskar

former_member184681
Active Contributor
0 Kudos

Hi,

I think I got the point finally. Simply remove the SplitByValue function from your mapping.

Regards,

Greg

former_member184681
Active Contributor
0 Kudos

Hi Bhaskar,

Most probably, your condition NEWBS = "SK" is only true for two of the three source BSEG nodes, which is why you only get two outputs. Moreover, I'm not so sure if "=" is the right function to compare values. Instead, think of using equalsS.

Regards,

Greg