Q.Enhancements Function Exit or Customer Exit.
Function Exit (this is customer exit). Here we discuss about the Function Exit or Customer Exit. This is the details about step of example. We already predefine predefined a particular value of sales order. Step by step sales order creation in (VA01 transaction). This sales order creation there is a field ‘SOLD TO PARTY’. We want this field will be predefined with value 2400 whenever we enter VA01. Following is the step by step approach.
A. Please enter VA01 transaction.
B.After that please enter order type OR and press enter.
C. Initially the sold to party is blank. Sold to party means the party to whom the product will be sold. So basically it will be the customer.
D. Now go to system > status and double click on the program.
E. If you want to copy the package > go to attribute > copy the package name.
F. Next > SMOD and then find (CTRL + F).
G. After you put package (VA) and execute.
H. Now we see that there are a lot of exits for this particular transaction VA01. We have to go by the description of exits and we have chosen Predefined sold-to-party.
H. Double click on the exit and we enter into the enhancement.
J. Now double click on the exit and we enter into the function module (SE37).
K. Now go to CMOD and create a project.
L. Enter the enhancement name and hit enter.
M. Now double click on the exit.
N. Create the include program to write our own code.
O. Activate the code and activate the project. We see that the exporting parameter takes the value of customer number with E_KUNNR like KNA1-KUNNR. So we are passing a fixed value to E_KUNNR.
P. Now again enter VA01 with OR order type.
Q. We can deactivate this project and by doing this VA01 will go to previous phase.
Function Exit (this is customer exit). Here we discuss about the Function Exit or Customer Exit. This is the details about step of example. We already predefine predefined a particular value of sales order. Step by step sales order creation in (VA01 transaction). This sales order creation there is a field ‘SOLD TO PARTY’. We want this field will be predefined with value 2400 whenever we enter VA01. Following is the step by step approach.
A. Please enter VA01 transaction.
B.After that please enter order type OR and press enter.
C. Initially the sold to party is blank. Sold to party means the party to whom the product will be sold. So basically it will be the customer.
D. Now go to system > status and double click on the program.
E. If you want to copy the package > go to attribute > copy the package name.
F. Next > SMOD and then find (CTRL + F).
G. After you put package (VA) and execute.
H. Now we see that there are a lot of exits for this particular transaction VA01. We have to go by the description of exits and we have chosen Predefined sold-to-party.
H. Double click on the exit and we enter into the enhancement.
J. Now double click on the exit and we enter into the function module (SE37).
K. Now go to CMOD and create a project.
L. Enter the enhancement name and hit enter.
M. Now double click on the exit.
N. Create the include program to write our own code.
O. Activate the code and activate the project. We see that the exporting parameter takes the value of customer number with E_KUNNR like KNA1-KUNNR. So we are passing a fixed value to E_KUNNR.
P. Now again enter VA01 with OR order type.
Q. We can deactivate this project and by doing this VA01 will go to previous phase.
Thank you for your post. This is outstanding information. It is amazing and wonderful to visit your site. Otherwise if anyone find the best SAP Training Institute in Delhi, India Contact here-9599118710
ReplyDeleteSAP Training Institute in Delhi
SAP Training Course in Delhi
SAP Training in Delhi
SAP Course in Delhi