Professional Documents
Culture Documents
Program 03
Program 03
REPORT Z1208PROG3.
data v_z type i.
" The above statement gives the paraments names on screen on left side,so if
we want to dispaly the names as per our convenience then use the following
selection-screen begin of block bk1 with frame title t1.
selection-
screen begin of block bk2 with frame title t2. " to put the title and block t
o the text
Prepared By: Salkar Sailee R (SAP Co-Incharge, SAP ABAP Trainer, Sanjivani College of Engineering
Kopargaon)
Sanjivani SAP Training Programme
" to perform the arithematic operations after executing program use the follo
wing
start-of-selection.
if p_r1 = 'X'.
v_z = p_x + p_y.
write : / 'addition is' , v_z.
if v_z >= 0.
write :/ 'difference is' ,v_z.
else.
write :/ 'difference is -', v_z no-sign no-gap.
endif.
else.
write : / 'no radiobutton is selected'.
endif.
Prepared By: Salkar Sailee R (SAP Co-Incharge, SAP ABAP Trainer, Sanjivani College of Engineering
Kopargaon)
Sanjivani SAP Training Programme
Initialization.
lb1 = 'Enter the First No'.
lb2 = 'Enter the second No'.
t1 = ' Enter the input values'.
t2 = 'arithematic operations'.
Prepared By: Salkar Sailee R (SAP Co-Incharge, SAP ABAP Trainer, Sanjivani College of Engineering
Kopargaon)