Ansicht
Dokumentation
VLC_EXECUTE_ASSIGNMT - BAdI: Assignment of Vehicles to Sales Documents
ABAP Short Reference TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
You can use this BAdI to maintain the actions used to find suitable vehicles required for a sales document in order to create a loose or fixed relationship.
The BAdI has the following methods:
- MATCHING_CRITERIA: Defines which configuration characteristics and sales document and/or vehicle fields have to correspond so that a sales document fits a vehicle when a loose relationship is created between a sales document and a vehicle.
- SDOC_VLCDISPLALV_IS: Sales document data
- CONFIGURATION_IT: Table containing the configuration data of the sales document
- MATCHING_CRITERIA_CT: Table containing the configuration characteristics and values as well as the sales document and vehicle-dependent attributes that have to correspond to generate a loose relationship between a sales document and a vehicle.
- FULL_CONFIG_MATCH_CV: If this indicator was set, all configuration characteristics and values of the sales order have to correspond to those of the vehicle to create a loose relationship between a sales order and a vehicle.
- COPY_CONFIGURATION: If a fixed relationship is created between a sales order and a vehicle and the configurations are different, you can decide whether the vehicle configuration should overwrite the sales order configuration.
- SDOC_CONFIGURATION_IT: Table containing the configuration data of the sales order
- VEHI_CONFIGURATION_IT: Table containing the configuration data of the vehicle
- OVERWRITE_CONFIG_FLAG_CV: If this indicator was set, the vehicle configuration overwrites the sales order configuration.
- SORT_SALES_DOCS: After a successful search for sales documents, their order can be rearranged or sales documents can be excluded. This sequence is then used in a further processing step to determine the suitable vehicles.
- SDOC_VLCDISPLALV_CT: Table containing the sales order data
- FURTHER_ACTIONS: Further actions for mass processing (defined by the customer for the assignment of sales documents to vehicles) can be allowed in report RVLCASSIGNMENT (transaction VELOAS).
- ACTION_IV: Action defined by the customer, which is to be executed in the report.
ACTION_ALLOWED_EV: If this indicator was set, the action can be executed in the report.
- SORT_VEHICLES: After a successful search for vehicles to a sales order, their order can be rearranged or vehicles can be excluded. This sequence is then used in a further processing step for the assignments between the sales order and the vehicle.
- SDOC_DISPLALV_IS: Sales order data
- SDOC_CONFIG_IT: Table containing the configuration data of the sales order
- VEHI_ASSGNMT_VEHICLE_CT: Table containing the vehicles
The default implementation defines that all configuration characteristics and sales order and/or vehicle fields have to correspond so that a sales document fits a vehicle (method MATCHING_CRITERIA), and that the vehicle configuration does not overwrite the sales order configuration (method COPY_CONFIGURATION).
The default implementation of the methods MATCHING_CRITERIA also includes a note that describes what possible coding could look like.
Procedure for BAdI Implementation
ROGBILLS - Synchronize billing plans PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 4228 Date: 20240523 Time: 152513 sap01-206 ( 63 ms )