Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Radiobutton

Former Member
0 Likes
405

Hi guru's,

I got a requirement to make changes in the existing report. In the current report they want me add two more radio buttons. when the first radio button is selected the data reterival/ output should be same as the current one and when the second radio button is selected the ouput should be given for the values GRN date less than delivery date.

Please suggest me how to do this. Below is the already existing code.

Best answers will be rewarded.

Thanks and Regards,

vinay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
381

well, if you had provided MORE info we could help you better.

If it´s a customer report, you can just modify the dynpro and add the radio-buttons.

If not (what is probably) you gotta seek for a enhancement point, customer_exit, BADI, or user_exit.

i dont think i have to explain the logic to you.

3 REPLIES 3
Read only

Former Member
0 Likes
382

well, if you had provided MORE info we could help you better.

If it´s a customer report, you can just modify the dynpro and add the radio-buttons.

If not (what is probably) you gotta seek for a enhancement point, customer_exit, BADI, or user_exit.

i dont think i have to explain the logic to you.

Read only

Former Member
0 Likes
381

Hi Alson,

Assume that itab is the final internal table that is being displayed.

And the radio buttons you add are p_rb1 and p_rb2.

You have chosen p_rb2.

if p_rb2 = 'X'.

loop at itab.

if itab-grndate M >= itab-delivery_date.

delete itab index sy-tabix.

endif.

endloop.

endif.

Regards,

Ravi

Read only

Former Member
0 Likes
381

Hello,

Create two radio buttons like this.

PARAMETERS: R1 RADIOBUTTON GROUP R1 DEFAULT 'X'

R2 RADIOBUTTON GROUP R1.

If R1 = 'X'.

DO the same as of ur current report.

else.

SELECT all the data as per ur requiremnt.

endif.

Vasanth