cancel
Showing results for 
Search instead for 
Did you mean: 

Define sap table parameter in .NET

Former Member
0 Kudos

Hi!

I am totally new to .NET and have just installed visual studio. Have a function module that accepts string parameters and returns a table.

I have a web service that exposes this FM. Going through the example and reached as far as adding a service definition.

My question is - what is the equivalent of a SAP internal table in .NET?

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

reiner_hille-doering
Active Contributor
0 Kudos

In the WebService entrance of WAS 6.20 and higher an internal table is regarded as an array of structures, e.g. ABAP structure BRFCKNA1 would be a stucture BRFCKNA1 in .NET and an internal table of BRFCKNA1 structures would be a array of BRFCKNA1 structures.

In .NET Connector it would be similar, but you BRFCKNA1 structure would have properties instead of fields (needed for data binding) and instead of the array that the MS WS proxy generator would created, we create a typesafe SAPTable called BRFCKNA1Table.

Former Member
0 Kudos

Hi again!

If possible can you give an example of these declarations for a web service app.

How would you define a structure with reference to a SAP structure and an array with reference to this?