i am a new bee in abap/4 ..i am facing some problem ..can anyone tell how to make calculator in screen painter and menu painter with coding..i am confused how to start coding..do help me please.
Goto T.code SE38 and create zpgm name and press create, save it and activate the screen and come back.
then Goto T.code SE51 and create pgm name with screen no.
In layout take 3 input fields and 3 text fields for it as mentioned below.
Add four push buttons for addition,substraction,multiplication and divison.
Write following code in PAI.
field3 = field1+field2.
field3 = field1-field2.
field3 = field1*field2.
field3 = field1/field2.
Then finaly execute you can see a simple calculator.
Sign up for STechies
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.