07-17-2006 2:26 PM
Hi,
I'm calling a standard report '<b>RHXTHIST</b>' in my program using this statement:
submit RHXTHIST with pchobjid-low = t_ranges-low.
Here i'm passing values to the <b>Attendee</b> field using Ranges.Similarly i wish to set the Radiobutton values of the <b>Reporting period</b> from All[default] to <b>Future or Past</b>.
I tried using:
RSPAR-SELNAME = 'PCHZTR_F'.
RSPAR-KIND = 'P'.
RSPAR-SIGN = 'I'.
RSPAR-OPTION = 'EQ'.
RSPAR-LOW = 'X'.
APPEND RSPAR.
RSPAR-SELNAME = 'PCHOBJID'.
RSPAR-KIND = 'S'.
RSPAR-SIGN = 'I'.
RSPAR-OPTION = 'EQ'.
RSPAR-LOW = '90001097'.
APPEND RSPAR.
submit RHXTHIST via selection-screen with
<b>selection-table</b> rspar.
but its not working .Kindly help.
07-17-2006 2:31 PM
Try this:
RSPAR-SELNAME = 'PCHZTR_F'.
RSPAR-KIND = 'P'.
RSPAR-SIGN = 'I'.
RSPAR-OPTION = 'EQ'.
RSPAR-LOW = 'X'.
APPEND RSPAR.
<b>RSPAR-SELNAME = 'PCHZTR_P'.
RSPAR-KIND = 'P'.
RSPAR-SIGN = 'I'.
RSPAR-OPTION = 'EQ'.
RSPAR-LOW = ' '.
APPEND RSPAR.</b>
RSPAR-SELNAME = 'PCHOBJID'.
RSPAR-KIND = 'S'.
RSPAR-SIGN = 'I'.
RSPAR-OPTION = 'EQ'.
RSPAR-LOW = '90001097'.
APPEND RSPAR.
07-17-2006 2:47 PM
07-18-2006 5:20 AM
Hi,
Is there any other way to control the selection-screen elements? In my Zreport's selection-screen i'm callig the Standard report 'RHXTHIST & based on the Radiobutton selection in my report , th output is shown.
The Transaction <b>'RHXTHIST</b> for the Report is <b>'S_PH9_46000431'</b>.Call transaction can be used for controlling the Radiobuttons , but i need to
1) Pass value to the 'Attendee' field [via Internal table]
2) Change the Radiobutton selection of the standard trasaction / report according to the selection in
the 'Zreport'.
Kindly help.
07-18-2006 5:25 AM
Instead of passing throuhg selection table, you can directly pass the value as well to the parameters.
SUBMIT REPORT RHXTHIST
WITH S_OPT1 = RANGES_OPT1
WITH RADIO1 = 'X'.
However you need to have a select-options / ranges variable in the calling program for each of the select-options on the called report. This way its easy to set the value of the radio button.
Here is a example
SUBMIT demo_program_submit_rep1
WITH paramet eq 'Selection 1'
WITH selecto IN seltab
WITH selecto ne 3
AND RETURN.
Regards,
Ravi
Note : Please mark all the helpful answers
07-18-2006 5:28 AM
Hello Tina,
Have you tried to pass the values like this.
I assume that your want to select the radiobutton person and pass the values in the attendee.
ranges: r_id for OBJEC-REALO.
*fill your ranges
SUBMIT RHXTHIST with PTYP1 = 'X'
put your required selection of radiobutton
with PCHOBJID in r_id.
Regards,
Naimesh
07-18-2006 5:47 AM
Hi,
Thanks for the replies.
I'm trying to select the Radiobuttons 'Reporting Period'
from Default Radiobutton ALL to PAST or FUTURE.
I tried this method, but as it is calling standard report 'RHXTHIST'
'AT SELECTION-SCREEN OUTPUT'.
rhx-radios-pbo.
It is resetting to the default radiobutton selction.
Pl suggest.