2009 Feb 02 7:34 AM
hi i have created 2 smart forms for payment advice. one program is for down payment and other is for full payment with clearence i have to include both in a single tcode
for ex. in the first screen i have to get check box like to execute any one program, this should be done in single tcode
kindly give me solution.
hi i have created 2 smart forms for payment advice. one program is for down payment and other is for full payment with clearence i have to include both in a single tcode
for ex. in the first screen i have to get check box like to execute any one program, this should be done in single tcode
kindly give me solution.
2009 Feb 02 7:36 AM
Hi,
You can do this using Radio button when click one Radio button call one Smart form and when select
2nd than call 2nd Smart form.
Please Reply if any other Issue.
Kind Regards,
Faisal
2009 Feb 02 9:40 AM
hi can u kindly give me any example code that satisifies my requirment
2009 Feb 02 7:36 AM
HI,
Create one more program, Submitt your two programs and also create one T'Code for your new program.
- Naveen Inuganti
2009 Feb 02 7:37 AM
Hi.
just make ur selection screen as it
selection-screen begin of block a with frame title text-001.
select-options: mydate for sy-datum no-extension obligatory.
parameters: istscreen radiobutton group a,
2ndscreen radiobutton group a.
selection-screen end of block a.
"and in ur program check
if istscreen ='X'.
execute code to show ist smartform.
else.
execute code for 2nd smartform
endif.
2009 Feb 02 7:38 AM
2009 Feb 02 7:40 AM
selection-screen begin of block B1.
parameter : r_down radiobutton group grp1 default 'X',
r_claer radiobutton group grp1.
selection-screen end of block B1.
START-OF-SELECTION.
If r_down = 'X'.
SUBMIT ZSMART_1 WITH SELECTION-TABLE it_selcr AND RETURN.ELSE. "first smartform program
ELSE.
SUBMIT ZSMART_2 WITH SELECTION-TABLE it_selcr AND RETURN.ELSE. "second smartform program
ENDIF.
assign tcode for this...