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

Call function inside of call function in back ground task

Former Member
0 Likes
903

Hi Friends,

I am calling one function in back ground task. that is executing after save of the transaction. And inside of that transaction i am calling one more function but in debugging the cursor is not going inside of that function. What could be the reason. Please help me.

Thanks a lot in advance.

8 REPLIES 8
Read only

former_member195698
Active Contributor
0 Likes
873

The Function Modules called in Background task are executed when the "Commit" statement in encountered in the program.

It will be not called at the point of CALL FUNCTION...

So if you want to check the control... instead of calling FM in background task call it directly and check the second FM call...

Read only

0 Likes
873

Hi,

Thanks for the reply. But here the question is diffarent. I am calling one function in back ground task and inside of that i am calling another function directly. I am talking about the second function which is called directly. The cursor is not going inside o f the function which is called directly.

Read only

0 Likes
873

When you are not able to get into the First FM, how can you go inside the second FM within that ?

Read only

0 Likes
873

Hi,

Inside of the first function any way i will come after save

using update task debugging. Once it reach inside of firt function and if i press f5 then second function is coming and if i press f5 there then it is coming out of the function and it is not going inside. The second function is called directly not in back ground.

Thanks..

Read only

0 Likes
873

Hi All,

Thanks the problem is solved. The problem is with export paramter. I have to deselect pass value check box. Thanks..

Read only

0 Likes
873

In that case, can you check that the data is being passed properly in the Interface parameters.

Read only

Former Member
0 Likes
873

Hi,

Try using external Break-point. in the internal function module.

Regards,

Swapnil

Read only

0 Likes
873

I tried external break point also still it is not working.

Thanks..