‎2008 Feb 21 6:32 AM
Hi all,
I have a report program name zwipreport. In this report outpout of the field v_closewip. This value should get another report znacereport field name zopen.
How should we get.
Please give the code.
vvvv
‎2008 Feb 21 6:40 AM
Hi Venkateswar
I am not clear with your question. But I think you can use SET and GET parameters to pass value between programs.
Thanks
‎2008 Feb 21 6:42 AM
Hi,
Check the following code:
REPORT DEMO1.
RANGES S_CARRID FOR SPFLI-CARRID.
S_CARRID-SIGN = 'I'.
S_CARRID-OPTION = 'EQ'.
S_CARRID-LOW = 'LH'.
APPEND S_CARRID.
SUBMIT DEMO2 WITH CARRID IN S_CARRID.
In this example, RANGES table S_CARRID is created with reference to column CARRID of database table SPFLI. Fields S_CARRID-LOW and S_CARRID-HIGH have the same type as CARRID. The header line of internal table S_CARRID is filled and appended to the table. Program DEMO2 is called. If DEMO2 is linked to logical database F1S, its selections screen contains the fields of selection criterion CARRID
from the logical database. These fields are filled with the contents of the RANGES table.
Regards,
Bhaskar
‎2008 Feb 21 7:02 AM
hi,
1.
report 1
submit <report2> via selection secreen
with <report2 field> = <report1field>
this will send the input values of selection screen of report1 into selection screen of second report .
2. u can get the parameter in the report2 GET PARAMETER <PID> FIELS <wa_field>
and set the parameter in report 1 SET PARAMETER <PID> FIELS <wa_field>.
this will pass values between the two reports.