Application Development 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: 

how to create FM for the report program

UmaArjunan
Active Participant
0 Kudos

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

2 REPLIES 2

former_member195383
Active Contributor
0 Kudos

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...

Former Member
0 Kudos

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