Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Access to Maintenance Views with C#

Former Member
0 Kudos

Dear All,

I am trying to develop a tool for reading data from SAP servers. My question is;

Is there any possibility to read data from SAP Maintenance Views(Transactions, Not Tables) with C# via RFC connection(SAP.Middleware.Connector) ? If it is yes how ?

If it is no, How can i do that ? I already know script solution but i don't want to read data from excel or another file types. I would like to get data as a variable in .Net environment.

Thanks...

3 REPLIES 3

Sandra_Rossi
Active Contributor
0 Kudos

I think no. Each "table maintenance dialog" (TMD) has its own program, and parts of the display is directly done in this program only. So, you should mimic every TMD, feasible but highly time consuming. You might also read the database, read the "layout" of the maintenance view, and mix everything yourself. Also highly time consuming.

raymond_giuseppi
Active Contributor

To read data from a "maintenance view" which doesn't allow for open-sql statement, you have to call FM VIEW_GET_DATA (But this FM is AFAIK not RFC enabled so you may be require to wrap it)

Jelena
Active Contributor
0 Kudos

Maintenance view is used to maintain data in SAP. I don't see why this is relevant to reading the data. You can create a simple view (not a maintenance view) in SAP and use that.

The question is a bit confusing though. The persistent data is only in the DB tables. Not sure what "reading data from transaction" means here.