Skip to Content

Please find step by step guide to add radio buttons in module pool programming in attached file.

Steps:1.    Go  to  transaction  code SE80 , select  program ,  enter  the  program name  and  click  display  icon . Below  pop  up  will  appear .

Index.44

Steps:2.      Click  yes  button .  Below  screen  will  appear .

Index.45

Steps:3.      Click  continue .

Index.46

Steps:4.        Give  the  appropriate  nam e and  press  continue .

Index.47

Steps:5.       Below  screen will  appear .

Index.48

Steps:6.        Go  on  clicking  o n save .

Index.49

Steps:7.      Select  the  program  name ,  right  click  and  create –> Screen.

Index.50

Steps:8.         Provide  the  screen  number  and  press  enter .

Index.51

Steps:9.       Enter  short  description  and  save  .

Page2.52

Steps:10.    Go  to  layout  of  the  screen .

Page2.53

Steps:11. .   Create radio button 1

Page2.54

Steps:12.   Similarly  create  radio  button  2 .

Page2.55

Steps:13   Now  group  these  two  radio  buttons .  Select  both  the  radio  buttons  go to Edit-> Grouping –> Radio  button  Group –> Define .

Page2.56

Steps:14   Now double click  on Radio  button  1 below screen will appear . Assign the function code to the radio  button.

Page2.57

Steps:15   Double click on radio button 2 and function code will automatically in the attribute window as below.

Page2.58

Steps:16  Go to the flow logic of the screen, uncomment the module in the PBO and double click the module. Below screen will appear.

Page3.59

Steps:17   Click on yes. It will ask for the include. Select appropriate include.

Page3.60

Steps:18  Below screen will appear . Press enter.

Page3.61

Steps:19  Uncomment the below statements.

Page3.62

Steps:20 Create the GUI status and title bar.

Page3.63

Steps:21 In the “top include”  of the program  define the variables for radio buttons. The names should be same as the names  provided in screen.

Page3.64

Steps:22  Uncomment the module in the PAI, double click on the module name and press enter to create.

Page3.65

Steps:23   Select appropriate include and go on saving. Write the code here.

Page3.66

Steps:24  Now create the transaction for the program as we cannot directly execute this report.

Page3.67

Steps:25   Enter  the  transaction  code  and  the  description.

Page3.68

Steps:26   Pass  the  program  name ,  screen  number ,  check  below  3  check  boxes and save as  below.

Page3.69

Steps:27  Below  message  will  appear .

Page3.70

Output :

Execute  the  transaction  code  ZDEMO_RADIO .

Page3.71Page3.72

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply