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: 

Update hidden fields using SM31 transaction

Former Member
0 Kudos

Hi,

   I would like to update some fields table automatically when I used transaction SM31. For instance:

  My table fields:

    - BUKRS

    - VTWEG

    - SPART

    - TEXT

   When the user go to SM31 and create a new entry: DM01, 10, 10 , I would like to fill automatically field TEXT with word 'Example'.

    How can i do that ??

   Regards,

   David

3 REPLIES 3

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

If this is a customer owned (Z-Table) table and you generated the table maintenance you have some options.  From inside the table maintenance Generation Environment, there is a modification menu under Enviroment. This lets you make small changes to the generated screens or programs. Please note that your changes will be attempted to be retained if you must regenerate the table maintenance. However my experience has been to document your changes well and be prepaired to put them back.

0 Kudos

Hi Thomas,

  Thanks for your answer, I´ll try it with Generation Environment...

   Regards,

  David

0 Kudos

Hi,

  I´ve tried with Generation Environment and now all works propertly. I used '21' event, to write hidden fields in the table.

Thanks.

  Regards, David