Ansicht
Dokumentation

BAPI_TRCO_COMMODITY_GETLIST - Retrieve commodity master data

BAPI_TRCO_COMMODITY_GETLIST - Retrieve commodity master data

BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Get Commodity master data details based on input selectionconditions.

Use BAPI BAPI_FTR_COMMODITY_GETLIST to query the commodity master data based on input selection criteria.

The tables parameter RANGE_COMMODITY_ID contains the commodity ID range within which the output results are to be displayed.

The tables parameter RANGE_COMMODITY_CAT contains the commodity category range within which the output results are to be displayed.

The tables parameter RANGE_COMMODITY_TYPE contains the commodity type range within which the output results are to be displayed.

The tables parameter RANGE_COMMODITY_GROUP1 contains the commodity group1 range within which the output results are to be displayed.

The tables parameter RANGE_COMMODITY_GROUP2 contains the commodity group2 range within which the output results are to be displayed.

The tables parameter RANGE_COMMODITY_ACTIVE contains the commodity active range within which the output results are to be displayed.

Note that all the above parameters are optional .

The tables parameter RETURN_COMMODITY_DATA contains all the commodity master data information that satisfies the above input range conditions.

The tables parameter RETURN contains error information that might have occured during the execution of the BAPI.

Example

If you want to have a list of all the commodities which belong to commodity category 'ENERGY' then call the above BAPI with the category 'ENERGY' entered as a range in table RANGE_COMMODITY_CAT.

Notes

Further information





Parameters

RANGE_COMMODITY_ACTIVE
RANGE_COMMODITY_CAT
RANGE_COMMODITY_GROUP1
RANGE_COMMODITY_GROUP2
RANGE_COMMODITY_ID
RANGE_COMMODITY_TYPE
RETURN
RETURN_COMMODITY_DATA

Exceptions

Function Group

TPM_TRCO_COMMODITY

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2837 Date: 20240523 Time: 163027     sap01-206 ( 52 ms )