Skip to Content

how to create FM for the report program

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 18, 2008 at 11:45 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 11:46 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.