SAP® Documentation

Single view

/AIN/CL_UTEST_OBJECT - wrapper class for DM_OBJECT_STR

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This class wraps /AIN/DM_OBJECT_STR. It represents an AII object.

Construction parameters are the related action, epc, device (optional), product (optional) and the master data object. If no device is supplied, the master data object provides a fixed device; if no product is supplied, the master data object provides a material product.

The write method writes the action to the database. It has to be called exactly once. It is not possible to change the object afterwards and update the database. If this is tried, cl_aunit_assert=>fail will be invoked.

Relationships

CL_AII_ACTION

CL_AII_MASTER_DATA

CL_EPC_FACTORY

Example

* Create object with SGTIN

DATA lo_object TYPE REF TO cl_aii_object.

lo_object = cl_aii_object=>create_sgtin_object( io_master_data = mo_master_data io_act = lo_action ).

Notes

The class has a class-method to create objects together with a new EPC (refer to &EXAMPLE&).

Further information






CL_GUI_FRONTEND_SERVICES - Frontend Services   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1174 Date: 20190626 Time: 125621     sap01-206 ( 18 ms )

Our Service

Looking for Support? Questions?

The

Consolut

Callback-Service

Leave us your contact details and we will call you back. Panels marked with * are mandatory.