on 01-18-2008 8:38 AM
Hi Technical consultants,
I have an issue when I am displaying my smartform.
The program has 2 radiobuttons & it will display a ALV in 1st radiobutton & smartform in 2nd radiobutton.
I need to check for the radiobutton option,I have done that at start-of-selection.But my Internal table is not populated by then.Please guide me as to what changes do I make so that my smartform gets printed with appropriate values.
Thanks
Try to do it as below:
1. Extract required details for a final internal table.
2. Based on the selection for output, execute respective process
start-of-selection.
perform extract_data.
if not p_alv is initial.
perform display_alv_output.
else.
perform print_output.
endif.
Regards
Eswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for all the replies,I have been able to solve the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
as u told it will display a ALV in 1st radiobutton & smartform in 2nd radiobutton.
then for this just put a IF condition as :
IF R1 = 'X'.
// then write coding for display data in ALV/
ELSE.
// put FM for dispaly Out Put in SF .
ENDIF.
Note : Do all ur data selection coding and data manupulation with in Internal table before IF Condition.
reward if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.