<?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: Screen Text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012843#M958804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the FM calling, select the Plant Text for the appropriate table.&lt;/P&gt;&lt;P&gt;assign the text field with the plant text and refresh the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this might help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;teja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2008 04:57:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-19T04:57:50Z</dc:date>
    <item>
      <title>Screen Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012841#M958802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a screen in that screen i have declared 2 I/O Fields side by side.Means plant and plant text need to display sid by side. When ever i select plant using the F4 help(standerd for Plant) the plant text does not updated into the screen.But the Text is updated when i press the 'ENTER' Key word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used one FM regarding this Functionality:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;IF NOT gs_0410-mawerk IS INITIAL.&lt;/P&gt;&lt;P&gt;SELECT SINGLE name1 FROM t001w INTO (gs_0410-mawerktx)&lt;/P&gt;&lt;P&gt;WHERE werks EQ gs_0410-mawerk .&lt;/P&gt;&lt;P&gt;REFRESH l_t_dynpread.&lt;/P&gt;&lt;P&gt;CLEAR l_t_dynpread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_t_dynpread-fieldname = 'GS_0410-MAWERK'.&lt;/P&gt;&lt;P&gt;l_t_dynpread-fieldvalue = gs_0410-mawerk.&lt;/P&gt;&lt;P&gt;APPEND l_t_dynpread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_t_dynpread-fieldname = 'GS_0410-MAWERKTX'.&lt;/P&gt;&lt;P&gt;l_t_dynpread-fieldvalue = gs_0410-mawerktx.&lt;/P&gt;&lt;P&gt;APPEND l_t_dynpread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_UPDATE'&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           = l_t_dynpread&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;            undefind_error       = 7&lt;/P&gt;&lt;P&gt;            OTHERS               = 8.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CLEAR gs_0410-mawerktx.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one clarify me is it possible for stadard F4 help.becouse i am using standard F4 help to get the plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use custom search help for selecting material number and material-text using  FM &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;it is working fine.Means without Press 'Enter' key the text is automatically updating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 04:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012841#M958802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T04:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012842#M958803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 04:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012842#M958803</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-06-19T04:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012843#M958804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after the FM calling, select the Plant Text for the appropriate table.&lt;/P&gt;&lt;P&gt;assign the text field with the plant text and refresh the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this might help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;teja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 04:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012843#M958804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T04:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012844#M958805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;Once you are done with the plant then put loop at screen and modify plant text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will resolve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;********** Reward Point if helpful**********&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 05:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012844#M958805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T05:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012845#M958806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;  Are u doing in executable program(SE38)  or modulepool program (SE51) .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;If it is in SE38 refer both the fields from dictonary using&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;    p_plant   type &amp;lt;dbtable plant type&amp;gt;,&lt;/P&gt;&lt;P&gt;    p_plantt type &amp;lt;dbtable plant name1 type&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once value is entered into plant field and then enter is pressed take that sy-ucomm and write code in AT SELECTION-SCREEN event as setting some flag.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt; IF SY-UCOMM EQ SPACE   (for enter sy-ucomm is space if not check using debugging)&lt;/P&gt;&lt;P&gt;     wv_flag = 1.&lt;/P&gt;&lt;P&gt;END IF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In AT SELECTION-SCREEN OUTPUT use this flag to modify screen under loop and endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;     IF SCREEN-NAME = &amp;lt; plant text field name&amp;gt;&lt;/P&gt;&lt;P&gt;      IF W_FLAG IN NOT INITIAL.&lt;/P&gt;&lt;P&gt;       select single text into text field from dbtable where plant eq entered plant value.&lt;/P&gt;&lt;P&gt;       CLEAR W_FLAG.&lt;/P&gt;&lt;P&gt;      ENDIF.&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;for module pool program apply same thing using PBO and PAI events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ Reward points, if helpful.&lt;/P&gt;&lt;P&gt;Rregards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ASWINI SAMMETA on Jun 19, 2008 8:22 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 06:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012845#M958806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T06:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012846#M958807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello aswini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using modulepool program.&lt;/P&gt;&lt;P&gt;Can you tell me clearly where i write the code for module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 06:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012846#M958807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T06:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012847#M958808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'enter'.&lt;/P&gt;&lt;P&gt; if flag = inital.&lt;/P&gt;&lt;P&gt;..........................&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 07:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-text/m-p/4012847#M958808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T07:08:14Z</dc:date>
    </item>
  </channel>
</rss>

