‎2006 Dec 11 8:58 AM
Hi ,
I have created a RFC function module and an RFC destination as well. When I execute the RFC function module giving RFC destination as the input, I get a short dump saying that the function module does not exist. I have checked the RFC destination and it is working fine.
Can any body tell what the error is ?
Regards
‎2006 Dec 11 9:04 AM
hi
please check u r all the furnction module parameters .....
then decide which u r going to give as exporting and which u r importing.....
how u know that that function module is created.......
one morething u can do is ...........
use function module RS_FUNCTIONMODULE_INSERT......use this to craete a fm.... otherwise u check all the import,export,tables data with this fm....
otherwise u give me u r code once i will check it....
‎2006 Dec 11 9:04 AM
hi
please check u r all the furnction module parameters .....
then decide which u r going to give as exporting and which u r importing.....
how u know that that function module is created.......
one morething u can do is ...........
use function module RS_FUNCTIONMODULE_INSERT......use this to craete a fm.... otherwise u check all the import,export,tables data with this fm....
otherwise u give me u r code once i will check it....
‎2006 Dec 11 9:20 AM
Hi,
this is code which aim trying to execute.
data : doc_typ type vbak-auart,
sal_org type vbak-vkorg.
DATA: DESTI LIKE RFCDES-RFCDEST.
break-point.
DESTI = 'z_xi'.
CALL FUNCTION 'Z_DEMO_46' DESTINATION DESTI
IMPORTING
DOC_TYP = doc_typ
SAL_ORG = sal_org.
RFC name is 'z_xi' and it is other server where i want to pass the data.
z_demo_46 isthe RFM which i had created in other server.
Thanks,
shuja
‎2006 Dec 11 9:27 AM
give the destination in upper case and try out...not sure but just a guess
DESTI = 'Z_XI'.
‎2006 Dec 11 9:30 AM
Specify the RFC destinatoin in UPPER CASE.
Regards,
Ravi
Note - Please mark all the helpful answers
‎2006 Dec 11 9:33 AM
hi
can u tell me what is the export parameter or u execute this fm in the frunction module what i have given to u by giving export and import parameters..................
because that function module can test whether u r output is as per the required by u or not.....
u can check u r function module here...
other wise u can go for change in the parameters u have added to the function module ......so please test u r function module with this one
‎2006 Dec 11 9:06 AM
Have you created the funciton in the system which you are specifying the in the RFC destination.
It sounds like you have created the function in the same system in which you are making a call with a different system name in the RFC dest.
Please post your code here and make sure the function exists in the target system.
Regards,
Ravi
note - Please mark all the helpful answers
‎2006 Dec 11 9:09 AM
Hi,
Please check in server your going to call the RFC. Porbably you are calling from testing server,but you created RFC destination for testing server. Please create the RFC where the code locates. You can call other systems .
Regards
Bhupal Reddy