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

ztable t-code query

satvik_panchal
Participant
0 Likes
509

hello experts,

  I have developed a ztable and t-code for that ztable. The columns are material group, material group description. After running the t-code, is it possible that if I enter a particular material group, automatically the corresponding material group description is displayed in the column for material group description.

Regards,

Satvik

1 ACCEPTED SOLUTION
Read only

former_member196490
Active Participant
0 Likes
479

You have to create Table maintainence events. Goto table Maintainence Generator. From the Menu select Environment -> Modification -> Events. Do a F4 on the first column and select the event 'Before Saving Data to the database' (01) . click on the button in the editor column and enter the code to fetch the description based on the material group.

3 REPLIES 3
Read only

Former Member
0 Likes
479

You should write Table maintanance events for this.

This is available in Table maintanance generator.

Please check SCN forums for examples.

Read only

0 Likes
479

Hi,

       you write the code in Table events , in that events , write it on berfore dipaly event

select the material group decsription from the table and pass that table field.

Read only

former_member196490
Active Participant
0 Likes
480

You have to create Table maintainence events. Goto table Maintainence Generator. From the Menu select Environment -> Modification -> Events. Do a F4 on the first column and select the event 'Before Saving Data to the database' (01) . click on the button in the editor column and enter the code to fetch the description based on the material group.