Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Infotype change

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi vinu,

u can use the tcode PM01 to a newfield in the infotype

Regards,

Naveen

20 REPLIES 20

Former Member
0 Kudos

hi vinu,

u can use the tcode PM01 to a newfield in the infotype

Regards,

Naveen

0 Kudos

Checkout thread !!

If you also search key word "PM01" . you`ll find lots of threads

Hope this’ll give you idea!!

<b>P.S award the points.</b>

Good luck

Thanks

Saquib Khan

"Some are wise and some are otherwise"

0 Kudos

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

0 Kudos

-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

0 Kudos

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

0 Kudos

hi Saquib,

Thanks for taking your time on that, and helping me, I shall award the points once I am done.

Vinu

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

yes, you have to give your IT2010 in PM01 and "EDIT" .

Well Here’s the problem if you go to any table in SE16 <b>check PA0001,PA0002 or PA0022</b> .<b> you’ll see .INCLUDE and data element = CI_P0022</b>

But for IT2010 ,<u> There’s no Include , That’s why its not allowing you to enhance IT2010. Check it in SE16 :PA2010</u>

You’ll get an idea !!

Now question is that how you can enhance IT2010 ..? Well its also a mystery question for me .!!!

0 Kudos

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

0 Kudos

I should’ve noticed your post !!

<b> I researched this to find that infotype enhancements are not possible to Time Management infotypes.</b>

You were right!!

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

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

0 Kudos

not many options here.. either you go in for a modification of 2010 or maintain a custom infotype..

Regards,

Suresh Datti

0 Kudos

Thanks a lot for everyone for their inputs, I shall award points to everyone.

Vinu