‎2006 Apr 28 4:55 PM
Hi Friends,
I want to modify the sales order document date with Requested deliverydate(RV45A-KETDAT). So that correct pricing date should be picked up.
Could anybody suggest which user exit is the better option from the following.
USEREXIT_MOVE_FIELD_TO_VBAK
USEREXIT_MOVE_FIELD_TO_VBAP
USEREXIT_MOVE_FIELD_TO_VBKD
USEREXIT_MOVE_FIELD_TO_VBEP
Quick reply will be highly appreciated.
Thanks & Regards,
Praveen
‎2006 Apr 28 5:00 PM
Hi Praveen,
Perhaps you can use user exits USEREXIT_MOVE_FIELD_TO_VBAK
since this sales order document date is at document/header level.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Apr 28 5:06 PM
‎2006 Apr 28 5:17 PM
Hi Praveen,
If you always have one material in sales order, you can use USEREXIT_MOVE_FIELD_TO_VBAK.
Otherwise, USEREXIT_MOVE_FIELD_TO_VBAP is the best to use to determine pricing for different material at item level.
I would suggest to use <b>USEREXIT_MOVE_FIELD_TO_VBAP</b> which will work for all cases.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Apr 28 5:39 PM
we are using a popup with contrct lise to collect the Contract, if the contract is futuree contract to get the pricing date as future pricing date we are doing themodification of Document date.
the Contract will be available in the item level?
Please suggest?
‎2006 Apr 28 5:30 PM
Hi praveen,
if you are in doubt, i would like to confirm..
Use USEREXIT_MOVE_FIELD_TO_VBAP as it would be used in all cases...
Regards,
Tanveer.
Please mark helpful answers
‎2006 Apr 28 5:51 PM
Hi Praveen,
The contract should be available at item level as well as header level.
You can also check table VBFA (Sales Document Flow) based on sales order number (if already created).
Again hope this will help.
Regards,
Ferry Lianto
‎2006 Apr 28 8:02 PM
Praveen,
When using these user exits in SAPMV45A it is always helpful to set break-points and determine whether they are being called when you need them to be called.
For example, if you are in VA02, if you do not update line items, USEREXIT_MOVE_FIELD_TO_VBAP may not be called.
Chris H.