Ansicht
Dokumentation
BAPI_SVCHANGE_GET_ITEMS - Read Retail Revaluation Document for Store, Key Date, Item Status
TXBHW - Original Tax Base Amount in Local Currency ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
The method GetItems is used for creating a count list for SAP Retail Store. When the sales price in the conditions changes, a count is always necessary before you can revaluate at retail for materials managed on a value-only basis. The count list supports the user in entering the quantities.
The system reads existing retail revaluation document items with the status A ("to be counted") meeting the selection criteria listed below and issues them in the form of a count list (see export parameters mentioned below).
Notes
When the method GetItems is used, the system checks the authorization object for revaluation at retail. (W_WBEF_WRK).
A count list can only be created if the retail revaluation documents for the retail price changes in the conditions were previously created using report RWVKU001 or via the POS outbound interface.
Import parameters
For the system to select exist retail revaluation document items for materials managed on a value-only basis, the following compulsory fields in the parameter import structure ListInput must be filled:
- Plant
- Retail price change data and
- Item status
The calling program must also indicate SAP Retail Store by setting the ListInput-VORGA indicator to '4'.
Export parameters
The count list is issued as table CountItems and contains the following information for each items:
- material group
- material
- storage location
- material group description
- material short text
- storage location description
- new retail price
- old retail price
- retail price unit
- sales unit
- sales currency and
- promotion number
The remaining table fields
- retail revaluation document number
- retail revaluation document year and
- retail revaluation document item
are required internally to uniquely identify and assign the items.
Success/error log
The success/error log for the method is returned in the Return parameter.
Further information
Parameters
COUNTITEMSLISTINPUT
RETURN
Exceptions
Function Group
WBW5SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 3543 Date: 20240523 Time: 183711 sap01-206 ( 47 ms )