Application Development 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: 

How to add an entry in SM30

former_member295881
Contributor
0 Kudos

Hello Experts,

I've a requirement where user want to see an entry when you click position icon.

Here is what they see today and they want to see 'Characteristic Val' on the following Another entry popup.

Furthermore, here is the table layout and ATWRT is the field they want to see. Also we don't want to change 'Key' field in the table. Please let me know if it's doable?

Many thanks in advance.

7 REPLIES 7

rosenberg_eitan
Active Contributor
0 Kudos

Hi,

I am curious...

Are you maintaining SAP standard tables using SM30 ?

Why not write a program with selection parameter do select and display the results.

Regards.

0 Kudos

Hi Eitan,

No this is a custom table and the request to have 'Characteristic Val' field available for user to select in SM30.

No program is needed.

0 Kudos

Hi,

You had me worried for a moment .

We prefer to write our own maintenance programs for custom tables  .

This way we have better control on what's happening .

Regards.

0 Kudos

Hi,

You have to put some code in while generating table maintenance screen from table maintenance generator which will validate the field when user try to enter data using SM30.

Regards,

Ashvin

0 Kudos

Thanks Ashvin for your input but where do I've to put and what code? Can you elaborate, please?

0 Kudos

Hi,

Create a tcode ZXXX for  table maintenance in SE93

There pass the below mentioned parameters

  • UPDATE_LTD as X
  • VIEWNAME as table name
  • VIMDYNFLDS-LTD_DTA_AR as X

Now whenever you will start the tcode it will ask you for the fields to be chosen for filter and then you can choose your field and put a filter. or you can choose inside TMG under selection by contents and put the filter.

Former Member
0 Kudos

Hi

I think there is one option that you can make selection.

After opening the view in SM30 , follow the below path

i.e. Selection-->By content-----> you wil get fields for selection.

regards.

laxman