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

Enhancing standard infotype

kamesh_g
Contributor
0 Likes
1,621

Hi

I am enhancing standard infotype and while enhancing I need to put some conditions for the fields .

Example .. I need to display the field for few regions and few pay roll areas .

any one can give pointers on this . please dont give threads for how to enhance standard infotype

Thanks

Hi

I am enhancing standard infotype and while enhancing I need to put some conditions for the fields .

Example .. I need to display the field for few regions and few pay roll areas .

any one can give pointers on this . please dont give threads for how to enhance standard infotype

Thanks

13 REPLIES 13
Read only

kerem_kayacan
Active Participant
0 Likes
1,592

As far as I understand, you already know how to enhance a standard infotype. So you should write a logic to hide the field in a PBO module of the infotype screen. But you shouldn't forget that if screen is regenerated, your logic is gone.

Read only

0 Likes
1,592

Hi Kerem

Thanks for your response

Ya .. anyway we will generate the screen only once .Thing is can we hide the field based on some conditions

Will it work . If it works how to hide.

Read only

0 Likes
1,592

Hi,

You can hide the fields based on your condition .

Hide the fields using loop at screen ... endloop.

loop at screen.

if screen-name = 'ZZFIELD1' or <-- give your field name

screen-name = 'ZZFIELD2' or <-- give your field name

.

screen-invisible = '1'.

modify screen.

endif.

endloop.

Regards,

Srini.

Read only

Former Member
0 Likes
1,592

Kamesh,

you have to use tcode pe03 to define the condtions .for example you are making modificationg for IT45 .you can create an entry based on molga for example 08.

go to sm30 and use v_t588m and give the module pool name(you can get from the system-status when you go to standard infotype screen)

select the module pool name and screen and give the variable key as the one which you created in the previous step and click on details.there you can hide/show fields on a particular infotype

Thanks

Bala Duvvuri

Read only

0 Likes
1,592

HI Bala

Your answer is bot helpful to me

Could you please tell me how we maintain Feature in PE03 for particualr field against for particular country and payroll areas .

Please give elabarate on this .

Thanks

Read only

0 Likes
1,592

Kamesh,

goto pe03,give the structure for the Infotype for example for IT45 p0045 and change

then Goto-Structure it will show the fields you can use

Thanks

Bala Duvvuri

Read only

0 Likes
1,592

Bala

Ya I went to that screen ..and gave P0001 and when I go to ->structure I could see some fields but I need to add more fields in that .But Its not change mode .I go to chnage mode also .

And after maintain ing the fields how to make the field conutry specific .

Do you have any document on this .Please share ..If you can I will give persinal id .

Thanks

kamesh

Read only

0 Likes
1,592

Hi Kamesh,

I am just extending Bala's answer, so this is how it works.

1) Features P0001, P0002 and so on would return variable key depending on the different condition tree maintained in Feature. by conditions I mean say MOLGA, PAY ARAE and so on.

2) depending on the Feature, key if you check entries in T588M It gives you opttions like disaply, hide the field on infotype screen.

3) it is not advisable manually hide the fields in PBO module of INfotype screen

4) Features are maintained by Functional Consultants, read SAP documentation in PE03 and online help.

hope this helps.

Read only

0 Likes
1,592

Hi shital

Here the thing I could find more varinats for Feature created and Here features I need to create as a technical guy.

So I could see all the stuff what you said ,But I need way of manintaing the feature to hide the fields.

If you can provide any documentaion or link it would be helpful

Thanks

kamesh

Read only

0 Likes
1,592

Hello

I believe you can use the feature and table T588M to control the field properties of your newly added fields only based on MOLGA. But i am not sure if you can acheive it based on the Payroll area or anyother parameter.

Generally the approach would be, when you enhance a infotype it will create a entry in T582C which the module pool and the subscreen number which holds this newly added field.

You can to go to PBO of this subscreen and program and modify the fields properties based on your requirement.

Note : Generally the program would be ZPXXXX00 (XXXX - infotype number) and 0200 will be the subscreen.

Regards

Ranganath

Read only

0 Likes
1,592
Read only

0 Likes
1,592

refer http://www.sap technical.com/Tutorials/HRABAP/Infotype/HideFields.htm

Read only

0 Likes
1,592

Hi shital

I have gone through link but PE03 settings are not there in that link ..I need How to configure in tcode PE03 and based variable key defined in PE03 how to hide the fields in T588M

So between these some link is there .Thats what i would like implement.

Thanks