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 Maintenance - User exit

Former Member
0 Likes
2,311

Hi,

I would like to default values on Delivering Plant in Shipping tab(Sales view) in Customer Master creation(XD01). The system is currently in 4.6B so there is no BADI. The value cannot be changed in the user exit as it is an importing parameter.

Is there any other way of defaulting the values in XD01. Appreciate your help.

Thank you.

Regards,

Uma

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,338

Hi,

Try these exists,

MF02DFK0, FORM knvv_exit.

Try to find the where used list for the structure KNVVEXIT.

Let me know if you have any questions.

Thanks and Regards,

Venkat

7 REPLIES 7
Read only

Former Member
0 Likes
1,338

You can try creating a transaction variant for your required transaction using SHD0 and then assign default values. Search for transaction variants, you will find lots of threads.

Read only

0 Likes
1,338

Hi,

Thank you for your reply.

But I have to check customer Type and then assign DC accordingly. I appreciate your help.

Regards,

Uma

Read only

0 Likes
1,338

Hi,

Just check again as this Exit triggers when saving of Customer Master Data creation with XD01, so it must be having all the related tables structure used for Customer Master.

EXIT_SAPMF02D_001 User Exit for Checks prior to Saving.

Read only

0 Likes
1,338

Hi Bala Krishna ,

Thank you for your response . I tried this user exit but since it is an importing parameter to this exit this value does not get changed in this exit.

Thank you,

Regards,

Uma

Read only

0 Likes
1,338

Hi Uma,

Try the below example code:

FIELD-SYMBOLS: <fs_rqeva> TYPE rqeva. "structure which you want to update

DATA: lw_field(20) VALUE '(SAPMQEVA)RQEVA'. "structure with program name

**After all the validations**

ASSIGN (lw_field) TO <fs_rqeva>.

**Fill in the values***

<fs_rqeva>-vmenge06 = i_qals-losmenge.

<fs_rqeva>-neu_mat = i_qals-matnr.

<fs_rqeva>-neu_charge = w_new_charg.

Now your structure must be filled and it will be displayed.

Hope this helps.

Thnx,

Sudhir.

Read only

former_member585060
Active Contributor
0 Likes
1,338

Try with the Customer Exit

EXIT_SAPMF02D_001

Read only

Former Member
0 Likes
1,339

Hi,

Try these exists,

MF02DFK0, FORM knvv_exit.

Try to find the where used list for the structure KNVVEXIT.

Let me know if you have any questions.

Thanks and Regards,

Venkat