<?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: Populating Values onto Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893438#M1596039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your Requirement can be fulfilled using  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;Pass the retfield as DATA : it_return1 LIKE ddshretval OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the call function pass the it_return1-fieldval the parameter of theselection-screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In selection screen once you enter the mat_doc and press enter you will get the address for that particular material document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2011 05:24:52 GMT</pubDate>
    <dc:creator>pawan_rai</dc:creator>
    <dc:date>2011-05-12T05:24:52Z</dc:date>
    <item>
      <title>Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893436#M1596037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help in the below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change the values of second selection screen based on first selection screen Data from Ztable.&lt;/P&gt;&lt;P&gt;1st selection screen is having Mat Doc num, &lt;/P&gt;&lt;P&gt;2nd selection screen is having some address...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both are saved in one Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now  based on Mat doc entered in 1st selc scrn, I need to change 2nd selc scrn data from Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible help me with example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls Note: This is Printprogram for smartform.. Do not suggest me ALV exmaple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Praveen Sanjeev on May 12, 2011 9:52 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 04:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893436#M1596037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-12T04:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893437#M1596038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can put different fields in same selection screen and hide/display based on conditions. Try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : psel TYPE matnr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_secnd TYPE matnr MODIF ID bl1. &lt;/P&gt;&lt;P&gt;PARAMETERS : p_first TYPE ebeln MODIF ID bl2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'BL1'&lt;/P&gt;&lt;P&gt;        or screen-group1 = 'BL2'.&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        screen-active = 1.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  IF psel = '000000000000000061'. "Some value&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'BL1'.&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        screen-active = 1.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  IF psel = '000000000000000062'. "Some value&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'BL2'.&lt;/P&gt;&lt;P&gt;        screen-active = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        screen-active = 1.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 05:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893437#M1596038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-12T05:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893438#M1596039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your Requirement can be fulfilled using  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;Pass the retfield as DATA : it_return1 LIKE ddshretval OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the call function pass the it_return1-fieldval the parameter of theselection-screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In selection screen once you enter the mat_doc and press enter you will get the address for that particular material document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 05:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893438#M1596039</guid>
      <dc:creator>pawan_rai</dc:creator>
      <dc:date>2011-05-12T05:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893439#M1596040</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;Your sequence to executing the screen is not define. you are using the subscreen or 2 different screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expalin you problem more details&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 05:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893439#M1596040</guid>
      <dc:creator>ravi_lanjewar</dc:creator>
      <dc:date>2011-05-12T05:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893440#M1596041</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;As I mentioned earlier, there are two different screen Block b1, Block b2.&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information onthe same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 06:29:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893440#M1596041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-12T06:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893441#M1596042</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 am not hiding the fields here. I need to populate the data from Ztable on the selection screen fields.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 06:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893441#M1596042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-12T06:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893442#M1596043</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;   Please check the below code.&lt;/P&gt;&lt;P&gt;parameters p_matnr type MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters p_ersda type ersda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_matnr is not initial.&lt;/P&gt;&lt;P&gt;    select single ersda into p_ersda&lt;/P&gt;&lt;P&gt;      from mara&lt;/P&gt;&lt;P&gt;     where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&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;Dande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 06:42:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893442#M1596043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-12T06:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893443#M1596044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen Sanjeev,  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I think you got the soultion as mention by &lt;STRONG&gt;Dande&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise you can create composite search help for that  but every time you have to select value from search help i think this wll not good solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 08:21:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893443#M1596044</guid>
      <dc:creator>ravi_lanjewar</dc:creator>
      <dc:date>2011-05-12T08:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893444#M1596045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravishankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per &lt;STRONG&gt;Dande&lt;/STRONG&gt; we can just store the data into parameter variable called p_ersda. But we can't reflect it onto selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need that logic to show the data onto selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 09:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893444#M1596045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-12T09:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893445#M1596046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Have you tried it using CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 10:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893445#M1596046</guid>
      <dc:creator>pawan_rai</dc:creator>
      <dc:date>2011-05-12T10:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893446#M1596047</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;   After entering the value, you need to press enter. then only value will be populated.&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;Regards&lt;/P&gt;&lt;P&gt;Dande&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 10:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893446#M1596047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-12T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Values onto Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893447#M1596048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dande,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the Solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the Idea. And I have done with it as below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR : wa_initial.&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * INTO wa_initial FROM zmm_dlvnote WHERE matdoc = pmblnr.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    MESSAGE 'Entered Material Document No is already exist' TYPE 'I'.&lt;/P&gt;&lt;P&gt;    LEAVE TO SCREEN 1000.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  name = wa_initial-name2.&lt;/P&gt;&lt;P&gt;  strhno = wa_initial-strhno.&lt;/P&gt;&lt;P&gt;  city = wa_initial-city.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 10:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populating-values-onto-selection-screen/m-p/7893447#M1596048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-12T10:54:18Z</dc:date>
    </item>
  </channel>
</rss>

