none
Web Service Configuration Tool for SAP

    Question

  • Hi All,

    I am trying to configure SAP Web Service connector. When I configure Full Import workflow, I call to BAPI_USER_GETLIST but I when i tried to do an ForEach statement of Table_BAPI_USE_NAME (foreach ítem in If(UsrDataTable.item, Enumerable.Empty(Of BAPIUSNAME)()).ToArray()) im getting this error message:

    Compiler error(s) encountered proccess expression If(UsrDataTable.item, Enumerable.Empty(Of BAPIUSNAME)()).ToArray()).

    Option Strict On dissalows implicit conversión from '1-dimensional array of <servicename>.BAPIUSNAME' to 'System.Collections.Generic.IEnumerable(Of <servicename>.TABLE_OF_BAPIUSNAME)'

    How can I set Option Strict off or how can I perform this conversión ?

    There is another way to load the table into the array ?

    Thank you in advance.

     


    JuanCC Technology Specialist

    samedi 7 septembre 2013 02:06

Réponses

  • After several try & error I get over this

    I changed TypeArgument from <NameSpace>.TABLE_OF_BAPIUSNAME to <NameSpace>.BAPIUSNAME.

    And error disappear.

    After that, I configured attributte mapping (only the basic attributes in TABLE_OF_BAPIUSNAME)

    Regards


    JuanCC Technology Specialist

    • Marqué comme réponse JuanCC mercredi 9 octobre 2013 03:26
    mercredi 9 octobre 2013 03:26

Toutes les réponses

  • Hello,

    I'm currently facing the same issue. Did you get over this ? How did you perform the conversion ?

    Thanks in advance for your help... 

    mardi 8 octobre 2013 14:08
  • After several try & error I get over this

    I changed TypeArgument from <NameSpace>.TABLE_OF_BAPIUSNAME to <NameSpace>.BAPIUSNAME.

    And error disappear.

    After that, I configured attributte mapping (only the basic attributes in TABLE_OF_BAPIUSNAME)

    Regards


    JuanCC Technology Specialist

    • Marqué comme réponse JuanCC mercredi 9 octobre 2013 03:26
    mercredi 9 octobre 2013 03:26
  • Let me know if any one faces similar issues. I have good handson on web service connector
    lundi 21 avril 2014 15:16