"In SAP for logging in to the system you need a user ID and a password. This user ID is created by the system administrator. The first time you login to the SAP system you need to change that password which has been assigned to you while creating the user ID. Every user ID will have certain roles assigned to it. The System Admin (Basis Administrator) is responsible for creating these roles after consulting the Functional team. Each user will typically have several roles assigned to their user ID. The user roles are predefined in the SAP system and each employee would have a combination of several roles which have been predefined in the SAP system. The roles are defined using the activity groups in the SAP system. A proper understating of the activity groups is necessary for creating and assigning Roles in the SAP system. Once a pre-defined user role is assigned to a user the system then automatically displays the appropriate User menu when the user logs on and provides the required authorization. An activity group can contain Transactions, Reports, Files, Web Links. Once the activity group has been assigned it defines the user specific menus. Once the user logs on to SAP a user specific menu is displayed this menu is controlled by the activity group that has been assigned to the user. To display a list of descriptions of the pre-defined user roles, select Tools---- Administration----User Maintenance--'Repository Infosys--' Activity Groups----' List of activity groups according to complex selection criterion---' Selection according to activity group name or call transaction S_BCE_68001418. The pre-defined user roles are delivered as templates and have names beginning with 'SAP_' and suffix _AG. Composite activity groups can be built with individual activity groups. A composite activity group does not contain any authorization."
"The SAP Control Framework is used for the communication between the controls on the presentation server and the ABAP application server. In ABAP Objects, it is programmed, and contains a set of global classes that you can find in the Class Browser under Basis -> Frontend Services. Between the application server and presentation server these classes encapsulate the communication, which is implemented using Remote Function Calls. There is a global class, which encapsulates all application controls. In the class Browser under Basis -> Frontend Services or Basis -> Components Integration, you can find the SAP Basis Controls."
Thursday, August 14, 2008
SAP ABAP Important Keywords : The following list displays some of the important Keywords in ABAP
No
Keyword
Description
1
AT END OF … ENDAT
Control group end in LOOP
2
AT Fg … ENDAT
Processing specific to record type in LOOP
3
AT FIRST … ENDAT
Execute processing block within a LOOP before processing single lines
4
AT LAST … ENDAT
Execute processing block within a Loop after processing single lines
5
AT NEW … ENDAT
Control group end during LOOP
6
CALL
Call processing (Program, function module, screen)
7
CHECK
Selection condition, leave loops and subroutines
8
CONTINUE
Exit current loop pass within a DO, WHILE, LOOP or SELECT loop
9
DO … ENDDO
Loop processing
10
EXEC SQL … ENDEXEC
Execute a Native SQL Statement
11
EXIT
Leave loops or subroutines
12
FORM … ENDFORM
Definition of a subroutine
13
IF … ELSE … ENDIF
Conditional processing
14
LEAVE
Leave program processing, go to a transaction, list (or) menu
Always specify your conditions in the Where-clause instead of checking
them yourself with check statements. The database system can then use an index
(if possible) and the network load is considerably less.
Always use Pretty Printer and Extended Program Check before releasing the code.
Do not leave unused code in the program. Comment the code thoroughly. Align the comments and the Code. Follow the SAP Standards and SAP Best Practices guidelines. It’s a good practice to take a dump of the code on your local drive.