Finding Mandatory Fields for an Infotype in SAP HR

Embed Size (px)

DESCRIPTION

SAP

Citation preview

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 1

    Finding Mandatory Fields for an Infotype

    Applies to: SAP HR Module

    Summary Most of us are familiar with a situation where, we have modified some attributes of an Infotype fields in Customizing User interfaces (T588M), made certain standard fields as optional/output etc. But when you come back to Employee Master (PA30) you find those changes have not taken effect. Those fields still remain Mandatory and you cannot bypass them while maintaining that Infotype. So the question remains where such fields are defined as mandatory, why certain changes made in T588M dont doesnt reflect in PA30. Author: Harshita Nersu Company: IBM, Dublin Software Lab, Ireland Created on: 9 August 2007

    Author Bio

    Harshita Nersu is a SAP HCM Consultant working on a Enterprise SOA project involving Composite Application Framework(CAF)and collaboration Tools at Dublin Software Lab, IBM Technologies Ltd.Ireland.

    Harshita is a certified mySAP ERP HCM Solution Consultant and holds a Post Graduate Diploma in Business Administration.

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 2

    Table of Contents Applies to: ........................................................................................................................................ 1 Summary.......................................................................................................................................... 1 Author Bio ........................................................................................................................................ 1 Types of Mandatory Fields .............................................................................................................. 2

    THE MYTH: Infotype fields input attributes are controlled ONLY in Screen Modifications (T588M) 3 Lets Find The Manadatory Fields For an Infotype :Step-by-step............................................. 4

    Disclaimer and Liability Notice....................................................................................................... 11

    Types of Mandatory Fields Why Changes Made to Certain Infotypes field attributes in Screen Modifications (T588M) dont reflect in Employee Master (PA30)? To answer that question, we need to understand that there are two kinds of mandatory fields for an Infotype. 1) Based on the Business/functional logic of an Infotype which is in built in SAP code. (Which this Article

    discusses, where and how to find them) 2) Based on customizing option, that allows us to alter certain fields attributes to suit clients requirements

    through Customizing user interfaces.(T588M) The second method most of us are familiar with either we can directly go to table T588M or choose to go through IMG PATH >Personnel Management>Personnel Administration>Customizing User Interfaces>Change Screen Modifications to make those changes.

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 3

    THE MYTH: Infotype fields input attributes are controlled ONLY in Screen Modifications (T588M)

    EX: Well it is falsewe shall now dig deep into where those tiny tick marks that we see for certain fields in an Infotype are actually defined as mandatory. How to find the standard mandatory fields of an Infotype? Well, follow through the below screen shots and all those questions will be answered.

    Although some steps may seem familiar and basic for some people yet I include them considering the larger audience.

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 4

    Lets Find The Manadatory Fields For an Infotype :Step-by-step STEP 1: Select the Infotype for which you want to find the Mandatory fields. (Tcode:PA30)

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 5

    Step 2: Display the Infotype and F1 on any field and click on technical details And from the screen that Pop-up (Technical Information Screen) make note of Screen No (2000,2001..2010 etc) This screen no is unique to a country and corresponds to country specific screens. Similar to Alt.Screen in T588M.

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 6

    Step 3: After making note of Screen no. Go To Tcode: SE 38 (Abap Editor) And give program name MPXXXX00 (XXXX- BEING THE INFOTYPE NUMBER 0000/0001/0002/0006) and Click Display. In the below example MP000600 is used i.e for IT0006 (Address)

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 7

    Step 4: Once in Display mode of that Module pool Program, now Display Object List (Ctrl + Shift+ F5)

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 8

    Step 5: Select Screens & Double click on the Screen No.(That we made note of in Step 2) Once you

    Double click you will find 3 tabs on right hand top

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 9

    Step 6: Select Tab Element List > Special Attributes > Input (Required /Not Required/ Possible/Recommended) (F4 on input for further Documentation) Here you find the standard attributes of Infotype fields and can easily find mandatory fields.

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 10

    Step 7: Last but definitely not the least. Select your Screen No and Go to Layout ( Ctrl + F7 )Screen Painter (The ones with the Question Marks are mandatory fields)

    So now you know how to find those mandatory fields for any Infotype.

  • Finding Mandatory Fields for an Infotype

    SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com 2007 SAP AG 11

    Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.

    Applies to: Summary Author Bio Types of Mandatory Fields THE MYTH: Infotype fields input attributes are controlled ONLY in Screen Modifications (T588M) Lets Find The Manadatory Fields For an Infotype :Step-by-step

    Disclaimer and Liability Notice