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

Starting new task question

Former Member
0 Likes
5,150

Hi,

is there a way we can see the logs of task for all Function module that executed STARTING NEW TASK?

for UPDATE TASK we can see it through SM13.  is this the same with STARTING NEW TASK?

Thank you.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,355

To follow execution of FM executed

  • IN UPDATE TASK (update task, not RFC) -> transaction SM13
  • IN BACKGROUND TASK (tRFC, transactional RFC) -> transaction SM58
  • STARTING NEW TASK  (aRFC, asynchronous RFC) -> None by default, you have to code your logging -> See Create Application Log.

(Read also RFC Administration)

Regards,

Raymond

5 REPLIES 5
Read only

iotatau
Participant
0 Likes
3,355

STARTING NEW TASK and UPDATE TASK are related to different topics.

STARTING NEW TASK is used to call a remote-enabled function module, see chapter "Using Asynchronous Remote Function Calls" in SAP NetWeaver help.

UPDATE TASK is used to make major changes to the database, see chapter "Update Techniques" in SAP NetWeaver help.

Due to the different purposes there is no equivalent of SM13 for STARTING NEW TASK. If you are the developer of the code using the STARTING NEW TASK feature you can readily track your calls with Business Application Logic (BAL), for instance, documentation see program SBAL_DOCUMENTATION.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,356

To follow execution of FM executed

  • IN UPDATE TASK (update task, not RFC) -> transaction SM13
  • IN BACKGROUND TASK (tRFC, transactional RFC) -> transaction SM58
  • STARTING NEW TASK  (aRFC, asynchronous RFC) -> None by default, you have to code your logging -> See Create Application Log.

(Read also RFC Administration)

Regards,

Raymond

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
3,355

+ 1 Raymond. I am implementing something similar right now

Read only

Former Member
0 Likes
3,355

Hi as others suggested there is no way to track your calls, but you can see the result of each of these calls - Use the below syntax:

Call FM

starting new task

performing form_name on end of task.

form form_name receiving results from FM.

endform.

This might tell a few more details based on your importing parameters.

thanks,

Vikram.M

Read only

Former Member
0 Likes
3,355

Thanks all.

the issue we have is an abap dump that made the processing of the rest of START NEW TASK dissappear for no reason.  We have captured in on ST22.