Account Creation in SAP
Account Creation in SAP in SAP Connector Prerequisites.
Account Creation in SAP#
Follow the steps below to create an account in SAP:
1. Create an account using the SAP for a particular client or create applications and services for that account using the SAP.
2. Create a non-interactive user using SAP GUI, following the steps below:
Procedure#
a. Navigate to SAP Menu > Tools > Administration > User Maintenance > Users or directly to transaction SU01.
b. From the initial screen of SU01, enter the SAP User Name you want to create and select Create.

c. Fill with necessary data such as full name and email. After that, select the Logon data

d. Fill in the initial password or use the generated:

e. Here you enter the User Type, Validity date, and Password.

Details of User Types: Dialog ‘A’:#
- A normal dialog user is used by one person only for all types of logon.
- During a dialog logon, the system checks for expired and initial passwords and provides an option to change the password.
- Multiple dialog logons are checked and logged if necessary.
System ‘B’#
- You use a user-of-type System for communication without dialog within one system (for RFC or CPIC service users) or for background processing within one system.
- Dialog logon is not possible.
- A user of this type is excluded from the general settings for password validity. Only the user administrator can change the password using transaction SU01 (Goto > Change Password).
Communication ‘C’#
- You use a user-type Communication for communication without dialog between systems (for RFC or CPIC service users for various applications, for example, ALE, Workflow, TMS, CUA).
- Dialog logon is not possible.
Service ‘S’#
- A user of the type Service is a dialog user available to an anonymous, larger group of users. Generally, this type of user should only be assigned very restricted authorizations.
- During logon, the system does not check for expired or initial passwords. Only the user administrator can change the password.
- Multiple logon are allowed.
Reference ‘L’#
- Like the service user, a reference user is a general user, not assigned to a particular person. You cannot log on using a reference user. The reference user is only used to assign additional authorization. Reference users are implemented to equip Internet users with identical authorizations.
- You can specify a reference user on the Roles tab to grant additional rights to dialog users.
- Generally, the application controls the allocation of reference users. You can assign the reference user’s name using variables. The variables should begin with “$”. You assign variables to reference users in transaction SU_REFUSERVARIABLE.
- This assignment applies to all systems in a CUA landscape. The assignment is ignored if the assigned reference user does not exist in one of the CUA child systems.
f. On tab “Default,” enter the time

g. Enter SAP Roles.

h. Save and make sure the user is successfully
#
User Requirement#
This user does the background processing and communication between HEAL and the SAP system.
The user requirement is as follows.
- TAB: Logon Data
- User Type: System
- TAB: Default
- Decimal Notation: 1,234,567.89
- Date Format: DD.MM.YYYY
- Time Format: 24-Hour Format
The user should have the following authorization.
| Object Class | Authorization Object | Authorization fields | Values |
|---|---|---|---|
| BC_C | ACTVT | 16, L0 | |
| S_DEVELOP | DEVCLASS | * (All) | |
| OBJNAME | * (All) | ||
| OBJTYPE | * (All) | ||
| P_GROUP | * (All) |
| Object Class | Authorization Object | Authorization fields | Values |
|---|---|---|---|
| BC_A | S_TOOLS_EX | AUTH | * (All) |
| Object Class | Authorization Object | Authorization fields | Values |
|---|---|---|---|
| BC_A | S_SPO_DEV | SPODEVICE | * (All) |
| Object Class | Authorization Object | Authorization fields | Values |
|---|---|---|---|
| BC_A | ACTVT | 33, 34, A6, A7 | |
| S_DATASET | FILENAME | * (All) | |
| PROGRAM | * (All) |
| Object Class | Authorization Object | Authorization fields | Values |
|---|---|---|---|
| AAAB | ACTVT | 16 | |
| S_RFC | RFC_NAME | * (All) | |
| RFC_TYPE | FUGR, FUNC |
| Object Class | Authorization Object | Authorization fields | Values |
|---|---|---|---|
| AAAB | S_TCODE | TCD | SE37 |
3. HEAL requires the client’s SAP landscape information to discover the client
Follow the steps below to extract SAP landscape information.
a. Open client SAP Solution Manager.
b. Execute Transaction code.
Select the program name as AI_LMDB_EXEC_REPORTING.

c. Select Trigger all reports; export to selected file path
Keep the default value for the Path on Application Server.

d. When the report completes successfully, then send the file created at the OS level to ProductSupportTeam@healsoftware.ai.

4. HEAL monitors client data. A few settings in the SAP system may suppress the monitoring of data.
Follow the steps below for a sanity check to make sure data is available for the SAP connector.
a. Select entries in SAPWLWAMAI and fill in AUSGABE tables to get Stad data.

Note: This is a dynamic change. You need not restart the system.
b. STAD Execution – Interactive Mode
Execute Transaction code: STAD
Select Show All Stats Records, Sorted by Time
Enter values for
- Date (DD:MM:YYYY format)
- Time (HH:MM:SS format)
- Length (HH:MM:SS format – This is the time duration of data collection)

As shown in the following screen, STAD data extraction starts from 19th December 2019 @14:00:00 hrs for 10 minutes duration.
Data extraction from 19th December 2019, “14:00:00 hrs to 14:10:00 hrs”.
c. Select Sel fields (1) and select all fields (2).

d. Click Download and send the file to ProductSupportTeam@healsoftware.ai.

Note: The default retention period for STAT data is 2 days.
e. Report Execution – Background Mode
Execute Transaction code SE38.
Enter the name of the program in the Program box.

Enter values for Start Time, RENDTI, Read Time, Display Mode, and Client.
Available Display Mode Options are as follows.
- Show All Stats Records, Sorted by Time – a
- Show all records, grouped by business transaction – b Show Business Transaction Tots – c
Execute the above selection in the background (F9).
Report generated successfully as follows.



The spool will be generated successfully as follows.

f. Send the spool data to ProductSupportTeam@healsoftware.ai.
g. Create a custom output device. Execute transaction code SPAD.
Click on ‘Output Device’ and select ‘Create‘.

Device Attributes#
Select ASCIIPRI: Some generic ASCII printer in the ‘Device Type’ box.
Select ‘Standard printer’ in the Device Class box.

Access Method#
- Select L: Print Locally Using LP/LPR in Host Spool Access Method box.
- Enter the name of the printer in Host Printer
- Double-click ‘A‘ in the Command Set ID dialogue box.
- Enter the description.
- Enter the command in the Command for Passing Print Data
For example:
/usr/bin/cp &F /data/sapmnt/DE1/global/800SPOOL/ ; /data/sapcd/BASIS/spool_output_to_os.sh &F &N &O &T &F – Default Spool Location Path /data/sapmnt/DE1/global/800SPOOL/ – Copy the Spool Request (&F) and Save at OS level -File Path /data/sapcd/BASIS/spool_output_to_os.sh – Script performs copying of Spool and formatting of data ——-Script : /data/sapcd/BASIS/spool_output_to_os.sh ———— —————————————— J=$1 N=$2 O=$3 T=$4 E=”.done” d=`date ‘+20%y%m%d%H%M%S’` FN=`echo $J | awk -F/ ‘{printf(“%s”,$7)}’` FN1=${O}-${T}-${N}_${d}${E mv /data/sapmnt/DE1/global/800SPOOL/${FN} /data/sapmnt/DE1/global/800SPOOL/${FN1}
5. Enter the command in the Command for Quering Job Status box.
For Example: echo ok

h. Scheduling the background

i. STAD

j. Print device
Output Device: ZPRINTFILE
Print Time: Immediately

Click Immediate.

Go to Transaction: /nsm37
Check the Job status.

Successful job completion.

Successful processing of the spool.

k. You can see the Spool file created on the OS.

File name: BASIS–575204_20191213160818.done
Format of File name: <User>-–<Spool Nr>_YYYYMMDDHHMMSS.done
YYYYMMDDHHMMSS is the timeframe for a job at SAP.
Send the file to ProductSupportTeam@healsoftware.ai.
- Create a Logon Group following the below
a. Login to SAP
b. Go to the SMLG transaction and select ‘Create’.

c. In the Create Assignment window, under the Assignment tab, enter the following information.
- Logon Group: PUBLIC

d. Under the Attributes tab, enter the below information and select Save.
- Select the checkbox next to Ext. RFC-enabled.
- And enter the text (Fav.Typ) as shown in below field.

e. After completing the above steps, capture the screenshot from the SMLG transaction and send the file to ProductSupportTeam@healsoftware.ai.
- Create an SDM for your
Refer to Control Centre Administrator Guide.pdf for the same. Contact ProductSupportTeam@healsoftware.ai should you require any assistance on the same.
- To monitor custom metrics (if any) in addition to OOB metrics, create the metrics via the CC UI.
To check the available metrics for HEAL, follow the steps below:
a. Login to Control Center (CC).
b. Navigate to Setup > Topology > Metrics. The list of all the metrics is
c. To filter SAP-specific metrics, click Filter, and on the Filters page, enter SAP Server in the Component. Then click Apply.
The list of SAP metrics is displayed as shown below.
