Skip to Content
0

Access to Maintenance Views with C#

Feb 06 at 05:09 PM

63

avatar image
Former Member

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...

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Raymond Giuseppi
Feb 07 at 01:08 PM
1

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)

Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi Feb 06 at 08:40 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Jelena Perfiljeva
Feb 07 at 04:33 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded