<?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: selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2641275#M608079</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 do this on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTIOn-SCREEN ON VALUE-REQUEST FOR plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here once the value of plant is selected get the value of other two fileds and assign them to the paramters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Aug 2007 09:33:12 GMT</pubDate>
    <dc:creator>seshatalpasai_madala</dc:creator>
    <dc:date>2007-08-24T09:33:12Z</dc:date>
    <item>
      <title>selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2641274#M608078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In selection screen I have three fields, plant mat no and material group. If I input plant how do I get the mat no and material group based on plant dynamically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 09:30:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2641274#M608078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T09:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2641275#M608079</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 do this on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTIOn-SCREEN ON VALUE-REQUEST FOR plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here once the value of plant is selected get the value of other two fileds and assign them to the paramters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 09:33:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2641275#M608079</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-24T09:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2641276#M608080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yo can use a kind of search help which import the plant mat no and than fetch the material group.You have to declare the select-option varriable from the same structure field in which the matarial no. has the search help attached. In case if no standard search help exist than you can always create your own search help and attach it with the field in the structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 09:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2641276#M608080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T09:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2641277#M608081</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 Table which you have to use is MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the Code below and Convert it as per ur req:&lt;/P&gt;&lt;P&gt;use the AT SELECTION-SCREEN ON VALUE-REQUEST event for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zsel_f4help                             .&lt;/P&gt;&lt;P&gt;*---Report with selection screen and to display the list of&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;possible entries for field 'B' as per the value in field 'A'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_vbeln TYPE vbak-vbeln,&lt;/P&gt;&lt;P&gt;p_posnr TYPE vbap-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF help_item OCCURS 0,&lt;/P&gt;&lt;P&gt;  posnr TYPE vbap-posnr,&lt;/P&gt;&lt;P&gt;  matnr TYPE vbap-matnr,&lt;/P&gt;&lt;P&gt;  arktx TYPE vbap-arktx,&lt;/P&gt;&lt;P&gt;  END OF help_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: dynfields TYPE TABLE OF dynpread WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  dynfields-fieldname = 'P_VBELN'.&lt;/P&gt;&lt;P&gt;  APPEND dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Read the Values of the SCREEN FIELDs&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-cprog&lt;/P&gt;&lt;P&gt;      dynumb               = sy-dynnr&lt;/P&gt;&lt;P&gt;      translate_to_upper   = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields           = dynfields&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;      invalid_dynprofield  = 2&lt;/P&gt;&lt;P&gt;      invalid_dynproname   = 3&lt;/P&gt;&lt;P&gt;      invalid_dynpronummer = 4&lt;/P&gt;&lt;P&gt;      invalid_request      = 5&lt;/P&gt;&lt;P&gt;      no_fielddescription  = 6&lt;/P&gt;&lt;P&gt;      invalid_parameter    = 7&lt;/P&gt;&lt;P&gt;      undefind_error       = 8&lt;/P&gt;&lt;P&gt;      double_conversion    = 9&lt;/P&gt;&lt;P&gt;      stepl_not_found      = 10&lt;/P&gt;&lt;P&gt;      OTHERS               = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Find out the Value of P_VBELN&lt;/P&gt;&lt;P&gt;  READ TABLE dynfields WITH KEY fieldname = 'P_VBELN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  p_vbeln = dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Convert the Value into internal format&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      input  = p_vbeln&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      output = p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Fetch the correponding itemnos from VBAP&lt;/P&gt;&lt;P&gt;  SELECT posnr matnr arktx INTO TABLE help_item&lt;/P&gt;&lt;P&gt;  FROM vbap&lt;/P&gt;&lt;P&gt;  WHERE vbeln = p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Generate the F4 help with internal table values&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    = 'POSNR'&lt;/P&gt;&lt;P&gt;      dynprofield = 'P_POSNR'&lt;/P&gt;&lt;P&gt;      dynpprog    = sy-cprog&lt;/P&gt;&lt;P&gt;      dynpnr      = sy-dynnr&lt;/P&gt;&lt;P&gt;      value_org   = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab   = help_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 09:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2641277#M608081</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-24T09:35:24Z</dc:date>
    </item>
  </channel>
</rss>

