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

table maintenance view - tcode

Former Member
0 Likes
3,614

Hi experts,

We have a tcode (already in production) created for table maintenace view of z-table.

Everything is working fine.

Now I added one new field to the z-table and changed the table maintenance view accordingly. In SM30 I can maintain the table without difficulties - the new field is visible and maintenable. However, when I call the transaction code created for this view, it doesn't have the new field yet. I tried a lot but without success to update the tcode accordingly.

How can I get the tcode adjusted with the new field?

Thanks for your advise and help in advance!

Your feedback will be << appreciated >>.

Regards,

Sally

Please do not offer rewards.

Edited by: Rob Burbank on Dec 6, 2009 5:22 PM

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,890

Try deleting the old table maintenance and regenerating it again.

13 REPLIES 13
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,891

Try deleting the old table maintenance and regenerating it again.

Read only

0 Likes
1,890

Hi,

thanks for your quick response.

Actually, the maintenance view is working fine. only the transaction code linked to it is not adjusted with the new field. Because there is also authorizations linked to the view and transaction code, I'd like to avoid to delete the existing objects and create new. I think it must be possible to do changes / enhancement in the existing objects. But how?

Rg,

Sally

Read only

0 Likes
1,890

Hi after running the transaction.

check the transaction su53.

so that you will no whether there is any authorization missing associated with the tcode.

Some tcodes such as su21,su23,su24 are used for authorizations.

Read only

0 Likes
1,890

Hi ,

I am looking for a possibility to change and enhance the existing objects without deletion.

Hope I can get more inputs and advices.

Thanks!

Rg,

Sally

Read only

0 Likes
1,890

Hello Sally,

Could you try tcode se14 to adjust the table, First edit and then go for adjust.

Regards

Anurag Chopra

Read only

0 Likes
1,890

Hi,

thanks for your feedback.

The problem is not concerning the table or the view, but the transaction code created for the table maintenance.

I have difficulties to get the screen (1000) adjusted (with the new field).

Any other ideas?

Thanks and regards,

Sally

Read only

0 Likes
1,890

Hi,

In SE93 check if you have wriiten SM30 as the next screen.

In the viewname write the table name and write update = 'X'.

Try saving once more and test it.

Regards,

Subhashini

Read only

0 Likes
1,890

Hi.

SE11-> Table name-> Utilities-> table maint. generator->Edit->change

u would get a pop-up asking what has been changed.

ex

Key field added

non-key field added..etc..

select what suits ur requirements and save..

Santhosh

Read only

0 Likes
1,890

Hi Subhashini,

many thanks for your feedback.

there are subscreens created for the transaction.

In table view, the screen number is defined as 1000 - I can see the new field here.

In tcode, I can see 4 sub screens 1001, 1002, 1003 and 1004. on the first subcreen 1001, I can maintain the table content. But I am not able to get the new field here.

I tried again to adjust it, but without success.

Could you someone out there help with how-to steps please?!

Rg,

Sally

Read only

0 Likes
1,890

It's about one week you asked the question, but I answer in case you didn't understand what happened:

First, screens 1000-1010 can't be used in a table maintenance dialog (an error is mentioned by SAP when you try to use these numbers). So, I really don't understand how you can get 1000 in your table view!

So, I think that your transaction is linked to a custom program (not the SM30 view). So you just need to adapt manually the custom program. Note: maybe the program is a partial copy of the SM30 function group, so maybe you may just copy the dynpro 1000 of the SM30 function group to the dynpro 1001 of your custom program...

Note: when you want to create a transaction which is linked to a table maintenance view (SM30), you must define a Z* transaction of type parameter, with reference to SM30 transaction, select "skip initial screen", do not choose any dynpro, and choose VIEWNAME = your view and UPDATE = X as parameter values.

Read only

0 Likes
1,890

Hi Sandra,

thank you for the valuable help.

Regards,

Sally

Read only

0 Likes
1,890

Could you just explain what was the problem and what was the solution?

Thx

Read only

Former Member
0 Likes
1,890

Also, before doing all these, check that, "Is there any custom code(like, table events) with in the table screens programming/TMG"? if so, it should not get disturbed after ur changes has done. Bcoz, when u re-create the TMG, the system will Re-generate the prog. for ur TMG., where in u loose the custom code.

Thank you

Edited by: M_S_Raju_0613 on Dec 12, 2009 1:59 AM