<?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 programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/7312047#M1535618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="green" __jive_macro_name="color"&gt;Moderator message - Welcome to SCN

Unfortunately, this forum is not a place to learn ABAP. I suggest that you get one of the good ABAP books that are out there and maybe join an internet forum that caters to beginners

post locked
            
Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/Rules&lt;EM&gt;of&lt;/EM&gt;Engagement], &lt;SPAN __jive_macro_name="thread" id="1170968"&gt;&lt;/SPAN&gt; and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Sep 2010 18:07:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-27T18:07:54Z</dc:date>
    <item>
      <title>screen programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/7312046#M1535617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all ,&lt;/P&gt;&lt;P&gt;           i m new in SAP-ABAP world,can any one help me plz, &lt;/P&gt;&lt;P&gt;my question is, perofrm mathemetical operation on two nos, like add, subtract, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i have done is,&lt;/P&gt;&lt;P&gt;........................&lt;/P&gt;&lt;P&gt;i have created a screen name 500,&lt;/P&gt;&lt;P&gt;on layout, i have taken three i/o box name io1,io2 and io3&lt;/P&gt;&lt;P&gt;have takne 5 push botton name add, sub, mul, div and exit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on PAI of screen 500 , i have doubl clicked&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;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***INCLUDE MZOPONNUM_USER_COMMAND_0500I02 .&lt;/P&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;&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  USER_COMMAND_0500  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 USER_COMMAND_0500 INPUT.&lt;/P&gt;&lt;P&gt;data : IO1 TYPE I,&lt;/P&gt;&lt;P&gt;         IO2 TYPE I,&lt;/P&gt;&lt;P&gt;         IO3 TYPE I,&lt;/P&gt;&lt;P&gt;         OK_CODE TYPE SY-UCOMM.&lt;/P&gt;&lt;P&gt;CALL SCREEN 500.&lt;/P&gt;&lt;P&gt;*clear OK_CODE.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " USER_COMMAND_0500  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;P&gt;*&amp;amp;      Module  STATUS_0500  OUTPUT&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 STATUS_0500 OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; SET PF-STATUS 'xxxxxxxx'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt; SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CASE OK_CODE.&lt;/P&gt;&lt;P&gt;    WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;      IO3 = IO1 + IO2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN 'SUB'.&lt;/P&gt;&lt;P&gt;      IO3 = IO1 - IO2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN 'MUL'.&lt;/P&gt;&lt;P&gt;      IO3 = IO1 + IO2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN 'DIV'.&lt;/P&gt;&lt;P&gt;      IO3 = IO1 + IO2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my tranjection name is- zgytest,&lt;/P&gt;&lt;P&gt;and when i m trying to execute it, it is giving  message like- Transaction contains inconsistencies. Do you&lt;/P&gt;&lt;P&gt;want to execute it anyway? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF I M EXECUTING IT, and debugging it,, in the io1 and io2 variable, i m getting value, but when cursor is coming to &lt;/P&gt;&lt;P&gt;check OK_CODE, its not checking and hence result is not getting printed in i03 box,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so can any one tell what is the solution for this plz,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 18:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/7312046#M1535617</guid>
      <dc:creator>P1029777</dc:creator>
      <dc:date>2010-09-27T18:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: screen programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/7312047#M1535618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="green" __jive_macro_name="color"&gt;Moderator message - Welcome to SCN

Unfortunately, this forum is not a place to learn ABAP. I suggest that you get one of the good ABAP books that are out there and maybe join an internet forum that caters to beginners

post locked
            
Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/Rules&lt;EM&gt;of&lt;/EM&gt;Engagement], &lt;SPAN __jive_macro_name="thread" id="1170968"&gt;&lt;/SPAN&gt; and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.

Rob&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 18:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-programming/m-p/7312047#M1535618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-27T18:07:54Z</dc:date>
    </item>
  </channel>
</rss>

