10-08-2008 10:45 AM
Hello Friends !
Here is my strange requirement.
Table Name: Z1, Fields are Material, Type
Contents will be like under:
Material Type
-
M1 A
M2 A
M2 B
M3 X
M4 X
M4 Y
M4 Z
-
The report has the following Parameters:
Material
Plant
If the user enters say M1 then the radio buttons should get generated like under:
o - A
If the user enters say M2 then the radio buttons should get generated like under:
o - A
o - B
If the user enteres M4 then 3 radio buttons should get generated
o-X
o-Y
o-Z
Once the radio buttons comeup then the user will select any of them and then update the same.
I will have a maximum of 5 different values for a material.
Can you please suggest a way out for this. I want to do this in a report selection screen
Thanks
Narayanan P
10-08-2008 10:51 AM
Hi,
For this requirement you need to use the 'at selection-screen on radiobutton group G' statement and loop at the table SCREEN to get the desired number of radiobuttons.
Regards,
Pramod
10-08-2008 11:01 AM
Hi
You can think of different approach, instead of radio button.
Create a module pool program
In the first screen, user will enter Material / Plant and in the second screen, create a table control and shows the details of Material / Plant combination.
User can select a line and do furthe processing
Regards
Madhan