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

Problem with calling a report from a function module. Please help! URGENT!

gopalkrishna_baliga
Participant
0 Likes
546

Hi Experts,

I have a scenarion like this:

XI -


> Function Module -


> ABAP Report

From XI I am callingf a function module in another R/3 system. This function module inturn calls a ABAP report using SUBMIT statement. The function module and the report reside in the same R/3 system.

I am calling the report like this:

SUBMIT yseg_save_bp_data WITH SELECTION-TABLE rspar

AND RETURN.

The problem is when I run the function module directly in the R/3 system then it calls the report without any problem.

On the other hand, when I call the function module from XI then the report is not called. On debug mode I found that the program exits just at the Submit statement. Why is this strange problem?

What mistake am I doing? Is there any limitations or restrictions with SUBMIT statement.

What is the correct way of using submit statement in this scenario?

Kindly help me!

Thanks

Gopal

3 REPLIES 3
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
519

Hi,

Is the F.M u created a RFC or not.

If not make it a Remote F.M and then try it..

Cheers,

Simha.

Read only

0 Likes
519

Hi Rao,

I have created the FM as remote RFC. Infact XI is able to call the FM. Only problem is when it reaches the point where the report is called via SUBMIT it exits.

Help me please!

Thanks

Gopal

Read only

Former Member
0 Likes
519

Hi Gopal,

I am having the same scenario. can you please let me know, how did you solve this problem?