2006 Sep 21 11:48 AM
HI ,
how can i use user exit in this.
in spec they mentioned one userexit but i donot how to use it.
Requairment:
Create new process code which is a copy of ORDC e.g. ZORDC to include the delivery date update logic and bypass the update logic to the schedule quantity in the sales order
Use userexit ZXVEDU03 to enhance sales order look up. In the exit, trigger BAPI_SALESORDER_CHANGE to update the sales order.
Kindly explain this.
Thanks in Advance.
Thanks&Regards.
Ramu.
2006 Sep 21 11:55 AM
Hi,
Go to CMOd createa prjt, in enhancement column give the exit name.. u will get set of func modules, double click that FM, inside FM, click include(ZXVEDU03) and call the bapi as mentioned by ur customer.
Regards
Divakar
2006 Sep 21 11:57 AM
Firstly a user exit is put in place in a FM that will process an IDoc so that custom processing can be done. This can include the population of Z segments on an IDoc for further validation.
If you are to copy the process code to a Z version, then I do not see the need put extra coding in a user exit. Just code directly in 'Z' function module.
Idocs updates SAP docuements via call transaction. It may be different in later version of SAP. Therefore I do not beleive u need to use the BAPI to update the sales order.
Hope this helps.
2006 Sep 21 12:11 PM
Hey,
Check out for this include program in RBDAPP01 Prog. which process the inbound idoc.
Note : Your user-exit is available as include prg.
Rgds
2006 Sep 21 12:37 PM
hi ramu,
let me explain.
u have enhancements available in many of SAP's standard applications. bcoz user may want some provision to do manipulations according to his requirement.
all available enhancements can be found out in SMOD.
1. go to SMOD.
2. utilities -> find. give delvelopment class.
(development class (VA) for a transaction (VA03) can be
found in SE93.)
3. then execute
now u can see list of enhancements available for this sales order transaction.
however to implement
1. go to CMOD.
2. give project name. press create button.give
description.
3. click on <b>enhancement assignment</b> button on application
tool bar. u get a table where u give the enhancement number (8 digit). when u press enter, then description for the enhancment should automatically come.
4. then click on <b>compoents</b> button. now u get a list kind of thing. where u can see function EXIT_SAPLVEDA_001.
here u double click it will take u to SE37.
in this u will have include ZXVEDU03.
5. double click on this include. u now go to ABAP EDITOR .
here u can write ur code.
write for further queries
reward if useful...
2006 Sep 21 12:46 PM
hi again,
in CMOD to implement the enhancement, the enhancement number is <b>VEDA0001</b>. to see this,
1. in SMOD utilities -> find.
2. give development class as <b>VED</b>
3. execute.
<b>VEDA0001 SD EDI Incoming Orders (Customer Extensions)</b>
reward if found useful...