on 02-13-2009 3:31 PM
Hi All,
We want to use a userexit to populate the conract start date and end date based on some rules during sales order processing. Contact data displayed in VA01/VA02 is stored in VEDA table. Is it possible to use MV45AZZ user exit for this purpose?
Thank You.
Regards,
Amit
Edited by: Amit Kokane on Feb 13, 2009 4:31 PM
I don't see why it wouldn't be possible - use USEREXIT_MOVE_FIELD_TO_VBAK or USEREXIT_MOVE_FIELD_TO_VBAP, depending on whether this data is stored at header or line item level. You might need to use ASSIGN with '(SAPLV45W)VEDA' to get the data.
But if you create an order with reference to a contract, shouldn't those dates be copied from a contract "as is"? Just a thought...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jelena,
Thanks for the response. We are not using the contracts at all. We are creating the sales order without any refrence. We want to use the revenue recognition for ceratin service items on sales orders for which we need contract start date and end date to be defaulted based on some rules. We had tried populating the VEDA, XVEDA tables in save prepare routine of MV45AFZZ for same but we observed that when system calls SD_VEDA_UPDATE FM during the saving, all the data in internal tables get refreshed and systen reads the data from screen.
Can you please explain the use of ASSIGN with '(SAPLV45W)VEDA' to update the data in VEDA table in USEREXIT_MOVE_FIELD_TO_VBAP?
Thanks again.
Regards,
Amit
Folllowing links may help you to understand userexit_move_field_to_vbap
http://scn.sap.com/thread/1969799
http://scn.sap.com/message/3142122
Thanks
Rajesh
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.