<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RFC Function to get view data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352155#M1540797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot select data from a maintenance view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Nov 2010 10:46:02 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-11-02T10:46:02Z</dc:date>
    <item>
      <title>RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352149#M1540791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to get data from maintemence view and use it in a .NET program. I want to be able to get data from a maintenence view the same way as rfc_read_table gives me data from a r/3 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is possible to create an abap function that takes a parameter &amp;lt;viewname&amp;gt; and calls the function Viewproc_&amp;lt;viewname&amp;gt; and then returns the TOAL table form Viewproc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as i can see, foreach view, there is an abap function Viewproc_&amp;lt;viewname&amp;gt; that can give me the data i need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comments or ideas? Or even better an abap problem that can solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im a university student with very little SAP experience, so i appreciate all the help i can get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 14:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352149#M1540791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-26T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352150#M1540792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use BAPI function modules for non-SAP environments, just invoke a SAP BAPI (RFC) function from .net application. by connecting thru SAP.Connector.dll to SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the tcode BAPI, search for the object type methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use search help by typng BAPI* in SE37, function builder field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you, if it is wrong, pls post the answer here. ThanQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 14:34:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352150#M1540792</guid>
      <dc:creator>BKesav</dc:creator>
      <dc:date>2010-10-26T14:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352151#M1540793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why dont you use rfc_read_table itself ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 14:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352151#M1540793</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-10-26T14:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352152#M1540794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kris,&lt;/P&gt;&lt;P&gt;              You can make use of the standard SAP Vie maintenance FM "VIEW_MAINTENANCE_CALL". But the only pre-requisties is that you need to create the table maintenence view for your custom tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 14:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352152#M1540794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-26T14:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352153#M1540795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rfc_read_table does not allow me to read from a maintenance view&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 08:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352153#M1540795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T08:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352154#M1540796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have asked a SAP technician to enable RFC for the VIEW_MAINTENANCE_CALL. It was not possible: Here is his explanation why:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"unfortunately i cannot acrivate rfc for the module. I have tried to activate it, but then most datadefinitions must be corrected, since LIKE and TYPE are not valid definitions to RFC calls."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it seems like im back to square one:(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 08:06:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352154#M1540796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T08:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352155#M1540797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot select data from a maintenance view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 10:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352155#M1540797</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-11-02T10:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352156#M1540798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe i just have a hard time understanding SAP. To my knowledge, mainteneance views are generated on the fly and the data is not stored in a single table. Thats why rfc_read_table cannot be used. Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But - the FM view_maintenance_call can give me the relevant data in the SAP userinterface. Why cant i just enable RFC on that module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or perhaps one could build a module that gets the data form view_Maintenance_Call and returns it in some kind of temporary table. Please notice that i only need to read data, and not alter it. I therefor only need to pass the 2 non optional parameters to the function. Action (Display) and VIEW_NAME&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 09:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352156#M1540798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-04T09:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352157#M1540799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keshav is right, the maintenance view can't be used for data selection, if you need to use it for the join you can try to define a new view, but a DATABASE VIEW but arranged as maintenance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then u can try to use RFC_READ_TABLE to read the database view&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: max bianchi on Nov 4, 2010 10:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 09:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352157#M1540799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-04T09:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352158#M1540800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that i need to extract configuration data the same way as it is presented in the IMG.&lt;/P&gt;&lt;P&gt;For example the PP-PI "Process order types" that are maintained in the view "V_T003O_40".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All i want is a table with that data returned through an rfc function. &lt;/P&gt;&lt;P&gt;I have to extract large amounts of data, and manually creating database views for all views are unfortunately not an option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 10:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352158#M1540800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-04T10:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352159#M1540801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned you can't SELECT data from Maintenance View using Open SQL statements. Alternatively you can access the data via the FM 'VIEW_GET_DATA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM 'VIEW_GET_DATA' is not remote enabled. You can wrap this FM in a custom FM &amp;amp; try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 10:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352159#M1540801</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-11-04T10:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352160#M1540802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's so u can try the solution suggested by Suhas: it seems to sound good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 11:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352160#M1540802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-04T11:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: RFC Function to get view data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352161#M1540803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats sounds like the way to go. I have absolutely no ABAP expreience, and therefor no chance of coding a FM wrapper to expose the "VIEW_GET_DATA" method. How long time would you estimate that a such module would take to develop for a pro ABAP programmer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kristian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 13:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-function-to-get-view-data/m-p/7352161#M1540803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-16T13:46:04Z</dc:date>
    </item>
  </channel>
</rss>

