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: 

ABAP - HR (Same layout as in 0027 Cost Distribution infotype)

Former Member
0 Kudos

Hi Gurus,

I am new to HR and my requirement is to create the infotype with table control as in 0027 Cost Distribution infotype.Is their any standard way through witch I will get my display in table or I have to change module pool.

Thanks in advance

Edited by: Nidhi Sharma on Feb 4, 2010 8:13 AM

2 REPLIES 2

Former Member
0 Kudos

Hello Nidhi

When you generate your infotype in PM01 transaction, it creates all the fields as normal I/O fields on the screen 2000 of the module pool mpnnnn00 (Where 'nnnn' stands for infotype number'). So, as mentioned in your case if you want table control, you have to enhance the screen 2000 according to your requirement. May be you can use the table control wizard to get the table control, but again there are few challenges while bug fixing/ making changes to this code.

Hope this helps.

Regards

Ranganath

Former Member
0 Kudos

Dear Nidhi,

Well Firs truth is that there's no standard way to create a custom infotype with table control.

Second it possible it is possible with bit of ABAP Programming. But 1st and foremost care what you need to take is that it should not change else of any change (I mean by fields additon or removal shouldn't happen). Else it will be headache.

Now you can generate infotype same as you generate infotype.

Before that the design of fields should be such that you use suffix for the fields to be used in the table as numbers for eg '00', '01' for reference check with the table structure PA0008.

And you can use using field symbols.

Hope it will help to close this quest and resolve your query.

Regards,

[Gaurav Patwari|http://gauravpatwari.wordpress.com]