08-12-2008 7:04 PM
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
08-12-2008 9:04 PM
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
08-12-2008 7:14 PM
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.
08-12-2008 7:20 PM
Hi,
Thank you for your reply.
But I have to check customer Type and then assign DC accordingly. I appreciate your help.
Regards,
Uma
08-12-2008 7:45 PM
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.
08-12-2008 7:48 PM
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
08-12-2008 8:08 PM
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.
08-12-2008 7:18 PM
08-12-2008 9:04 PM
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