Skip to Content
avatar image
Former Member

Access to Maintenance Views with C#

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 07 at 01:08 PM

    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)

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 06 at 08:40 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 07 at 04:33 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded