160 likes | 314 Vues
SAP HR Fast Entry Enhancement. -For Master data of Infotype 0009. Author: Cub Shone. Agenda. Overview About the Infotype Carry Out Fast Entry Enhancement. Overview. purpose: fast entry infotype 0009 in transaction PA70 The final effect as following: 1 、 screen 4000. Overview.
E N D
SAPHR Fast Entry Enhancement -For Master data of Infotype 0009 Author: Cub Shone
Agenda • Overview • About the Infotype • Carry Out Fast Entry Enhancement INVENTEC Services CONFIDENTIAL Page 2
Overview purpose: fast entry infotype 0009 in transaction PA70 The final effect as following: 1、screen 4000 INVENTEC Services CONFIDENTIAL Page 3
Overview 1、screen 5000 INVENTEC Services CONFIDENTIAL Page 4
About he Infotype 1、Concept of Infotype Infotypes are used in Personnel Administration and Recruitment. An infotype is a group of object-based pieces of information on a particular area of personnel number of an employee or the applicant number of an applicant. INVENTEC Services CONFIDENTIAL Page 5
About he Infotype 2、Define a Infotype Each infotype nnnn requires at least two structures and one table: • Structure PSnnnn Structure PSnnnn contains all of the infotype data fields. • Transparent table PAnnnn and/or transparent table PBnnnn Transparent table PAnnnn is required if you want to use an infotype within Personnel Administration. If you want to use an infotype within Recruitment, transparent table PBnnnn is required. • Structure Pnnnn Structure Pnnnn contains infotype key fields and all of the data fields from structure PSnnnn . INVENTEC Services CONFIDENTIAL Page 6
Carry Out Fast Entry Enhancement 1、Select template for infotype 0009. you can use standard template MPMMMM00 or exist module pool MPnnnn00 that has the similar style as our new application .Here, we use the module pool MP001400. 2、Use transaction SE51 copy screens 4000 and 5000 of module pool MP001400 to module pool MP000900 Screen 5000 is used for the fast entry of infotype records. Screen 4000 is required for entering default values if you want to use the Create with default function for fast data entry. INVENTEC Services CONFIDENTIAL Page 7
Carry Out Fast Entry Enhancement 3、Edit screens 4000 and 5000 for module pool MP000900. • Include the fields in the screens that must be suggested as a default, or maintained, for fast data entry. • Enter the value 006(in screen5000) or 004(in screen 4000) in modification group 1 of the entry fields. • You must delete all of the indicators for automatic foreign key checking in screen 5000 and 4000. • You can include entry checks for default values in the flow logic of screen 4000, if required. INVENTEC Services CONFIDENTIAL Page 8
Carry Out Fast Entry Enhancement 4、create the interface for both screens. The following interface statuses are required for the fast entry of master data: For screen 5000: • – FINS Create • – FMOD Change • – FEDQ Lock/unlock • – FDEL Delete For screen 4000: • – PROP the function code is inactive at the new created interface,So,you must active it by manual, as upside : INVENTEC Services CONFIDENTIAL Page 9
Carry Out Fast Entry Enhancement 5、Design logic flow • Include the include MPPERSFS in module pool MP000900. • Copy include MPMMMMFS to include ZMP0009FS and then include the include MP0009FS in module pool ZMP000900 ,At last deleting the subroutine GET_PROPOSED_VALUES in ZMP0009FS. • Copy include MPPERSLG to include ZMPPERSLG and include the include ZMPPERSLG in module pool MP000900,then deleting all except data declare. • Add the fields that are displayed as default values to the positions at which they are required For the definition of internal table PROPOSED_VALUES (Next >>) INVENTEC Services CONFIDENTIAL Page 10
Carry Out Fast Entry Enhancement 5、Design logic flow • Modify Program code according with application requirement. 1、the module that appear in standard screen template is necessary for copied screen 4000 and 5000,and the other module can be ignore. 2、When you debug the screen logic flow , you’ll discover lacking some subroutine or module, At this time, you can copy it from MP001400 one by one, but don’t copy the whole include ,or you’ll run into serious trouble. 3、For successfully finished this work, maybe you have to read some standard source code of SAP. INVENTEC Services CONFIDENTIAL Page 11
Carry Out Fast Entry Enhancement 6、IMG configuration for Fast Entry infortype path : Personnel Management - Personnel Administration -Customizing Procedures-Infotype Menus - Set up infotype menu for fast data entry. INVENTEC Services CONFIDENTIAL Page 12
Carry Out Fast Entry Enhancement 7、Congratulate completed ! Then you can use the infotype in transaction PA70. INVENTEC Services CONFIDENTIAL Page 13