‎2008 Jan 25 9:33 AM
1)We enter a Function group while creating a table maintainnce generator for a Z table.wat is the significance of that?
2)I am having a Ztable which has matnr and maktx.while creating the entries the user enters the matnr.Maktx should get populated automatically from material master.how can i achieve this?
Thanks,
Rakesh.
‎2008 Jan 25 9:42 AM
Hi Rakesh
1) Actually the in maintenance generator the system creates the modulepool program. For this it also creates function modules at runtime. So these FM must be assign to one function group. That FM we must enter when creating table maintenance generator for ZTABLE.
2) Actually i did'nt find the field maktx in MARA. Anyway whatever field u want just u can extract one field from source table and then update into ztable.
Reward if it help.
‎2008 Jan 25 9:39 AM
hi Rakesh,
1. the system will create FMs in this function group for table maintenance.
2. you have to code for that (if this is done through the above function group, you can modify to add your own logic)
hope this helps
ec
‎2008 Jan 25 9:42 AM
Hi Rakesh
1) Actually the in maintenance generator the system creates the modulepool program. For this it also creates function modules at runtime. So these FM must be assign to one function group. That FM we must enter when creating table maintenance generator for ZTABLE.
2) Actually i did'nt find the field maktx in MARA. Anyway whatever field u want just u can extract one field from source table and then update into ztable.
Reward if it help.
‎2008 Jan 25 9:42 AM
hi,
1) the function group which you mention while creating a table maintainnce generator for a Z table stores the information regarding the ztable in a function module which is automatically created
2) if it is through a program you can get the information from this coding
SELECT SINGLE * FROM MAKT WHERE MATNR EQ S_MATNR.