06-18-2008 12:43 PM
How to change the report into a function module ?
Z-report has the following fields in the selection screen
1. Date
2. PO number
NewCheckbox
Oldcheckbox
testrunCheckbox
if testrun is not checked
then the following block in the selection screen is displayed
it contains radiobuttin
r1
r2
fileoutputpath
Can we make this as function module . how to do this.
wat are the constraints i have to consider before doing this ?
DO help me
06-18-2008 12:45 PM
hi make the select options as import parameters....
Then based on ur requirement declare export parameters...
Then...u can copy the code in report and paste it to a new FM which u can create in se37....
Reward points if the above ans is useful...
06-18-2008 12:46 PM
Change the Selection screen Parameters to the IMPORT Parameters of a Function module,
The processed output internal table as EXPORT Parameter of the Function module
and copy the code for processing to the source code of the Function module
Hope this help,
Reward points if useful,
Regards,
Janani