on 10-15-2008 6:13 AM
Hi Expert,
Need your help on SLD error find the error message as below, we have configure SAP XI system and set the RFC connection between JAVA and ABAP instance it working finebut it give me message that
Use transaction SLDAPICUST if you wish to maintain the SLD server access data
Launching the SLD GUI in a separate browser window...
=> Verify in the browser GUI that the SLD is in a healthy running state!
Calling function LCR_LIST_BUSINESS_SYSTEMS
Retrieving data from the SLD server...
Function call returned exception code 4
=> Check whether the SLD is running!
see the below error of SLDCHECK transaction
Properties of RFC destination SAPSLDAPI
RFC host:
%%RFCSERVER%%
program id: SAPSLDAPI_PXI
gateway host:
SAPXI
gateway service: sapgw00
Testing the RFC connection to the SLD java client...
RFC ping was successful
SLD server access settings:
host name: localhost
port number: 50000
user : xiuser
Use transaction SLDAPICUST if you wish to maintain the SLD server access data
Launching the SLD GUI in a separate browser window...
=> Verify in the browser GUI that the SLD is in a healthy running state!
Calling function LCR_LIST_BUSINESS_SYSTEMS
Retrieving data from the SLD server...
Function call returned exception code 4
=> Check whether the SLD is running!
Summary: Connection to SLD does not work
=> Check SLD function and configurations
Hi there,
Is your SLD configured on XI server?
Please maintain proper entries in SLDAPICUST to access SLD. Next go to rz70 and check if data is trasferred successfully.
regards, Sean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
RK
Yes, see this my XI testing system on this system ABAP and JAVA instance is runing, I have configured the RFC connection between ABAP (SM59) and Java (Visual Adminstartor ) RFC connection is working fine.
After that I execute sldcheck T-code
It give me below message
Properties of RFC destination SAPSLDAPI
RFC host: %%RFCSERVER%%
program id: SAPSLDAPI_PXI
gateway host: SAPXI
gateway service: sapgw00
Testing the RFC connection to the SLD java client...
RFC ping was successful
SLD server access settings:
host name : localhost
port number : 50000
user : xiuser
Use transaction SLDAPICUST if you wish to maintain the SLD server access data
Launching the SLD GUI in a separate browser window...
=> Verify in the browser GUI that the SLD is in a healthy running state!
Calling function LCR_LIST_BUSINESS_SYSTEMS
Retrieving data from the SLD server...
Function call returned exception code 4
=> Check whether the SLD is running!
Summary: Connection to SLD does not work
=> Check SLD function and configurations
Now checking access to the XI Profile
Properties of RFC destination LCRSAPRFC
RFC host: %%RFCSERVER%%
program id: LCRSAPRFC_PXI
gateway host: SAPXI
gateway service: sapgw00
Testing the RFC connection to the SLD java client...
RFC ping was successful
I check in SLDAPICUST tcode Hostname , user name and password is correct
none of the user is lock in the system
When i run this T-code SXMB_adm
in Interation configuration Data --> System Landscape:-No access to system landscape at present
It show the message
If you could help me to resolve i will more thankful
Thanks
DDM
Yeh RK
I Check the RFC RFC destinations SLD_NUC or SLD_UC it tested ok
please find the LCR_LIST_BUSINESS_SYSTEMS in SE37
function lcr_list_business_systems.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(GIVE_ROLES) TYPE CHAR1 DEFAULT SPACE
*" REFERENCE(GIVE_PRODUCTS) TYPE CHAR1 DEFAULT SPACE
*" REFERENCE(BYPASSING_CACHE) TYPE CHAR1 DEFAULT SPACE
*" EXPORTING
*" REFERENCE(BUS_SYSTEMS) TYPE LCR_T_BSYSPROD
*" EXCEPTIONS
*" NO_RFC_DESTINATION
*" NO_LANDSCAPE_DIRECTORY
*" COMMUNICATION_ERROR
*" LD_ERROR
*" SLD_API_EXCEPTION
*"----
types:
begin of ty_sld_s_bskey,
bs_key_name type sld_bskey,
bs_caption type string,
end of ty_sld_s_bskey.
types:
ty_sld_t_bskey type standard table of ty_sld_s_bskey.
constants:
c_bus_systems_list type indx_srtfd value 'BUS_SYSTEM_LIST2'.
data: sld_host type string value '?',
sld_port type string value '?',
rfc_dest type string value '?',
rc type i,
s_indx type lcrt_indx,
s_details type lcrs_bsysprod,
t_details type lcr_t_bsysprod,
bskey type sld_bskey,
s_bslist type ty_sld_s_bskey,
t_bslist type ty_sld_t_bskey,
t_bslist_cache type ty_sld_t_bskey,
is_cached type c,
tracelevel type i,
text type string,
ex type ref to cx_sld_api_exception,
accessor type ref to cl_sld_accessor,
bsystem type ref to cl_sld_cim_instance,
t_bsystems type sld_t_instref,
t_properties type sld_t_string.
clear: bus_systems.
read buffer:
import bs_list2 to t_bslist_cache
from database lcrt_indx(xi)
id c_bus_systems_list to s_indx.
if sy-subrc = 0.
is_cached = 'X'.
endif.
if is_cached = 'X' and s_indx-aedat = sy-datum
and bypassing_cache = space.
t_bslist = t_bslist_cache.
else.
try.
get all business systems from SLD server:
create object accessor.
accessor->set_tracelevel( tracelevel ).
text = 'Name'. "#EC NOTEXT
append text to t_properties.
text = 'Caption'. "#EC NOTEXT
append text to t_properties.
t_bsystems =
accessor->enumerate_instances(
cname = 'SAP_LogicalBusinessSystem'
localonly = space
propertylist = t_properties
).
loop at t_bsystems into bsystem.
s_bslist-bs_key_name = bsystem->get_property( 'Name' ). "#EC NOTEXT
s_bslist-bs_caption = bsystem->get_property( 'Caption' ). "#EC NOTEXT
append s_bslist to t_bslist.
endloop.
update cache:
clear s_indx.
s_indx-mandt = sy-mandt.
s_indx-aedat = sy-datum.
s_indx-usera = sy-uname.
s_indx-pgmid = sy-cprog.
export bs_list2 from t_bslist
to database lcrt_indx(xi)
id c_bus_systems_list from s_indx.
catch cx_sld_api_exception into ex.
text = ex->get_text( ).
case ex->textid.
when cx_sld_api_exception=>communication_failure
or cx_sld_api_exception=>system_failure.
rc = 1.
when cx_sld_api_exception=>sld_server_exception
or cx_sld_api_exception=>sld_client_exception.
rc = 2.
when others.
rc = 3.
endcase.
fallback, if appropriate:
if is_cached = 'X' and bypassing_cache = space.
rc = 0.
t_bslist = t_bslist_cache.
endif.
endtry.
endif.
exception cleanup:
case rc.
when 1.
rfc_dest = accessor->get_rfcdestination( ).
sld_host = accessor->get_host( ).
sld_port = accessor->get_port( ).
message e004(lcr) with rfc_dest sld_host sld_port
raising communication_error.
when 2.
message e003(lcr) raising ld_error.
when 3.
message e010(lcr) raising sld_api_exception.
endcase.
get details for all listed business systems:
loop at t_bslist into s_bslist.
clear s_details.
if give_roles is initial and give_products is initial.
s_details-bs_key_name = s_bslist-bs_key_name.
s_details-bs_caption = s_bslist-bs_caption.
append s_details to bus_systems.
else.
text = s_bslist-bs_key_name.
call function 'LCR_GET_BS_DETAILS'
exporting
bs_key_name = text
bypassing_cache = bypassing_cache
importing
bs_details = t_details
exceptions
no_business_system = 1
no_rfc_destination = 2
no_landscape_directory = 3
communication_error = 4
ld_error = 5
sld_api_exception = 6
others = 7.
case sy-subrc.
when 0.
if give_roles is initial and give_products is initial.
read table t_details index 1
into s_details
transporting bs_key_name bs_caption bs_role.
if sy-subrc = 0.
append s_details to bus_systems.
endif.
else.
append lines of t_details to bus_systems.
endif.
when 1.
s_details-bs_key_name = bskey.
append s_details to bus_systems.
when 2 or 3 or 4.
message e004(lcr) with rfc_dest sld_host sld_port
raising communication_error.
when 5.
message e003(lcr) raising ld_error.
when others.
message e010(lcr) raising sld_api_exception.
endcase.
endif.
endloop.
endfunction.
Please note that you have to maintain corrsponding integration server (in case you are running SLDCHECK on business system) and Integration Server URL in case you are running SLDCHECK on integration server host.
go to SXMB_ADM and check for these enteries... also compare with your SLD enteries.
You should have business system and integration server enteries as technical system...
for eg..
if XIP is your integration server
and ECP is your business system
ECP should have XIP has integration server entry.. in SLd and as well as in SXMB_ADM
akhilesh
Hi,
Check out the below link :-
http://help.sap.com/saphelp_nw70/helpdata/en/6c/7ffb3f6c78ee28e10000000a1550b0/frameset.htm
which will help to analyse the SLD related problems.
Rgds
radhakrishna D S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.