Application Development 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: 

rfc in background

Former Member
0 Kudos

Hi all,

i hve to call a rfc in background for this firstlly i call my rfc in background process

CALL FUNCTION 'Y_DYNTABLE1_AJ' IN BACKGROUND task

DESTINATION 'rfc_destination_aj' " AS SEPARATE UNITthen

CALL FUNCTION 'ID_OF_BACKGROUNDTASK' for determined transaction ID

then

CALL FUNCTION 'START_OF_BACKGROUNDTASK' for scheduling background task time

then

CALL FUNCTION 'STATUS_OF_BACKGROUNDTASK' for known background task status

every thing is wkg fine n task is showing scheduled n finished in sm37 but i 'm not getting their data nor sp01 nor anyone n it also show duration 0 n dealy 0 in sm37 also nothing in sm58 and also without background rfc is wkg fine.

suggest me how to get data

regards,

Anuj

1 ACCEPTED SOLUTION

former_member212653
Active Contributor
0 Kudos

Are all the parameters in the FM "Pass by value". Also the variables and internal tables declarations have to be in top include.

4 REPLIES 4

former_member212653
Active Contributor
0 Kudos

Are all the parameters in the FM "Pass by value". Also the variables and internal tables declarations have to be in top include.

Former Member
0 Kudos

Thanx sourav,

all the parameters in fm is passed by exporting n tables parameters n declarations is also on top.

regards,

Anuj

0 Kudos

Have you checked the RFC call log through SM58.If the RFC fails its log will be stored over there.

Former Member
0 Kudos

thanks all.