Not assigned set type to category
Hi, GURU!
I want to assign set type COMM_PR_MAT to my category in transactional COMM_HIERARCHY, but i don't see this set type in the list. I find this set type (COMM_PR_MAT) in transaction COMM_ATTRSET (Search for predefined set types).
How to assign set type COMM_PR_MAT to my category?
Hi,
You must ensure that the product type for both the category as well as set type. Only then will the set type appear in the list for selection in the category tab in COMM_HIERARCHY.
Set types cannot be assigned to a hierarchy directly as mentioned in your post.
Similar Messages
-
Assign Set types to category.
Hi All,
I have Defined Product Hierarchy, Defined Product Category and Assign Category Hierarchies to Applications.
But I have issue when assign Set types to category and unable to find set Type when search to assign them , however I can find set types available in table COMC_SETTYPE
COMM_PR_MAT
COMM_PR_UNIT
COMM_PR_GTIN
COMM_PR_LGTEXT1
COMM_PR_SHTEXT
CRMM_PR_TAX
CRMM_PR_SALESA
CRMM_PR_SALESG
COMM_PR_LGTEXT2
Pease advise how to assign Settypes to category.
Thanks in advance.
Regards,RajuHI Raju,
The F4 help picks set types based on the product Type assigned to the category.
In comm_hierarchy table pick the category guid and pass this category guid to table COMM_PRCAT.
Pick the product type in this table for your category guid and pass product type to COM_PROD_FRG_READ_FRGTYPES.
Here you will see what all set types are supported by that prouct type.
Thanks,
Tejaswini. -
Con not assign TASK TYPE for Put away during PO receipt
Good morning everyone!
I spent a lot of time to setup WMS Task assigment rule with no result.
My goal is to make Task assigment for inbound tasks. Particulary put away after receipt.
Expected behavor: after receipt in receiving area system should assign task type. This can be checked via "Warehouse control board" form, "Task type" column.
Actual (current behavour): task is created and even can be seen via "Warehouse control board" form. But there's no task type. For Task assigment the only rule exists.
To be sure that it works with other tasks types I've checked on Move order. Works well.
NEED YOUR ADVISE
Thanks in advance.
Eugene.This case happened to me too in R12.
The system did not assign task type after receipt in the receiving area. Moreover, I cannot update status from "Pending" to "Queue" to the user via "Warehouse Control Board" form for these put away tasks. It always show the error message "Cannot update putaway task." after press execute button. So How can I assign these task to specific user?
Need your advise too,
Thanks,
Surachai. -
Error: Set type Z contains multiple-value attributes
Hi forum,
I have a problem when i try to assign a set type with the same value but diferent name on another set type to the same product category.
This is the detail of the error but i dont know where i have to set this indicator:
If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
This gives you the following extended maintenance options at category level:
You can assign set types with multiple-value attributes
You can restrict value ranges and maintain default values for attributes of customer set types.
Any sugerence about this?
Regards and thanks in advance,
MonHi Nelson,
I create two set types, the description is not the problem. I have discover that when i try to assign these attributes in the same set type or in other appears this error.
The set types have the same values. For example:
zcountry1. Values: sp - spain. fr - france.
zcountry2. Values: sp - spain. fr - france.
When i try to configurate the comm_hierarchy in my category appears this error:
Set type zcountry2 contains multiple-value attributes.
Diagnosis
The set type ZGAME5 contains multiple-value attributes. It cannot be assigned to the category as extended maintenance has not been activated.
Procedure
Multiple-value attributes are stored in the PME. If you want to use the set type ZGAME5, you must set the Extended Maintenance Options indicator for the hierarchy.
Extended Maintenance Is Possible for the Hierarchy
Definition
If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
This gives you the following extended maintenance options at category level:
You can assign set types with multiple-value attributes
You can restrict value ranges and maintain default values for attributes of customer set types.
Where is this indicator¿? in R3?
So, these are the steps...can anybody help to me?
Regards and thanks in advance. -
Set type COMM_PR_SHTEXT error when creating product
I am trying to create a dummy0 product for untilities serivice.
I get the above error.
if I want assign set type COMM_PR_SHTEXT is not existing the list.
is there any way to overcome this issue?Hello Nick_crm
A settype can only be assigned to one hierarchy per product type. The SAP delivered settypes that you have mentioned above are assigned to category Z_SLA (type Service). Hence you cannot use them in the category
you have defined (type Service).
It is advised to use the predelivered category SRV_ as a base category for creating services. You can assign the other enhancements (settypes) required to the category you have defined and later assign the service
to this category too.
Incase you do require to assign the mentioned settypes to your category then first you will need to regsiter your hierarchy as the base hierarchy in transaction comm_prapplcat.
I would like to point to the steps below as to how you can find out where the set types are being assigned.
1. Goto the transaction -> COMM_ATTRSET -> here enter the
set type as ' COMM_PR_SHTEXT' and now click the 'where used list'(there
is a button in the toolbar for the same)
2. Now you should see a list of all category ids along with
hierarchy id's where the settype is being used.
3. Select any one of the category id.
4. Now goto the trx COMM_HIERARCHY -> and click 'Open Category'
5. Now you can see the usage of the settype in settypes tab.
6. To design the settype -> goto the root category and remove the
same , so that you could now assign it to your own category.
Since a settype can only be assigned to one hierarchy per product type, It is advised to use the predelivered category as a base category for creating services. You can assign the other enhancements (settypes) required to the category you have defined and later assign the service to this category too.
thanks Willie -
Sales Document Delta Load Error - Status procedure could not be set
Hello,
I am getting the following error message during the sales document delta loads. It errors out in SMQ2 with this message - "Error in Validation (Details: transaction SMW01)"
In SMW01, I get this message:
<b>The status procedure CRMORD_I could not be set from item category XXX</b>.
Message no. CRM_ORDERADM_I503
Diagnosis
Possible causes are:
1. The system administrator has not assigned the status profile CRMORD_I to the object type.
2. Initial statuses that should be set in the status profile CRMORD_I cannot be set at present.
3. The current user RFCUSER does not have the authorization to set application statuses.
Detailed error messages can be found in the following error log for status management.
System response
The status profile is not set in the document.
Procedure
Set the status profile in Customizing so that these cases do not occur.
This status profile has been assigned to the item category mentioned and the RFCUSER has full authorization (SAP_ALL)
Do any of you know what else could be the problem here?
Thanks,
MAXDear All,
I met similar error before, it happens when you change the item category in ECC but there is a status profile assigned to the item
category in CRM with an active status set.
In CRM, when the item category is changed, the system can only change (or delete) the status profile if there is no user status set for this item. So for example, if there is already a status set for an item (Say, E0001 'Open' is active) in CRM, so a change of the user status profile is impossible. If you need to change the item type, then you have to make sure that there is no active user status in the item.
Please see note [1113116] point 2. This is a restriction in CRM. If you try to make the same changes directly in CRM you will also get the same error.
It is not allowed to change the item category if the document has been saved and the status profile of the new item category is different from the old one.
That is the reason why the error occurs when the data reaches CRM frm ECC.
In order to prevent that there are sysfails in the inbound queue you can implement note [1438966] - after this is implemented you will not have the queues failing but you will get the error message in the sales order in CRM.
You should ensure that the configuration for alternative item categories is R/3 is the same as in CRM and in this case all the alternative item categories should have no status profile or all the same status profile configured.
I hope this could be helpful.
Best regards,
Maggie -
Dowloding product attributes / set type to Master Data in CRM 2007
We have created set-type and attribute in txn:COMM_ATTRSET.
Created set-type and assign attributes to them,you need to assign set-type to categories in txn:COMM_HIERARCHY by selecting the category.
And then you assign category to a product and hence your set-types are available to that product.
We are maintianing Attribute for COMPETITOR PRODUCT ( MAT_ZCPT as Category Hierarchy ). All Attributes are assigned to Competitor Product and Relationship is maintained with company Product .
What BApi or BAdi shgould be used .
When we are implementing BDC , SAP says from CRM 2007 they are not supporting GUI . Use existing BApi .
But we want to download more than 5000 Products . Please guide .
Regards,
Anup RecheHi Anup,
use the following bapi ;
BAPI_PPR_MAINTAIN:-This method allows the independent maintenance (create/change) of the following objects of Partner/Product Ranges (PPRs):
BAPI_PPR_MAINTAIN_40:-This method allows the independent maintenance (create/change/delete) of the following objects of Partner/Product Ranges (PPRs):
Badi:
PRODUCT_UPDATE2 -Obsolete: Create or Change Product
hope it will useful.
thanks
Hemant ghiya -
Pre defined set types are not determined in CAtegory
Hi all,
when i try to create a category for a service product for SLA, the pre defined set types are not getting populated for me.
I have created a new hierarchy, assigned to product and product type.....
but still when i create a category the list of predefined some of the predefined set types are not getting displayed.
Can anyone help this issue.
kindly advice in this regard.
Thanks,
Subhashini.Hi,
Thanks for the reply.
I have assigned the product type service in the category.
This is the only custom category available. only one std category has this set types. other than that nothing is there in the system.
is there any services that has to be activated or any authorization that is missing for me...
nut i have sap_all...could not able to trace out the problem.
kindly guide.
thanks,
Subhashini. -
Issue in Product Category regd Set Types
Hi,
I am customizing Product Category ( for CRM 5.0 standalone) for Material using Building Block guides. I have created root hierarchy and category as described. Now I want to create category for Sales products using the root category. While creating this category the BB guide states following customization steps
Basic Data on Category
Product Type Material
Product / Object Assignment Possible
Product / Object Maintenance: Control Fields
Can Maintain Documents (Click this)
Can Maint. Conditions (click this)
But in my case I am not able to see following in Product / Object Maintenance: Control Fields section (following 2 controls)
Can Maintain Documents
Can Maint. Conditions
Because of this I am not able to get Set types COMM_PR_UNIT, COMM_PR_LGTEXT1, and COMM_PR_SHTEXT
Pl provide guidance and assist this is quite urgent.
With regards
Ambar AdhavPlease check this ...
1. You have created a hierarchy...
2. you have cretad a root category...say CRM_PROD
3. check whether you have created a sub category under the root category.
to do that... Please click on CRM_PROD.. right click and create category..
then we can see the
Can Maintain Documents
Can Maint. Conditions
Hope it helps..
<b>Reward points if it helps you..</b>
Yaswanth.K -
Predifined set types in product category
Hi forum,
the pre defined set types viz comm_pr_shtext,comm_pr_unit.... are not visible in the category(service) which is assigned to the hierarchy.so creation of products under this category is not being allowed by the system.are there any settings to correct this.plz guide.points guaranteed.
thanks in advance
shridharhi,
i have replicated the problem in my system, it is working fine.
answer the following:
have you created a category for service for a base hierarchy, say "Service"?
Have you specified the product type while creating this category?
Have you selected/ checked 'Product/object Assignment Possible' ?
have you created another category for your purpose say "Maintenance below the above category "Service"?
if you have done the above steps, you should be able to assign the SAP provided set types to this new category.
otherwise raise a note to SAP.
regards,
Rishi -
Hi,
Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
I have created a dynamic web project and added javax RS jars:
When im trying to run this, i'm getting the below mentioned error:
FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType. Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
Please help as im stuck with this from long.
Thanks in advance.
Below is the code for my service class:
package com.rest.assignment;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Properties;
import java.util.Set;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Application;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
@Path("/restService")
public class RestService extends Application {
@GET
@Path("/getEmpDetails")
@Produces(MediaType.APPLICATION_JSON)
public Response getStringResponse()
EmpBean empBean = new EmpBean();
String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
Properties properties = new Properties();
try {
properties.load(new FileInputStream(filePath));
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
Enumeration e = properties.propertyNames();
String result="";
String[] empDetailsArr;
while (e.hasMoreElements()) {
String key = (String) e.nextElement();
String empDetails = properties.getProperty(key);
empDetailsArr=empDetails.split(",");
empBean.setFirstName(empDetailsArr[0]);
empBean.setLastName(empDetailsArr[1]);
empBean.setEmpId(empDetailsArr[2]);
empBean.setDesignation(empDetailsArr[3]);
empBean.setSkillSet(empDetailsArr[4]);
result = empDetailsArr[1];
//return empBean;
return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
@Override
public Set<Class<?>> getClasses() {
Set<Class<?>> classes = new HashSet<Class<?>>();
classes.add(RestService.class);
classes.add(EmpBean.class);
return classes;
and my empBean goes like this:
package com.rest.assignment;
public class EmpBean {
private String firstName;
private String lastName;
private String empId;
private String designation;
private String skillSet;
public String getFirstName() {
return firstName;
public void setFirstName(String firstName) {
this.firstName = firstName;
public String getLastName() {
return lastName;
public void setLastName(String lastName) {
this.lastName = lastName;
public String getEmpId() {
return empId;
public void setEmpId(String empId) {
this.empId = empId;
public String getDesignation() {
return designation;
public void setDesignation(String designation) {
this.designation = designation;
public String getSkillSet() {
return skillSet;
public void setSkillSet(String skillSet) {
this.skillSet = skillSet;
Web.xml goes like this:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<display-name>restWS</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>REST</servlet-name>
<servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
<init-param>
<param-name>javax.ws.rs.Application</param-name>
<param-value>com.rest.assignment.RestService</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>REST</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
</web-app>
When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.Hi,
Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
I have created a dynamic web project and added javax RS jars:
When im trying to run this, i'm getting the below mentioned error:
FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType. Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
Please help as im stuck with this from long.
Thanks in advance.
Below is the code for my service class:
package com.rest.assignment;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Properties;
import java.util.Set;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Application;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
@Path("/restService")
public class RestService extends Application {
@GET
@Path("/getEmpDetails")
@Produces(MediaType.APPLICATION_JSON)
public Response getStringResponse()
EmpBean empBean = new EmpBean();
String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
Properties properties = new Properties();
try {
properties.load(new FileInputStream(filePath));
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
Enumeration e = properties.propertyNames();
String result="";
String[] empDetailsArr;
while (e.hasMoreElements()) {
String key = (String) e.nextElement();
String empDetails = properties.getProperty(key);
empDetailsArr=empDetails.split(",");
empBean.setFirstName(empDetailsArr[0]);
empBean.setLastName(empDetailsArr[1]);
empBean.setEmpId(empDetailsArr[2]);
empBean.setDesignation(empDetailsArr[3]);
empBean.setSkillSet(empDetailsArr[4]);
result = empDetailsArr[1];
//return empBean;
return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
@Override
public Set<Class<?>> getClasses() {
Set<Class<?>> classes = new HashSet<Class<?>>();
classes.add(RestService.class);
classes.add(EmpBean.class);
return classes;
and my empBean goes like this:
package com.rest.assignment;
public class EmpBean {
private String firstName;
private String lastName;
private String empId;
private String designation;
private String skillSet;
public String getFirstName() {
return firstName;
public void setFirstName(String firstName) {
this.firstName = firstName;
public String getLastName() {
return lastName;
public void setLastName(String lastName) {
this.lastName = lastName;
public String getEmpId() {
return empId;
public void setEmpId(String empId) {
this.empId = empId;
public String getDesignation() {
return designation;
public void setDesignation(String designation) {
this.designation = designation;
public String getSkillSet() {
return skillSet;
public void setSkillSet(String skillSet) {
this.skillSet = skillSet;
Web.xml goes like this:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<display-name>restWS</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>REST</servlet-name>
<servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
<init-param>
<param-name>javax.ws.rs.Application</param-name>
<param-value>com.rest.assignment.RestService</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>REST</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
</web-app>
When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response. -
Set type COMM_PR_UNIT does not exist
Hi All
How do i make set types available for assignment to categories if they are not available but are there in comm_settype. Getting errors as follows: Set type COMM_PR_UNIT does not exist.
Please assist
Regards,
Patrick
Edited by: Patrick Chidarara on Jul 22, 2008 10:14 AMHi Patrick,
Please see OSS note Note 966072 - Download of material fails - set type COMM_PR_UNIT
Regards,Nishant -
Status profile could not be set according to transaction type
Hello,
Error Status profile 'ZXXXXXXX' could not be set according to transaction type 'ZYYYYYY'.
Possible causes are:
1. Status profile 'ZXXXXXXX' has not been assigned to object type COH by the system administrator.
2. Initial statuses can be set in status profile 'ZXXXXXXX', which cannot be set using the current document attachment.
3. The current user XXXXXXX does not have the authorization to set an application status.
Though i have assigned Object type COH . and the user has the autherization. Pls Help.Hi ,
Please check you have assigned status profie to object type that is using this status profile. Ex. If you are assigning status profile to campaigns , you also need to check mark object type campaign under allowed objects types.
Nitin -
Unable to remove the Set Type assignment to product Hierarchy
Hi
I have created a set type and assigned to a product hierarchy.
Now I want to undo the assignment as this has been inherited by the lower level hierarchies.
Can anyone suggest how to remove this.
Thanks & Regards
SubhabrataHi Dash,
Sorry to say that once you have assigned the set type to a product hierarchy you can not remove this.
Best regards,
Vikash. -
Set type is not getting filled
Hi ,
I have created a set type ZTLS_ORG, which is organisation dependent. This set type has fields from table MVKE. I am filling up the fields of this set type in an enhacement of Badi Definition Customer_product2. But the values are not getting populated, when I am checking it in product master through commpr01. Kindly suggest.
Regards
ShwetaHello Shweta,
You mean to say that attributes of your settype is nothing but fields from table MVKE?
Have you generated the settype before using it in your program?
Best Regards,
Shanthala Kudva.
Maybe you are looking for
-
Need to force CD/DVD drawer open on G4 flat panel iMac
Anybody know how to "force-open" the CD drawer on a flat panel iMac (G4 hemispherical base)? This one has a quirk - the eject button won't open the CD drawer until the OS has completely loaded. I just used software upgrade to update some apps and on
-
No Network Connections Detected
Hello I have installed Oracle Linux 6 on my Laptop (Vaio VPCEA 12EG)....Everything is going fine even my graphic card. But there is no connection detected. No wireless and ethernet. When I use Lspci I can see the drivers for both wireless and eth but
-
How to run Net Configuration Assistant on 10g Forms and Reports server
I have a Windows 2000 server with Forms and Reports Services installed from AS 10g v. 9.0.4 (just the Forms and Reports install). According to the OUI, Net Configuration Assistant 9.0.4 is also installed. However I cannot figure out how to run the Ne
-
Photoshop Album mini 3.2でPSDファイルを表示できません.「サポートされていないファイル形式のため取り込みできません」となってしまいます.どうしたら表示できるのでしょうか.
-
i am downloading music from itunes it shows on my purchased playlist but when i try to transfer it onto a specific playlist it won't transfer across what do i need to do