SAP DBM Customer Assignment to Vehicle BAPI
VMS Action : QACU
Is used to assign the customer to Vehicle. For this requirement SAP has provided the BAPI to assign customer to Vehicle.
BAPI : /DBM/VM13_VEHICUST_ASSIGNMENT
Helpful Source Code:-
CALL FUNCTION ‘/DBM/VM13_VEHICUST_ASSIGNMENT’
iv_vguid = ls_vlcdiavehi–vguid
iv_kunnr = vlcactdata_cs–kunnr
iv_vkorg = vlcactdata_cs–dbm_vkorg
iv_vtweg = vlcactdata_cs–dbm_vtweg
et_bapireturn = lt_return
error_occured = 1
OTHERS = 2.