Set step by step for the SAP logon group.

Source: Internet
Author: User
Tags sap gui

Principle:

In actual business, if all users in the system log on to an instace for business operations, the workload of instace will inevitably increase greatly. Therefore, SAP puts forward the concept of grouped login. When a user logs on, SAP Message Server automatically selects the instance with the shortest response time based on the user information for the user to log on, in this way, application service load balancing is achieved. Step 1: Find the Windows directory and modify Sapmsg. iniFile (if not, create one manually)

CID is an SAP system identifier. It can be any combination of three uppercase numbers or letters. 192.168.30.65 is the IP address of the SAP Message Server, which must be correct. step 2: Find the services file under the Windows/system32/Drivers/etc directory, open it in notepad, and add a line of sapmscid 3600/tcp at the end of the file

Note that the name of the newly added service is sapmscid. CID is based on sapmsg. the system number in the INI file, if sapmsg. in INI, change the system label to PRD, and the newly added service name is sapmsprd, and so on. step 3: Create a logon group T-code: smlg in the SAP system

Enter the login Group Name (whatever you want) and select an instance. Here, only one sap_test_cid_00 instance is available. If there are multiple instances, select one. Click copy, and then return to the main interface and select "save ".

Step 4: settings in SAP GUI

Create a new project, select "group/Server" as the connection type, enter the description (write as needed), and select "sapmsg" as the system flag. the Cid we created in the INI file will automatically bring out the IP address of the Message Server. Then you can select the logon group created in the SAP system and select Admin. in this way, you can implement group login. step 5: re-return to sap logon. Double-click the server list you just created to start sap. The system will decide which machine to log on to the group server based on the server response time.
Considering the user friendliness and ease of configuration, You can distribute these items on the Windows domain of your company to various users, the files actually distributed are files starting with sap in the Windows installation directory:
Sapmsg. ini, saplogon. ini, saproute. ini Note:
Theoretically (as you may imagine), sapgui is always connected to the SAP Message Server, and the message server determines the minimum response time of each server, to which the GUI is connected. If you find that the configuration of your server is similar, but many of the guis are connected to one server, it indicates that the response time of the other server needs to be adjusted. You can view the login status of each server at any time through al08, or you can view the response time of each server by pressing f5.

Possible problems
1. Enter prd in the system id when configuring Client Login for the user, but the IP address cannot be parsed.
Solution: no message server is configured. Change the sapmsg. ini file.
2. After the PRD is entered in the system ID, the group server cannot be selected. An error message is displayed, Which is garbled.

The cause is not found. It is estimated that some communication port settings in the service file are incorrect, resulting in the inability to communicate with the message server. Of course, the group server cannot be selected.
Solution: View sapmsg. whether the system flag in ini and services is the same, for example, sapmsg. if the system flag in INI is Cid, the service added in the service should be adjusted to sapmscid 3600/tcp
Alternatively, find the service file under system32/Drivers/etc in the Windows installation directory on other normal machines and copy one file to overwrite it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.