Skip to Content
2
Former Member
Jul 21, 2007 at 06:39 AM

Regarding selection screen radio buttons

18 Views

Hi all,

In selection screen I am having Radio Buttons, according to that selection, Out put has to be displayed.

I used the code like given below, its working fine, but I am not satisfied with <b>readabulity of code, So, I used Case and endcase.

Its given me error that invalid char 'X'.</b>

Can you please tell me, why its giving that error, and give me below code that looks good for readabulity.

<b>THIS IS MY CODE</b>

FORM display_orderno.

*----


*-- Displaying all order numbers.

*----


if p_ordno eq 'X'.

Perform All_order_number_details.

endif.

*----


*-- Displaying Current order numbers.

*----


if p_pend = 'X'.

Perform Current_order_numbers.

endif.

*----


*-- Displaying Brough Forward order numbers.

*----


if p_bford = 'X'.

Perform Brought_forward_order_no.

endif.

*----


*-- Displaying Completed order numbers.

*----


if p_compl = 'X'.

Perform Completed_order_numbers.

endif.

ENDFORM. " display_orderno

Regards,

sarath.