<?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: putting extra field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330804#M168602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;addd the field to the internal table bestanda also.&lt;/P&gt;&lt;P&gt;Then go to line line number 1623.&lt;/P&gt;&lt;P&gt;and add this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;read table t_mat with key matnr = bestand-matnr &lt;/P&gt;&lt;P&gt;                          werks = bestand-werks.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;bestand-MFRPN = t_mat-MFRPN.&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add the field catalog code.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 May 2006 13:31:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-26T13:31:44Z</dc:date>
    <item>
      <title>putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330795#M168593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I need to add additional field ( MARA-MFRPN ) in the output report of Transaction MB52.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program name is RM07MLBS for MB52 , I copied the program, but i felt difficult to add this additional field. Pls brief me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 12:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330795#M168593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330796#M168594</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;Try to add that field in your selection, and since it is alv Report , you can add that field in your fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;under the form &amp;lt;b&amp;gt;FORM fieldcatalog.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to add your field at the last , if there are no restrictions or else add it where ever you want and change the corresponding positions of the other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 12:10:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330796#M168594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T12:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330797#M168595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and also one more thing. here they are not giving any positions, so don;t worry about positions. just add it in the middle of fields where ever you want .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you find it the form&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FORM fieldcatalog&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in side this only you should add the code for your addnl field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 12:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330797#M168595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T12:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330798#M168596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI kalimuthu,&lt;/P&gt;&lt;P&gt; After you copy your program,&lt;/P&gt;&lt;P&gt; Go to the form data_selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN the select statements, add mara~mfrpn also .&lt;/P&gt;&lt;P&gt;Add the field mrpfn in your t_mat internal tablle also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the field to your final table also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill the field catalog for your additional field.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 12:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330798#M168596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T12:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330799#M168597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Apart from adding feild to field catalog in &lt;/P&gt;&lt;P&gt;    form fieldcatalog ,You have to select&lt;/P&gt;&lt;P&gt;    the value from mara table in form &lt;/P&gt;&lt;P&gt;    also include this feild in internal table&lt;/P&gt;&lt;P&gt;    t_mat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FORM data_selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   SELECT mara&lt;SUB&gt;matnr &amp;lt;b&amp;gt;mara&lt;/SUB&gt;MFRPN&amp;lt;/b&amp;gt;    werks xchar mtart matkl meins trame umlmc&lt;/P&gt;&lt;P&gt;         mara~lvorm as lvorm_mara&lt;/P&gt;&lt;P&gt;         marc~lvorm as lvorm_marc&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF TABLE t_mat&lt;/P&gt;&lt;P&gt;         FROM mara INNER JOIN marc&lt;/P&gt;&lt;P&gt;         ON mara&lt;SUB&gt;matnr = marc&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;         WHERE mara~matnr IN matnr&lt;/P&gt;&lt;P&gt;           AND werks IN werks&lt;/P&gt;&lt;P&gt;           AND mtart IN matart&lt;/P&gt;&lt;P&gt;           AND matkl IN matkla&lt;/P&gt;&lt;P&gt;           AND ekgrp IN ekgrup.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 12:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330799#M168597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T12:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330800#M168598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Thanks for the valuable information, &lt;/P&gt;&lt;P&gt;i added mara~mfrpn in select statement and in t_mat internal table but I don't know where is the Final table and please tell me how to code in FORM Field Catalog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 12:57:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330800#M168598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T12:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330801#M168599</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 should add it like this..under the mentioned form for fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;b&amp;gt;  fieldcat-fieldname     = 'MFRPN'.
  fieldcat-tabname       = 'HEADER'.
  fieldcat-ref_tabname   = 'MARA'.
  APPEND fieldcat.
  CLEAR fieldcat.&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and final table name might be HEADER check it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330801#M168599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330802#M168600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Yes i added as you mentioned earlier,but it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLEAR fieldcat.&lt;/P&gt;&lt;P&gt;  fieldcat-fieldname     = 'MFRPN'.&lt;/P&gt;&lt;P&gt;  fieldcat-tabname       = 'HEADER'.&lt;/P&gt;&lt;P&gt;  fieldcat-ref_tabname   = 'MARA'.&lt;/P&gt;&lt;P&gt;  fieldcat-no_out        = 'X'.&lt;/P&gt;&lt;P&gt;   APPEND fieldcat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:24:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330802#M168600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330803#M168601</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;&lt;/P&gt;&lt;P&gt;don't give this...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; fieldcat-no_out        = 'X'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change it to &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; fieldcat-no_out        = ''.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330803#M168601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330804#M168602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;addd the field to the internal table bestanda also.&lt;/P&gt;&lt;P&gt;Then go to line line number 1623.&lt;/P&gt;&lt;P&gt;and add this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;read table t_mat with key matnr = bestand-matnr &lt;/P&gt;&lt;P&gt;                          werks = bestand-werks.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;bestand-MFRPN = t_mat-MFRPN.&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add the field catalog code.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330804#M168602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330805#M168603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt; fieldcat-no_out        = 'X'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will make your field not visible in the ALV output. it will be hidden,&lt;/P&gt;&lt;P&gt;give space or remove that line&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; fieldcat-no_out        = ' '.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330805#M168603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330806#M168604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ravi,&lt;/P&gt;&lt;P&gt;the line 1623 is comming here, exactly where i need to add the code&lt;/P&gt;&lt;P&gt;read table t_mat with key matnr = bestand-matnr &lt;/P&gt;&lt;P&gt;werks = bestand-werks.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;bestand-MFRPN = t_mat-MFRPN.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i also changed  &lt;/P&gt;&lt;P&gt; fieldcat-no_out        = ''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still it is not displaying&lt;/P&gt;&lt;P&gt;*List body&lt;/P&gt;&lt;P&gt;  clear fieldcat.&lt;/P&gt;&lt;P&gt;  fieldcat-fieldname     = 'LGORT'.&lt;/P&gt;&lt;P&gt;  fieldcat-tabname       = 'BESTAND'. ---1623&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330806#M168604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: putting extra field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330807#M168605</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;Try debugging it, if you do all mentioned steps..&lt;/P&gt;&lt;P&gt;1. check you have populated the values&lt;/P&gt;&lt;P&gt;2. fieldcat has entry for MFRPN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to keep the break point here..&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also here&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;CALL FUNCTION                  alv_detail_func&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijay Babu Dudla&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2006 13:58:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/putting-extra-field/m-p/1330807#M168605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-26T13:58:01Z</dc:date>
    </item>
  </channel>
</rss>

