on 09-08-2009 7:18 AM
Hi All,
While changing the qualifcation catalog ( Transaction OOQA), The Key date for catelog display is 01.01.1900 - 31.12.9999.
Can you all help me with following queries.
1) Where from this key date come from ???
2) Can i set the key date for qualification catalog to 01.09.2009? i know you can go change it via OOQA> Settings> set period. But this happens only for current session.Can it be done permenantly? This is because we are recreating the whole catalog again and will be deactivating the all the previous skills and the new skills will be created from start date 01.09.2009, hence the catelog should also display from 01.09.2009.
Thanks,
Ashwini.
Hi Ash,
Because t-code OOQA calls report 'RHPEQCAT':
&---------------------------------------------------------------------*
REPORT rhpeqcat MESSAGE-ID pq.
* INCLUDES
* --------
INCLUDE rhxmacro.
* CONSTANTS
* ---------
CONSTANTS: low_date LIKE p1000-begda VALUE '19000101'.
* VARIABLES
* ---------
* PARAMETERS
* ----------
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: plvar LIKE p1000-plvar,
gdate LIKE p1000-gdate,
maintain AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN END OF BLOCK b1.
* INITIALIZATION
* --------------
INITIALIZATION.
CALL FUNCTION 'RHP0_USER_PARAMETERS_GET'
IMPORTING
plvar = plvar
begda = gdate
* ENDDA =
* SUBSTITUTE =
* ESSENTIAL =
* HALFVALUE =
EXCEPTIONS
OTHERS = 0.
IF gdate IS INITIAL.
gdate = sy-datum.
ENDIF.
IF NOT maintain IS INITIAL.
* if catalogue in maintain mode -> set GDATE to LOW_DATE
gdate = low_date.
ENDIF.
* START OF SELECTION
START-OF-SELECTION.
* call catalogue
CALL FUNCTION 'RHPE_SHOW_QUALI_CATALOGUE'
EXPORTING
plvar = plvar
begda = gdate
endda = '99991231'
* POPUP = ' '
maintain = maintain
EXCEPTIONS
no_authority = 1
OTHERS = 0.
IF sy-subrc = 1.
MESSAGE e000.
ENDIF.
So copy this program and coment lines below:
IF NOT maintain IS INITIAL.
if catalogue in maintain mode -> set GDATE to LOW_DATE
gdate = low_date.
ENDIF.
Option 1. Then set user parameter 'HRPDV_BEGDA_EVAL' as 20090901 through t-code su01, tab parameters. Then begda will come from user parameter of the logon user.
Opiton 2. Directly set 'gdat' to the value you want in the copied program.
At last, create a t-code point to the new report.
Regards,
Chen Jian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chen,
Thanks a lot. It solved the problem.
Thanks,
Ashwini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.