Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

SAP Knowledge Base Article

2276637 - How to configure the rz70 for sending data via RFC
Component: BC-CCM-SLD (Basis Components > Computer Center Management System (CCMS) > System
Landscape Directory / Component Repository), Version: 13, Released On: 05.07.2024

Symptom
This KBA provides configuration steps for RZ70(SLD_UC and SLD_NUC RFCs), gateway security and SLD for an ABAP
managed system to be able to reach SLD.

The RZ70 configuration via http is not discussed here, the SAP Note 2188401 provides details about it.

Environment
SAP AS NetWeaver ABAP release independent;
SAP AS NetWeaver JAVA release independent;
SAP Gateway release independent.

Reproducing the Issue


1. Go to the ABAP system, which data is to be pushed to the SLD;
2. Configure the gateway hostname and gateway port in RZ70;
3. Press the OK button in RZ70;

Cause
Insufficient reginfo rule settings at the SAP Gateway side;
JCo threads are not starting from SLD Java system;
Gateway reginfo settings are not updated with most recent file system changes.

Resolution
1. Configuration in SLD:
Where is the SLD's gateway located?
Go to: SLD UI -> "Administration" -> "Settings" -> Section: "datasupplier";

This same hostname and service name should be specified on ABAP side, in the rz70. Check Point 2.
2. Configuration in rz70:
The "GatewayHost" and "GatewayService" parameter values from SLD setting (Point 1.) must be added in rz70.
3. Configuration in the SLD's gateway:
Depending on, where is the SLD's gateway located, the gateway can be configured in a Java (SLD) or in an ABAP stack.
The gateway reginfo settings should contain proper rules for the SLD_UC and SLD_NUC TP programs, which are
registering on the gateway.
Otherwise no data will be sent to the SLD.

Prerequisites: (Gateway Configuration)

3.1. gw/acl_mode = 1 must be set in the instance profile of SLD's gateway.

3.2. The reginfo file must contain suitable rules for registering SLD_UC or SLD_NUC TP program to register on
the SLD's gateway
**the reginfo settings can be reached as per below, depending on which instance the gateway (maintained in RZ70)
is located**
[ABAP - ASCS - SMGW]
-via SAP GUI connection:
"smgw"-> "Goto" -> "Expert Functions" -> "External Security" -> "Display reginfo"

[Java - SCS - GWMON]


-via ssh connection or WTS command line (here gwmon.exe called)
gwmon nr=<sysnum>
-->m (menue)
-->9 (security informations)
-->3 (display reginfo)
Remark: Add the new rule(s) for the external system in the first(!) line of the "reginfo" file, this file is
maintained on your Operating System level under path
pointed out in the profile parameter "gw/reg_info". Below is a sample of reginfo file maintaining only
significant rules for SLD_ programs.

** Please note that the first line #VERSION=2 must be the first in the file, otherwise
gateway process will not be able to load the rules from OS reginfo file.

#VERSION=2
P TP=SLD_UC HOST=<SLD Application server host> CANCEL=<SAME AS "HOST">,local ACCESS=<ALL
systems pushing information to SLD Server>
P TP=SLD_NUC HOST=<SLD Application server host> CANCEL=<SAME AS "HOST">,local ACCESS=<ALL
systems pushing information to SLD Server>
... .
P TP=* HOST=local CANCEL=local ACCESS=local
P TP=* HOST=internal CANCEL=internal ACCESS=internal

PS: For further information on this configuration, please refer to Gateway Access Control List page.
3.3. After modifying the reginfo file, gateway security must be reread:

[ABAP - ASCS - SMGW]


-via SAP GUI connection:
"smgw" -> "Goto" -> "Expert Functions" -> "External Security" -> "Reread"

[Java - SCS - GWMON]


-via ssh connection or WTS command line (here gwmon.exe called)
gwmon nr=<sysnum>
-->m (menue)
-->9 (security informations)
-->4 (refresh security)

==> Good To Know... <==

After reloading gateway's security as explained above, it's required to re-register (re
move and add) SLD_UC / SLD_NUC programs on the gateway's "Client table" so th
e fresh rules can be consumed by them. For this refer to following.

[ABAP - ASCS - SMGW]


SAP GUI=>
SMGW -> Goto -> Logged on Clients -> Delete Client
[Java - SCS - GWMON]
command line (ssh or WTS)==>
gwmon nr=<sysnum>
Go to he menu (m)
expert functions (10)
cancel registered programs (21)

Another relevant approach in this point is to restart SLD application. (it will also re-re
gister SLD_UC and SLD_NUC programs to the gateway.)

*Go to SLD Administration page


"Administration" -> "Stop SLD" -> "Start SLD"

4. JCo RFC threads must be in up and running state


Java side the JCo RFC threads must be in up and running state.
Details here: SAP Note 2253115 JCO RFC server threads are in [DOWN] state in SLD

=========================================================================================
For troubleshooting any issues please provide the following information:
supportinfo file: SAP Note 1235043 SLD support information download;
screenshot about the rz70 configuration, where the gateway host and port is visible;
componentinfo file: SAP Note 1757810 How to get the complete list of software components on your NetWeaver
Application Server Java;
dev_rd file from /usr/sap/<SID>/<instance_name>/work directory;
provide the value of gw/acl_mode, gw/reginfo and gw/reg_info parameters.

See Also
1669729 - RZ70 via saprouter
SLD Guided Answer, here
Gateway Access Control List page, here
Keywords
'Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT', communication r', Connection refused SLD_UC
SLD_NUC denied 748, internal error, session terminated, TP_REG_ACCESS_DENIED, 748, RC=748, access denied, gateway
client table, re-register, RZ70, RZ70, reginfo, reg info, reg-info, secinfo, sec-info, sec info, security, gw, permission denied,

Attributes
Key Value

Other Basis Components > Client/Server Technology > Gateway/CPIC (BC-CST-GW)


Components

Other Basis Components > Computer Center Management System (CCMS) > System Landscape Directory / Component
Components Repository > System Landscape Directory Java Client & Server (BC-CCM-SLD-JAV)

Other Basis Components > Computer Center Management System (CCMS) > System Landscape Directory / Component
Components Repository > System Landscape Directory ABAP Connectivity (BC-CCM-SLD-ABA)

Products
Products

SAP NetWeaver all versions

This document refers to


SAP Note/KBA Component Title

2253115 BC-CCM-SLD JCO RFC server threads are in [DOWN] state in SLD

1757810 BC-JAS-ADM-ADM How to get the complete list of software components on your NetWeaver Application Server Java

2188401 BC-CCM-SLD-ABA Enabling HTTP(S) in RZ70

1235043 BC-CCM-SLD SLD support information download

This document is referenced by


SAP Component Title
Note/KBA

2554489 Register AS ABAP system to SLD in RZ70 using HTTP connection with path prefix "/sld" doesn't
work

2673086 BC-CCM-SLD- Missing Data Supplier programs in RZ70


ABA

Attachments
File Name File Size Mime Type

rz70.png 39 image/png

datasupplier.PNG 43 image/png

You might also like