Introduction
The below document lists down the steps to change the user interfaces in SAP, i.e., changing the screen header or the list screen for an infotype.
- Change Screen Header
- Change Screen Modifications
- Changing the Screen Header
Screen headers are the group of fields that are used to show generic information at the top of every infotype. It may comprise of personnel no, employee group, personnel area or other such fields. It is possible to display this screen header for every individual infotype. However, this is limited to only change in the first three lines of the screen.
Consider the below example where the screen header for IT 0016 (Contract elements) is being shown as below for an employee. We want to modify this screen header to suit our requirements wherein we want only the name and personnel number to be displayed for the user.
Below are the steps to be followed:
- SPRO > Personnel Management > Personnel Administration > Customizing User Interfaces > Change Screen Header
- Click on Header structure per infotype.
- Under the ‘header structure per infotype’, assign the screen modifier to the infotype for which the header needs to be changed.
- SAP provides us with the option to decide the class for which we may want to change the header, i.e, whether we want to change the screen header for master & time data (tr class A) or we want to change the data for applicant class (Tr Class B). For our example, we will make the entries for Tr.Class A only.
Along with the Tr.Class, we will assign a number to the header modifier. It is against this header modifier number, where we will be assigning the specifications or the data fields that need to be displayed.
- Define entries against the header modifier number created in the above step.
One important column header that needs a mention here is the option ‘Fldty’. This option refers to the display type or a formatting type available for a given field. Below are the options that have been provided by SAP.
- ‘DAT’: field contents
- ‘DTX’: field content text (if available)
- ‘PIC’: passport photo
- ‘DD1’: field short text according to DDIC
- ‘DD2’: middle field text according to DDIC
- ‘DD3’: long field text according to DDIC
- ‘DD4’: field header according to DDIC
- ‘TXT’: user-defined text according to customizing settings
- ‘TXD’: like ‘TXT’ but with a DDIC interface to the relevant field
However, please note:
- You can only use the ‘PIC’ field type for the PERNR field. SAP recommends that you enter the personal data infotype (0002) in the ITyp (infotype) field for the passport photo
- The field types ‘TXT’ and ‘TXD’ are only available for compatibility reasons. SAP recommends that you use the field types ‘DD1’ and ‘DD4’ instead.
Once we have saved the above entries, the required customization will come into effect. This can be checked via PA20 screen.
- PA20 – IT 0016
B. Change Screen Modifications
Depending on the Tr.Class and country grouping, different screens are available for different infotypes. SAP also provides the functionality, wherein the characteristics of individual field may be changed. For example, a given data field may be made either mandatory or may be hidden from the given screen view.
- Go to given SPRO path and find the entry for given program name and screen number
SPRO > Personnel Management > Personnel Administration > Customizing User Interfaces > Change Screen Modifications
- As can be seen from the below screenshot, the current fields right now are marked as ‘Std’ or Standard.
To hide these data fields, we need to mark them as ‘hide’.
Please note: The data fields can be set to have the following status:
- Standard
- Required field (RF)
- Optional field (OF)
- Output field
- Hide
- Initialized
- Once these fields are marked as ‘hide’, they will be hidden from the main infotype screen. The same can be checked using PA20 – > IT 0016 screen.
Hi Neha,
With the heading, initially I was expecting to see a inbound/outbound interface for loading data before the screen hit my eyes. This is a very good document to help out novices like me, further, adding one more infotype as an example would have been a luxury.
BR
Upen
Hi Neha,
I agree with Upendra on the title. However when it comes to the content, it was really beautiful. All at one place. One more good document from your kitty.
Thanks
Madhav.
Hi Upendra / Madhav
Thanks for your words
.
I had used the heading basis SPRO itself. To avoid any further confusion, I have now changed the heading to reflect the content more appropriately. Reg new infotype, point noted. Will keep that point for my next document.
Rgds
Neha.
Hi Neha,
This is good stuff to who wants to opt their SAP header.
Regards
Mohan
Thanks Mohan
Good Work Neha.
You had explained the things in very beautiful manner.
Regards,
Vijay Siwach
Thanks Vijay
Nice work Neha
tx sir
Good work Neha
tx Srikanth
Good Document Neha
Regards,
Naresh
Thanks for the document neha….would definately try this…
Thanks Bhagyashree
Thanks Naresh
Dear Neha,
Can you please let me know in the infotype 0002 (Personal Data) there is a standard Name format “00” (First Name, Last Name) how to change it to (Last Name, First Name) format. My Client want to create New Name format as “01” and want to change the format as Last Name, First Name). Kindly do needful.
Regards,
Naresh
Dear Naresh,
Apologies for delayed reply. I would request you to create your question under discussion forums so that others can response quickly without you having to wait for long. Moreso, it can be of help to others as well
Regards
Neha
Dear Neha,
Thanks for help
, I will follow your suggestions.
Thanks & Regards,
Naresh
Please refer the below links for further reference. Hope it helps
http://scn.sap.com/thread/775299
Format name in IT0002 | SCN
Is there any way to Hide fields which are not mentioned in screen modifier ? For e.g. Neg. Deduction Upto in IT 2006
Please help
With object key only
Change Field Group key or add own logic in PBO.
Thanks
Very good document Neha.
Keep writing more documents
Regards,
Namsheed
Thank you Namsheed
Regards
Neha
Hi Neha,
Nice & details information.
Regards,
Sankarsan
Thanks Sanskarsan
Regards
Neha
Hi,
Is it possible to create a copy of standard screen or can we call our custom screen instead of 2000 screen.?
Thanks and Regards,
Nishant
Hi Neha,
A v good article!
Can you modify OM infotypes using this method?
I am working with transaction PO13, OM IT 1005 (planned compensation), I want to add new fields to Prog MP100500, screen 3000. Do you thing it would be possible to do it using the above explained method?
Please let me know. Thanks!!
I modified my screen header but when I trransport it through, it didnt make the changes..
it makes me puzzled..can someone please help?
Its should for sure. Its standard behavior. Can you send some screen shots and start another node