Menu

SAP Function Module K_PROD_GROUP_ATTACH_MATERIAL

CO-PC: Zuordnung eines Materials zu einer Produktgruppe

The Function Module K_PROD_GROUP_ATTACH_MATERIAL (CO-PC: Zuordnung eines Materials zu einer Produktgruppe) is a standard Function Module in SAP ERP and is part of the function group KKP3 within the package KKP.

Technical Information

Function Module K_PROD_GROUP_ATTACH_MATERIAL
Short Text CO-PC: Zuordnung eines Materials zu einer Produktgruppe
Function Group KKP3
Package KKP
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_MARC LIKE MARC Materialdaten (siehe Detaildoku)
I_MATNR LIKE CKPE-MATNR Materialnummer
I_PRDGR LIKE CKPE-KSTRG Nummer der zuzuordnenden Produktgruppe
I_WERKS LIKE CKPE-WERKS Werk zum Material

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_COMMIT TYPE C Kennz.: Commit Work für Verbuchung erforderlich
E_PGRDATA TYPE KKP0_OBJDATA Daten der zugeordneten Produktgruppe

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ENQUEUE_FAILED Sperre konnte nicht abgesetzt werden
NOT_ATTACHED Material wurde der Produktgr. nicht zugeordnet
NO_AUTHORITY keine Berechtigung für Zuordnung zu Prodgruppen