cancel
Showing results for 
Search instead for 
Did you mean: 

How to create second segment

sridharreddy_kondam
Active Contributor
0 Kudos

Hi All,

Need u r help,

1) If InvoicingStatus = '3' cancel pkt, then set to DEL. Otherwise, hardcode PGI to target E1EDL18)

2)If InvoicingStatus is not '3', then create a second E1EDL18 segment with the QUALF field set to 'PIC'. PIC is used when the packing qty is not specified on the delivery, this flag will enable the confirmation PGI to pass in this case. If the pack qty is already provided on delivery, the PIC is basically ignored.

E1EDL18 is the target structure with 0.99 occurences

Thanks and Regards,

sridhar

Accepted Solutions (1)

Accepted Solutions (1)

sridharreddy_kondam
Active Contributor
0 Kudos

Hi,

if first condition is satisfied it should be displayed in E1EDL18 segment fileds

and if second condition is satisfied then a second segment E1EDL18 with the QUALF field set to 'PIC' is to be created apart from first one

Regards,

sridhar

Message was edited by:

sridhar reddy kondam

former_member189558
Contributor
0 Kudos

Sridhar,

in the target structure perform a duplicate subtree on E1EDL18. ( Right click) ... and apply the second logic to the second segment.

Cheers,

Himadri

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

In the mapping editor, right click on your target E1EDl18 and then duplicate subtree.

Now, add the mapping logic individually for each of the segements one for each condition.

Regards,

Bhavesh

Former Member
0 Kudos

Hi,

Duplicate subtree E1EDL18 segment in message mapping and put the first and second condtions seperately.

Regards

Vijaya

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

2)....

If (InvoicingStatus equals 3), add a CreateIf node function and then EIEDL18.

If (InvoicingStatus equals 3), assign constant 'PIC' to QUALF.

Give clear picture of Source and Target structures for other solutions..

Regards,

Uma