<?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: Report in OOPS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-oops/m-p/3442187#M826649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As with in the display I called &lt;STRONG&gt;Pass_to_alv&lt;/STRONG&gt; and with in the &lt;STRONG&gt;Pass_to_alv&lt;/STRONG&gt; I have called &lt;STRONG&gt;retrieve_data&lt;/STRONG&gt; method as there is no problem there. Please run the report in the debug mode as you cannot see the fields ( kunnr name1 land1 ort01 ) in the table as it shows 2 fields &lt;STRONG&gt;KEYPART  FUNCPART&lt;/STRONG&gt;. The problem lines there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Feb 2008 07:44:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-09T07:44:53Z</dc:date>
    <item>
      <title>Report in OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-oops/m-p/3442185#M826647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I am new to oops I have created a small program to display data. I have declared a small struture in the Public section. but when I see the internal table in the debugging mode it contains 2 fields as &lt;STRONG&gt;KEYPART    FUNCPART&lt;/STRONG&gt;  instead of fields which are return in the internal table decleration. and the program in going to dump. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the report is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS TEST DEFINITION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB,&lt;/P&gt;&lt;P&gt;            KUNNR TYPE KNA1-KUNNR,&lt;/P&gt;&lt;P&gt;            LAND1 TYPE KNA1-LAND1,&lt;/P&gt;&lt;P&gt;            NAME1 TYPE KNA1-NAME1,&lt;/P&gt;&lt;P&gt;            ORT01 TYPE KNA1-ORT01,&lt;/P&gt;&lt;P&gt;       END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA IT_ITAB TYPE STANDARD TABLE OF ITAB.&lt;/P&gt;&lt;P&gt;DATA WA_ITAB TYPE ITAB.&lt;/P&gt;&lt;P&gt;METHODS: DISPLAY,&lt;/P&gt;&lt;P&gt;         RETRIEVE_DATA,&lt;/P&gt;&lt;P&gt;         PASS_TO_ALV.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS TEST IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD RETRIEVE_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT KUNNR LAND1 NAME1 ORT01 FROM KNA1 INTO TABLE IT_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD PASS_TO_ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  RETRIEVE_DATA( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;      I_STRUCTURE_NAME                  = 'ITAB'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab                          =  IT_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; METHOD DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     PASS_TO_ALV( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDMETHOD.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA  OBJ_TEST TYPE REF TO TEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CREATE OBJECT OBJ_TEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please trace out the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 07:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-oops/m-p/3442185#M826647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T07:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Report in OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-oops/m-p/3442186#M826648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;write this statement after create object statement.&lt;/P&gt;&lt;P&gt;call method obj_test -&amp;gt; retrieve_data.&lt;/P&gt;&lt;P&gt;then see .&lt;/P&gt;&lt;P&gt;if u have any queries plzz post again with the short description of the dump.&lt;/P&gt;&lt;P&gt;Plzz reward points if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 07:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-oops/m-p/3442186#M826648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T07:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Report in OOPS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-oops/m-p/3442187#M826649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As with in the display I called &lt;STRONG&gt;Pass_to_alv&lt;/STRONG&gt; and with in the &lt;STRONG&gt;Pass_to_alv&lt;/STRONG&gt; I have called &lt;STRONG&gt;retrieve_data&lt;/STRONG&gt; method as there is no problem there. Please run the report in the debug mode as you cannot see the fields ( kunnr name1 land1 ort01 ) in the table as it shows 2 fields &lt;STRONG&gt;KEYPART  FUNCPART&lt;/STRONG&gt;. The problem lines there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 07:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-in-oops/m-p/3442187#M826649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T07:44:53Z</dc:date>
    </item>
  </channel>
</rss>

