HR infotype 开发

PA30

 

1.创建的infotype必须是9开头的,即9xxx,举例:9111.
2.创建ps结构.(TCode se11). ex: ps9111.
3.pm01 创建infotype.
在infotype no.中填入要创建的infotype,这里是9111。点右侧的创建图标。
4.填入infotype号及描述,添加time constraint,添加 single screen.并save.退出。
5.如果想修改相关信息,pm01---infotype号--infotype characteristics--修改相关信息--save.
6.pa30.在最下方填入infotype号,上面填入人员号--创建--进入屏幕可看到刚才创建的infotype屏幕。上面为系统标准屏,下面为自定义的参数。
7.可以在信息类型中创建纪录。
8.se11,在数据库表中填pa9111,执行,可以查看刚刚创建的纪录。

 

 

一、create infotype (po10,与组织相关的数据)
1.创建的infotype必须是9开头的,即9xxx,举例:9999.
(1).
2.创建pt结构.(TCode se11). ex: pt9999.
3.ppci 创建infotype.填入信息类型号,点create.
进入下一界面,选字段信息类型,创建即可。
4. 创建完毕后,hrp9999中只存入了一个tabnr号,而真正的数据可以通过tabnr号从hrt9999中获取。
(2).
2.创建hri结构. ex:hri9998.
3.ppci 创建infotype.填入信息类型号,点create.
进入下一界面,选表信息类型,创建即可。
4.数据存储在hrp9999中。

 

 

 

二、 enhance infotype.1.pm01--选第三个enhance infotype--选ci_include--创建2。进入了ci_pxxxx. 填入增强的字段.-----activate.(可能需要等几秒钟)3.提示warning ,不必关注,退出即可.4.pm01,填入刚才增强的infotype,点创建,不停的enter直到完成即可。5。pa30.查看增强的字段。6。如果信息类型已经被增强了,则第一步不用创建,edit即可。后面步骤一样,直到第5步。7。se11,在数据库表中填paxxxx,执行,可以查看刚刚创建或修改的纪录。

 

 

三、增强字段的自定义输入输出属性。
1。sm30--t588m--mod.pool(mpxxxx00)--screen(刚才创建的为2000)--设置相应字段属性

 

 

四、生成的程序名为zpxxxx00.
五、查看v_t582a可以查看infotype的属性。
六、增强的字段如果想设置下拉菜单,可以在数据元素的domain中的value里指定。
七、pm01时,选第一个用于雇员信息,即pa.第二个用于招聘,即pb.
以下为组织管理与人事管理增强时相应信息的对照:
tcode structure table screen program maintance table
OM ppci hrixxxx hrpxxxx mpxxxx00 t777i(sm30)
ptxxxx hrtxxxx
PA pm01 psxxxx paxxxx 2000/3000 mpxxxx00 t588m(sm30)

 

 

 

组织管理
八、po10----组织管理维护
在自己创建的infotype里维护数据,完毕进se11--hrpxxxx--可以查看自己维护的数据。

 

 

九、组织管理----t777i中的维护
类似t588m中的维护,进入后new entries,对time constraint 和 screen 进行维护。
对于9开头的已经被创建的OM infotype,如果想增强,可以修改hrixxxx.但屏幕的属性不知道怎么改,目前比较笨的一种方法是se51直接去屏幕里修改。
对于系统已有的om infotype,增强时填入infotype号,选第三个extend infotype,点all 增强,点edit/change 修改。
增强后的程序名为zpxxxx00,屏幕为200。

 

 

表t582c的用法,暂时不知道:include screens for infotypes.
t588m: infotype screen control.
t777i: change view infotypes.

 

 

1,infotype是四位数字编码,通常,

 

4nnn for applicant,
1nnn for OM,
2nnn for time,
0nnn for HR master data, sometimes for applicant data
9nnn reserved for customizing

 

2,每个infotype nnnn 需要至少两个structure:PSnnnn+Pnnnn, 和一个transparental table: PAnnnn(或PBnnnn for applicant), 这些数据需要在Data Dictionary中定义,PM01没有这功能(看来俺是误入歧途了, developing infotype还是Abaper的事)

3,infotype的module pool组成维护界面的主程序, 主程序为MPnnnn00,主程序还包含四个includes(不懂)

4,infotype有至少三个screen: initial screen, single screen, list screen. 另外可以用alternative screen来代替single或list secreen, 一个infotype可以有多个screen来满足不同需求, 例如, 不同国家.

initial screen用作HR和infotype本身的technical interface, 通过assign给infotype的dialog module进入. screen 1000是所有infotype的initial screen. initial screen只在后台处理,无法显示.

single screen是user和SAP的界面, 通常为screen 2000, 可以自定义single screen, 号码是2900-2999,

list screen用于显示所有的某个personnel在某个infotype的历史记录, 默认为screen 3000

infotype screen control用来调整screen以适应不同的功能(create,change,display,delimit,---)和针对不同的数据内容(某个ESG下的employee不应该有某个field)(---guess: SAP把很多东西都做group, 连delere,display等这样的操作,也定义成constant, 并组成modification group), 同时, modification group的screen control优先级, 低于table T588M

5,dialog module作为HR transaction和infotype之间的界面,名称必须为RP_nnnn,

infotype nnnn 通过 dialog module RP_nnnn 进入 module pool MPnnnn00 的 screen 1000

6,infotype characteristics,(table T582A,View V_T582A), 保存关于time constraint, start date, screen, dialog module等基本信息

 

相关table,
T582S: further infotype text,
T777D: infotype dialog/database assginment,
T591A: subtype characteristics
T591S: subtype text

 

 

 

Master Data 员工主数据
PA10 Personnel File 
PA20 Display HR Master Data 
PA30 Maintain HR Master Data 
PA40 Personnel Events 
PA41 Change Hiring Data 
PA42 Fast Data Entry for Events 
PRMD Maintain HR Master Data 
PRMF Travel Expenses: Feature TRVFD 
PRML Set Country Grouping via Popup 
PRMM Personnel Events 
PRMO Travel Expenses: Feature TRVCO 
PRMP Travel Expenses: Feature TRVPA 
posted @ 2015-08-05 09:05  路小径  Views(624)  Comments(0Edit  收藏  举报