10-20-2009 7:13 AM
Hi Experts,
Actually I am calling report2 from report1.
In report1 i have select-options field WERKS.
In report2 I have parameters field WERKS.
Please let m know how to call report2 using SUBMIT button selection-table concept.
How to insert records in selection-table and how to use this values to submit for parameter field.
Please help me.
10-20-2009 7:22 AM
Hi Khaladar,
In your case u are going to map select options with parameters...selection-options have a range of values and parameters hold one value at a time... so i didnt exactly got ur requirement.. Any how below code will help u , modify it according to ur requirement...
SUBMIT ZREPORT2 WITH p_werks = s_werks-low AND RETURN.
Thanks & Regards,
Shafivullah Mohammad
10-20-2009 7:22 AM
Hi Khaladar,
In your case u are going to map select options with parameters...selection-options have a range of values and parameters hold one value at a time... so i didnt exactly got ur requirement.. Any how below code will help u , modify it according to ur requirement...
SUBMIT ZREPORT2 WITH p_werks = s_werks-low AND RETURN.
Thanks & Regards,
Shafivullah Mohammad
10-20-2009 7:24 AM
10-20-2009 7:25 AM
Hello,
For selct options create a range same as tha of plant type,fill the data and submit as follow.
submit XYZ report
with s_werks in r_werks
p_bukrs eq lv_bukrs,
and return.
Hope it helps.
Pleas e let me know in case of any problem.
Regards,
Nabheet Madan