Application Development and Automation 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: 
Read only

error in FM

Former Member
0 Likes
1,034

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
938

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

7 REPLIES 7
Read only

Former Member
0 Likes
939

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

Read only

0 Likes
938

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

Read only

0 Likes
938

give the destination in upper case and try out...not sure but just a guess

DESTI = 'Z_XI'.

Read only

0 Likes
938

Specify the RFC destinatoin in UPPER CASE.

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

0 Likes
938

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

Read only

Former Member
0 Likes
938

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

Read only

Former Member
0 Likes
938

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