SAP OSS Notes

1262892 SAP OSS Note - Corrections for PDF and tooltips on assessment








SAP OSS Note 1262892 version 0016 contains details of a know issue related to Corrections for PDF and tooltips on assessment. This includes any associated symptoms and instructions on how to fix it, see below for full details. Also check out the comments section to view/add related contributions, questions or screen shots, based on real life experience of this oss note and problem.

...For more information about the SAP support system known as OSS please check out the SAP OSS NOTES SECTION, whih includes how to download & implement them onto your SAP system using transaction code SNOTE.

Note 1262892 Details:






When does this problem occur

1. In the handbook of the Talent Review Meeting, some tooltip and custom text for some fields are not properly set - the following forms are effected:
,,1. HRTMC_RM_COVER_PDF
,,2. HRTMC_RM_TALENT_TOPIC_PDF
,,3. HRTMC_SHORT_PROFILE_PDF
,,4. HRTMC_TALENT_PROFILE_PDF

To learn how to change PDF forms, please see application help of Adobe Designer.



2. In the overvew of the assessment of the managament, the tooltips for the Talent is not proper.



Description of problem



Cause of the problem and Pre-requisites

Coding error.
Prerequisites: Adobe Designer is installed to correct the PDF Forms.

Solution instructions

Before applying the correction instruction automatically,
please DO follow the instructions below to change it manually, otherwise, syntax errors may occur!
Create all the OTR text below in Language German, Package PAOC_TMC, object type WDYV:
Alias Text Length
PAOC_TMC/PREVIOUS_POTENTIAL Vorherige Potentialwert 30
PAOC_TMC/PREVIOUS_PERFORMANCE Vorherige Performancewert 30
PAOC_TMC/CURRENT_POTENTIAL Aktueller Potentialwert 30
PAOC_TMC/CURRENT_PERFORMANCE Aktueller Performancewert 30
PAOC_TMC/TALENT_MATRIX Talentmatrix 30

Please also enhance the following DDIC structure:

Structure name: HRTMC_S_PDF_PERSONAL_DATA.
Add following component in this structure:
Component ,,,,Component Type,,,,Data Type
GRID_DESCR,,,,,,,,,,,,,,STRING
PICTURE_DESCR,,,,,,,,,,,,STRING

Structure name: HRTMC_S_PDF_RM_SCHEDULE.
Add following component in this structure:
Component ,,,,Component Type,,,,Data Type
EXTERNAL_STRING,,,,,,,,,,,,STRING,,,,


After creating all the OTR text, do the following steps:

1. ,,Go to transaction 'SFP'.
2. ,,For some common issues, please modify the the above 4 forms seperatedly steps as below:
2.1 In the accessibility panel, if the field type on the layout is textfield and there is no caption for that field type, set the
'Customer Text' to 'None'
2.2 Check every table, set 'Cusomter Text' option for accessibility of each table cells to none.
2.3,,If the data is using a table to repeat the table, but visibly it doesn't look like the table, plase set the 'Table Role' to 'None'
in the accessibility panel, .
3. Add tooltips for the picture for HRTMC_SHORT_PROFILE_PDF and HRTMC_TALENT_PROFILE: to apply this, please first apply note 1265715
After applying the note, please make the following steps
3.1 Refresh the context node 'PWB_DATA' of HRTMC_SHORT_PROFILE_PDF and HRTMC_TALENT_PROFILE_PDF .
3.2 in HRTMC_SHORT_PROFILE_PDF, bind the tooltip and customer text of Graphic node 'GRAHPIC' to context $record.PWB_DATA.WA_PERSONDATA.PICTURE_DESCR
3.3 in HRTMC_TALENT_PROFILE_PDF, bind the tooltip and customer text of Graphic node 'TALENT_PIC' to context node $record.PWB_DATA.WA_PERSONDATA.PICTURE_DESCR
3.4 in HRTMC_TALENT_PROFILE_PDF, bind the tooltip and customer text of Graphic node 'GRID_PIC' to context node $record.PWB_DATA.WA_PERSONDATA.GRID_DESCR


Note 1262892 Correction instructions:



NOTE: Only source text changes are displayed here

*$*$----------------------------------------------------------------$*$*
*$ CORRECTION INSTRUCTIONS 0120031469 0000696762 $*
*$--------------------------------------------------------------------$*
*$ VALID FOR : $*
*$ Software Component EA-HRGXX EA-HR General Functionality $*
*$ Release 604 To SAPK-60401INEAHRGXX $*
*$*$----------------------------------------------------------------$*$*
*&---------------------------------------------------------------------*
*& Object METH CL_HRTMC_CP_UTILITIES
*& GET_GRID_URI
*& Object header CLAS CL_HRTMC_CP_UTILITIES
*&---------------------------------------------------------------------*
*>>>> START OF INSERTION <<<<
METHOD get_grid_uri.
DATA: lr_hrbas_message_list TYPE REF TO if_hrbas_message_handler.


DATA: lv_plvar TYPE plvar,
lv_status TYPE hrtmc_p_status,
lv_x_position TYPE int4,
lv_y_position TYPE int4,
lv_prev_x_position TYPE int4,
lv_prev_y_position TYPE int4,
lv_x_no_ratings TYPE int4,
lv_y_no_ratings TYPE int4,
lv_current_performance TYPE string,
lv_current_potential TYPE string,
lv_previous_performance TYPE string,
lv_previous_potential TYPE string,
lv_classname TYPE string,
lv_grid_descr TYPE string,
lv_is_performance_x TYPE boole_d,
lv_string TYPE string,
lv_datatype TYPE string,
lv_object TYPE string,
lv_axis_object TYPE string,
ls_grid_info TYPE hrtmc_s_grid_info,
lv_grid TYPE hrtmc_grid,
lv_methodname TYPE string.





CLEAR: ev_grid_url, ev_content, ev_is_ok.
* set plvar
IF iv_plvar IS INITIAL.
lv_plvar = gv_plvar.
ELSE.
lv_plvar = iv_plvar.
ENDIF.
IF lv_plvar IS INITIAL.
RETURN.
ENDIF.


CREATE OBJECT lr_hrbas_message_list TYPE cl_hrbas_message_list.

TRY.
CALL METHOD cl_hrtmc_rm_utils=>get_grid_position_for_talents
EXPORTING
iv_person_id = iv_person_id
iv_no_auth_check = iv_no_auth_check
iv_key_date = sy-datum
io_message_handler = lr_hrbas_message_list
IMPORTING
ev_status = lv_status
ev_x_position = lv_x_position
ev_y_position = lv_y_position
ev_prev_x_position = lv_prev_x_position
ev_prev_y_position = lv_prev_y_position
ev_x_no_ratings = lv_x_no_ratings
ev_y_no_ratings = lv_y_no_ratings.

lv_methodname = 'GET_GRID_ICON'.
CALL METHOD cl_hrtmc_rm_utils=>get_grid_icon
EXPORTING
iv_x_current = lv_x_position
iv_y_current = lv_y_position
iv_x_previous = lv_prev_x_position
iv_y_previous = lv_prev_y_position
iv_no_of_x_values = lv_x_no_ratings
iv_no_of_y_values = lv_y_no_ratings
iv_width = iv_width
iv_height = iv_height
io_message_handler = lr_hrbas_message_list
IMPORTING
ev_url = ev_grid_url
ev_content = ev_content
ev_is_ok = ev_is_ok.
**********************************************************************
* create grid description as follows:
* Talentmatrix:
* Aktueller Performancewert: x
* Aktueller Potentialwert: y
* Vorherige Performancewert: x
* Vorherige Potentialwert: y
**********************************************************************


TRY.
lv_grid = cl_hrtmc_t77tmcparams=>get_parameter_value(
iv_parameter_group = 'GRID' iv_parameter_name = 'GRID' ).
CATCH cx_hrtmc_t77tmcparams.
ev_is_ok = abap_false.
RETURN.
ENDTRY.

CALL METHOD cl_hrtmc_grid=>get_grid_info
EXPORTING
iv_grid_id = lv_grid
RECEIVING
rs_grid_info = ls_grid_info.

lv_axis_object = ls_grid_info-x_axis_subject.
IF lv_axis_object = 'PERFORMNCE'.
lv_current_performance = lv_x_position.
lv_previous_performance = lv_prev_x_position.
lv_current_potential = lv_y_position.
lv_previous_potential = lv_prev_y_position.
ELSE.
lv_current_performance = lv_y_position.
lv_previous_performance = lv_prev_y_position.
lv_current_potential = lv_x_position.
lv_previous_potential = lv_prev_x_position.
ENDIF.
**********************************************************************
* grid description
* Talentmatrix:
* Aktueller Performancewert: x
* Aktueller Potentialwert: y
* Vorherige Performancewert: x
* Vorherige Potentialwert: y
**********************************************************************
lv_string = cl_wd_utilities=>get_otr_text_by_alias(
'PAOC_TMC/TALENT_MATRIX').
CONCATENATE lv_string ':' cl_abap_char_utilities=>newline INTO
lv_grid_descr.
lv_string = cl_wd_utilities=>get_otr_text_by_alias(
'PAOC_TMC/CURRENT_PERFORMANCE').
CONCATENATE lv_string ':' INTO lv_string.
CONCATENATE lv_string lv_current_performance INTO lv_string
SEPARATED BY space.
CONCATENATE lv_grid_descr lv_string
cl_abap_char_utilities=>newline INTO lv_grid_descr.
lv_string = cl_wd_utilities=>get_otr_text_by_alias(
'PAOC_TMC/CURRENT_POTENTIAL').
CONCATENATE lv_string ':' INTO lv_string.
CONCATENATE lv_string lv_current_potential INTO lv_string
SEPARATED BY space.
CONCATENATE lv_grid_descr lv_string
cl_abap_char_utilities=>newline INTO lv_grid_descr.
lv_string = cl_wd_utilities=>get_otr_text_by_alias(
'PAOC_TMC/PREVIOUS_PERFORMANCE').
CONCATENATE lv_string ':' INTO lv_string.
CONCATENATE lv_string lv_previous_performance INTO lv_string
SEPARATED BY space.
CONCATENATE lv_grid_descr lv_string
cl_abap_char_utilities=>newline INTO lv_grid_descr.
lv_string = cl_wd_utilities=>get_otr_text_by_alias(
'PAOC_TMC/PREVIOUS_POTENTIAL').
CONCATENATE lv_string ':' INTO lv_string.
CONCATENATE lv_string lv_previous_potential INTO lv_string
SEPARATED BY space.
CONCATENATE lv_grid_descr lv_string INTO lv_grid_descr.

ev_grid_descr = lv_grid_descr.

CATCH cx_sy_dyn_call_error.
ev_is_ok = abap_false.
ENDTRY.
ENDMETHOD.
*>>>> END OF INSERTION <<<<<<
...
*&---------------------------------------------------------------------*
*&---------------------------------------------------------------------*
*& Object REPS RPTMC_FORMCLASS_TP
*& Object header PROG RPTMC_FORMCLASS_TP
*&---------------------------------------------------------------------*
*& FORM READ_PERSONDATA
*&---------------------------------------------------------------------*
...
APPEND LINES OF lt_sp_groups TO t_spdata.
ls_pdf_person_data-header_field_label = ls_header_data-field_label.
ls_pdf_person_data-header_field_value = ls_header_data-value.
*>>>> START OF DELETION <<<<<
* get grid uri.
CALL METHOD cl_hrtmc_cp_basic_utilities=>get_grid_uri
*>>>> END OF DELETION <<<<<<<
*>>>> START OF INSERTION <<<<

* get photo descr.
ls_pdf_person_data-picture_descr =
cl_wd_utilities=>get_otr_text_by_alias('PAOC_TMC/EE_PICTURE').

* get grid uri and descr.
CALL METHOD cl_hrtmc_cp_utilities=>get_grid_uri
*>>>> END OF INSERTION <<<<<<
...
EXPORTING
iv_person_id = xt_talent-objid
iv_no_auth_check = gv_no_auth_check
IMPORTING
*>>>> START OF DELETION <<<<<
ev_grid_url = ls_pdf_person_data-grid_url.
*>>>> END OF DELETION <<<<<<<
*>>>> START OF INSERTION <<<<
ev_grid_url = ls_pdf_person_data-grid_url
ev_grid_descr = ls_pdf_person_data-grid_descr.
*>>>> END OF INSERTION <<<<<<
...
*&---------------------------------------------------------------------*

Effected Objects:


(CPUB) - CL_HRTMC_CP_UTILITIES
(METH) - CL_HRTMC_CP_UTILITIES GET_GRID_URI
(REPS) - RPTMC_FORMCLASS_TP
(WDYC) - HRTMC_TA_DASHBOARD V_COMPLETED
(WDYC) - HRTMC_TA_DASHBOARD V_DEVPLAN
(WDYC) - HRTMC_TA_DASHBOARD V_IN_PROCESS
(WDYV) - HRTMC_TA_DASHBOARD V_COMPLETED
(WDYV) - HRTMC_TA_DASHBOARD V_DEVPLAN
(WDYV) - HRTMC_TA_DASHBOARD V_IN_PROCESS

(REPS) - RPTMC_FORMCLASS_RM_COVER

(CPUB) - CL_HRTMC_CP_UTILITIES
(METH) - CL_HRTMC_CP_UTILITIES GET_GRID_URI
(REPS) - RPTMC_FORMCLASS_TP
(WDYC) - HRTMC_TA_DASHBOARD V_COMPLETED
(WDYC) - HRTMC_TA_DASHBOARD V_DEVPLAN
(WDYC) - HRTMC_TA_DASHBOARD V_IN_PROCESS
(WDYV) - HRTMC_TA_DASHBOARD V_COMPLETED
(WDYV) - HRTMC_TA_DASHBOARD V_DEVPLAN
(WDYV) - HRTMC_TA_DASHBOARD V_IN_PROCESS

Solution instructions


Please import the corrections attached to this OSS note into your SAP system using SNOTE.

You can also view the full details of this OSS note and download it to your SAP system ready for implementation using transaction code SNOTE. Once it has been downloaded you can read the full details, check out any installation instructions including manual changes and see if there are any pre-requisites.

You can also check if a new version of note 1262892 has been released as well as see if the note is valid for your current SAP system landscape.

Check if SAP OSS note 1262892 has already been downloaded and is valid


To check if this note has already been download, what status it has and if it is valid for your system first execute t-code SNOTE and click on the SAP Note Browser icon
Icon used to execute SAP Note Browser report within SNOTE

From here you can just enter the note number 1262892 and press execute. If the note already exists it's details will be displayed. See here for full step by step instructions on how to check if an SAP note has been downloaded and is valid for your system.



If note 1262892 does not exist on your system you will receive the message "Unable to find SAP Note that meets specified criteria"
Icon used to execute SAP Note Browser report within SNOTE

If this is the case you will need to download the note to you SAP system also using transaction SNOTE. For further details see Download note using SNOTE. Even if it does exist you may still want to check if you have downloaded the latest version of the note.

Alternatively you can find full details of this note on the SAP service market place(SNumber / Service market place login will be required)