Wednesday, 11 September 2013

SEPTEMBER 11

Created log-in screens for each role.
To create the screens, right click on report, select create -> screens.
Now provide the screen number , short description and select  "normal screen" radio button.
Now in the following screen painter, create the desired fields.
Here, I have created 2 I/O fields to take input from user, 3 text fields to display where to enter what value to user and four push buttons for taking further actions.



By using similar methods, I have created four such screens numbering 110 ,120 ,130 and 140 for employee ,manager ,reviewing officer and accepting officer respectively.

Now, executed the previous again, and clicked on employee button. The following output is obtained:
OUTPUT:
Similarly when I click on any other push buttons, the log-in screen appears and on every screen it is mentioned the name of the role who have logged in. As in this case ,it is 'employee login screen'.

Using the same procedures, log in  screens for each role is displayed .

Tuesday, 10 September 2013

SEPTEMBER 10

The first task is to create a main page where the individual role can log-in into the system.
I created here four push buttons  naming employee , manager , reviewing officer and accepting officer. with click on each button, the respective role can log-in into the system. Here , the size of buttons and the starting co-ordinates of each button is provided so that buttons appear in a proper way on the screen.
Fifth button is 'exit' button. By clicking exit, I leave the screen area and enter into the coding part.
At the main screen, now I want that when employee clicks the 'EMPLOYEE' button, the log-in page should be displayed where only an employee can log-in but not any other role. same validation is to be applied on all the roles.For that  I have created 4 log-in screens naming 110, 120 , 130 , 140.

The final code structure is as below:

*&---------------------------------------------------------------------*
*& Report  ZPROJECT_EAS
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT  ZPROJECT_EAS.

*--------------------------------------------------------------*
*Selection-Screen
*--------------------------------------------------------------*
SELECTION-SCREEN:
  BEGIN OF LINE,
      PUSHBUTTON 5(10) button1 USER-COMMAND but1,
PUSHBUTTON 35(10) button2 USER-COMMAND but2,
    END OF LINE,
    SKIP 2,
       begin of line,
PUSHBUTTON 5(18) button3 USER-COMMAND but3,
PUSHBUTTON 35(18) button4 USER-COMMAND but4,
      END OF LINE,
      SKIP 2,
    BEGIN OF LINE,
PUSHBUTTON 22(10) button5 USER-COMMAND but5,
       END OF LINE.

*--------------------------------------------------------------*
*At Selection-Screen
*--------------------------------------------------------------*
AT SELECTION-SCREEN.
  CASE sscrfields.
    WHEN 'BUT1'.
      CALL SCREEN 0110.
    WHEN 'BUT2'.
      CALL SCREEN 0120.
    WHEN 'BUT3'.
      CALL SCREEN 0130.
    WHEN 'BUT4'.
      CALL SCREEN 0140.
    WHEN 'BUT5'.
      LEAVE PROGRAM.
  ENDCASE.
*--------------------------------------------------------------*
*Initialization
*--------------------------------------------------------------*
INITIALIZATION.
  button1 = 'EMPLOYEE'.
  button2 = 'MANAGER'.
  BUTTON3 = 'REVIEWING OFFICER'.
  BUTTON4 = 'ACCEPTING OFFICER'.
  BUTTON5 = 'EXIT'.

. After executing the above part, following screen is displayed.

OUTPUT:


Monday, 9 September 2013

SEPTEMBER 9



Now we need to create a main program.
Step 1. Go to transaction SE38. following screen appears.




provide program name as " ZPROJECT_EAS" and select "source code" radio button and click create. The following screen is shown.


Step 2. provide the title for the report. - EMPLOYEE APPRAISAL SYSTEM.
type -  'executable program'.
status - 'test program'.
application - 'basis'.
press enter button now. Following screen is displayed. Here we enter "$temp" as package name and save it as local object.


Finally the report is created and is displayed like this:



The entire coding part is done under this report.


Friday, 6 September 2013

SEPTEMBER 6

Same steps are followed to create the manager table , reviewing officer table and accepting officer table.
MANAGER TABLE:
Name of table : ZPROJECT_MGR.
Short description :  MANAGER TABLE FOR PROJECT EAS
Required Fields:
MGR_ID - manager id.
MGR_NAME - name of manager.
DEPT_NO - department number
DEPT_NAME - department name.
PASSCODE - password.
PHONE_NO - phone number
ADDRESS - address


After the fields are defined, we enter the values.


REVIEWING OFFICER TABLE:
Name of table : ZPROJECT_RO.
Short description : REVIEWING OFFICER TABLE FOR PROJECT EAS
Required Fields:
RO_ID -  reviewing officer  id.
NAME - name of  reviewing officer.
DEPT_NO - department number
DEPT_NAME - department name.
PASSCODE - password.


Values are then entered in the fields.


ACCEPTING OFFICER TABLE:
Name of table : ZPROJECT_AO.
Short description : ACCEPTING OFFICER TABLE FOR PROJECT EAS
Required Fields:
AO_ID -  accepting officer  id.
NAME - name of  accepting officer.
DEPT_NO - department number
DEPT_NAME - department name.
PASSCODE - password.


Values entered in the tables are:




Thursday, 5 September 2013

SEPTEMBER 5

There are 4 roles for this project.
FIRST is Employee - he reports to the manager of his department.
SECOND is the Manager - he keeps record of activities of employees of his department and assess them.
THIRD is Reviewing officer - manager reports to him and the evaluation report is reviewed by him. He checks the report and may mark for some changes.
FOURTH one is the Accepting Officer - he will give the final decision on the evaluation reports whether to accept the report or not. After he finalizes the report, then only employees can view their performance results.
So, accordingly first we need to create four data dictionary tables to store the basic records of the above four roles.
Create an employee table to store the employee details of the company:
Step 1. Go to Transaction SE11.
Step 2. enter table name "ZPROJECT_EMP" and click create. The table name must start with alphabet "Z" and by default the table name will be saved in uppercase.
Step 3. provide short description for the table -  "EMPLOYEE TABLE FOR PROJECT EAS ".
Step 4. In 'delivery and maintenance' tab enter value "A" in field delivery class. Select "display/maintenance allowed" in field data browser/table view maint.


Step 5.  Select fields tab and define the required fields.
 For this project the fields used are:
 EMP_ID - employee id. (primary key)
 EMP_NAME - employee name
 DEPT_NO -  department number.
DEPT_NAME - department name.
JOINING_DATE - date of joining the organisation.
TO_DATE - date till the employee is in the organisation.
PASSCODE - password
EMP_PHONE - phone number.
ADDRESS - addressof employee.
MARK - this field is used when a particular row is to be selected from the table in any screen. It is defined here for future references but not used here.



Step 6. Now create entries in the table. Select Utilities -> table contents -> create entries.  Following screen appears.:


enter values in the fields. click on save (floppy icon) and then click on next arrow button to enter new values. Similarly, all the required entries are done.
To display all the entries, select utilities -> table contents -> display entries. if we select all the entries then it is displayed as follows :







Wednesday, 4 September 2013

SEPTEMBER 4

After I learned the basics of ABAP programming codes and executed many practice programs , I was given my project entitled "Employee Appraisal System". I searched on net for various factors required to begin with the project. It is very important to understand the concept properly before starting to work on it. A brief detail of what does it actually mean , its objectives, why is it important for any organisation to evaluate the performance of employees' , kinds of appraisal system that can be used is given below 


PERFORMANCE APPRAISAL
An organization’s goals can be achieved only when people put in their best efforts. How to ascertain whether an employee has shown his or her best performance on a given job? The answer is performance appraisal. Employee assessment is one of the fundamental jobs of HRM. But not an easy one though. 
In simple terms, performance appraisal may be understood as the assessment of an individual's performance in a systematic way, the performance being measured against such factors as job knowledge, quality and quantity of output, initiative, leadership abilities, supervision, dependability, co-operation, judgement, versatility, health, and the like. Assessment should not be confined to past performance alone. Potentials of the employee for future performance must also be assessed.
A formal definition of performance appraisal is:
It is the systematic evaluation of the individual with respect to his or her performance on the job and his or her potential for development.
The second definition includes employees’ behavior as part of the assessment. Behavior can be active or passive--do something or do nothing. Either way behavior affects job results. 
The objectives of performance appraisal are:
 Data relating to performance assessment of employees arc recorded, stored. and used for seven purposes. The main purposes of employee assessment are:
1. To effect promotions based on competence and performance.
2. To confirm the services of probationary employees upon their completing the probationary period satisfactorily.
3. To assess the training and development needs of employees.
4. To decide upon a pay raise where (as in the unorganized sector) regular pay scales have not been fixed.
5. To let the employees know where they stand insofar as their performance is concerned and to assist them with constructive criticism and guidance for the purpose of their development.
6.  To improve communication. Performance appraisal provides a format for dialogue between the superior and the subordinate, and improves understanding of personal goals and concerns. 
7. Finally, performance appraisal can be used to determine whether HR programmes such a selection, training, and transfers have been effective or not.
      Broadly, performance appraisal serves four objectives-
(i)                developmental uses,
(ii)             administrative uses/decisions,
(iii)           organizational maintenance/objectives, and
(iv)           documentation purposes 
Performance management is the process of creating a work environment or setting in which people are enabled to perform to the best of their abilities. Performance management is a whole work system that begins when a job is defined as needed. It ends when an employee leaves the organization.
Employees across the entire organisation are appraised of their performance. This could be done annually, twice a year, periodically depending the need of the organisation
The various kinds of performance appraisal systems are:
1.Personality based performance appraisal system:
Here the appraiser is supposed to rate the personality traits of the person being appraised.

2.Competence based performance appraisal system:
Here the job analysis is used and the employee is appraised for the skills he exhibits. For e.g. if his job entails dealing with the clients then he is judged for his effectiveness in dealing with them. This enables both the organisation and the employee as to what deficiencies are to be overcome and can be useful in providing training to the employee to better his performance.

3.Result based performance appraisal system:
This system concentrates on the final results achieved by the employee irrespective of his personality or deficiencies. This is totally related to the job and concentrates on the end results that are more important to the organisation.
The performance appraisal system has to be transparent and the employee should be taken into full confidence. In many cases employees themselves are given a chance to conduct a self-appraisal.
Normally the immediate supervisor does the appraisal. Some organisations also have a peer group performance appraisal where colleagues rate the performance .

What elements make up a successful and productive employee appraisal includes:
  • Conducting the performance appraisal in a timely fashion,
  • Offering a balanced evaluation of both the employee's strengths and of their weakness
  • Including a review of key performance areas or projects where an employee has performed well.
  • A bit of praise is a way of lifting an employee's morale and feelings of success on the job
  •  Making any criticisms of the employee's work in a productive way. 
  • Focus on ways the employee can improve or do a better job.
  • Set goals for the next appraisal period that are quantifiable and achievable.  
When Appraisals should Take Place
Most large organizations hold formal appraisal discussions annually, while some fast moving organizations prefer to have them twice a year. When employees are working on projects, there may be an appraisal after each assignment has been completed.
Performance appraisals are an integral part of every organization and if they are properly developed and implemented, they can help the organization achieve its goals by developing productive employees.
   

Tuesday, 3 September 2013

SEPTEMBER 3

Programs using message class:

*&---------------------------------------------------------------------*
*& Report  Z92PROGRAM4
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT  Z92PROGRAM4.

 
PARAMETERS: username TYPE char10.
PARAMETERS: password TYPE char10.

        
IF  
     USERNAME = 'SAPHUB' AND PASSWORD NE 'KHUSHI'.
     
CLEAR USERNAME. CLEAR PASSWORD.
         
MESSAGE 'INCORRECT PASSWORD, PLZ ENTER CORRECT PASSWORD'     TYPE 'I'.

         
ELSEIF
           USERNAME 
NE 'SAPHUB' AND PASSWORD = 'KHUSHI'.
            
CLEAR USERNAME. CLEAR PASSWORD.
           
MESSAGE 'INCORRECT USERNAME, PLZ ENTER CORRECT USERNAME' TYPE 'I'.

           
ELSEIF
             USERNAME 
NE 'SAPHUD' AND PASSWORD NE 'KHUSHI'.
              
CLEAR USERNAME. CLEAR PASSWORD.
             
MESSAGE 'INCORRECT USERNAME AND PASSWORD , PLZ ENTER CORRECT USERNAME AND PASSWORD' TYPE 'I'.
           
  ELSE.
      
 MESSAGE 'YOU MAY PROCEED' TYPE 'I'.
      
 WRITE : / 'USERNAME :' , USERNAME,
       / 
'PASSWORD:' , PASSWORD.
        
ENDIF.
          AT SELECTION-SCREEN OUTPUT.
     
LOOP AT SCREEN.
    
IF screen-name = 'PASSWORD'.
      
screen-invisible = 01.
      
MODIFY SCREEN.
     
ENDIF.
  
ENDLOOP
.