12-18-2006 3:45 AM
Hi Friends,
I have to update the my Ztable by user exit.
while creating the sales order by VA01 tcode when i will press the save button it will update my ztable.
The entries in this table should be created when a new sales order is processed and saved.
My Ztable having fields vbeln,vkorg, vtweg, spart & status field.
Now i wanted to write the logic if net value is greater than 5000 than it is high order value & status field should be updated as per above mentioned logic.
Anybody will pls tell me what I can do for this??
Pls tell me sample logic.
Pls reply my asap.
12-18-2006 6:00 AM
Hi
Do your coding in
INCLUDE MV45AFZZ
in <i>FORM USEREXIT_SAVE_DOCUMENT</i>
Or use the similar functionality in BADI_SD_SALES
For the logic part
there will be two fields <b>XVBAK and XVBAP</b> which will be available in the user exit which will give u the data u need
Check XVBAP-ZMENG which you can use for quantity check
Regards
Deepak
Message was edited by:
Deepak Krishnakumar
Message was edited by:
Deepak Krishnakumar