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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.