<?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: reg : Function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810805#M657066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yah it should be obviously.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2007 10:54:39 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2007-09-21T10:54:39Z</dc:date>
    <item>
      <title>reg : Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810803#M657064</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;when using FM 'REUSE_ALV_HIERSEQ_LIST_DISPLAY ',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter IT_SORT should contain fields on which sorting has to be done....Right??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually , my question is ...my output intarnal table contains 21 fileds.&lt;/P&gt;&lt;P&gt;but the field specified in IT_SORT..is not present in the output intarnal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting runtime error because fo this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you plz tell me weather the field specified in the IT_SORT.. should be in output internal table or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for oyur replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;Vaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 10:35:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810803#M657064</guid>
      <dc:creator>mallikarjun_vaja</dc:creator>
      <dc:date>2007-09-21T10:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: reg : Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810804#M657065</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 fields specified in the it_sort should be present in your final internal table as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And apart from that for Hierarchial display you need to have both internal table one for header and one for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 10:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810804#M657065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T10:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: reg : Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810805#M657066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yah it should be obviously.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 10:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810805#M657066</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2007-09-21T10:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: reg : Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810806#M657067</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;Yes,  the field specified in these it_sort&lt;/P&gt;&lt;P&gt;                                              it_layout&lt;/P&gt;&lt;P&gt;                                              it_eventcat etc. should be present in the final internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;PRitha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 10:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810806#M657067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T10:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: reg : Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810807#M657068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sriram,&lt;/P&gt;&lt;P&gt;thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you plz look at the FM '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              I_CALLBACK_PROGRAM      = ALV_V-REPORT&lt;/P&gt;&lt;P&gt;              I_CALLBACK_USER_COMMAND = 'AT_USER_COMMAND'&lt;/P&gt;&lt;P&gt;              IS_LAYOUT               = LS_LAYOUT&lt;/P&gt;&lt;P&gt;              IT_FIELDCAT             = LT_FIELDCAT[]&lt;/P&gt;&lt;P&gt;              IT_SORT                 = LT_SORTINFO[]&lt;/P&gt;&lt;P&gt;              I_SAVE                  = 'A'&lt;/P&gt;&lt;P&gt;              IS_VARIANT              = ALV_V&lt;/P&gt;&lt;P&gt;              I_TABNAME_HEADER        = C_HEAD&lt;/P&gt;&lt;P&gt;              I_TABNAME_ITEM          = C_DETAIL&lt;/P&gt;&lt;P&gt;              IT_EVENTS               = GT_EVENTS&lt;/P&gt;&lt;P&gt;              IS_KEYINFO              = LS_KEYINFO&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              T_OUTTAB_HEADER         = C_CUST&lt;/P&gt;&lt;P&gt;              T_OUTTAB_ITEM           = T_CUST.&lt;/P&gt;&lt;P&gt;  ENDIF.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;header and item tables.&lt;/P&gt;&lt;P&gt;data is passed form one int table to another.&lt;/P&gt;&lt;P&gt;    C_CUST[] = T_CUST[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              T_OUTTAB_HEADER         = C_CUST&lt;/P&gt;&lt;P&gt;              T_OUTTAB_ITEM           = T_CUST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and regarding sorting logic..&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SORT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    LT_SORTINFO-SPOS      = '02'.&lt;/P&gt;&lt;P&gt;    LT_SORTINFO-FIELDNAME = 'BBASIS'.&lt;/P&gt;&lt;P&gt;    LT_SORTINFO-TABNAME   = C_DETAIL.&lt;/P&gt;&lt;P&gt;    LT_SORTINFO-DOWN        = 'X'.&lt;/P&gt;&lt;P&gt;    APPEND LT_SORTINFO.&lt;/P&gt;&lt;P&gt;field name 'BBASIS' is not present in the final table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have checked all fields in the  ITEM table T_CUST.&lt;/P&gt;&lt;P&gt;and HEADER table is declared as &lt;/P&gt;&lt;P&gt;DATA: C_CUST LIKE T_CUST OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you plz seggest me  this is correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 11:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-function-module/m-p/2810807#M657068</guid>
      <dc:creator>mallikarjun_vaja</dc:creator>
      <dc:date>2007-09-21T11:02:10Z</dc:date>
    </item>
  </channel>
</rss>

