01-29-2008 5:23 PM
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
01-29-2008 7:22 PM
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.
01-29-2008 7:22 PM
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.
01-29-2008 7:28 PM
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....