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 pass parameter from FM to report without changing interface of FM

Former Member
0 Kudos
76

Hello experts,

How can I pass a table name from a FM to the report calling the FM, without changing the existing interface of the FM.

Thanks,

Ajay.

6 REPLIES 6

Sm1tje
Active Contributor
0 Kudos
52

is the parameter part of the FM or not?

Is it a standard FM or custom developed?

Requirement not all to clear!

Former Member
0 Kudos
52

Please, have a look at the statements


EXPORT cluster
IMPORT cluster

Former Member
0 Kudos
52

Hello,

The parameter is not a part of the FM and it is a standard FM.

Thanks,

Ajay.

Former Member
0 Kudos
52

OK, than you will have no chance...

Sm1tje
Active Contributor
0 Kudos
52

well, I'm still a bit (or better, very) confused. You are calling a funtion module in your report and you are trying to pass a table name from function module to report. So where is this table name coming from?

BTW Table name? Trying to pass a table name? Still not sure what you are trying to do here??!!

Former Member
0 Kudos
52

Hi,

I f you want to pass any parameter from FM to Report or Vice-versa, parameter should me maintained in the FM otherwoise you can't pass any other than existing parameters.

Otherwise create a custom FM.

Regards,

Sunil