Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom Infotype

Former Member
0 Likes
970

Hi,

I have to create a custom infotype which is having the Table Control of 5 columns. The maximum number of rows possible in this Table Control is 20. So while creating the PS Structure i have given these 5 fields for 20 times i.e. total 100 fields i have given in the PS Structure which is similar to Infotype 0008. But this PS Structure is giving the error that maximum allowable header size is 2000 bytes but your header size is 2840 bytes. So can anyone please explain how to overcome this problem? or Any other alternative to create this infotype without repeting these 5 fields for 20 times.

With Regards,

Nalini Kumar.

6 REPLIES 6
Read only

Former Member
0 Likes
884

Hi

check this

Steps to create a HR Infotype:

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

😎 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)

Subtype Creation :

Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.

Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.

Subty.text tab is T591S and time const tab is T591A.

See:

http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm

HR related site:

http://www.sapdevelopment.co.uk/hr/hrhome.htm

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
884

Hi,

Refer to <a href="http://www.sapdevelopment.co.uk/hr/hr_infotypes2.htm">Create Infotype</a>

Regards

Bala

Read only

Former Member
0 Likes
884

Hi,

Check this link..

Regards

Read only

Former Member
0 Likes
884

Hi,

Actually my problem is i am getting the error message that maximum allowable PS Structure header size is 2000 bytes but your header size is 2840 which is not allowed. Please explain me hoe to overcome this problem?

With regards,

Nalini Kumar

Read only

0 Likes
884

Hi nalini,

1. but your header size is 2840 which is not allowed

I don't think there is any directly solution to this problem.

2. The maximum size of infotypes allowed is 2000 bytes.

So either u may have to reduce the FIELD LENGTH of 1 or two fields (for each bunch of 20)

Or u may have to reduce 20 to eg.15.

regards,

amit m.

Read only

Former Member
0 Likes
884

Hi Nalini,

I have the same issue. I have table control with 22 fields with total char length 243 char. I can able to insert only 100 records. is it possible to insert infinite no of records in the table control. Can anyone please explain how to solve this issue..?

How did you solve ur issue.

Regards,

Chandana.