cancel
Showing results for 
Search instead for 
Did you mean: 

Infotype 0021

Former Member
0 Kudos

Hi HR Gurus,

I have a requirement to add an additional column(to the table control) in the overview screen of infotype 0021.
This column will be populated with the value stored in the field PA0106-DOCID (Physician ID) for each record displayed
in the infotype.

While creating a record in the infotype 0021, there is a field in the screen 2000 that is used to populate the
physician ID (P0106-DOCID). The value in this field gets stored in infotype 0106.

I followed the instructions available on the net to be able to achieve this.

However, the field got added to the table control in the end (last column on right). Also, it does not display
any data.

My question is:

1) Kindly let me know as to how can I alter the position of the field. I want this field to be the second column of the tab control.
2) Do I need to write any code in the form routine FILL-LISTSTRUCT? If yes, could you please give me a snippet of the code?


Thank you so much for the help in advance!

Best,
SAP HR Guy.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

1.Drag and drop additional column to the second position in the table control.

2.IN PAI for sy-ucomm 'overview' write the below logic to get the data.

   Select the DOCID from pa0106 for the pernr.

  IN PBO move this DOCID to the table control field.

Hope this helps.

Regards,

Jyothi

Former Member
0 Kudos

Thanks Jyothi M!

Issue#2 has been resolved.

For Issue#1, I tried this option but it's not working. The fields are just not getting dragged!

Thanks,

Yogesh.

Former Member
0 Kudos

Hi,

Try to drag the header of the column or right click, cut and paste to the required position.

Regards,

Jyothi

Puneet_Gupta
Contributor
0 Kudos

Use transaction PM01 and enhance list screen tab.

-Puneet