SAP common transaction code

Source: Internet
Author: User
This is the ecc5.0 of SAP retail and is irrelevant to the industry.
Scot and sost
Send email management

Vofm
Formula Calculation and enhancement.

We30
Create an IDOC

Mm41
Create Product

Mm42
Modify item

Mm43
View Product

Rwbe
View product categories and inventory information
Mb1c
No reference shipment, usually used to initialize inventory

Me21n
Create purchase order

Scc3
View the progress of background work

Scc4
Create a client

Sccl
Copy Client

Scc8
Export Client

Scc9
Cross client user copying Client

Scc1
Import Client

Se80
ABAPProgramPlatform

Sm04
Show online user sessions

Ob52
Open the corresponding accounting year and accounting period

Scat
Records transactions and functions to import data in batches.

Smlt
Import Language Pack

Smgw
View system errors.

Sm02 send instant messages to everyone
Se61 modify sap login interface
Se61 ------ create or modify general text, that is, regular text: zlogin_screen_info ----- reference an icon (where XX is a number, run Report rstxicon in se38 to check all icons. the maximum number of lines of text is 16, and each line contains 45 characters.
So01 email

Sm04 check what people are doing and kill people. It can only see one machine.
Al08: Check the number of people logging on. session_manage indicates that the user has not done anything because of the login status. It can see two machines. If you want to log on to another machine, you can use sm51 to switch to another machine.
Os01 view online machine name

Select public from oss1 to enter the sap service area. You can send a message or apply for a lisence key.
S0003605676 password i753a556

Sm50/sm51 view the process, sm50 view the current machine, sm51 can view two machines

Suim permission comparison eg find which role has sproCode

Rz10 editing system parameter files
Rdisp/gui_auto_logout & rdisp/keepalive is used to control idle time (seconds)
Login/system_client is used to control the Default Login client number (000-999)
Login/fails_to_user_lock is used to control the number of times the wrong password is locked (1-99)

Se43 custom SAP standard menu entries displayed in the user's main menu
1. su01 ----- default ---- startmenu ----- region menu (fill in the custom menu)
2. pfcg ----- find common role ----- add tcode ---- From the range menu (fill in the custom menu)

Se56: Check the Object ID and object value.
You can also click "batch modify" in the su01 menu to modify users in batches.
Su02 edit user permission parameter file

Su21 object Creation
Su20/su22 view permission objects from different angles
Create a logic system such as eg. p34clnt800 in Sale

Db13 Data Backup
DB02 monitoring of database tables and Indexes
Db12 data backup log
Sapdba database management tool

Sm36 defines background jobs (standard jobs ------- default plans)
Sm37 view background jobs

Sp01 view the print queue to clear offline requests
Select "full management", define "page format", and then assign the device type (cnsapwin)

Smlg defines the group login method. If you find that the machine cannot automatically allocate resources or allocate resources errors, you can delete a machine in it and then add it to solve the problem, in it, press F5 to view the machine response time. If the response time is within ms, it indicates that the response time is normal.

Sm59 sets SFC connection and can also be used to log on to other machines, even with an SAP communication account.

Sm21 Viewing System Logs

Os06 OS Monitor, the CPU usage is normal within 30%, 30% ~ 70% may indicate that it is slow. If there is no system information, you need to execute the following command in Aix:
PS-Ef | grep saposcol (view the sap operating system collector process)
CD/usr/SAP/p34/sys/EXE/run (note the uppercase letters in this line)
./Saposcol (./indicates running)

ST02 monitors the buffer. Check the hit rate (hitratio). If the swap error value is greater than 1000, you need to use rz10 to adjust the parameter. You are advised to modify only one parameter at a time. Restart sap after the change is completed to make the parameter take effect.
Usr/SAP/p34/sys/profile has a parameter file. You can back up the parameter file before changing the parameter file. The command is as follows: CP xxx yyy, you only need to copy the backup parameter file back to the original parameter file name. Here, YYY includes: Default. PFL p34_dvebmgs00_p34dbsvc p34_d01_p34apsvc start_d01_p34apsvc start_dvebmgs00_p34dbsvc.
---------------------------------------
The file owner in the LS-L system is as follows:
-Rwxrwxr-x 1 p34adm sapsys 2919 Sep 26 default. Bak
-Rwxrwxr-x 1 p34adm sapsys 2919 Sep 26 default. PFL
-Rwxrwxr-x 1 root system 466 Aug 08 :55 default. pfl.0
-Rwxrwxr-x 1 p34adm sapsys 8940 Sep 26 p34_d01_p34apsvc
-Rwxrwxr-x 1 p34adm sapsys 8940 Sep 26 p34_d01_p34apsvc.bak
-Rwxrwxr-x 1 p34adm sapsys 1013 Aug 08 p34_d01_p34apsvc.bak
-Rwxrwxr-x 1 p34adm sapsys 5304 Sep 26 p34_dvebmgs00_p34dbsvc
-Rwxrwxr-x 1 p34adm sapsys 5014 Sep 26 p34_dvebmgs00_p34dbsvc.
Bak
-Rwxrwxr-x 1 p34adm sapsys 1891 Sep 01 start_d01_p34apsvc
-Rwxrwxr-x 1 p34adm sapsys 2669 Sep 01 start_dvebmgs00_p34dbsv
C
P34db: p34adm> Cd ..
P34db: p34adm> ls
Exe gen Global profile. bck src (Red is the full profile backup, blue is useless, it is taken from the original d00 system, and the upper-case Bak file is automatically backed up by the system, however, it only saves the previous results for the last time. Therefore, do not save the changes multiple times after modifying the parameters. modify all the changes and save them all at once. When restoring the parameters, you must use the p34adm user to log on, to avoid changes to the file owner, resulting in SAP being unable to start)
------------------------------------- Use CP-r profile. bck.2005.9.27 profile (restore the parameter file)

St04 view database logs (go to ------ database logs)
Oracle/p34/saparch view arch File

Sm13 checks whether the update is valid. You only need to check the words "Update valid" in the middle.

Sm12 checks the lock entry, which can be used to unlock. For example, if the user locks the entry and the network is disconnected, the user needs to unlock it.

St03n allows you to view some system information. Everything ending with "N" is the thing code developed by SAP later. It is used to analyze some system information of SAP and check whether the response time exceeds 2000 Ms, if it exceeds the limit, you need to use other methods to analyze why it is so slow. sm37 is used to check the background job, sm50 is used to check the process, sapdba or DB02 is used to check whether tablespace is full, and DB02 needs to be refreshed; otherwise, it may not be real-time data, but sapdba is real-time data. Sm21: view system logs, st22: View dump.

Sm19 tracks the user's sm20 and looks at the user's detailed actions. Stat roughly looks at the user's actions.

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 code kk01 to be recorded in the pop-up window, and 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.
    • Hosts file.
    • Open the ztest.txt file. The content is as follows:

· [Variable identification] [variant text] stagr bezei msehi

· --> Parameter texts Statistical Indicator Name statistical key number Unit

· --> Default value: Y02 Y02 H

· *** Changes to the default values displayed above 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.

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.