‎2007 May 02 3:24 PM
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.
‎2007 May 02 4:29 PM
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
‎2007 May 02 4:41 PM
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?
‎2007 May 02 4:47 PM
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