06-01-2010 9:07 AM
Hi,
In VA01, when I change name of ship to party. Want to compare changed with name in ztable.
But when I change the name it will be in buffer.So how to do this?
Is there any function module to caputure the value in buffer.
Please suggest me.
Regards,
Brahmaji
06-01-2010 9:14 AM
Hi,
Use user exit "MV45AFZB", form routine "USEREXIT_CHECK_VBAK".
Read table xvbpa into <workarea> with key posnr ='000000' parvw = 'WE'.
Check <workarea>-KUNNR with the value in Z table.
Regards
Vinod
06-01-2010 9:14 AM
Hi,
Use user exit "MV45AFZB", form routine "USEREXIT_CHECK_VBAK".
Read table xvbpa into <workarea> with key posnr ='000000' parvw = 'WE'.
Check <workarea>-KUNNR with the value in Z table.
Regards
Vinod
06-03-2010 3:37 PM
Hi,
Thanks for your reply, in wihch structure can i find the changed name of ship to party in debugging.
I didnt find the changed name of ship to party in xvbpa while debugging,
plz suggest me.
Thanks,
Brahmaji
06-04-2010 6:43 AM
Hi,
You can get the value of changed ship to party name in XVBPA-NAME1 ( XVBPA-PARVW = 'WE'). You can
use user exit MV45AFZZ, form-routine : USEREXIT_SAVE_DOCUMENT_PREAPARE for this.
Regards
Vinod
06-01-2010 10:20 AM
Hi,
You can add your validation logic in "MV45AFZB", form routine "USEREXIT_CHECK_VBAK" which is used to add additional logic for checking the header for completeness and consistency.
or "MV45A175" where object data is loaded to subscreen work area through FM "OII_SOC_ORDER_GET_CUST_TANK".
Thanks and Regards,
P.Bharadwaj
06-07-2010 1:12 PM