Skip to main content

Posts

radio button

 # radio button ~~~~~~~~~~~~~~ --> takes only one value example ------- REPORT ZAJAY_PRACTICE. PARAMETERS: r1 RADIOBUTTON GROUP g1,             r2 RADIOBUTTON GROUP g1,             r3 RADIOBUTTON GROUP g1. PARAMETERS: r11 RADIOBUTTON GROUP g2,             r12 RADIOBUTTON GROUP g2. --> r1,r2,r3 comes under g1 group that means select either r1 or r2 or r3. --> r11,r12, comes under g2 group that means select either r11 or r12 .
Recent posts

check box

 # check box ~~~~~~~~~~ --> it takes mutlple values. > example  ---------- REPORT ZAJAY_PRACTICE. PARAMETERS: r1 AS CHECKBOX,                 r2 AS CHECKBOX,                   r3 AS CHECKBOX.

abort message

 # abort message ~~~~~~~~~~~~~~~ program --------- data p_var type i VALUE 200. if p_var = 100.     MESSAGE 'if block ' type 'A'.     write : / 'if block executed'. ELSE.     MESSAGE 'ELSE block ' type 'E'.     write : / 'else block executed'. ENDIF. output ------- > p_var= 100 then adds cancel button. > p_var != 100 then only execute message.

sucess message and warning message

 # sucess message and warning message ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ program --------- data p_var type i VALUE 200. if p_var = 100.     MESSAGE 'if block ' type 'S'.     write : / 'if block executed'. ELSE.     MESSAGE 'ELSE block ' type 'W'.     write : / 'else block executed'. ENDIF. output ------- > p_var= 100 then execute two statemenst at a atime [message and write statements]. > p_var != 100 then only execute message.

error message & information message

  # error message & information message ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ program --------- data p_var type i VALUE 200. if p_var = 100.     MESSAGE 'if block ' type 'I'.     write : / 'if block executed'. ELSE.     MESSAGE 'ELSE block ' type 'E'.     write : / 'else block executed'. ENDIF. output ------- > p_var= 100 then execute message and write statements. > p_var != 100 then only execute message.

exit statement

 # exit ~~~~~~~ REPORT ZAJAY_PRACTICE. parameters: p_num type i. data var type i value 1. DO p_num TIMES.   if var eq 5.     exit.   ENDIF.   write : / 'loop',var.   var = var + 1. ENDDO. output      --> if var is equals to 5 then exit the program.

do statement

 # do.....enddo. ~~~~~~~~~~~~    > example program    ------------------- REPORT ZAJAY_PRACTICE. parameters: p_num type i. data var type i value 1. DO p_num TIMES.   write : / 'loop',var.   var = var + 1. ENDDO. output:  prints 1 to 10 loops.