on 08-04-2011 12:12 PM
Hello gurus,
ive searched various threads and postings in Google, marketplace, SCN, hoe to add custom columns into IT 0024.
But with no luck.
I managed to add columns in TC: PM01 in List screen. Im also able to see the fields in the screen layout when i select change.
But i didnt manage to show those added columns in TC PA30 when selecting IT 0024.
PS. ive read these posts:
1.http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=Snippets&title=EnhanceInfotypesusingPM01inECC6.0&decorator=printable
What could be the problem?
Best regards
Laurynas
infotype 0024 is actually a dummy infotype. Check table PA0024, it will be empty. the infotype calls transaction PPPD or PPPM.
So enhancing the infotype is not going to work. You'll have to enhance PPPD/PPPM.
You can add custom tab pages there. It's in the customizing of Personnel Development
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Lauryans,
Once we had a similar requrement and we managed to create a new tab page in IT0024 (or PPPM transaction) and add a new column to it by some ABAP development.
In order to share that information, I have published the following article:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00377e90-d85d-2e10-149e-ed39fdc854b5
Please check it out and let me know if you need any further info.
Regards,
Dilek
Hi,
im trying to add new colums, to the maintained profiles, according to Dilek Adak sent PDF document.
But im facing the problem, that i want simple text fields to be added, which are created in another structure.
And there im facing some problems like defining data types, " The data object "QUAL_ACT-DATA" does not have a component called" ZTEST1
where could be the problem?
regards
Laurynas
Hi Dilek,
i was following your document. Copied the function group to Z (customer specific) added some fields,
but when i try to add the state_id field to the code it throws me a lot of errors that these fields are nowhere defined and etc.
The data object "QUAL_ACT-DATA" has no component called "STATE_ID", but there is a component called "SCALE_ID".
Field "DYNP_RHPQ_TAB-STATE_ID" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. .
Do you know something about it?
Edited by: Laurynas Prikockis on Aug 9, 2011 7:23 AM
Hi Laurynas,
You need to add an append structure to HRPE_PROFQ structure via SE11 consisting of fields STATE_ID and STATE_TXT.
If I forgot to mention this in the article, I will be updating it.
DYNP_RHPQ_TAB structure, however, by default has field STATE_ID.
This is the structure for individual developement tab in PPPM.
Regards,
Dilek
Hi Dilak,
thanks, i figured it out also, that something needs to be appended.
I did everything as you described in the document, there is still one problem with saving the values.
Im able to enter the data, but on save fields are empty and only original values are saved.
Any idea why?
P.S. im not an abaper
Regards
Laurynas
Hi Dilak again,
I manged to do the column creation.
By the way there were some issues when i was trying to add custom fields from Z structure.
consultants modified this FORM: form data_read_qualifications
and enhanced 2101 screens user command
here are some changes
CALL FUNCTION 'RHPP_Q_PROFILE_READ'
EXPORTING
begda = p_begda
endda = p_endda
WITH_STEXT = 'X'
WITH_QK_INFO = 'X'
check_note = 'X'
TABLES
objects = sobids
ERR_OBJECTS =
profile = profile
EXCEPTIONS
no_authority = 1
wrong_otype = 2
object_not_found = 3
undefined = 4
OTHERS = 5.
IF sy-subrc = 0.
loop at profile ASSIGNING <wa_profile>.
select single *
from hrp1001
into CORRESPONDING FIELDS OF wa_hrp1001
where hrp1001~mandt = sy-mandt and
hrp1001~OTYPE = 'Q' and
hrp1001~SOBID = P_OBJID and
hrp1001~PLVAR = '01' and
hrp1001~RSIGN = 'B' and
hrp1001~RELAT = '032' and
( ( hrp1001~begda = p_begda AND "1 "|8888|
hrp1001~endda = p_endda ) OR "|8888|
"
( hrp1001~begda < p_begda AND "2 "|8888|
hrp1001~endda < p_endda AND " |4444|
hrp1001~endda > p_begda ) OR
"
( hrp1001~begda < p_begda AND "3 "|8888|
hrp1001~endda = p_endda ) OR " |4|
"
( hrp1001~begda = p_begda AND "4 "|8888|
hrp1001~endda < p_endda ) OR " |4444444444"
"
( hrp1001~begda = p_begda AND "5 "|8888888|
hrp1001~endda > p_endda ) OR " |4444|
"
( hrp1001~begda > p_begda AND "6 "|8888|
hrp1001~endda = p_endda ) OR " |444444|
"
( hrp1001~begda > p_begda AND "7 |888888|
hrp1001~endda > p_endda AND " |44444|
hrp1001~begda < p_endda ) OR
"
( hrp1001~begda > p_begda AND "8 |888|
hrp1001~endda < p_endda ) OR " |44444444444|
"
( hrp1001~begda < p_begda AND "9 |88888888888|
hrp1001~endda > p_endda ) ). " |44|
select single hrpad77~ZCERTNO1
from hrpad77
into <wa_profile>-ZCERTNO1
where hrpad77~mandt = sy-mandt and
hrpad77~ADATANR = wa_hrp1001-ADATANR.
select single hrpad77~ZCERTNO2
from hrpad77
into <wa_profile>-ZCERTNO2
where hrpad77~mandt = sy-mandt and
hrpad77~ADATANR = wa_hrp1001-ADATANR.
select single hrpad77~ZCOURSEFEE
from hrpad77
into <wa_profile>-ZCOURSEFEE
where hrpad77~mandt = sy-mandt and
hrpad77~ADATANR = wa_hrp1001-ADATANR.
select single hrpad77~ZCURRENCY
from hrpad77
into <wa_profile>-ZCURRENCY
where hrpad77~mandt = sy-mandt and
hrpad77~ADATANR = wa_hrp1001-ADATANR.
endloop.
and another one
START OF CHANGE WSY L.Prikockis
CALL FUNCTION 'RH_UPDATE_DATABASE'
EXPORTING
vtask = 'D'
BUFFER_UPD = ' '
ORDER_FLG = 'X'
commit_flg = 'X'
CLEAR_BUFFER = 'X'
EXCEPTIONS corr_exit = 0 OTHERS = 0.
********************************************************************
LOOP AT lit_qual_act .
IF lit_qual_act-action = c_dis OR
lit_qual_act-action = c_spe .
CONTINUE .
ENDIF .
SELECT * FROM hrp1001 INTO ZABC
WHERE otype EQ qual_act-data-otype
AND objid EQ lit_qual_act-data-sobid
AND sobid EQ lit_qual_act-data-tbjid
AND sclas EQ lit_qual_act-data-ttype
AND begda EQ lit_qual_act-data-vbegd
AND endda EQ lit_qual_act-data-vendd.
hrpad77-adatanr = ZABC-adatanr. " <<< TL keista 2011 08 09
hrpad77-ZCERTNO1 = lit_qual_act-data-ZCERTNO1.
hrpad77-ZCERTNO2 = lit_qual_act-data-ZCERTNO2.
hrpad77-ZCOURSEFEE = lit_qual_act-data-ZCOURSEFEE.
hrpad77-ZCURRENCY = lit_qual_act-data-ZCURRENCY.
IF lit_qual_act-action = c_del .
DELETE FROM hrpad77 WHERE adatanr = hrp1001-adatanr .
ELSEIF lit_qual_act-action = c_mod OR
lit_qual_act-action = c_new.
MODIFY hrpad77.
ENDIF .
ENDLOOP .
ENDSELECT.
ENDLOOP.
END OF CHANGE WSY L.Prikockis
Thanks and best regards
check if you have screen groups assigned to your fields
SE51, MP002400 -> your screen -> Layout Editor -> Attributes (dubleclick on field)
especially groups 1 and 3
in T588M you can customize the screen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
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.