cancel
Showing results for 
Search instead for 
Did you mean: 

Calling proxy.Bapi_Po_GetDetail

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

reiner_hille-doering
Active Contributor
0 Kudos

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, ...);