The Count method allows you to enter the count for items in a physical inventory document that have not yet been counted.
The following authorization object is checked when this method is used:M_ISEG_WZL Physical inventory: Count in plant
The key fields of the physical inventor document (PhysInventory andFiscalYear) have to be transferred to the method as import parameters.The count date (CountDate parameter) and a percentage variance (PercentageVariance parameter) can also be transferred.
The data for each item is imported in the Items table.
Ensure that you transfer the unit of entry as an import parameter(ITEMS) to the method, otherwise the method issues an error message.
Messages are returned in the parameter return. The parameter
documentation shows the return codes and their meanings.
The method can only carry out your function if no error messages weregenerated in the "Return" table. This is the case if the header data and all the items were processed successfully.
Transaction control is not implemented. The calling program thereforehas to execute the 'Commit Work' itself after this method has beensuccessfully invoked (i.e. if no errors were reported in the Return parameter).