SAP-HR开发官方教程

上传人:灯火****19 文档编号:121069771 上传时间:2020-02-15 格式:PDF 页数:75 大小:819.13KB
返回 下载 相关 举报
SAP-HR开发官方教程_第1页
第1页 / 共75页
SAP-HR开发官方教程_第2页
第2页 / 共75页
SAP-HR开发官方教程_第3页
第3页 / 共75页
SAP-HR开发官方教程_第4页
第4页 / 共75页
SAP-HR开发官方教程_第5页
第5页 / 共75页
点击查看更多>>
资源描述

《SAP-HR开发官方教程》由会员分享,可在线阅读,更多相关《SAP-HR开发官方教程(75页珍藏版)》请在金锄头文库上搜索。

1、Programming in HR HR ABAP SAP ABAP HR Prerequisites ABAP Programming Logical Database Module pool programming SAP Scripts Knowledge of SAP ABAP HR Training will cover Brief description of modules in SAP HR Concept of Infotypes Infotype Structures Creation of infotype Enhancement of infotype HR Macro

2、s Use of Provide statement Cluster reading for Payroll results Example of PA letters infotype Customer defined SAP ABAP HR Modules in SAP HR Personnel Management PA Time Management PT Recruitment PB Organizational Management OM Personnel Development PD Training Event Management TM SAP ABAP HR Infoty

3、pe Definition Units of information SAP ABAP HR Uses of Infotype To group related data fields Personal Data Name DOB Nationality Marital Status Addresses Street City Pin code State INFOTYPES SAP ABAP HR Uses of Infotype Maintaining Employee Information by Date SAP ABAP HR Infotype Numbers Four digit

4、number nnnn Unique identification 9000 to 9999 reserved for customer infotypes SAP ABAP HR Naming Conventions 0000 to 0999 HR Master data Applicant data 1000 to 1999 Organizational Management 2000 to 2999 Time data 4000 to 4999 Applicant data 9000 to 9999 Customer defined Naming conventions for Info

5、types SAP ABAP HR Definition of Infotype within the Data Dictionary Each infotype nnnn requires at least two structures and one table Structure PSnnnn Structure PSnnnn contains all of the infotype data fields Structure Pnnnn Structure Pnnnn contains infotype key fields and all of the data fields fro

6、m structure PSnnnn 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 In accordance with the distribution o

7、f infotype name ranges objects P9nnn PS9nnn PA9nnn and PB9nnn are assigned to the customer name range SAP ABAP HR Infotype Module Pool A module pool should be used with each infotype This module pool is the main program for the maintenance interface for the infotype The name of the program is MPnnnn

8、00 Where P stands for Human Resources personnel and nnnn is the four digit infotype number SAP ABAP HR Infotype specific Includes The main program only contains INCLUDE statements If you create the main program using transaction PM01 Dialogs in HR the system also creates the following four includes

9、subroutinesMPnnnn40 PAI modules for the screensMPnnnn30 PBO modules for the screensMPnnnn20 The PROGRAM statement and the declaration of common data objects MPnnnn10 The include containsName of include SAP ABAP HR Infotype specific Includes The system also inserts INCLUDE statements in the main prog

10、ram for the following includes Definition of two data objects that contain the number of reference personnel numbers in structure P0031 or P0121 MPPREF00 Definition of infotype return codesMPPIRC00 Standard infotype modulesMPPERS00 Declaration of common data objectsMPPDAT00 Declaration of common dat

11、a objects This data area is used as a buffer for imported infotype records and maintenance information The variables specified in this area are used as export or import parameters when the infotype dialog module is accessed FP50PPSB UseName of include SAP ABAP HR Infotype Screens Each infotype has a

12、t least three screens An initial screen A single screen A list screen SAP ABAP HR Initial Screens Initial screen is used as technical interface Screen 1000 is used for all infotypes Processed in background and not displayed Performs general initialization procedures SAP ABAP HR Initial Screens Previ

13、ew SAP ABAP HR Single Screens Its an interface between the system and the user It enables to create display or maintain data records Screen 2000 is used for single screen SAP ABAP HR Single Screen Preview SAP ABAP HR List Screen Unables to list all records in infotye Screen 3000 is used for list scr

14、een SAP ABAP HR List Screen Preview SAP ABAP HR Infotype Screen Control Through customization some field are made hidden Attributes are specified during runtime The appearance of the screens changes depending on the function chosen by the user SAP ABAP HR Infotype Time Constraint A time constraint i

15、ndicates whether more than one infotype record may be available at one time The following time constraint indicators are permissible 1 No overlapping and no gaps 2 No overlapping but time gaps are permitted 3 Overlapping and and time gaps are permitted SAP ABAP HR Other Possible Time Constraint A On

16、ly one record may exist valid from 01 01 1800 to 12 31 9999 Splitting and deletion is not permissible B Only one record may exist valid from 01 01 1800 to 12 31 9999 Splitting is not permissible but may be deleted T The time constraint varies depending on the subtype Z Refers to time management infotypes SAP ABAP HR Infotype Characteristics The following tables must be maintained for each infotype Name of tableTask T582ABasic infotype characteristics database tables single screen list screen tim

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 管理学资料

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号