‎2009 Dec 27 9:16 AM
Hi Experts,
I have a small thing to ask.
I have an RFC enablede function module which i have created in CRM and I am calling that function module in My report in ECC.
I am running this report in Background but this function module is still running in CRM in Foreground mode.
the sample code of it is here
Here the destination we have provided as CRM222
CALL FUNCTION 'ZDATA_FOR_EXTWARTY'
in background task
destination destination
EXPORTING
P_COND = s_wrttyp-LOW
TABLES
IT_EQUNR = it_equnr
S_OPTION = s_wrttyp.
Will it be possible for you experts to let me correct this error i am going through../?
Thanks,
SA
‎2009 Dec 27 8:19 PM
I guess that your RFC user in the CRM system does not have the correct user type. In transaction SU01 it is probably set to Dialog User instead of communication user.
‎2010 Jan 01 6:39 PM
One other possibility is that the user you are using to connect to the CRM system does not have the proper authorization to execute functions in that function group. Check ST22 in your CRM system for short dumps indicating that the user does not have the necessary authority.
With Z- function groups you have to specifically allow a user to execute any function module (RFC) in that group.
Hope that helps,
Michael
‎2010 Jan 02 6:40 AM
Hi Micky,
It was required for us to make the RFCUSER as the dialog, as its recommended by SAP and it ask for login and pwd. We did this becoz it was required to see the document from CRM to be visible in ECC and vice versa. So it difficult to change it to Communication type. Any futher idea if you have will be a gr8 guidance to me.
Hi Michael,
I have checked the CRM ST22, it says the TIME-OUT dump. As recomended by SAP it should be just 10 mins and cant be more, so after 10 mins it has given dump to us. I have found some statements like IN BACKGROUND in the function module, but that does not seem to work for me.
Any other suggestion wil be really helpful to me.
Thanks,
SA
‎2010 Sep 22 5:46 PM