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 process.

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

Hi

Try to use write statement with in the function module in case success and see, whether it writes to spool

Regards

MD

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

thanx!