Fonction SAP BAPI_PROCOPERATION_GETCATALOGS - Determine Valid Catalogs as Value Help

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MATERIAL_GROUP BAPIPOGN-MAT_GRP C 9 Material Group
PLANT BAPIPOGN-PLANT C 4 X Plant
WITHOUT_MATERIAL_GRP BAPIMMPARA-SELECTION C 1 X Search Independently of Material Group

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRETURN 452 X Return Messages
VALID_CATALOGS BAPICATALOG 65 List of Valid Catalogs

Functionality
This method enables you to list the allowed catalogs, depending on thematerial group and the plant. The method evaluates the settings intable TMW02 in Customizing for Purchasing.

Notes
Transfer
The material group and the plant are passed on in the importparameters.
Return
The allowed catalogs are returned in the table VALID_CATALOGS.
Treatment of errors
INCLUDE MM_PUR_BAPIRETURN

Description
You will find information on the meaning of the material group in therelevant data element documentation:
Material group

Description
You will find information on the meaning of the plant in the relevantdata element documentation:
Plant

Description
INCLUDE BAPI_TABLE

Value range
Type,,ID,,Number,,Message
E,,W5,,053,,No catalogs can be determined for
,,,,,,material group & and plant &
E,,W5,,054,,No catalogs can be determined for material group &

Description
The table contains the valid catalogs.
INCLUDE BAPI_DATAELEMENT