cancel
Showing results for 
Search instead for 
Did you mean: 

Searching Update function for New appraisals

Former Member
0 Kudos

Hello

It will be nice if anyone could help.

STATUS:

We are implementing some specific development for Objectives setting and Appraisals.

We are using a new Appraisal model customised via the new Appraisals catalogue. We created some appraisals.

We have developped a specific BAPI in order to read the appraisal information and this works fine.

PROBLEM:

The question is:

is there any complemantary function or BAPI that we could use in order to update the appraisals info via our specific interface?

We found HRHAP_DOCUMENT_SAVE, but there is a lot of parameters ( we don't know their use and how to fill them ?)

We only need to know how to do some update on one of the appraisal element (criteria/column) ?

(SAP R/3 Enterprise - SAP_HR 4.70 level 050)

Thanks in advance for any help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Jacqueline,

What exactly are you trying to achieve. Why did you create an own BAPI for handling the data? Do you use HRHAP_DOCUMENT_GET_DETAIL to build up this information?

The HRHAP_DOCUMENT_SAVE FM is used for saving appraisal data. And the interface is filled like the rest of the HRHAP function modules.

If you really read the appraisal data from scratch without using the standard delivered function modules then this will most likely cause incorrect data.

If you could supply a bit more information I will try to answer your question(s).

Regards and Groetjes,

Maurice Hagen

Former Member
0 Kudos

Hello Maurice

First of all, Valérie - who is in charge of this development - and myself, who try to help her via this forum because she is very busy currently and has very few time, thank you a lot for your help and kindness.

We want to develop our own interface (via the SAP Web Application Server) to manage the appraisal data on SAP. This is why we have developed our own Bapies, to restructure the data sent to the Java side.

The aim is not to avoid to use the standard delivered function, it was just -up to now- to find among them the most appropriate and easy to use (we are not familiarised with these functions).

Now we use the HRHAP_DOCUMENT_GET_DETAIL and the HRHAP_DOCUMENT_SAVE but the difficulty is to update the data and particularly to fill all the parameters for each cell and specifically the ones with a note. We have an average of fourty different criterias on our model and most of them are completed with notes. We have no information on these parameters, we don't understand the use of some of them and didn't find an easy way to fill them. If you have some information on these cells parameters it could be a real help.

Thanks in advance for your time

Kind regards

Jacqueline

Former Member
0 Kudos

Hello Jacqueline,

Every function module within OSA uses always the same concept. We have an Elements table, a Column table and a Cell table (and a seperate Cell Notes table).

The element table has the element ID and OTYPE, and if its a foreign element (for example a qualification) also the foreign ID and OTYPE. For navigation this table has a ROW_IID. This IDD is unique and can be used to indentify an element.

The Column table contains all the available columns within the document. The COLUMN_IID indentifies every column with in the document.

With this information, ROW_IID and COLUMN_IID you can find every specific cell in the cells table. This can also be used for the Cell Notes table.

Now I assume you will want this for your own UI. so say you have an objective and you want to move the user input (both the cell value and the note) of the final appraisal column to the cells table and the cells note table.

To do this read the T_BODY_ELEMENTS with key the elemt ID and otype. This will give you the row_iid.

Read the T_BODY_COLUMNS with column_id = FAPP to find the COLUMN_IID for the final appraisal column.

Now, read the T_BODY_CELLS with key ROW_IID and COLUMN_IID. You know have the pointer to where you can write the entered value. Read the T_BODY_CELL_NOTES with key ROW_IID and COLUMN_IID to getthje pointer for the note, now you can write the entered note in here.

Just have a look at our BSP application HAP_DOCUMENT and the 2 BSP classes CL_BSP_HAP_DOCUMENT_IF and CL_BSP_HAP_DOCUMENT_UI. Here we do exactly the same, but not for the JAVA environment but for the BSP environment.

Most likely you will need for each method in the _IF class a BAPI to achieve the same in JAVA.

I highly recommend to use only the standard function modules within the BAPI's to achieve a consistent behaviour.

Hope this answers your question.

Regards and Groetjes,

Maurice

Former Member
0 Kudos

Hello Maurice

It's fantastic ! Thanks a lot

Former Member
0 Kudos

Hi,

I need one dropdown field next to unplanned delivery cost in MIR7.for this which screen exit should i use?

if anybody have any code regarding this, this would be helpful for me.

Thanx in advance

sunil

Former Member
0 Kudos

sorry wrong thread

Answers (0)