2009 Jul 14 5:18 AM
Hi ,
Due to a business requirement, we have to segregate vehicles currently grouped together under 1 action control. We are planning to create a new Action Control and transfer the vehicles to the new action control.
I want to know if there is any standard action through which we can change the action control of the vehicle? Or if someone would have already done such migration, any pointers would be good.
Your help is highly appreciated.
Thanks & Regards,
Sasmita
2009 Jul 14 8:15 AM
Hi Sasmita,
there's no standard action for switching vehicle matrices.
There is a BAdI which can be used to change a vehicle's action control assignment in VMS or DBM. The BAdI is called VLC_DETERMINE_CONTRL.
The BAdI can be used to remove the action control assignment of a vehicle. The standard action control determination which e. g. is run when a new vehicle is created is then processed automatically to find the vehicle matrix.
You need to make sure that the action and the status which are used when switching matrices are part of the vehicle's old matrix as well as the new matrix.
In order to make sure that the matrix which is found isn't the same one as before, you need to have set up the data in transaction VELOS in a way that another matrix is found. VELOS can also be bypassed via BAdI.
Please read the BAdI's documentation for details.
Kind regards,
Steffen
2009 Jul 15 11:01 AM