<?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: Output only screen field problem - module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816274#M349450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  design the like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Text field &amp;amp; Label field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Declare the same names(names of the above fields) of the fields in ABAP editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.In PAI  take the input values and pass the values to concerned fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2007 03:34:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-11T03:34:20Z</dc:date>
    <item>
      <title>Output only screen field problem - module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816272#M349448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to display site descriptoin behind the site number and the article description behind the article number after I input the site /article number and press ENTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is: &lt;/P&gt;&lt;P&gt;Site :   9999     Site Name&lt;/P&gt;&lt;P&gt;Article: 1111     Aritle Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I create a view contains site/site name/article/article description, and make site and article are input/output screen fields, but site name and article description are output only screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute the program, i input the site and article then Enter, the program execute but the site name/article are not shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the problem?! the view or screen fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 02:49:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816272#M349448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T02:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Output only screen field problem - module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816273#M349449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep the &amp;lt;b&amp;gt;SAME Variable name&amp;lt;/b&amp;gt; on report &amp;amp; Screen field. It will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 03:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816273#M349449</guid>
      <dc:creator>raja_thangamani</dc:creator>
      <dc:date>2007-01-11T03:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Output only screen field problem - module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816274#M349450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  design the like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Text field &amp;amp; Label field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Declare the same names(names of the above fields) of the fields in ABAP editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.In PAI  take the input values and pass the values to concerned fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 03:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816274#M349450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T03:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Output only screen field problem - module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816275#M349451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leo,&lt;/P&gt;&lt;P&gt; Check out this code. This is working fine.&lt;/P&gt;&lt;P&gt;*-- Data Declarations :&lt;/P&gt;&lt;P&gt;DATA : i_dynfields  TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA: ws_repid     TYPE d020s-prog,&lt;/P&gt;&lt;P&gt;      ws_num       TYPE  d020s-dnum,&lt;/P&gt;&lt;P&gt;      cvp_desc LIKE zcvpconfig-cvp_desc, " Same as screen name&lt;/P&gt;&lt;P&gt;      cvp_no  LIKE zcvpconfig-cvp_num. "Same as screen name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  MODULE user_command_0100.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;input check for field cvp number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  &amp;lt;b&amp;gt;FIELD : cvp_no.&lt;/P&gt;&lt;P&gt;  MODULE show_cv_desc&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The module definition for show_cv_desc as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  show_cv_desc  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE show_cv_desc INPUT.&lt;/P&gt;&lt;P&gt;  ws_repid = sy-cprog.&lt;/P&gt;&lt;P&gt;  ws_num   = '1000'.&lt;/P&gt;&lt;P&gt;  i_dynfields-fieldname = 'CVP_NO'.&lt;/P&gt;&lt;P&gt;  APPEND i_dynfields.&lt;/P&gt;&lt;P&gt;&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               = ws_repid&lt;/P&gt;&lt;P&gt;      dynumb               = ws_num&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields           = i_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;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    READ TABLE i_dynfields WITH KEY fieldname = 'CVP_NO'.&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      cvp_no    = i_dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;loop at screen.&lt;/P&gt;&lt;P&gt;   if screen-name = 'CVP_DESC'.&lt;/P&gt;&lt;P&gt;    if cvp_no = '0012'.&lt;/P&gt;&lt;P&gt;     cvp_desc = 'SATYA'.&lt;/P&gt;&lt;P&gt;    elseif cvp_no = '0014'.&lt;/P&gt;&lt;P&gt;     cvp_desc = 'PRIYA'.&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.&amp;lt;/b&amp;gt;ENDMODULE.                 " show_cv_desc  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 03:48:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816275#M349451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T03:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Output only screen field problem - module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816276#M349452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in enter fn code in PAI of the screen select the data from view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are trying to display in list in the second screen you have to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition: &lt;/P&gt;&lt;P&gt;... AND RETURN TO SCREEN scr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above command here you can use write statement and all other things like report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is not like so then check view contains any data or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 04:13:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/output-only-screen-field-problem-module-pool/m-p/1816276#M349452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T04:13:03Z</dc:date>
    </item>
  </channel>
</rss>

