‎2007 Jul 15 8:48 PM
hello friends,
in my problem,
i have to change a table name in the user exit save_doc_prepare for validation before saving the sales order,
i thought of going into se38 give the program name mv45afz and search for the form save_doc_prepare and then change the table name, or go to se37 and look for this form stmt, and change there or goto cmod give the exit name name chaneg there and save it,
which is a good way of programming or which one really works out,
your suggestions will be precious,
thank you.
‎2007 Jul 15 9:21 PM
hi seshu,
i think u got my point exactly,
yes i think i need to reach this include mv45afzz,
my question was how do i reach this include mv45afzz
i need to put one table name to validate the incoming batch number with the batch number in this table , and if they dont match i need to display error.
thanks for understanding my problem,
so u mean we deal differently with user exits in sd.
thanks again.
‎2007 Jul 15 8:54 PM
I do not understand what is your question ?
Do not use CMOD for SD User exits ,SD User exits - you can modify straight way into program.
suppose if you are doing something to sales order ,then you can write the code in MV45AFZZ Include program,this include will trigger in sales order VA01,VA02 Transaction.
Thanks
Seshu
‎2007 Jul 15 9:21 PM
hi seshu,
i think u got my point exactly,
yes i think i need to reach this include mv45afzz,
my question was how do i reach this include mv45afzz
i need to put one table name to validate the incoming batch number with the batch number in this table , and if they dont match i need to display error.
thanks for understanding my problem,
so u mean we deal differently with user exits in sd.
thanks again.
‎2007 Jul 15 9:36 PM
Well Saritha.
GOTO SE38 Transaction -> give include name MV45AFZZ -> click on Display button.
Here you can see form routine called ( In last)
FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
Here you can write the code and display error message .
ENDFORM.
if you want to change,then click on change button,then you can write the code.
Thanks
Seshu
‎2007 Jul 15 11:21 PM
SD user exits (at least most of them) are what are categorized as FORM exits. These don't require you to create a CMOD project and activate the project etc. All you have to do is go to SE38, click change and you will be asked for 'Access Key' if you haven't used this include before. Take a screen shot of that pop-up window and ask your basis people to provide you with an access key for that object. Once you get the access key, enter it in the pop-up window and then you will be able to make changes to the user exits in this include.
Switch on the modification assitant so that your changes are tracked by the modification assistant.