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

    Saturday, September 07, 2013 2:06 AM

Answers

  • 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

    • Marked as answer by JuanCC Wednesday, October 09, 2013 3:26 AM
    Wednesday, October 09, 2013 3:26 AM

All replies

  • 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... 

    Tuesday, October 08, 2013 2:08 PM
  • 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

    • Marked as answer by JuanCC Wednesday, October 09, 2013 3:26 AM
    Wednesday, October 09, 2013 3:26 AM
  • Let me know if any one faces similar issues. I have good handson on web service connector
    Monday, April 21, 2014 3:16 PM