<?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: Reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341455#M516103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can create a Elementary search help using the Table MARC and attach to that Material field such that the Plant related fields only appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the sample code&lt;/P&gt;&lt;P&gt;REPORT Ztest_HELP .&lt;/P&gt;&lt;P&gt;TABLES : MARC.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;PARAMETERS : P_MATNR(10) TYPE C.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;MATNR TYPE MATNR,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.&lt;/P&gt;&lt;P&gt;SELECT MATNR&lt;/P&gt;&lt;P&gt;FROM MARC&lt;/P&gt;&lt;P&gt;INTO TABLE ITAB&lt;/P&gt;&lt;P&gt;UP TO 10 ROWS.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;RETFIELD = 'MATERIAL NUMBER'&lt;/P&gt;&lt;P&gt;DYNPPROG = SY-REPID&lt;/P&gt;&lt;P&gt;DYNPNR = SY-DYNNR&lt;/P&gt;&lt;P&gt;DYNPROFIELD = 'P_MATNR'&lt;/P&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = ITAB&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;PARAMETER_ERROR = 1&lt;/P&gt;&lt;P&gt;NO_VALUES_FOUND = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2007 11:12:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-15T11:12:51Z</dc:date>
    <item>
      <title>Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341454#M516102</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 do have a small question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a selection screen which contains two fields &lt;/P&gt;&lt;P&gt; plant --  ________&lt;/P&gt;&lt;P&gt;Material---________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______----is Input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if i enter plant as 1000 and execute i should all the materails under 1000 to material input field when i press F4 key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we write the code..&lt;/P&gt;&lt;P&gt;Tell me in a simple way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 11:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341454#M516102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T11:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341455#M516103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can create a Elementary search help using the Table MARC and attach to that Material field such that the Plant related fields only appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the sample code&lt;/P&gt;&lt;P&gt;REPORT Ztest_HELP .&lt;/P&gt;&lt;P&gt;TABLES : MARC.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;PARAMETERS : P_MATNR(10) TYPE C.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;MATNR TYPE MATNR,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.&lt;/P&gt;&lt;P&gt;SELECT MATNR&lt;/P&gt;&lt;P&gt;FROM MARC&lt;/P&gt;&lt;P&gt;INTO TABLE ITAB&lt;/P&gt;&lt;P&gt;UP TO 10 ROWS.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;RETFIELD = 'MATERIAL NUMBER'&lt;/P&gt;&lt;P&gt;DYNPPROG = SY-REPID&lt;/P&gt;&lt;P&gt;DYNPNR = SY-DYNNR&lt;/P&gt;&lt;P&gt;DYNPROFIELD = 'P_MATNR'&lt;/P&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = ITAB&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;PARAMETER_ERROR = 1&lt;/P&gt;&lt;P&gt;NO_VALUES_FOUND = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 11:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341455#M516103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T11:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341456#M516104</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;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; USE 'DYNP_VALUES_READ' FM to read the value of plant and then select from MARC where plant = p_plant.&lt;/P&gt;&lt;P&gt;Display the values Using "F4IF_INT_TABLE_VALUE_REQUEST" FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 11:15:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341456#M516104</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-06-15T11:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341457#M516105</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;For that U have to write codings in the&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN ON VALUE-REQUEST FOR &amp;lt;material number&amp;gt;.&lt;/P&gt;&lt;P&gt;In this code u have to write select query for getting values of material number corresponds to that particular field.&lt;/P&gt;&lt;P&gt;After that u have to write Fuction Module 'F4IF_INT_TABLE_VALUE_REQUEST' for Displaying those values in the F4 Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 11:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341457#M516105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T11:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341458#M516106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anji,&lt;/P&gt;&lt;P&gt;As per your code we will get all the material number since i cannot see any feld like plant there in program&lt;/P&gt;&lt;P&gt;when i give 1000 only materials related to 1000 should appear when i press F4 .How can i restrict for only one plant .Please give me neccessary suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 11:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341458#M516106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T11:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341459#M516107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Check out the foll code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.&lt;/P&gt;&lt;P&gt;  DATA:BEGIN OF  itab OCCURS 0,&lt;/P&gt;&lt;P&gt;  matnr TYPE  marc-matnr,&lt;/P&gt;&lt;P&gt;  END OF itab.&lt;/P&gt;&lt;P&gt;  DATA: it_ret LIKE	TABLE OF ddshretval WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-----Use this FM to read Plant value in Screen&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt; DATA:it_dyfld LIKE TABLE OF dynpread WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  it_dyfld-fieldname = 'P_WERKS'.&lt;/P&gt;&lt;P&gt;  APPEND it_dyfld.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      dyname     = sy-repid&lt;/P&gt;&lt;P&gt;      dynumb     = sy-dynnr&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields = it_dyfld.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE it_dyfld INDEX 1.&lt;/P&gt;&lt;P&gt;  p_werks = it_dyfld-fieldvalue.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  SELECT matnr&lt;/P&gt;&lt;P&gt;FROM marc&lt;/P&gt;&lt;P&gt;INTO TABLE itab WHERE werks = p_werks  .&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      retfield        = 'ITAB-MATNR'&lt;/P&gt;&lt;P&gt;      dynpprog        = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr          = sy-dynnr&lt;/P&gt;&lt;P&gt;      dynprofield     = 'P_MATNR'  "-P_MATNR screen field&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = itab&lt;/P&gt;&lt;P&gt;      return_tab       =     it_ret&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      parameter_error = 1&lt;/P&gt;&lt;P&gt;      no_values_found = 2&lt;/P&gt;&lt;P&gt;      OTHERS          = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE it_ret INDEX 1.&lt;/P&gt;&lt;P&gt;  p_matnr =    it_ret-fieldval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Vigneswaran S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 11:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/2341459#M516107</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-06-15T11:38:56Z</dc:date>
    </item>
  </channel>
</rss>

