Ansicht
Dokumentation

LMD_MA_OMDO_VLDTN_PR - BAdI: OMDO Property Validation for Mobile Adapter

LMD_MA_OMDO_VLDTN_PR - BAdI: OMDO Property Validation for Mobile Adapter

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Route Execution (LE-LMD-RE) component and is relevant for the mobile adapter. You can use this BAdI to ignore standard mandatory properties that are validated in an OData upload request.

The BAdI implementation is called in the mobile adapter when an upload request is processed.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

  • Use the following import parameters to control which properties are validated in an upload request:
  • ENTITY_TYPE: for an entity that is being processed during upload

  • PROPERTY_NAME: for a property that is being processed during upload

  • OMDO_CONTAINER: for the current request data

  • Set the returning parameter RESULT to control which properties are to be ignored during upload.

The mandatory property StartDateTime of entity Stop should be ignored during upload.

IF entity_type = `STOP` AND property_name = `StartDateTime`.

   result = abap_true.

ENDIF.






CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.

Length: 1810 Date: 20240523 Time: 201628     sap01-206 ( 27 ms )