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

calling report in function module.

Former Member
0 Likes
793

having a problem with calling one Tcode for displaying report in A function module,

It is displaying the report perfectly, but it is not coming again in the Function Module, from This tcode of report display.

How I can solve the problem ?

Regards,

Study SAP

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
752

are you using SUBMIT ztest and return.

6 REPLIES 6
Read only

Former Member
0 Likes
753

are you using SUBMIT ztest and return.

Read only

0 Likes
752

Thanks to all,

I have solved this problem, In my case I used "Leave to Transaction" Statement,

Regards,

Study SAP

Read only

Former Member
0 Likes
752

Hi!

I hope you used the report this way:

SUBMIT zmyreport

...

AND RETURN. "don't forget this part

Regards

Tamá

Read only

Former Member
0 Likes
752

I tested and it is working fine.

if you are trying using tcode. if program of transaction is executable program then ypu can use the submit and return option

FUNCTION ztest.

SUBMIT balvbt02 AND RETURN.

ENDFUNCTION.

Read only

former_member125931
Active Participant
0 Likes
752

SUBMIT Ztestprogram VIA SELECTION-SCREEN AND

RETURN.

Read only

former_member787646
Contributor
0 Likes
752

Hi

Instead of using "CALL TRANSACTION" use ....

Hope this would help you.

Murthy

Edited by: Kalyanam Seetha Rama Murthy on Jul 21, 2008 2:19 PM