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: 

Automations in a table view

Former Member
0 Kudos

Hello to all

We have to create a new table that will be maintain by one new transaction that will use one table view of this new table.

This new table has the fields material number(MARA-MATNR) and its description (MAKT-MAKTX). So we would like that the description can be fulled automatically by the system when the user choose the material number.(as the system picks the mara-matnr and goes to the makt table to take the field makt and bring it to our new table).

Is this possible?

We read that you can´t put abap code in one view table created in TC SM30.

Regards

1 ACCEPTED SOLUTION

former_member583013
Active Contributor
0 Kudos

It's possible to add ABAP code to Views generated by SM30...Just need to modify the FM generated...

On SE11 when you create the images, you can go to the Screen Painter and add code...

Greetings,

Blag.

2 REPLIES 2

former_member583013
Active Contributor
0 Kudos

It's possible to add ABAP code to Views generated by SM30...Just need to modify the FM generated...

On SE11 when you create the images, you can go to the Screen Painter and add code...

Greetings,

Blag.

Former Member
0 Kudos

Hi,

Create a table maintance for that table. So a Function group will be generated. Go to this Function Group main program you will find that the flow logic of the screen which you have created can be edited.

In PAI add your own module and add the piece of code for filling the Material Desc.

Also for creating that module you have to create the user defined includes in the Function Group main program.

Then create a t-code for that table maintance using SE93. (Choose the Parameter Option when creating)

So user can use that for maintan the table.

Thanks....