cancel
Showing results for 
Search instead for 
Did you mean: 

Modify Material with function or BAPI

Former Member
0 Kudos

I would like to be able to modify a material in crm with some function or BAPI.

What I am looking is to modify attributes created with the transaction COMM_ATTRSET.

Thank you very much.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can use an Idoc for this: CRMXIF_PRODUCT_INDOBJ_SAVE.

Grtz,

Michael.

Former Member
0 Kudos

Thank you very much, which we have realized ultimately to been we to be created by a table Z where

he guards the field GUID of the material with the brute price that exists in R/3,

this has been done by us by means of objectos of modification relazionados with workflow,

to be able to update this table whenever it he believes itself or modifies a price.

Regards

Former Member
0 Kudos

Hi Oscar,

please check my answer in thread 77530 where you can find some more information on how are these attributes generated.

Here is the link:

Unfortunately I am not sure which modules should be used but you can try with Package COM_SETTYPE_ATTRIBUTE. I just found some line that can help you:

You can find all necessary the function modules for creating, changing and deleting attributes within function groups:

• COM_ATTRIBUTE_CK – Check function modules for attributes

• COM_ATTRIBUTE_GEN – Function modules for generating attributes

• COM_ATTRIBUTE_NEW – Generation of Attributes and Enhancements

• COM_ATTRIBUTE_TAB – Routine to access table COMC_ATTRIBUTE

You can find all necessary the function modules for creating, changing and deleting an Enhancement within function groups:

• COM_SETTYPE_CK – Check function modules for Enhancements

• COM_SETTYPE_GEN – Function modules for generating Enhancements

• COM_SETTYPE_ATTR_AUTHORITY – Authority check for Attributes and Enhancements

• COM_SETTYPE_ATTRIBUTE_20B – Old function modules until Release 2.0b about Attributes and Enhancements

• COM_SETTYPE_ATTRIBUTE_20C – Old function modules until Release 2.0c about Attributes and Enhancements

• COM_SETTYPE_ATTRIBUTE_INFO – Function modules about Attributes and Enhancements information

• COM_SETTYPE_ATTRIBUTE_TAB – Function modules related to table COMC_SETTYP_ATTR

• COM_SETTYPE_BSP – Enhancement Customizing for BSP

• COM_SETTYPE_CHECK_RFC – RFC-able function modules for Enhancements

• COM_SETTYPE_CUST – Customizing for View frame BSP-Enhancements

• COM_SETTYPE_OBJ – Object functions for Enhancements

• COM_SETTYPE_OBTP – extended table maintenance (generated)

• COM_SETTYPE_TECH – technical function modules for Enhancements

• COM_SETTYPE_TEMP_MR_PR_UI – UI-Template for multi-line Enhancements

• COM_SETTYPE_TEMP_MR_PROD – API-Template for multi-line Enhancements

• COM_SETTYPE_TEMPLATE_MKTPL – Templates for the marketing Enhancement

• COM_SETTYPE_TEMPLATE_PR_UI – UI-Template for single line Enhancements (org.independed)

• COM_SETTYPE_TEMPLATE_PROD – API-Template for single line Enhancements (org.independed)

• COM_SETTYPE_TEMPORGD_PR_UI – UI-Template for single line Enhancements (org.depended)

• COM_SETTYPE_TEMPORGD_PROD – API-Template for single line Enhancements (org.depended)

• COM_SETTYPE_TRANSPORT – Functionality for transporting an Enhancement

I hope this will help you in your project.

Cheers

Borislav