Skip to Content
avatar image
Former Member

Help for on mapping - Std function or UDF?

Hi All,

I am working on DELVRY03 Idoc (outbound) n doing mapping betweeb Idoc and legacy structure. In delivery line item we have lineitem quantity field E1EDL24-LFIMG. Let say if we have 3 line items with LFIMG values 5,10,15...we need add up all these and send to target total quantity field. Is there any std function or sample code for writign UDF???

Thx

Navin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 14, 2007 at 04:49 PM

    Hi,

    use sum function (from standard functions)

    but before using it use removecontext function (from node functions)

    as it sums all values from one context only

    so if you remove it will work as you need

    Regards,

    michal

    -


    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 14, 2007 at 04:47 PM

    Hi,

    Got it usign SUM std function by changing context.

    Thx

    Navin

    Add comment
    10|10000 characters needed characters exceeded