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

field exits

Former Member
0 Likes
802

hi gurus,

i have a problem, in MM01/MM02(Basic data1) there is field called Prod.hierarchy(dataelement is prodh_d), for this data element how to create and change Field Exits and how to assign to MM01/MM02 Tcode.

i created a field_exit_prodh_d, it works while creating a material (using MM01). But when we change a material it dosen't work.

the code part i have to write is

1. To validate MARA-PRDHA field length (field exit can handle this). the field length should be 18 char.

2.Copy the value of MARA-PRDHA to MVKE-PRODH (the code of the field exit above, you can do field-symbol technique to transfer value from mara-prhda to mvke-prodh).

plz. do the needfull information with all the steps with codeASAP.

I am using Ecc 6.0 Version.

Thanks & Regards,

Sudheer.

hi gurus,

i have a problem, in MM01/MM02(Basic data1) there is field called Prod.hierarchy(dataelement is prodh_d), for this data element how to create and change Field Exits and how to assign to MM01/MM02 Tcode.

i created a field_exit_prodh_d, it works while creating a material (using MM01). But when we change a material it dosen't work.

the code part i have to write is

1. To validate MARA-PRDHA field length (field exit can handle this). the field length should be 18 char.

2.Copy the value of MARA-PRDHA to MVKE-PRODH (the code of the field exit above, you can do field-symbol technique to transfer value from mara-prhda to mvke-prodh).

plz. do the needfull information with all the steps with codeASAP.

I am using Ecc 6.0 Version.

Thanks & Regards,

Sudheer.

3 REPLIES 3
Read only

Former Member
0 Likes
705

Please check program <b>RSMODPRF</b> for creating/modifying field exits and proceed.

Regards

Eswar

Read only

0 Likes
705

hi,

i created field_exit through this program. but i want the code.

Thanks & Regards,

Sudheer.

Read only

Former Member
0 Likes
705

Hi Sudheer,

First you need to understand that field exits will trigger at the data element level.

First check what is the data element for the field you are looking for to assign(Prod Hierarchy) the field exit. if the data elements are different for tranactions MM01 and MM02 you have to create tow different field exits for these two data elements.

If the data element for Prod hierarchy field is same for MM01 and MM02 it will obviously trigger.

If u still have any problem/query on field exits, Please let me know...at [email protected]

Also for ur information, Field exits are freezed by SAP after R/3 4.6C. Hence this might also be a source for your problem.

Regards

Shiva