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

adding new field without losing specific pbo modules

Dasig
Participant
0 Likes
986

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.

8 REPLIES 8
Read only

former_member242255
Active Contributor
0 Likes
911

You can add zfields by using APPEND structure.

But what is your requirement for PBO and PAI screen generaion?

Read only

0 Likes
911

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.

Read only

0 Likes
911

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

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
911

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

Read only

AnjaneyaBhardwaj
Contributor
0 Likes
911

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 ...........

Read only

0 Likes
911

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.

Read only

0 Likes
911

HI, this is not a standard table, it's a specific one.

Read only

lijisusan_mathews
Active Contributor
0 Likes
911

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