2009 Dec 31 1:36 PM
Hi,
Please let me the user exit name to check how VBPA table is getting updated while creating new sales order.
Thanks
Bhuvana
Hi,
Please let me the user exit name to check how VBPA table is getting updated while creating new sales order.
Thanks
Bhuvana
2009 Dec 31 6:26 PM
The user exits gets triggered is USEREXIT_SAVE_DOCUMENT_PREPARE ,
USEREXIT_SAVE_DOCUMENT
Becasue while creating sales order the sales order number will be generated by using number ranges ( in most of the case )
so you will get the generated sales order number in the above user exit
The key point here is sap cant updated data untill the sales order number gets generated into any table... ( while creating )
so mostly in the above user exits gets triggred ...
Please let me know if you need any further information
Regards
Satish Boguda
2010 Jan 01 4:13 PM
hi,
update can be done in mv45afzz.
-- when changing in --save_prepare make your change in table XVBPA. Respect the update-field XVBPA-UPDKZ.
hans
2010 Jan 02 4:08 PM
Hi
You can use Save_document_prepare form in MV45AFZZ Include. Here are the steps.
1) Take access key from BASIS guy to modify MV45AFZZ.
2) go to form SAVE_DOCUMENT_PREPARE.
3) Read XVBPA table in your local work area. ( Remeber the Index)
4) then modify whatever field you want to modify. and set the UPDKZ flag of XVBPA table to U for that particular row you modified. Beware UPDKZ contain D for deleted rows so you should not consider those rows for modification which are having UPDKZ as value D.
Enjoy.
Viral Shah
Edited by: ViraldShah on Jan 2, 2010 5:09 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |