04-20-2007 2:14 PM
hi one & all,
i have to add certain condition for field erdat(o created date) in VA11 appl.i tried thru user exits.my requirement is i'v to stop the creation of so for particular customer who did'nt put at least one qua within one 6 months.then he is restricted to raise quation.
so, my req is that i'v to restict in VA11 appl., with message ' u r not allowed to raise this'.
i tried with user exits. but i have find out last quation created date and compare with present.lf it is >6 months then the above message has to show in the VA11 appl.
pls reply to this ASAP.
with regards,
J.prakash.
04-23-2007 7:17 AM
Use MV45AFZZ...It has all the user exits related o Sales order Quotation, etc...
Check the condtion that sy-tcode is VA11 and write the code under it in a suitable userexit.
Thanks
04-23-2007 7:27 AM
You can use this userexit USEREXIT_MOVE_FIELD_TO_VBAK
Checking the erdat filed of structure vbak will solve the purpose
Message was edited by:
Utsah Garg
04-23-2007 7:32 AM
Hi Prakash,
Plz go for the badi for ur requirement.
The available badis for this t.code is.
Business Add-in
ACS_COND_VERSIONING Condition Technique: Version Management for CACS
D_BONUS_CREDIT_NOTE BAdI for Rebate Credit Memo Requirements (SD)
D_COND_DETAIL Enhancement in Condition Detail Screen
D_COND_SAVE_A Save condition application A, E
And go through this Url:
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
*******rewords some points if it is halpful.
Rgds,
P.Naganjana Reddy
04-25-2007 9:16 AM