Application Development and Automation 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: 
Read only

Find Triggered report name in the function module.

Former Member
0 Likes
584

Hi All,

A function module is being called by many Reports say (100). Now the question is, I need to find out the Triggered report name in the function module where I can do required logic change based on the report. I cannot include an import parameter in the function module to capture the Report name, for this solution I need to change 100 reports. Is there any better way to find the Triggered report name in the Function Module?

thanks in advance.

ravi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
420

Try system parameter SY-CPROG.

Hi All,

A function module is being called by many Reports say (100). Now the question is, I need to find out the Triggered report name in the function module where I can do required logic change based on the report. I cannot include an import parameter in the function module to capture the Report name, for this solution I need to change 100 reports. Is there any better way to find the Triggered report name in the Function Module?

thanks in advance.

ravi

1 REPLY 1
Read only

Former Member
0 Likes
421

Try system parameter SY-CPROG.