Ansicht
Dokumentation
MERCHANDISE_GROUP_SELECT - Read base material group. Output: T023 and description from T023T
ABAP Short Reference TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Function description: this function module is designed for reading base material groups from table T023.
The input parameter functions are as follows:
-> MATKL
IF SPACE is entered, all the base material groups in T023 are
selected.
IF a base material group is entered, the system checks whether this
base material group exists. If it does not exist,
exception: NO_BASIS_MG, the table contains no entries.
-> SPRAS
Language in which the material group description is displayed.
-> WG_BEZ
IF this is flagged with 'X',
material group descriptions are displayed.
-> BUFFER_ALL
IF this is flagged with 'X',
table T023 is completely buffered in internal
table x_wwg01.
IF this is not flagged using 'X',only the records that have already
been read are saved in table x_wwg01. Exceptions to this occur when
the function was previously called up using buffer_all = 'X'
and all the records are already in the table.
The default value for this indicator is 'X'.
Output table O_WWG01.
The table contains the fields: Base material group number
Base material group description number
Material group reference material number
Number of the material group material
X_FLAG = X means that no base material group exists; W means that no material group material exists; V means that no reference material exists.
Exceptions:
-> NO_BASIS_WG
Precisely o n e material group (MATKL field) that is not a base material group (no table entry in T023) was transferred.
Parameters
BUFFER_ALLMATKL
O_WWG01
SPRAS
WG_BEZ
WG_GROUP
X_WERT
Exceptions
NO_BASIS_MGFunction Group
WWGRBAL_S_LOG - Application Log: Log header data TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2227 Date: 20240603 Time: 214620 sap01-206 ( 28 ms )