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 exit when creating material master data MM01

Former Member
0 Likes
781

Hello all,

I have a problem when creating a material master via transaction MM01.I added a field exit before that administrator load support package in version 4.7 and

this functionality has correctly.

After support package I see a system has not been control

a field exit (problem).I verify a transaction RZ11 it's OK.ther is a code.

move input to w_matnr.

if not w_matnr is initial.

  • Controle si la zone saisie dans l'article générique est vide ou pas

  • s'il ne l'est pas contrôler l'existence dans la fiche article

select single * from mara

where matnr eq w_matnr

and mtart eq 'ZGEN'.

if sy-subrc ne 0.

message e019(z1) with w_matnr.

else.

MOVE INPUT TO OUTPUT.

endif.

else.

MOVE INPUT TO OUTPUT.

endif.</b>

Thanks for your help.

Hello all,

I have a problem when creating a material master via transaction MM01.I added a field exit before that administrator load support package in version 4.7 and

this functionality has correctly.

After support package I see a system has not been control

a field exit (problem).I verify a transaction RZ11 it's OK.ther is a code.

move input to w_matnr.

if not w_matnr is initial.

  • Controle si la zone saisie dans l'article générique est vide ou pas

  • s'il ne l'est pas contrôler l'existence dans la fiche article

select single * from mara

where matnr eq w_matnr

and mtart eq 'ZGEN'.

if sy-subrc ne 0.

message e019(z1) with w_matnr.

else.

MOVE INPUT TO OUTPUT.

endif.

else.

MOVE INPUT TO OUTPUT.

endif.</b>

Thanks for your help.

3 REPLIES 3
Read only

alejandro_lpez
Contributor
0 Likes
586

Hi mady,

Try to active the field exit again, through transaction SE37, enter the field exitname FIELD_EXIT_<NAME OF THE FIELD> and active it.

Another way is in transaction CMOD, enter =prfb in command field , then check the field exit name and go to menu Field Exit and click in option Activate.

Regards,

Alejandro

Read only

Former Member
0 Likes
586

Execute Prorgam RSMODPRF to activate field exits.

Read only

0 Likes
586

Please also check the parameters using RZ10. There must be a parameter name abap/fieldexit in the paramter and the parameter's value should be YES.