10-07-2005 11:07 AM
Hi All,
I have create a new field on the VA01(Sales Order) application.
I want to add the field in the incompletion logic.
How to proceed,Please help me out.
Regards
10-07-2005 6:19 PM
Hi,
Try to use user exit forms in MV45AFZB INCLUDE:
USEREXIT_CHECK_VBAK,
USEREXIT_CHECK_VBAP and so on...
Krzys
02-07-2006 3:01 PM
Krzys,
What code do you use to trigger something as incomplete? I read somewhere that you just "clear the field". I cleared US_DIALOG but that didn't work.
Thanks for your suggestion.
Joy
02-07-2006 5:53 PM
You have to add the field to the Incompletion Procedure (transaction OVA2) that you want to change.
Thanks,
Brian
02-08-2006 7:36 PM
Thanks, Brian.
I don't want to add it to the incompletion procedure because it only applies to one customer. Can you suggest anything else?
Joy
02-08-2006 7:40 PM
As Krzys has suggested, MV45AFZB is the most common way of handling such things.
Sridhar
02-09-2006 1:41 PM
Yes, I've been told it can be done in MV45AFZB but can anyone tell me specifically what field in what itab I have to update to trigger incompletion?
Joy
02-10-2006 4:58 AM
Hi Joy,
Add or modify or delete the lines with the internal table XVBUV in the program MV45AFZB.
This would solve your issue.
Thank you.
Regards,
Karun.M
02-10-2006 2:24 PM
02-10-2006 2:48 PM
Karen,
This is the code I've put into MV45AFZB->FORM USEREXIT_CHECK_VBAK. I'm trying to trigger incompletion if the purchase order date is initial. I've created a new incompletion procedure, Z2, which only contains purchase order date. This is still not working. My colleague suggested I just issue an error message instead of trying to get it into the incompletion log. Any suggestions?
data: wa_xvbuv like line of xvbuv.
if vbkd-bstdk is initial.
clear: xvbuv, wa_xvbuv.
wa_xvbuv-mandt = '010'.
wa_xvbuv-tbnam = 'VBKD'.
wa_xvbuv-fdnam = 'BSTDK'.
wa_xvbuv-fehgr = 'Z2'.
wa_xvbuv-statg = '01'.
wa_xvbuv-msgkz = 'X'.
wa_xvbuv-updkz = 'X'.
wa_xvbuv-fcode = 'KBES'.
wa_xvbuv-sortf = '9999'.
append wa_xvbuv to xvbuv.
clear wa_xvbuv.
endif.
Thanks,
Joy