all user exit mv45afzz (implicit user exit )
MV45AFZZ this is included here all code put related to sales order creation while creating a sales order va01 this exit trigger so as per your requirement we can write your code here I going to listed different type exit as per the real requirement you find the code and develop your business scenario INCLUDE MV45AFZZ . Modify Screen VA01/VA02/VA03 How to Activated and Deactivated Screen Export Memory example While Creating a sales order How to Call workflow While Creating a sales order TYPES : BEGIN OF ty_vbak , KVGR1 TYPE vbak - KVGR1 , KVGR2 TYPE vbak - KVGR2 , END OF ty_vbak . DATA : ls_vbak TYPE ty_vbak . IF sy - tcode = 'VA02' and sy - uname = 'FREDDIE' . BREAK freddie . *SELECT SINGLE KVGR1 KVGR2 * FROM vbak * INTO ls_vbak * WHERE vbeln = vbak-vbeln. * *IF vbak-KVGR1 <> ls_vbak-KVGR1 or vbak-KVGR2 <> ls_vbak-KVGR2. * VBAK-FAKSK = '05'.
Comments
Post a Comment