Several common basis skills

Source: Internet
Author: User

1. Create a new user

2. Create a New Role

3. Set the automatic logout function of sapgui.

4. Use scat for Data Import

5. Configure personal information

6. Commonly Used T-CODE related to basis

 

1. Create a new user

After the client is created and copied, create a new user before the formal operation. Use this user for work. By default, ddic and sap * are not used for actual business. The process of creating a user is very simple. You only need to enter the user maintenance screen with the su01 transaction code. Enter the new user name in the user column and click Create. Enter the relevant parameters. The key is to set the role and parameter file. If it is an administrator, you can set the role to "sap_all_restricted" and the parameter file to "sap_all ". The role name and parameter file are a pair, and the parameter file is a file that controls the specific permission settings. The role and parameter file can also be specified here, and can be set when the role is set.

 

2. Create a New Role

Pgcg, you can add the desired role by copying an existing role, adding a T-CODE or menu. Role can be divided into two categories: single role and composite role. The so-called composite role is composed of multiple single role. Key in role management: maintenance of role parameters (parameter maintenance is completed through parameter comparison)

You can add users to be granted to the current role in the user menu.

 

3. Set the automatic logout function of sapgui.

When the client is not used for a long time, in order not to occupy the resources of the SAP server, we can set to automatically exit the SAP system when the client does not perform operations for a period of time. The procedure is as follows:

 

Use tcode rz10 to open the parameter configuration window, select your current instance parameter file, select extension edit, and click Modify to enter the extension parameter editing window.

 

Press the create button to create a parameter named "rdisp/gui_auto_logout". Enter the parameter value"600", Indicates that if the customer does not perform operations in 10 sub-categories (600 seconds), the SAP system will be automatically exited.

 

Click exit to save the settings. In the rz10 window, press save to transfer the parameters to the system parameter file. Restart the sap instance to make the configuration parameters take effect.

 

We can also use rz11 to set some parameters for the currently running instance. However, the parameters set in this method only affect the currently running instance. Once the instance is restarted, the parameters will become invalid.

 

4. Use scat for Data Import

A large amount of primary data needs to be imported when the system is online or tested. There are multiple methods in SAP to import a large amount of data in batches. Here we will introduce how to import data using scat. The following describes how to import statistical indicator data.

 

Use the scat transaction code to enter the Computer-Aided Testing Tool screen and create a test item in the test condition column. The name of the test item must start with Z, for example, ztest. After the name is entered, start recording the transaction by pressing the left-side "TCM" button on the toolbar.

 

First, enter the transaction to be recorded in the pop-up window.CodeKk01, press enter to enter the statistical indicator maintenance interface.

 

Next, enter the encoding, name, and unit of measurement for the statistical indicator according to the operation for maintaining the statistical indicator, and finally return to the scat transaction Interface Based on the transaction record saved.

 

On the scat transaction interface, press save. The select development interface is displayed. Select "local object" to create the ztest project.

 

Return to the initial screen of scat. In this case, there should be a test project you just created in the test event list. Select it, press the "change" button in the toolbar, double-click the kk01 item in the menu, and then double-click the "saploksk" item. The input statistical indicator encoding window is displayed, the cursor stays in the encoding column, and then click "insert import parameter" in the toolbar to create a & stagr parameter. Next, press the next page in the toolbar so that the cursor stays in the name column. Just like above, click "insert import parameter" in the toolbar to create the & bezei parameter. Then, the cursor automatically moves to the metering volume. Similarly, the & msehi parameter is generated. Press the return button to return to the previous screen, and then press save to complete the parameter creation.

 

Return to the initial screen and select ztestIn the case of a test project, select "go to" in the menu"--“ ------“, And a ztest.txt file is generated.

 

Open the ztest.txt file. The content is as follows:

 

[Variable identifier] [variant text] stagr bezei msehi

--> Parameter texts Statistical Indicator Name statistical key unit

--> Default value: Y02 Y02 H

* ** Changes to the default values displayed abve not valid tive

 

The format of the data to be imported is as follows:

 

[Variable identifier] [variant text] stagr bezei msehi

--> Parameter texts Statistical Indicator Name statistical key unit

--> Default value: Y02 Y02 H

* ** Changes to the default values displayed abve not valid tive

Y03 y03 H

Y04 y04 H

 

Y03 and y04 are statistical indicators to be imported. All spaces in the file are separated by tabs.

 

After finishing the format of the imported data, you can import the data. Run the ztesttest project, select the external directory of the local file, and select the organized ztest.txt file. You can select "front-end" or "back-end" as the processing method. It is best to select the front-end mode for the first time to facilitate debugging. Click the run button on the toolbar.

 

5. Configure personal information

When operating the SAP system, you often need to enter some parameters, such as the cost control scope, company code, and factory. Is it annoying to enter these fixed parameters every time you open the interface? The answer is yes. By configuring personal information, each user can remember these parameters. The following describes how to set the cost control scope code ca00.

 

Choose system> USER parameter file> personal data to go to the personal parameter configuration page. Here, the addree tag can be used to set personal information such as the user name, address, and phone number. The defaults tab can be used to set the Start Menu, logon language, and decimal point; the parameters label can be used to set the default input parameter values. Select a parameter code in the parameters column. For example, if the CAC is the cost control range, enter the value ca00 in the value. Save the disk and exit. After you log on again, ca00 will be automatically filled in wherever you want to enter ca00 in the interface.

 

In addition, there is a Save button on some input parameters interface to save the parameters directly as the default value or user default value, the effect is the same as the above configuration.

 

On the interface where you need to enter the cost control scope, you can use the menu "extend"> "set cost center scope" to overwrite the default ca00 value.

 

6. Commonly Used T-CODE related to basis

Slicense or SLIC

 

Activate sap license.

 

SE16

 

Show SAP data table

 

Se38

 

Run ABAPProgram

 

Shdb

 

SAP table name that traces the operation of a transaction code

 

Rz10

 

Configure the sap parameter file. Restart the instance after modification.

 

Rz11

 

Modify the parameters of the running instance to take effect immediately after modification. You do not need to restart the instance. Restart the instance. The parameter modification is invalid.

 

Sick

 

SAP system consistency check.

 

STMs

 

Create a transmission management system

 

Smlt

 

Import Language Pack

 

Sgen

 

Compile the sap object so that you do not need to compile it when accessing the sap object, improving the server response speed.

 

Sm02

 

Create a system message. The message body and server name and customer name must be filled in during creation. When the customer column is not filled or the "*" number is entered, the message can be immediately sent to all logged-on users after it is saved, it is displayed when other users log on to the system.

 

Sm04

 

Show online user sessions

 

Sm12

 

Display and unlock tables locked by users

 

Sm21

 

Show System Logs

 

Sm50

 

Display Worker Process

 

Sm51

 

Show sap instances

 

Sm59

 

Maintain RFC

 

Spam

 

Support for package management tools

 

Scc4

 

Create a client (Group)

 

Sccl

 

Local client Replication

 

Scc3

 

Show ClientCopy logs

 

Scat

 

Records transactions and functions to import data in batches.

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.