09-16-2008 6:15 AM
Hi All,
I hve to process a RFC in background process.
For doing that firstlly i hve creted va rfc n it's wkg fine then using this syntax i called this rfc for background task
CALL FUNCTION 'Y_DYNTABLE1_AJ' IN BACKGROUND TASK
DESTINATION 'rfc_bacground'
buy whenever any error raise this rfc created a error log in sm58 n i can watch it in sm58 but whenever it's work fine then i'm unble to see there result in sp01, beco'z it's nt creating any spool in sp01 n my result is in table form.
pls help me how to get my result
regards,
Anuj
09-16-2008 6:19 AM
Hi
Try to use write statement with in the function module in case success and see, whether it writes to spool
Regards
MD
09-16-2008 6:23 AM
Export the internal table to INDX table and import it later.
EXPORT int_tihdr FROM int_tihdr
TO DATABASE indx(st) FROM wa_indx ID wa_usrkey.
09-16-2008 6:42 AM
Hi madan ,
In case of success it doen't show a write statement messge in sp01, n pks suresh pls give a little more light on ur suggestion.
regards,
Anuj
09-16-2008 6:55 AM
With this option you can EXPORT the whole internal table to INDX table and you can IMPORT the table for later usage.
Please refer to demo programs DEMO_DATA_EXT_CLUSTER_EXPORT_D and DEMO_DATA_EXT_CLUSTER_DELETE.
Make sure that you delete the the cluster after you import the data.
10-01-2008 11:57 AM