webMethods

 View Only
  • 1.  SAP forcing Order of the fields or failing

    Posted Wed August 04, 2021 06:07 PM

    For one of my implementation - SAP seem to be losing structure of IDOC (hierarchy of segments in IDOC) and putting all in same level ; we are noticing that this is occurring when an order of field moves around. Ideally in XML, order shouldn’t’ matter as long as the field is under same parent - but that is not the case here. Has anyone faced this? Our workaround is currently updating map (XSLT) or truly using document structure to export final output after mapping.


    #SAP-Adapter
    #webMethods
    #IDOC
    #Integration-Server-and-ESB


  • 2.  RE: SAP forcing Order of the fields or failing

    Posted Thu August 05, 2021 07:14 AM

    Hi,

    please provide your SAP Adapter version incl. Fix-Level and JCo version.

    Additionally check the DDIC Cache in SAP Adapter to see what is the known structure of this IDoc for the Adapter.

    Regards,
    Holger


    #IDOC
    #Integration-Server-and-ESB
    #SAP-Adapter
    #webMethods


  • 3.  RE: SAP forcing Order of the fields or failing



  • 4.  RE: SAP forcing Order of the fields or failing

    Posted Thu August 05, 2021 12:50 PM

    Issue:
    image

    All field appear at main IDOC level
    even when - they are placed under E1EDL20

    we had to move position of fields to have SAP read it correctly.


    #IDOC
    #webMethods
    #SAP-Adapter
    #Integration-Server-and-ESB


  • 5.  RE: SAP forcing Order of the fields or failing

    Posted Thu August 05, 2021 01:44 PM

    Hi Chirag,

    can you perform a lookup of this IDoc Type in SAP Adapter to see how the document is structured in IS.

    I might be wrong but I think that this related to the blank character in the field names, which separates the part after the blank into a new field named “QUALF” for this field.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #IDOC
    #SAP-Adapter


  • 6.  RE: SAP forcing Order of the fields or failing

    Posted Thu August 05, 2021 02:39 PM

    @Holger_von_Thomsen One of my expert also told me to look for spaces. We don’t have spaces in tag names - but we may have spaces within values.

    e.g. in place of <KRATE>0</KRATE> - we have some scenario of

    <KRATE>
    0
    
    </KRATE>
    

    and that can be an issue.


    #Integration-Server-and-ESB
    #webMethods
    #SAP-Adapter
    #IDOC


  • 7.  RE: SAP forcing Order of the fields or failing

    Posted Thu August 05, 2021 02:55 PM

    The structure is regular DELVRY03 - Extended:
    image

    Following are under E1EDL20.
    image

    For now we fixed it by rearranging the fields - but as you pointed out - right way is to possibly eliminate spaces.


    #SAP-Adapter
    #IDOC
    #Integration-Server-and-ESB
    #webMethods