IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  [ISC.0049.9027] Error at pub.list:appendToDocumentList - Transformers cannot loop ove

    Posted Wed September 30, 2009 09:11 AM

    Dear all,

    full message is [ISC.0049.9027] Error at pub.list:appendToDocumentList - Transformers cannot loop over list elements.
    I try to map fields out of record structure / Document into a to append Segment / record list in a MATMAS05 - IDoc. I allready mapped this Segment (E1MARMM) previously with different information and need this segment a second time with different informations.

    I use appendToDocumentList
    I don’t use a loop.

    I link the IDoc Segment to “toList” inbound and outbound. under “fromItem” I copied the fields I want to map in (including @segment and MSGFN) and linked it to the inbound fields.

    when I unlink the outbound “toList” the mapping step is working (of course doing nothing) and throwing no error. So I suppose this has something to do with receiving structure??

    Hope anyone can help.

    regards,

    Dennis


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: [ISC.0049.9027] Error at pub.list:appendToDocumentList - Transformers cannot loop ove

    Posted Wed September 30, 2009 12:47 PM

    Sounds like you need a loop over your segments then?

    /Peter


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: [ISC.0049.9027] Error at pub.list:appendToDocumentList - Transformers cannot loop ove

    Posted Wed September 30, 2009 02:47 PM

    I don’t know if this helps but here’s what I want to do (a Loop did not help):
    My I did connect itwrong

    3.8    BRANCH on 
    Alternative UoM 
    
    3.81    %rec_MANITM_EUR/COMM/EXTRA.PS_SPLY_CHN_UNIT% != %rec_MANITM_EUR/LOCL/EXTRA.PS_INVT_UNIT%: SEQUENCE 
    3.811    MAP 
    Alternative Unit of Meassures  
    
    Source  Destination 
    

    rec_MANITM_EUR (rec_MANITM_EUR)
    LOCL
    EXTRA.PS_INVT_UNIT rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MARCM
    FRTME
    rec_MANITM_EUR (rec_MANITM_EUR)
    LOCL
    EXTRA.PS_INVT_UNIT rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MARCM
    AUSME
    rec_MANITM_EUR (rec_MANITM_EUR)
    LOCL
    EXTRA.PS_INVT_UNIT rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MVKEM
    VRKME
    rec_MANITM_EUR (rec_MANITM_EUR)
    LOCL
    EXTRA.PS_INVT_UNIT rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MLGNM
    LVSME
    rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MLGNM
    MSGFN “005”
    rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MLGNM
    @SEGMENT “1”
    rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MVKEM
    MSGFN “005”
    rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MVKEM
    @SEGMENT “1”
    rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MARCM
    MSGFN “005”
    rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MARCM
    @SEGMENT “1”

                                            3.812    MAP 
    Transformers
    pub.list:appendToDocumentList
    Pipeline In  Service In 
    

    rec_MANITM_EUR (rec_MANITM_EUR)
    LOCL
    EXTRA.PS_INVT_UNIT fromItem
    MEINH
    rec_MANITM_EUR (rec_MANITM_EUR)
    LOCL
    RECORD.INVT_SC_UNIT_DIVD_FCTR fromItem
    UMREZ
    rec_MANITM_EUR (rec_MANITM_EUR)
    LOCL
    RECORD.INVT_SC_UNIT_DIVR_FCTR fromItem
    UMREN
    rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MARMM toList

                                                       Service Out  Pipeline Out 
    

    toList rec_MATMAS05 (rec_MATMAS05)
    MATMAS05
    IDOC
    E1MARAM
    E1MARMM


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: [ISC.0049.9027] Error at pub.list:appendToDocumentList - Transformers cannot loop ove

    Posted Wed September 30, 2009 03:03 PM

    I get the same message when using a different transforner for this segment → [ISC.0049.9027] Error at oxse.utils:bilde5Stellen - Transformers cannot loop over list elements. With MATMAS03 I don#t have this issue. maybe it’s something with the inititalization wrong


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 5.  RE: [ISC.0049.9027] Error at pub.list:appendToDocumentList - Transformers cannot loop ove

    Posted Wed September 30, 2009 04:43 PM

    “under “fromItem” I copied the fields I want to map in (including @segment and MSGFN) and linked it to the inbound fields.”

    If any of the fields your are mapping from into the “fromItem” are lists, that’s the issue. You either need to loop over that list or specify an index from the list to the “fromItem” field.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 6.  RE: [ISC.0049.9027] Error at pub.list:appendToDocumentList - Transformers cannot loop ove

    Posted Thu October 01, 2009 10:59 AM

    Don’t really understand but Idoc structure is
    IDoc / Document
    E1MARAM / Document List
    E1MARMM / Document List

    And I want to append E1MARMM that it looks the following
    before transformer
    E1MARAM / Document List
    E1MARAM[0] / Document
    E1MARMM / Document List
    E1MARMM[0] / Document
    desired result after transformer
    E1MARAM / Document List
    E1MARAM[0] / Document
    E1MARMM / Document List
    E1MARMM[0] / Document
    E1MARMM[1] / Document

    Strange: When I link E1MARAM to “ToList” and put structure E1MARAM under “fromItem” I get NO error but as result

    E1MARAM
    E1MARAM[0]
    E1MARMM
    E1MARMM[0]
    E1MARAM[1]
    E1MARMM
    E1MARMM[0]

    What should be Input for the loop?


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: [ISC.0049.9027] Error at pub.list:appendToDocumentList - Transformers cannot loop ove

    Posted Tue February 09, 2021 05:57 AM

    Hello,

    I had the same issue and then I found out what causes the problem:
    When I clicked in the map line going to ‘toList’, I found in properties view “indices”, where I specified that the map should be done from the first element of the input list (elements[0]) to the first element of the output list (elements[0]), which means the same for the map line going from ‘toList’ to the output list. (Refer to the screen shot bellow…)


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB