07-22-2009 2:26 PM
Hi Experts ,
I am implimenting BADI HRHAP00_VAL_DET to automatically populate data of a particular template to the current template(from where the BADi is getting triggered).
The Source template parameters that are available are VA(Criteria Group), Criteria ID (VB) and Column ID .
Can any body tell me how to read the entire contents in an appraisal document.
thanks.
11-07-2009 8:42 PM
Hi there,
Please check the following tables:
HRHAP Appraisal Document
HRHAP_ACT_LOG Appraisal Document: Action Log - Addition
HRHAP_ANON Appraisal Document: Anonymous Appraiser A
HRHAP_APPEE Appraisal Document: Appraisee Assignment
HRHAP_APPER Appraisal Document: Appraiser Assignment
HRHAP_BASIC Appraisal Document: Basic Element Data
HRHAP_FINAL Appraisal Document: Cell Values of Final Appraisal
Best regards,
Vasco Brandã
11-07-2009 8:42 PM
Hi there,
Please check the following tables:
HRHAP Appraisal Document
HRHAP_ACT_LOG Appraisal Document: Action Log - Addition
HRHAP_ANON Appraisal Document: Anonymous Appraiser A
HRHAP_APPEE Appraisal Document: Appraisee Assignment
HRHAP_APPER Appraisal Document: Appraiser Assignment
HRHAP_BASIC Appraisal Document: Basic Element Data
HRHAP_FINAL Appraisal Document: Cell Values of Final Appraisal
Best regards,
Vasco Brandã
11-19-2009 1:48 AM
Hi Mukul.
The BADI HRHAP00_VAL_DET has as entry call S_BASE_CELL this structure has de row and column id that is define with the implementation. This will be executed for every row/colum that have this implementation.
You may access the values of the rest of the columns you want to fill using the row_iid
Selección de columna TANA
READ TABLE T_BODY_COLUMNS INTO LS_BODY_COLUMNS_2
WITH KEY COLUMN_ID = 'TANA'.
IF NOT LS_BODY_COLUMNS_2 IS INITIAL.
READ TABLE T_BODY_CELLS INTO LS_BODY_CELLS_2
WITH KEY ROW_IID = S_BASE_CELL-ROW_IID
COLUMN_IID = LS_BODY_COLUMNS_2-COLUMN_IID.
L_INDEX_2 = SY-TABIX.
ENDIF.
then you may changes any values of the body cells structure.
LS_BODY_CELLS_2-CELL_VALUE_CLASS = 'Q'.
LS_BODY_CELLS_2-CELL_VALUE_TYPE = 951.
and finally modify the table
MODIFY T_BODY_CELLS FROM LS_BODY_CELLS_2 INDEX L_INDEX_2 TRANSPORTING CELL_VALUE_CLASS CELL_VALUE_TYPE .
If you try to modify every row/column in the appraisal at the same time probably you could use the logic above into a loop.
Regards.
04-06-2011 7:47 PM
Hi Joaquin,
Just got to see your expertise in Performance Management BADI area in form of this thread reply.
We are struggling with a probelm where we are trying to change Value Classes of few fields based on user input in a field inside a VC.
We are able to change the value classes of those fileds, but are not able to influence these fileds only in that particular VC. To do so, we need to find the VC element ID from the cell to which it is attached, but we are not able to find because this implementation is attached to all the VC's in the template & that's why getting triggered for all VC's & hence Base Cell values are changing & not static.
Can you please provide some help on the same?
If you want, I can explain the same with some examples.
Thanks,
Prashant