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

Issue modifying Infotype 0002

Former Member
0 Likes
687

HI, I'm modifying infotype 0002, by creating a new field called P0002-GBDAT, just the same as the standard field.

I need to hide the standard field and use mine.

But when i do that, and i try to create a new record, i've got the error "Invalid gbdat"

I debugged it and the standard field p0002-gbdat is empty.

the only thing i do is set the invisible flag to '1'. It seems to be that when i hide it, its value is cleared, but i don't want this.

Any ideas?

Thanks.

3 REPLIES 3
Read only

suresh_datti
Active Contributor
0 Likes
616

What is your actual reqt? why did you create a custom field with the same name as a Std field? I am curious..

If your reqt is to hide the date of birth from the User, there is no need for an extra field. You can do it by maintaining the View V_T588M via SM30/31 for screen 2000 of the program MP000200. Once in, you can select the 'hide' radiobutton for the screen field P0002-GBDAT.

~Suresh

Read only

0 Likes
616

I hide all fields of this block because i need to create an extra-field for this block, so i create a copy of all fields of this block, and i hide the original block.

But when i set the invisible flag of the STANDARD field GBDAT, and i try to create a new record, this field is empy.

so the only thing i need is to know how to hide GBDAT and avoiding this behaviour.

Can u help me?

Read only

0 Likes
616

Now I understand what you are trying to do.. honestly, I wouldn't take that approach.. as it will get too complicated once you start the Module Pool Program changes..I would go the normal route of adding a custom field using Tcode PM01.

~Suresh