‎2008 Jul 04 12:37 PM
hi,
I have createad a program where i am using RFC function module ,while calling this function module in debugging mode, the function module in the destinstion server is not getting called.
i think the RFC destination is not defined,how to check this?
i checked in SM59 transaction in the R/3 connection it is maintained,
please suggest regarding this
‎2008 Jul 04 12:39 PM
Hi,
You can check the RFC trace using the transaction ST05.
Do activate trace.
Execute the program
Do Deactivate trace.
Display trace.
Regards,
Sesh
‎2008 Jul 04 12:41 PM
Have u used the statement
call FM destination "DESTINATION NAME IN SM59'.
While in debugging , press F6 when control reaches th eFM instaed of F5 and check sy-subrc , so that u will come to know if it is succesfully called or not..
revrt back,
regards,
Naveen
‎2008 Jul 04 12:49 PM
Hi Naveena.
I have debugged my program as u told ,after executing the FM (by F6),sy-subrc = 0,any idea?
‎2008 Jul 04 12:57 PM
Hi priya,
If sy-subrc = 0, then it should be calling RFC successfully. Is it not returning any values??Try to pass some other values and check if it is returning any values.
Thanks,
Keerthi.
‎2008 Jul 04 12:58 PM
Hi Priya,
For ur information Iam NAVEEN and not Naveena.
Is that RFC FM should return any value after execution?
As u said Sy-subrc = 0 , then it is called succesfully.
revrt back.
Regards,
Naveen .( NOT Naveena)
‎2008 Jul 04 12:45 PM
CALL FUNCTION 'Z_TEST'
DESTINATION cl_hrrcf_oix_util=>rfc_destination
EXPORTING
IMPORTING
EXCEPTIONS
system_failure = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.Check T77S0 table and give GSVAL value as destination system and check whether it has value or not.
If there is no value, ask the basis to create that value.
Regards
Kannaiah.
‎2008 Jul 04 12:49 PM
Hi Priya,
pass the destination id( from SM59) while calling the RFC like:
CALL FUNCTION 'ZZ_RFC' DESTINATION DG__DEST.
Thanks,
Keerthi.