HOW TO SAP

Step by step manual guide with screenshot for Basis, Security Authorization & Abap

Popular Posts

  • HOW TO SAP - Create RFC TCPIP connection and Register Server Program with RFCEXEC
    Execute SM59 Expand TCP/IP connections > Click Create Enter the following details. Ensure connection type is 'T' Save a...
  • HOW TO CHECK SIZE OF A CLIENT Note 118823 - CC-ADMIN: Size of a client
    SAP NOTE 118823 - CC-ADMIN: Size of a client Symptom To be able to schedule client copies and also for system planning, the size of clien...
  • How to change SAP script - SE71
    1. Firstly open SE71. Enter the Form name. 2. Click change 3. Click on Page window 4. You can now change the attributes. 5. O...

Blog Archive

  • ▼  2019 (14)
    • ▼  July (4)
      • How to change SAP script - SE71
      • STMS – Transport management system. How to do tran...
      • SAP Basis – Daily check list
      • SAP R/3 Tips and Tricks – Cheat Sheet for Intervie...
    • ►  June (8)
    • ►  May (2)
  • ►  2018 (1)
    • ►  January (1)
  • ►  2017 (65)
    • ►  December (16)
    • ►  November (18)
    • ►  October (26)
    • ►  September (1)
    • ►  August (3)
    • ►  June (1)
  • ►  2014 (1)
    • ►  August (1)
  • ►  2013 (2)
    • ►  December (1)
    • ►  March (1)
  • ►  2012 (5)
    • ►  June (3)
    • ►  February (2)
  • ►  2011 (88)
    • ►  October (3)
    • ►  September (8)
    • ►  August (8)
    • ►  July (4)
    • ►  June (14)
    • ►  May (22)
    • ►  April (11)
    • ►  March (14)
    • ►  February (2)
    • ►  January (2)
  • ►  2010 (1)
    • ►  October (1)
  • ►  2009 (17)
    • ►  October (12)
    • ►  September (1)
    • ►  August (3)
    • ►  June (1)
  • ►  2008 (20)
    • ►  January (20)
2013-2017. Powered by Blogger.
HOW TO SAP

SAP SECURITY INTERVIEW - BEST PRACTISES

October 01, 2017   interview, security,
Implemantation of SAP security for a public sector organization: Part I
Summary:
This document presents the technical recommendations and improvement opportunities based on a review of the Large Public Sector Security Framework, the Organizational job role definition and requirements.  It is assumed that the organization will develop or contract knowledge security resource(s) to execute the recommendations.  Out of the list of thirteen (13) recommendations, recommendation 1, 2, 3, 5, 6, 9, 11, and 14 should be reviewed first. 
Recommendation 1: Three best practices should be documented in the security framework and be followed to optimize security role design. 
1.    The same transaction code should not appear in more than one core functional role.  This design principle minimizes transaction code redundancies.  It decreases risk of inconsistent access privileges for common transactions.  One adjustment to a role is automatically activated for all assigned users or positions.
2.    Core functional roles should contain a small set of related transactions in a sub business process area.  Core functional roles should be task orientated rather than job orientated.  This approach decreases turnaround time for design and build of roles.  Code changes at the role level involve less clean up because the roles are smaller.  Code adjustments occur less often because many functional design changes only require remapping of roles to position or users. 
3.    Within a functional role there should be no SOD (segregation of duties).  When the roles are combined and assigned to the users / positions, in some instances, SOD has to exist because the conflicting tasks cannot be separated. 
Attached are examples of core functional role design matrixes:
Role Design Matrix Template.xls
How to define functional roles example.xlsx

Recommendation 2: The Organization may consider the use of value activity groups (also referred to as organizational roles) to facilitate roll out of security roles globally. 
Value Activity Groups vs. Master and Derived roles

The Organization’s Security Framework discussed the use of “master” and “derived” roles for global roll out.  The approach of creating master (also referred as Template roles), and then derive the master roles into children roles with different organization attributes can meet the requirements.  However, one important goal of an organization in its security design is to minimize the number of roles in the system.  With this consideration, the use of Value Activity Group will add efficiency and ease maintenance. 

“Master” and “derived” roles approach is to first
1.            Create the master roles (also referred to as the core functional roles) which contain the transactions necessary to perform a process. The required authorization objects and values are developed, with the exception of the Organization Level values. Organization Levels include such values as Company Code, Cost centers, Purchasing Organization, etc.
2.            Then copies of this master role are “derived”. These derived roles contain not only the same transactions and authorization values as the master but also the Organization Level values.

The use of Value Activity Group approach is to first
1.    Create the master roles (also referred to as the core functional roles) which contain the transactions necessary to perform a process. The required authorization objects and values are developed, with the Organization Level fields deactivated or blank. 
2.    Create small value activity groups (also referred to as organizational roles) which contain only organizational authorization objects and fields, such as company code, purchasing groups, business areas and associated activity codes…etc.  These roles differ from the derived roles because they only contain a few applicable organizational objects and values.  They are “small” and easy to maintain.  In addition, derived roles are master role specific and are tied to a specific process or sub process areas.  But value activity groups are independent of any master roles or process areas and can be combined with any core functional roles and assigned to users or positions. 
For example, we would like to restrict five functional roles including Accounts Payable, Accounts Receivable, GL, Purchasing, and Sales roles based on business areas (for example, we have ten business areas).  If we use the master and derived role approach, we will need to first create five master roles for AP, AR, GL, Purchasing and Sales.  Then we will need to derive ten roles for AP, ten roles for AR, ten roles for GL, ten roles for purchasing and ten roles for Sales to restrict the master roles on the ten business areas.  The total number of roles in this case will be fifty-five roles including five master roles and ten derived roles for each of the five master roles. 
If we use value activity group approach, we still will have the five master roles (AP, AR, GL, Purchasing and Sales).  But we will only need 10 value activity group (also referred to as organization roles) each contain one of the ten business areas.  Then at the time of assignment, the appropriate value activity group contain a specific business area will be assigned to the users or positions in addition to the master roles.  In this case the total number of roles is only 15 as compared to the 55 roles in the master and derived role scenario.  

The more functionality and more organizational variations that are in scope, the more advantageous is it to use the value activity.  The benefits of using value activity group are:
1.    Significantly reduces the number of roles in the system
2.    Reduces the size of the roles themselves
3.    The approach is flexible and modular because the value activity groups (organizational roles) can be matched with many different master roles to create the necessary access mix.  These value activity groups are different flavors that can be added to different master roles. 
4.    Change or additions to the value activity groups can be done independent of the master roles with minimum impact on any other roles.  Therefore the implementation and maintenance effort is low with respect to any design change on the organizational attributes. 

Attached is an example of how to define value activity groups:
how to define value activity group.xlsx

Recommendation 3:   The Organization may consider the use of position based security for assignment of the security roles. 

Position Based Security vs. User Based Security:

Most of the Organizations currently uses user based security, which refers to the method of assigning security roles to a user ID. 
Position based security refers to the method of assigning security roles to an org unit, job or position instead of assigned them to a user ID.
At you organization, an HR org structure is available, which allows security to leverage and assign users to an org attributes.  Position based security reduces initial and ongoing administration effort.  Since roles are not tied to a user, rather it is tied to a position the user(s) occupied, once a role is assigned to a position under the org structure, any users occupy that position will get the access.  For example, if a user transfer from Position A to Position B, no role reassignment is necessary, because the roles are assigned to Position A and B, not to the user.  When this transfer happens, the user moves in HR org structure from A to B, and will automatically get authorization which is assigned to Position B and relinquish old authorization from Position A.
In addition, position based security is easier to use with Workflow functionality:
In general, Workflow uses the organizational structure to identify approving positions; the position itself, not the holder of the position, drives the approval
Position-based security is similar to the position-focused Workflow (chief positions); everything is centered on positions.

Here is how to assign security roles to an attributes along the organizational structure:
In PFCG, security team will assign roles via the org mgmt tab,
, choose the org attributes from the org structure to which the role will be assigned.  The role can be assigned to an org unit, a work center, a person, or a position. 


However, for contractors, temporary employees who are not on the HR organizational structure, user based security will have to be applied for this subset of users. 

Recommendation 4: To reduce number of roles in the system, The Organization may consider use of only virtual composite roles (job roles) rather than creating real composite roles (job roles) in the system. 
Composite roles are containers of one or more core functional roles.  Some disadvantages of creating actual composite roles in the system are:
1.    Increase number of roles in the system.
2.    Overtime, composite roles can lose its original definition when more single functional roles are added to the composite. 
3.    Composite roles can hide SOD (segregation of duties) issues because it is not transparent what actually are in the composites. 
Virtual composite roles refer to the approach of maintaining a document with job (composite) role to core functional role mapping.  But in the system, security administrator will directly assign those core functional roles to users or positions.  In this case, virtual composite role serve only as an out of system reference for assignment. 

Recommendation 5: It is very important to have good role naming convention from the start of the project.  The Organization may consider adding a section in its framework to discuss its security role naming convention.  The naming of the roles should be indicative of its functions and other attributes, such as organizational attributes.  An example of a naming convention document is attached:
naming convetion example.docx
Recommendation 6: It is important to have a user strategy in the security framework/strategy document. 
1.     User mapping: User/Position mapping is the process of keeping parallel documentation on assignment of roles to users (e.g. an Excel matrix, or using an application such as SAP GRC Role Expert).  User/Position mapping is a vital step in accurately determining user access to the SAP system, substantially decreasing the risk of inappropriate user access.
Below is an example:

The Process should be followed:
–     Functional team leads map users/position to the core functional roles necessary to perform day-to-day business tasks. 
–     User maps should be forwarded to the security team by the functional teams in order to set up the user IDs accurately
–     Segregation of duties analysis should be performed on a role and user level
2.    User ID source and naming convention: One step in the user mapping process is to determine the user ID source and naming convention.  One option for the organization to consider is to use network ID as SAP ID, making it easier for creating users and standardizing user naming across platform.  When applicable, SAP can pull users IDs and other user information such as address data from LDAP (Active Directory).  User ID and password policy should be defined in the security framework or strategy document.
3.    User provision:  The Organization should be starting the process of selecting and implementing user provisioning application. 

Recommendation 7:  The Organization may consider running SOD checks at different phases of its SAP implementation.  During role design phase, SOD check should be performed at transaction level against the core functional roles defined.  After the roles are built in the system, an SOD check should be performed on the roles in the Development box.  The organization may request its GRC vendor to connect to the development box and perform the check.  After unit testing, prior to the transport of the security roles to QA box, another check should be performed.  After the roles are tested during integration testing and modifications are made, The organization may request its GRC vendor to connect to the QA box and run another SOD check.  In the cutover plan there should be a step to perform an SOD check prior to transporting to production.  In production, the GRC application’s productive instance should be connected to the SAP productive instance upon go live and checks be performed continuously.

Recommendation 8:  Key security parameters should be reviewed and documented in the security strategy document and values approved for input in the system.  Attached below is an example of the selected parameters and settings:
PARAMETER
PRD
QA
DEV
login/failed_user_auto_unlock
0
1
1
login/fails_to_session_end
3
3
3
login/fails_to_user_lock
5
5
5
login/min_password_diff
3
0
0
login/min_password_digits
1
0
0
login/min_password_letters
1
1
1
login/min_password_lng
7
7
7
login/min_password_specials
0
0
0
login/no_automatic_user_sapstar
1
1
0
login/password_change_for_sso
0
0
0
login/password_change_waittime
1
1
0
login/password_expiration_time      
60
90
90
login/password_history_size
10
5
5
login/password_max_idle_initial
3
6
6
login/system_client
Depends on SID
Depends on SID
Depends on SID
rdisp/gui_auto_logout
1,800
3,600
3,600
rdisp/max_wprun_time
600
600
600
rdisp/max_alt_modes
3
6
6
Continue Reading

How to Implement SAP note in SNOTE

October 01, 2017   implement, snote,
  • Go to Transaction SNOTE

  • Read the note carefully and check for validity, Pre-Implementation steps , Post-Implementation steps and Pre-requisite Notes.

  • Download / Upload the desired Note http://scn.sap.com/docs/DOC-43239

  • Do the manual pre-implementation steps in case the Note suggests.

  • Implement the pre-requisite Note if needed

  • Implement the Note , Navigate to menu Goto -> SAP Note Browse



0.JPG

  • Make sure the Note is in “Can be Implemented” or “Obsolete version Implemented” Implementation status.

  • Select the note and proceed with Implementation (F8) , SNOTE also allows to implement set of Notes together.

  • Select the request from the pop-window or create a new request.

2.JPG
3.JPG

SNOTE lists out objects
4.JPG
5.JPG
6.JPG
Make sure to see the final status and log of note implementation (ctrl+F5).
7.JPG

Check for Post-Implementation steps from the Note , if mentioned proceed with the steps accordingly
Continue Reading

How to troubleshoot - Issues while importing the ABAP transport

September 30, 2017   ABAP, BASIS, TRANSPORT,
The Advanced Business Application Programming (ABAP) transport is imported in the SAP system to support data collection. You must import the ABAP transport before configuring the SAP agent.
You might face the following issues while importing the ABAP transport:
  • The component version of transport does not match the component version of target system
  • Return code 12 error when you import the ABAP transport
This blog answers how to resolve these issues.
Issue 1: Mismatch of component versions
On the SAP system, when you use the STMS transaction to import the ITMK711_00xxxU.ITM transport requests, the following error message is displayed:
1 of 1 requests do not match the component version of the target system
Cause
From the SAP Basis version 702, or later, the transport program (tp) verifies whether the component version of the transport and the component version of the system where you want to import the transport are the same. If the component versions do not match, the version inconsistency is displayed in the import queue of the SAP system, as shown in the following image.
 
image

Solution
Complete the following steps to resolve the version mismatch issue:
  1. On the SAP system, open the Import Transport Request window.
  2. On the Options tab of the Import Transport Request window, ensure that you select the check boxes that are shown in the following image.

    image
  3. Click the tick mark icon to proceed further to import the ABAP transport.
Issue 2: Return code 12 error while importing the ABAP transport 
You are unable to import the ABAP transport and receive the following error message:
Program terminated (job: RDDEXECL, no.: 11272600)
See job log Execution of programs after import (XPRA) End date and time: 20130906112742 Ended with return code: ===> 12 <===


Cause
The SAPLSTUW program is not started at run time because the program is not generated and activated on the SAP system.
Remember: When you import the ABAP transport, the return code 12 error is displayed due to one of the following reasons:
  • The SAPLSTUW program is not started at run time
  • Import is canceled because the required object is missing
  • Objects are not active
  • Program terminated because the RDDEXECL job was not working
  • Connection problem between systems
Use the following solution if the SAPLSTUW program is not generated and activated on the SAP system.
Solution
Complete the following steps to generate and activate the SAPLSTUW program:
  1. Log in to the SAP system and open the SAP GUI.
  2. In the ABAP Editor: Initial Screen window, select SE38. The SE38 is the transaction code to create, modify, and display a program.
  3. In the Program field, enter SAPLSTUW as the program name.
  4. In the Subobjects area, select Source code and click Display.

    image
  5. In the ABAP Editor: Display FunctionalPool SAPLSTUW window, click Program > Generate.

    image
    
    When the SAPLSTUW program is generated, the following message is displayed at the bottom of the window:
    Program SAPLSTUW successfully generated
  6. Click the Activate icon to activate the SAPLSTUW program and save the changes in the database.

    image

    When the SAPLSTUW program is activated, the following message is displayed at the bottom of the window:
    Active object generated
After you complete these steps, import the ABAP transport again.
If you have any further questions on the troubleshooting issues while importing the ABAP transport on the SAP system, please add a comment to this blog post.
Continue Reading

How to Configure SAP HR Step by Step

August 16, 2017   configure, SAP HR,
Source


HR Configuration Steps:

First Goto SAP Logon Screen
You come to the SAP initial screen.
Overview of Human Resource Structure
  • Define Company
  • Company Code
  • Assign a Company-Code to a Company
  • Personnel Area
for details follow the Screen Shot:
Related: Outgoing Email Configuration Step By Step
First Goto SAP Logon Screen
You come to the SAP initial screen.
Note that after each step, you can use the Back Button to quickly return to the IMG menu screen.

1. Reaching the IMG

The setting or customizing of SAP is done via the IMG (Implementation Guide). The route to reach the SAP Reference IMG will be as follows:

SAP Mail Screen -> Tools -> Customizing -> IMG -> Edit Project 

II. Overview of Human Resource Structure

A Human Resource Management System enables you to set up organizational hierarchies and employee relationships and then store and administer employee data in the system. The structures of an enterprise are subdivided into organizational structures, based on an organizational plan, and administrative structures, based on the enterprise and personnel structures.
There are three types of Human Resource structure:
1. Enterprise Structure
2. Personnel Structure
3.Organizational Structure
We assign all three structure in info type 0001(Organization Assignment)

1. Define Company:

A Company is generally used in the legal consolidation module to roll up financial statements of several company codes.

Menu Path: SAP Referance IMG->Enterprise Structure->Definition->Financial Accounting->Define Company  

Double Click on it.
Give the Company Name and Address.

Press save button.
Press create request.
Give Short description.
Press save button.
Note: We need to create this request once when you save first time in user ID.
Press enter.

2. Company Code:

A company code is representative of a stand-alone legal entity that requires its own set of accounting records for reporting purposes.

Menu Path: SAP Reference IMG -> Enterprise Structure -> Definition->Financial Accounting -> Define, copy, delete, check Company Code.

Double click on it.
Give Company Code identifier and additional data.
Press save button. Give all the additional detail for the Company Code.



Press Enter.


Press Enter.

3. Assign a Company-Code to a Company

All objects defined are independently floating objects unless tied together in a relationship. By assigning Company-Code to the company
we define the relationship.
Menu Path: SAP Reference IMG -> Enterprise Structure ->Assignment->Financial Accounting-> Assign Company code to Company 




Double click on it.
Click on Position.
Give your Company Code.
Press enter.



Using drop down push button find your Company


Press save button.
Press enter.

Read here: HR Payroll Configuration / Integration With FICO

4. Personnel Area:

The personnel area is an organizational unit that represents a specific area of the enterprise and is organized according to aspects of personnel, time management and payroll. A personnel area is divided into several personnel subareas.

Menu Path: SAP Reference IMG->Enterprise Structure->Definition->Human Resources Management-> Personnel Areas 
Double Click on it.
Double click on Personnel Areas.
Give four digit identifier for your Personnel Area and additional information.
Press save button.
Give all the details about Personnel Area.
Press save button
Give all the details about Personnel Area.
Press Enter

Continue Reading
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)
Designed By: Blogger Templates | Templatelib