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

Customer master XD01/FD01

Former Member
0 Likes
1,088

Hi all,

I need to add an <b>extra input check</b> to customer master address fields (FD01/FD02 and XD01/XD02).

I've added both <b>EXIT_SAPMF02D_001</b> and <b>EXIT_SAPMF02D_800</b> to enhancement <b>SAPMF02D</b>. Both function modules are active, and the Z-includes called in the funciton modules are created and activated. After setting breakpoints in these two includes, I run FD01/FD02 - but none of the user exits are triggered (the same applies if I run XD01/XD02).

I've also checked out BADI <b>CUSTOMER_ADD_DATA</b>, method <b>CHECK_ALL_DATA</b>. But I need to test the fields Street 2, Street 3, and Street 5 - and these fields are not available as input to this method.

To me it seems that neither the user extis nor the BADI can be used? Is this correct? If so, are there any other options? If they indeed can be used, what am I doing wrong?

All helpful answers will be rewarded!

- Mari

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
816

Hi

How you have done this?

Have you created a Project using CMOD Tcode and activated it

and in that project have to added this enhancment SAPMF02D and in that exit Include you have to write the code.

Activate it.

You can easily validate the fields of Address in this exit.

this will work.

Reward points if useful

Regards

Anji

Hi all,

I need to add an <b>extra input check</b> to customer master address fields (FD01/FD02 and XD01/XD02).

I've added both <b>EXIT_SAPMF02D_001</b> and <b>EXIT_SAPMF02D_800</b> to enhancement <b>SAPMF02D</b>. Both function modules are active, and the Z-includes called in the funciton modules are created and activated. After setting breakpoints in these two includes, I run FD01/FD02 - but none of the user exits are triggered (the same applies if I run XD01/XD02).

I've also checked out BADI <b>CUSTOMER_ADD_DATA</b>, method <b>CHECK_ALL_DATA</b>. But I need to test the fields Street 2, Street 3, and Street 5 - and these fields are not available as input to this method.

To me it seems that neither the user extis nor the BADI can be used? Is this correct? If so, are there any other options? If they indeed can be used, what am I doing wrong?

All helpful answers will be rewarded!

- Mari

2 REPLIES 2
Read only

Former Member
0 Likes
817

Hi

How you have done this?

Have you created a Project using CMOD Tcode and activated it

and in that project have to added this enhancment SAPMF02D and in that exit Include you have to write the code.

Activate it.

You can easily validate the fields of Address in this exit.

this will work.

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
816

THANK YOU - that worked