2007 Feb 05 10:57 AM
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
2007 Feb 05 11:01 AM
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.
2007 Feb 05 11:01 AM
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.
2007 Feb 05 11:02 AM
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
2007 Feb 05 11:02 AM
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