Skip to Content
author's profile photo Former Member
Former Member

Calling proxy.Bapi_Po_GetDetail

proxy.Bapi_Po_Getdetail ("","","","","","","","","","","","" ,ref bapiekkolTable1,ref bapiparexTable1,ref bapiekkotxTable1,ref bapiekknTable1,ref bapiekesTable1,ref bapiesucTable1,ref bapiekbeTable1,ref bapiekbesTable1,ref bapiesuhTable1,ref bapieketTable1,ref bapiesllTable1,ref bapiesklTable1,ref bapiekpotxTable1,ref bapiekpoTable1, ref bapieslltxTable1,ref bapireturnTable1);

Argument 12: Can't convert from 'string' to 'out webapp2.bapiaddress'

Argument 13: Can't convert from 'ref bapiekkoltable' to 'out bapiekkol'.

I don't know how to handle these "out" parameters. Do I need to create an object if so how do I do this?

for the ref I usually databind the table to a datagrid just like the rfc_customer_get sample.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jul 23, 2004 at 07:31 AM

    Both arguments 12 and 13 seem to be an out structure.

    You simply create a structture of this type and pass it with out:

    BAPIADDRESS myAddress;

    BAPIEKKOL myKol;

    proxy.Bapi_Po_GetDestail(..., out myAddress, out MyKol, ref bapiparexTable1, ...);

    Add comment
    10|10000 characters needed characters exceeded