‎2010 Dec 09 10:43 AM
HI gurus,
How can i add a new field to a ddic table, and regenrate screens without losing existing PBO and PAI specifics modules?
Tankyou.
‎2010 Dec 09 10:49 AM
You can add zfields by using APPEND structure.
But what is your requirement for PBO and PAI screen generaion?
‎2010 Dec 09 11:13 AM
Hi, Thanks;
Why i have to use append structure, i can just add the field directly??
If i add this fields, i have te regenerate screens so this field ca appear in sm31 or sm30, but if i regenerate i will lost the specific pai or PBO modules i 've wrtittten for some controls, and i don't want to lose those modules.
Tnks a lot.
‎2010 Dec 10 6:24 AM
for a standard table,it is always this way we add the fields..
caould you please elt me know what is stopping you if you addthrough append strucutre.
And also why you want to mainatin the data of a standard table through sm30.the table should be filled automatically by the standarad trnsactions
‎2010 Dec 10 9:35 AM
Hi,
do remeber that only if you have done some coding in table maaintainence generatore screen that will get wiped out rest everything will stay as it is. Have you done any custom coding...?
Is it a standard table or a custom one..?
Nabheet
‎2010 Dec 10 9:39 AM
from your way of question it looks like you are trying to maintain standard tables with the help of table maintenance ...I have never been to this kind of requirement ....as update of standard tables are based on standard transaction ....and if you have new fields in standard transaction in that case we need to add fields using append structure...can you explain your requirement in detail ...........
‎2010 Dec 14 6:32 AM
Hi ,
if you want to add cusotm fields in the standard table you can do that using append structure. i did not understand why you want to enter the data into the standard table using transaction sm30 . i think it is not the best procedure to insert the data into the standard tables because it may lead to the inconsistency of the data. however, if you want to pOPulate the custom fields with some logical data you have to go for the enhancements provided by sap using BAPI'S.
‎2010 Dec 14 10:44 AM
‎2010 Dec 14 11:37 AM
HI,
Try using the change button in table maintenance screen.. instead of deleting it . and in teh options available, select adding new fields.
Otherwise.. instead of trying and regenerating your table maintenance screen, go directly to your screen painter ( where your PBO and PAI modules are ) and using the screen painter, directly add a new field in the table control 9using dictionary reference of course) . This way , your modules written in the flow logic will not be changed.. But make suire you write a new line in your flow logic for the newly added field.
Regards,
Suzie