Skip to Content
avatar image
Former Member

Repeat the segment(E1BPACCR01) for each ITEM


If ITEMNO_ACC is repated two times then E1BPACCR01 should populate two times. And the values in the sub- elements should be populated.

Please see the below structure.

For each ITEMNO_ACC --> E1BPACCR01 segment should be repeated and the sub nodes(ITEMNO_ACC,CURRENCY,AMT_DOCCUR) in the E1BPACCR01 also should be repeated.

Now i am able to populate only ITEMNO_ACC.

So can you hlep me in populating all the sub elements in E1BPACCR01 node.

Thanks.

Mahi.

1.png (5.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 20, 2014 at 04:20 AM

    Hi,

    If currency and AMT_DOCCUR come in sender side it will get populated.

    Are you doing this based on node or field?

    Can you share input payload?

    Regards,

    Muniyappan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Mahi

      If the CURRENCY and AMT_DOCCUR values will be taken from header and the same value needs to be replicated for each E1BPACCR01 segment, then you need to use the node function call 'UseOneAsMany'

      so the mapping would be

      Currency ( header ) ---> UseOneAsMany---> splitby value(Each value) ----CURRENCY ( target )

      AMT_DOCCUR ( header ) ---> UseOneAsMany---> splitby value(Each value) ----AMT_DOCCUR ( target )

  • Jan 20, 2014 at 06:34 AM

    Hello,

    By looking ur source and target strcurture, i believe that u want to map CURRECNY_CODE (present under header) to CURRENCY target field?

    If yes, then u have to use "useoneas many" function and ur mapping will be:

    CURRECNY_CODE-----

    LINE_IETM-----------------useoneasmany---splitby value(Each value) ----CURRENCY

    LINE_IETM-----------------

    Thanks

    Amit Srivastava

    Add comment
    10|10000 characters needed characters exceeded