Sei sulla pagina 1di 15

what you get from the table HRP1000 is not appraisal id,... its jus the element id...

appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents

what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents

what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents
what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents
what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents
what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents
what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents
what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents
what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents
what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents
Hi Sikindar!
The document is good but I can't find in it how to do what I need.
Please help.
Thanks.
Regards,
Scarlett

ProductsProducts
IndustriesIndustries
SupportSupport
TrainingTraining
CommunityCommunity
DeveloperDeveloper
PartnerPartner
AboutAbout

Search
Log On

o
o
o
o

Home / Community /Archives/Discussions Archive/SAP ERP Human Capital Management (SAP ERP HCM)
Actions

Archived discussions are read-only. Learn more about SAP Q&A

How to hide text columns in


appraisal template
Hello!
Can anyone tell me how to hide text columns in appraisal template?
I just want to have value columns and need to hide the text ones that are related.
Thanks.
Regards,
Scarlett

Scarlett Love
July 29, 2014 at 13:56 PM
0 Likes
Helpful Answer
by

Sikindar T

Not what you were looking for? View more on this topic or Ask a question

13 replies
Helpful Answer

Sikindar T replied
January 21, 2008 at 16:14 PM
https://wiki.sdn.sap.com/wiki/display/ERPHCM/Appraisals
0 likes

Scarlett Love replied


January 21, 2008 at 16:45 PM
0 likes

Scarlett Love replied


January 22, 2008 at 12:21 PM
My release is ECC6.
Regards,
Scarlett
0 likes

Aruna Nivetha replied


January 22, 2008 at 13:01 PM
Hi Scarlett,
You might be knowing that every field that appears in the appraisal is associated with a row id
and column id. These kind of details of a appraisal document can be obtained from tables like
t_body_cells, T_BODY_COLUMNS etc., by executing standard func module
hrhap_document_get_detail giving the appraisal id.
Once you get the row id and column id then you can use declare a local variable as string and
make it disabled in this way:
IF ( LW_BODY_CELLS-ROW_IID = '0019'
OR LW_BODY_CELLS-ROW_IID = '0025' ).
l_disabled = cl_bsp_hap_document_cs=>c_true.
ENDIF.
If you want to hide the field, then you should set false to the "visible" attribute of the field..which
can also be done in code
Hope this helps.
Regards,
Aruna Nivetha.R
0 likes

Scarlett Love replied


January 22, 2008 at 13:34 PM
Thank you very much, Aruna!
Your answer is very helpful.
I'm new at appraisal systems. So I don't know where to put the function module in order to
execute it with the value parameters that I want.
May I connect it it in the customizing of template ?
Regards,
Scarlett
0 likes

Aruna Nivetha replied


January 22, 2008 at 13:39 PM
Hi Scarlett,
execute the func module separately in SE37 giving the appraisal id and plan version as '01'. you
can get the appraisal id from hrhap table or if the apprisal document is opened, then you can
track its appriaisal id in GOTO->LOCKEDAPPRIASAL DOCUMENTS menu option of
phap_admin_pa transaction.
Once you execute the function module, you will get to know about the columns used and the
data assocaited...
so based on the columns ids, you can code in BSP hap_document in your necessary page with
flow logic or page fragment to disable or hide the respective fields...
Hope this helps.
Regards,
Aruna Nivetha.R
0 likes
Scarlett Love replied
January 22, 2008 at 16:17 PM
You are helping.
Why am I getting 0 entries when testing function HRHAP_DOCUMENT_GET_DETAIL?
I'm putting appraisal ID = VA object type ID (of HRP1000) and plan version = 01.
Table HRHAP is Display/Maintenance Not Allowed. How can I read it?
Regards,
Scarlett
0 likes

Aruna Nivetha replied


January 23, 2008 at 07:36 AM
Hi Scarlett,
what you get from the table HRP1000 is not appraisal id,... its jus the element id... appraisal id
will be unique for each and every document... just check hrhap table if oyu have access or try
phap_admin_pa >goto>locked documents
Regards,
Aruna Nivetha.R
0 likes

Sushil Soni replied


January 23, 2008 at 15:20 PM
Hi,
go through T COde PHAP_CATALOG to create the template, here u will find the all the options :
hide notes etc(under column tab)
give ur email id I will send u the screen shots to create the template..
Regads,
Sushil
0 likes

Scarlett Love replied


January 24, 2008 at 13:52 PM
Aruna,
please tell me if I'm thinking right.
I have to execute OOHAP_BASIC, select enhancement area BA - Column access and put the
enhancement that I created in SE19. After that I'm able to use the enhancement in appraisal
template (OOAM).
My enhancement includes BADI - HRHAP00_COL_ACCESS.
This implementation has two methods. After double click on method GET_COLUMN_ACCESS I
can put my own abap code.
Here may I execute standard func module hrhap_document_get_detail?
The solution is right?
You said that I have to execute standard func module hrhap_document_get_detail. But How can
I link it with the configuration of appraisal template?
After put the enhancement created in enhancement area BA, I'm no seeing it in the list of values
of enhancement in appraisal template (OOAM).
Please help.
I'm not using portal. I need to execute all in R/3.
Thanks.
Regards,
Scarlett
Edited by: Scarlett Love on Jan 24, 2008 12:51 PM
0 likes

Naddy Naddy replied


January 24, 2008 at 15:08 PM
Hi,
You are on right track,
Implement the BADI - HRHAP00_COL_ACCESS for your Appraisal template. Here you need to
define the filter value for the BADI and same should be configured in Template as well.
They you can put your logic in GET_COLUMN_ACCESS methid to hide the values.
Set changing parameter 'availability = 'H' in GET_COLUMN_ACCESS.
...Naddy
0 likes

Aruna Nivetha replied


January 25, 2008 at 06:36 AM
Hi Scarlett,
There are two ways to hide the columns:
1. check the previous post (by Naddy)
2. Forcefully code in hap_document to hide columns in pages with flow logic (this is what i said )..
Since you are following the first step, once you get into the GET_COLUMN_ACCESS method of
the BADI HRHAP00_COL_ACCESS implementation, just use the S_BODY_COLUMNS to
identify the columns you wanna hide. Then use AVAILABILITY parameter to hide the columns by
setting the parameter to H.
Regards,
Aruna Nivetha.R
0 likes

Guryanov Alexandr replied


July 29, 2014 at 13:56 PM
Of course it's too late to answer this question but finally someone will ned the answer and this
topic is the top in google.
If you need to hide a text column and have the value column at the same time - you need to use
HRHAP00_VAL_DET BAdI for the column. I won't highlight here details on how to customize it.
Then you're to use VALUE_DETERMINATION method and there:
1. Read current processed cell, T_BODY_CELLS, using S_BASE_CELL.
2. Set VALUE_TEXT_AVAILABLE = space.
3. Set NEW_VALUE_DETERMINED = abap_true.
If this code was executed for each cell (find details on value determination of the column at t-
code phap_catalog) - you won't see the text column.
The second way is to implement an enhancement in HRHAP_UI_DOCUMENT,
form f3100_data_convert_to_ui, end of form. And change table pt_3100_tbd (set
DISPLAY_VALUE_TEXT = space) for desired columns.
Hope this will help!
0 likes

Share & Follow

Privacy

Terms of Use

Legal Disclosure

Copyright

Trademark

Sitemap

Newsletter