on 05-21-2007 1:49 PM
Hi all,
I have created a smart form which have 3 pages.
I have made one selection screen in the driver program which have 3 radio buttons. Now I want that when the user selects the first radio button, only the first page should get printed, if the user selects second radio button, only page 2 should be printd.
How to do this.
I have the following coding :
selection-screen begin of block b2 with frame title text-001.
selection-screen begin of line.
selection-screen comment 3(30) text-007.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 5(30) text-004.
parameter p1 radiobutton group pg.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 5(30) text-005.
parameter p2 radiobutton group pg.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 5(30) text-006.
parameter p3 radiobutton group pg.
selection-screen end of line.
Selection-screen end of block b2.
Thanks
Ribhu
In the generated FM you have parameter OUTPUT_OPTIONS-TDPAGESLCT, which is for "Pages selected for printing".
You have to call FM 'SSF_FUNCTION_MODULE_NAME' to get the generated FM name, then call this FM dynamically with the mentioned parameter.
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.