‎2011 Apr 03 12:12 PM
hi,
I make a field of NUMC type , IN STANDARD TABLE PA0002 by pm01(hr), this field is later used and now I want to assign inteter type to it, but is not accepting and giving errors , andgiving dump in standard transaction if I partly activate this field with integer type. plz tell me how to change domain of field if it is already field by data.
Moderator message: please use more descriptive subject lines for your posts.
Edited by: Thomas Zloch on Apr 3, 2011 8:12 PM
‎2011 Apr 03 2:35 PM
Hi 17ranjna,
the subject DOMAIN is an offense.
If you want to change a domain from NUMC to integer, this will need a manual table conversion. Before you do it, make sure the existing content of the table is numeric for all records. Technically, NUMC is a character field and the database will store letters without complaining.
After you do the manual table conversion in development system, it will be done automatically when imported to quality system. Same rule here: If any non-numeric values are stored in the NUMC field, it will dump when converting the table.
If you need the change because you need to store bigger values (more digits), just give the domain a bigger field width. This will always work.
Regards,
Clemens
‎2011 Apr 03 1:51 PM
Hi
Looks like you have enhanced a standard infotype PA0002. But you need to re-generate your module pool program and screens. Go to PM01 and re-generate the Enhancement.
Regards
Ranganath
‎2011 Apr 03 2:35 PM
Hi 17ranjna,
the subject DOMAIN is an offense.
If you want to change a domain from NUMC to integer, this will need a manual table conversion. Before you do it, make sure the existing content of the table is numeric for all records. Technically, NUMC is a character field and the database will store letters without complaining.
After you do the manual table conversion in development system, it will be done automatically when imported to quality system. Same rule here: If any non-numeric values are stored in the NUMC field, it will dump when converting the table.
If you need the change because you need to store bigger values (more digits), just give the domain a bigger field width. This will always work.
Regards,
Clemens