现在的位置: 首页 > 综合 > 正文

INFOTYPE增强

2013年09月21日 ⁄ 综合 ⁄ 共 2238字 ⁄ 字号 评论关闭

按照前人的指引,最近尝试了HR的两个增强。按同事以前写的文档,基本都能顺利完成。

记录几个地方:

1.信息类型0534 PM01增强的时候要针对28版本 不然会报一个错,HCMT_BSP_PA_XX_R0534结构不存在,而实际上SE11可以看到结构HCMT_BSP_PA_CN_R0534是存在的

 

2.标准信息类型的屏幕可以通过MP000100 、MP053400程序打开。在标准的2000上增强的子屏幕,则ZP053400程序可以打开。

 

3.PM01生成对象以后,如果删除了某些参考CI_PXXXX中的屏幕字段,激活屏幕以后,发现还是需要被删掉的字段。于是又重新在屏幕上画出来,结果发现PA30里面点击修改按钮以后,其他增强的字段都变为可输入的,只有后来补的这个字段灰色的,不可输入。后来只好重新生成对象。重新生成的时候,逻辑流,ZP053410/ZP053420/ZP053430/ZP053440等程序都会被覆盖。

  如果发现要重新生成对象,最好先备份之前的代码。

 

 增强标准屏幕,做完屏幕的设计后,PM01-》单个屏-》分配增强,一般都会分配到2000屏幕中去。

 

 

 

4.新增了一个9007的INFOTYPE,放到异动事件中。(原来想增强0000,结果发现不允许)。最初的时候,没有配置到PA30的菜单信息组中,则在PA30输入9007没有描述出来,但是屏幕可见。后来加到PA30的菜单中,输入9007就会自动带出信息类型名称来了。

 

 

 

 

http://blog.csdn.net/CompassButton/archive/2007/08/22/1755127.aspx

 

1) Go to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the 'Employee Infotype' radio button.
4) Select the 'PS Structure Infotype'.
5) Click on Create... A separate table maintenance window appears...
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on 'All' push button. It takes a few moments.
10) Click on 'Technical Characteristics'. Infotype list screen appears
11) Click on 'Change'(pencil) button
12) Select your Infotype and click on 'Detail' (magnifying glass) button
13) Give 'T591A' as subtype table
14) Give 'T591S' as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on 'Infotype Characteristics' ... Infotype list screen appears
18) Click on 'Change' (pencil) button
19) Click on 'New Entries'
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirement...
25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select 'Layout Editor' and click 'Change'.
27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Don't forget to 'Activate at every level) 

 

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/CompassButton/archive/2007/08/22/1755127.aspx

抱歉!评论已关闭.