09-18-2008 6:14 AM
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
09-18-2008 6:32 AM
Are all the parameters in the FM "Pass by value". Also the variables and internal tables declarations have to be in top include.
09-18-2008 6:32 AM
Are all the parameters in the FM "Pass by value". Also the variables and internal tables declarations have to be in top include.
09-18-2008 6:48 AM
Thanx sourav,
all the parameters in fm is passed by exporting n tables parameters n declarations is also on top.
regards,
Anuj
09-18-2008 12:26 PM
Have you checked the RFC call log through SM58.If the RFC fails its log will be stored over there.
10-13-2009 7:43 AM