Skip to Content
author's profile photo
Former Member

Define sap table parameter in .NET

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,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Aug 16, 2004 at 08:13 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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?