Friday, May 7, 2010

Implicit Enhancements

These types of enhancement are predefined in the following places of an ABAP program:
• At the end of an include (some restrictions apply; for example, at the end of a method include)
• At the end of Private, Protected and Public sections of a Class
• At the end of the Implementation of a Class
• Before the END INTERFACE in an Interface definition
• At the end of a structure definition
• At the beginning and at the end of: forms, functions, methods
• In the parameters list of a method, at the end of: CHANGING, IMPORTING and EXPORTING
To see what Implicit Enhancements are available; in the ABAP editor follow this path: Edit->Enhancement Operations->Show Implicit Enhancement Options.

Screen Shots

Explicit Enhancements

These are predefined enhancement sections, usually defined by SAP. Explicit Enhancements are stored in Enhancement Spots. In program RIAUFMVK you can see some examples of them.
Explicit Enhancements are pretty easy to implement; in the ABAP editor, get into the Enhancement Mode by clicking the spiral button. Then, right click into the enhancement point you plan to implement and select Enhancement Implementation->Create. You will be asked a name and a description and after this you can simply add your code.

Screen Shots

Sunday, March 7, 2010

HR SAP Function Module to get Employee Details from User ID

HR_GETEMPLOYEEDATA_FROMUSER - Input for this function Module is User ID.

Wednesday, January 27, 2010

SAP Function Module Relating to HR Apprisal

Function Module Name - HRHAP_DOCUMENT_GET_DETAIL
EG:
data: lv_APPRAISAL_ID type HAP_S_APPRAISAL_ID,
lit_BODY_CELLS type HAP_T_BODY_CELLS,
lwa_BODY_CELLS type HAP_S_BODY_CELLS.

lv_APPRAISAL_ID-APPRAISAL_ID = appraisal_id.

CALL FUNCTION 'HRHAP_DOCUMENT_GET_DETAIL'
EXPORTING
plan_version = '01'
s_appraisal_id = lv_APPRAISAL_ID
IMPORTING
T_BODY_CELLS = lit_BODY_CELLS.

Monday, January 25, 2010

Function Module to Update Infotype

Function Module Name is - HR_INFOTYPE_OPERATION
Check standard Program - RPUPBSQ4_DYNUPDT

Wednesday, January 13, 2010

Get Infotype 8 Value ( Direct and Indirect Evaluation )

Function Module Name - RP_FILL_WAGE_TYPE_TABLE
Pass the Begin Date, End date and Employee Number.

Monday, January 4, 2010

Transport Request Table

The table where all Transport request and tasks are saved is - E070