on 12-23-2013 12:22 PM
Hi I am using a RFC FM. Now i want to check whether the RFC port is opened or not. Can you please tell me is there any standard flag to check ?
Hi ,
Check this FM /BDL/_GET_RFC_DESTINATIONS
* write target destinations into internal table
select * from /bdl/sesdest
into corresponding fields of table rfcdest
where sessno = session_number
and client = session_client.
if sy-subrc <> 0.
init_msglog_sessmand session_number session_client.
msg_log_line =
'No RFC destination found: transfer not possible'."#EC NOTEXT
warning msg_log_line.
raise dest_not_found.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We had a problem with an RFC destination that periodically was unavailable. I wrote the following program (in the attached file) to check if the destination was available, and create a background event if it was unavailable. Hopefully the program is self-explanatory.
Bruce
Hi Andy,
Port open is one time activity and it will open if we placed request to basis. I think no need to check each time whether port is open or not. Any specific reason are you cehck in program whether open port or not before call function.
As suggested in earlier blog check SM59 window and check wther able to connect target sytem or not.
Hope this will help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check in SM59.
Regards,
Charan M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use telnet <IP ADD> <PORT> and check if you are able to connect to it.
Regards,
Sohrab Kapoor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.