cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Parent Segment

Former Member
0 Kudos

Hi,

I need to send the Parent segment when child segment exists. How to achive

this.

My source is

-


SSG12

--SSG17

Here when SSG17 exists then I need to send SSG12 to idoc Segment

E1EDP10 (Target). In if condition I am getting the context problem, All SSG12

segment which were having SSG17 not passing.

regads,

Ansar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

First check whether SSG17 exists if it exists then use if condition and pass the

mapp the SSG17 value to target.

Use std function exists and IF condition.

Thanks and Regrads,

Chirag Gohil

Former Member
0 Kudos

hi chirag,

<i>Use std function exists and IF condition</i> - I am using this.

I am not getting the correct values. How many times SSG12 exist with SSG17 not getting generated.

Former Member
0 Kudos

How many times ur parent segment is coming.

Thanks and Regards,

Chirag Gohil

Former Member
0 Kudos

Here the Parent segment(SSG12) repeats 30 times,

Here SSG12 conains chaild SSG17 more than once in every SSG12 segment.

But in one case the child segment (SSG17) does not contain, Then I need to

send 29 times this SSG12.

regards,

Ansar.

Former Member
0 Kudos

HI,

See if you are using exists then it will give either true or false output. On the basis of true and false you will generate ur parent segment.

I think this should work for your case.

Thanks and Regards,

Chirag Gohil.

Answers (0)