Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding submit < Program>

Former Member
0 Likes
765

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

3 REPLIES 3
Read only

0 Likes
747

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

Read only

Former Member
0 Likes
747

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

Read only

Former Member
0 Likes
747

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.