Ansicht
Dokumentation

VLC_VEHICLE_IDOC - BAdI: Processing of Vehicle IDoc

VLC_VEHICLE_IDOC - BAdI: Processing of Vehicle IDoc

Vendor Master (General Section)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this BAdI to adjust IDoc data from the incoming and/or outgoing IDocs for the Vehicle Management System.

Methods for Ingoing IDocs

These methods are run through when the IDoc function module IDOC_INPUT_VLCCPO_VELO18 is executed and when an IDoc is accepted in the Status Monitor.

  • CHECK_IDOC: Check IDoc Container
This method is processed at the beginning of the IDoc. You can check the control record and data record of the IDoc and, if required, output an error message.
  • GET_ADDITIONAL_SEGMENTS: Get Additional Segments
You can place additional fields in customer segments for further processing in table VLCIDACTDATA_ET. You may have to enhance structure VLCACTDATA.
  • GET_ADDITIONAL_CHANGES: Check Additional Segments for Changes
You can make additional verifications before any changes are determined.
If you have defined additional segments for the vehicle IDoc, you can determine any changes made to the data with the BAdI GET_ADDITIONAL_CHANGES.
If the Monitor calls up the BAdI, you can output the changes to the Monitor.
To access the data of the additional segments, the method GET_ADDITIONAL_SEGMENTS must be active.
To display changes, the parameter CHANGES_MONITOR_CT must be filled. It is also sufficient to fill the parameter CHANGES_CT.
  • CHANGE_ACTION: Change Action
You can define which action is used for a specific organization channel and external status in Customizing. You can use this BAdI to override this definition and assign a different action to the IDoc.
  • CHANGE_SET_ACTION_PARAMETER: Change Set Action Parameters
You can transfer customer fields that have previously been placed in table VLCIDACTDATA_ET to structure VLCACTDATA_LS of the update function module VELO03_SET_ACTION.
  • CHANGE_CUOBJ: Change Configuration
The incoming configuration is compared to the vehicle master configuration. You can choose other configurations using this BAdI.
  • CHECK_CHANGES: Manipulate Results
You can hide found changes after the changes have been determined.

Methods for Outgoing IDocs

This method is run through when the IDoc function module IDOC_OUTPUT_VLCVDT_VELO18 is called.

  • CHANGE_VEHCLE01_OUTBOUND: Change Contents
You can change the content of all segments in IDoc type VEHCLE01.

Procedure for BAdI Implementation






General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3138 Date: 20240523 Time: 174054     sap01-206 ( 41 ms )