05-10-2006 8:04 PM
hi folks,
This is an HR question? I need to add a new field to infotype 2010. can i do that? I researched this to find that infotype enhancements are not possible to Time Management infotypes.
I just wanted to make sure that am I right? If not how can i do that?
Thanks in advance.
Vinu
05-10-2006 8:15 PM
hi vinu,
u can use the tcode PM01 to a newfield in the infotype
Regards,
Naveen
05-10-2006 8:15 PM
hi vinu,
u can use the tcode PM01 to a newfield in the infotype
Regards,
Naveen
05-10-2006 8:18 PM
05-10-2006 8:19 PM
can you elaborate a little bit more on that? How to add a new field to the standard infotype. I haven't done that before.
Thanks
Vinu
05-10-2006 8:27 PM
-go to pm01
2-Give infotype no
3-Click on Change ( 3rd tab )
4-Give the short description
5-give the componets and component type as your choice.
6-Save it and activate it
7-click to change the module pool screen
8-Select screen radio button
9-Select the edit button
10-it will take you to ose51 and there you design the screen as per your requirement.
11-selece the change button
12-select object list from the menubar
13-select the object name
10-select the screen mode where it will show the 3 screen no
11-Select appropriate screen no
12-Select Layout
Assign screen in table T558m and also T582C
Dont forget to award points
Bye
SK
05-10-2006 8:29 PM
Still you dont undertand send me your email id .. I have made doc with screen shot i`ll send you ..!! but only after you award points
05-10-2006 8:32 PM
hi Saquib,
Thanks for taking your time on that, and helping me, I shall award the points once I am done.
Vinu
05-10-2006 8:44 PM
Hi,
The tcode is PM01,then select the tab Enhance IT. Then hit create all or select CI_include, give the component name and the component type should be a custom type.Then if you check the module pool and hit create then it will create set of programs u need to be concerned with zp20- pbo modul, zp30-pai module, zp*40- form routines.You can use the screen painter to modify to modify the field. After you are done u need to include the screen to the standard screen by pressing the Assign Enhancement button by giving the respective program names and screen do not forget to include it to other country screens (if it is a part of your requirement).
I hope this will help u to a certain extent.
Regards
Vick
05-10-2006 8:52 PM
hi,
I selected the Enhance IT, then selected the CI Include button and hit create all. it throew an error message
'infotype 2010 cannot be enhanced'.
this is what I did.
Thanks in advance.
Vinu
05-10-2006 9:22 PM
You have to give IT and select Cl include and <b>click "Create"</b> not "ALL"
After that select "module pool" and
click "Create"</b> not "ALL"
finally , select include screen and
click "Create"</b> not "ALL"
Thanks
SK
Message was edited by: Saquib Khan
05-10-2006 9:33 PM
It threw a message that the structure already exists, so I click on 'Edit' it denied the access for that and asked for the 'Access Key'
Thanks for your help.
Vinu
05-10-2006 9:47 PM
yes, you have to give your IT2010 in PM01 and "EDIT" .
Well Heres the problem if you go to any table in SE16 <b>check PA0001,PA0002 or PA0022</b> .<b> youll see .INCLUDE and data element = CI_P0022</b>
But for IT2010 ,<u> Theres no Include , Thats why its not allowing you to enhance IT2010. Check it in SE16 :PA2010</u>
Youll get an idea !!
Now question is that how you can enhance IT2010 ..? Well its also a mystery question for me .!!!
05-10-2006 9:57 PM
Hi Vinu,
You cannot enhance the Time Management ie 2nnn infotypes using PM01. SAP does not provide that option. You can only enhance an infotype if a CI include exists in the PSnnnn structure. Pl take a look at the following <a href="http://help.sap.com/saphelp_47x200/helpdata/en/4f/d526a4575e11d189270000e8322f96/frameset.htm">SAP Documentation</a> on the restrictions to PM01.
Regards,
Suresh Datti
05-10-2006 9:57 PM
I shouldve noticed your post !!
<b> I researched this to find that infotype enhancements are not possible to Time Management infotypes.</b>
You were right!!
05-10-2006 10:04 PM
Thanks a lot for your time, however, doubt that came to my mind is, can I add a new field to the table PA2010 even though I cannot enhance the infotype.
How are these two things different? If so, how can i do that?
I have asked for access for the object to make changes.
Vinu
05-10-2006 10:11 PM
Hi,
I agree with suresh, the solution that I have posted earlier is a blunder. I will be careful from next time onwards.
Regards
Vick
05-10-2006 10:55 PM
Hi Vinu,
Why would you want to add a field to PA2010 when you cannot enhance the infotype? What is your actual requirement? May be you can make use of a BAdI or USer exit to update a custom table instead.. just my thoughts..
Regards,
Suresh Datti
05-11-2006 5:22 PM
Hi Suresh,
Thanks for responding. My actual requirement is I need to add a new field 'ZSHIFT' to the table PA2010 which I need to for some payroll validations.we discussed that it is not possible to right way change the table stucture, then we discussed of using <b>Field Exit</b> (I have not used that before) to incorporate it, Not sure how???
Do you have any ideas as how to take it from here. Infact any leads will be helpful.
Thanks in advance for sharing your thoughts.
Vinu
05-11-2006 5:33 PM
not many options here.. either you go in for a modification of 2010 or maintain a custom infotype..
Regards,
Suresh Datti
05-11-2006 8:08 PM
Thanks a lot for everyone for their inputs, I shall award points to everyone.
Vinu
05-11-2006 8:19 PM