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

Questions

Former Member
0 Likes
535

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
517

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.

3 REPLIES 3
Read only

JozsefSzikszai
Active Contributor
0 Likes
517

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

Read only

Former Member
0 Likes
518

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.

Read only

Former Member
0 Likes
517

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.