Basic Application of SAP. catt batch processing/batch operation

Source: Internet
Author: User

Here we will not discuss the application catt batch create roles, the reason is that there will be different numbers of T-CODE for different roles, when the application catt creates a touchpad, the number of variables corresponding to the T-CODE is too small, the value of this method is not high.
The catt implementation document can be obtained through the network. Here we will briefly extract the implementation process and method

Enter the initial catt screen:
Case naming: spaces are not allowed.
Description:
Type:
Component: because these actions are related to the User Creation, select "basis components" [pix1]

Save as "local object" [pix2]

Back to initial screen [pix3]

(1) Application su01 batch create/copy users
Record the operation (omitted). After the operation is completed, "back" will automatically return to scat and start subsequent work. [Pix4]

Test Case> CHECK syntax [pix5]

When setting "variables", most of the implementation methods provided on the Internet are implemented through "Field List" and are automatically named by the system. We recommend that you use another method, which has the following benefits:
1. Screen-by-screen display, you can clearly know the specific position of the variables you set on the screen;
2. manually set variables to facilitate memory and maintenance;
3. Set any location as a variable based on your actual needs;
Select and enter the recorded record, and select the frontend execution of local synchronization in operation mode, so that you can clearly see the same picture as the previous recording operation, and clearly know the specific coordinates of the variables you need to set [pix6]

On the first screen, saplsuu5 0050 set the variable & user_name --------- SAP User Account. Set the variable to start with '&' [pix7]

2nd screen saplsuu5 0100 setting variable & last_name --------- user name corresponding to the SAP account [pix8]

Saplsuu5 0100 setting variable & pass_1st ---- Setting Password, setting variable & pass_2nd ---- repeating password [pix9]

Saplsuu5 0100 setting variable & logon_zh ----- log on to the default language [pix91]

Step 5 saplsuu5 0050 [pix92]

Dashboard saplsuu5 0001 [pix93]

Exit catt: function details TCM test case

Save

During the test process, [1] perform the frontend mode test, select "run", enter "value" to the variable, and keep the configuration as follows:
Log Type: Long, proccessing mode: foreground, variants: w/o
You can get the description of these environments through official documents!
Make sure that the entered information is correct and start execution! [Pix94]

During the execution, each screen displays a trace confirmation, tracking each screen, and manually confirming whether the variable assignment is correct [pix95]

The user "z_testusr1" has been created before the recording process. Therefore, an error will be prompted but the operation will not be interrupted. You can manually modify the user name here, you can also select and return to the initial screen to modify [pix96].

After modification, You can manually select "New button" to complete the screen operation and go to the next screen.

[Pix97]

[Pix98]

[Pix99]

No matter whether the execution is correct or failed, a report will be reported after completion! [Pix991]

Export "variant": [pix992]

Export the format of "variant" [pix993]

Catt_z_su01_demo.txt
Objective: To create users in batches, set user names, passwords, and logon languages
& User_name SAP User Name
& Last_name User Name
& Pass_1st Password
& Pass_2nd password already exists
& Logon_zh default logon language [en, zh]

Testing Process [2] Testing the error mode [pix994]

Test process [3] output results in background Mode
 

(2) apply pfcg to batch copy roles, modify descriptions, and generate parameter files
 · CreateTest Case [pix01]

· Recording test events. recording process: Role copy,Modify description,Generate parameter file, recording process omitted
· Check syntax and save
· Set variables[Pix02, pix03, pix04a, pix4b, pix05, pix06, pix07, pix08]



· Perform a front-end test to confirm the correctness of the variable settings and the validity of the recording process.
· Output"Variant"[Pix09]

Catt_z_pfcg_copyrole_v1.txt
Objective: To copy a role, modify the description, and generate a parameter file
& Source_role source role name
& New_role new role name
Description
& Param_name Automatic Generation [null]

(3) apply pfcg to batch allocate roles to users to complete user comparison
Here I am adding "20" sap users to a role because too many variables cannot be set if I add too few users, when I need to add many users to a role in practical applications, the variables cannot meet the requirements. For those who are new to ccat, they may encounter problems, however, the number of "variables" can be modified, but a new "variant" must be exported after modification ".
Users can also add roles, but after adding roles, You need to compare them with the corresponding roles. This makes it very difficult to create test events for batch operations.

· CreateTest Case [pix01]

· Recording Test Events and recording process: Assign roles to users to complete user comparison and recording process

· Check syntax and save

· Set variables[Pix102, pix103, pix104a, pix14b, pix104c, pix105, pix106]

· Perform a front-end test to confirm the correctness of the variable settings and the validity of the recording process.

· output " variant " [pix107]
catt_z_pfcg_assignusr.txt
purpose: to assign roles to users in batches, complete user comparison
& role_name role name
& usr01 SAP User
& usr02 SAP User
& usr03 SAP User
......
& usr14 sap users

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.