Skip to Content
avatar image
Former Member

Segment creation in mapping

I have requirement to sum the perticular feild of all the line-item Segments of an IDOC and create another segment to place this sume of value.

how do I create an extra segment to place this value?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 21, 2009 at 08:09 PM

    Hi,

    In mapping use the standard function for summation and do your mapping something like this..

    Source --> RemoveContext ---> Sum ---> Target

    Regards,

    Sarvesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 21, 2009 at 08:12 PM

    I dint get the clear picture for your interface.

    Using "CreateIf" and Sum functions, you can create the target segment/field.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 23, 2009 at 11:09 PM

    to create an extra segment, i have to right click and create segment and apply the logic of sum: provided by Sarvesh Singh..

    Add comment
    10|10000 characters needed characters exceeded