cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Customer Attributes

Former Member
0 Likes
10,102

Hi all,

I need some help with the requirement for the below IMG activity. Namely, I need the process for creating the attributes. Data Dictionaries are new to me.

thanks.

Definition of Customer Attributes for Object Types

Use

You can define a user attribute here. Then assign it to an object. The Transactions, Configuration and Development tabs show the object types . The attribute is project and solution-independent, and is shown in an object dialog box in the Other Attributes tab.

Requirements

The attributes of the attribute are specified in the table or structure fields in the Data Dictionary, so they must be maintained there.

For example:

Integer or Character

Field length

Value help

Activities

To create a user attribute:

1. Choose New Entries.

2. Enter a name and description of the attribute.

The name and description are shown later in the object dialog window, and you cannot change the name after you have saved, so use a meaningful name and description.

3. Save.

Specify attribute attributes:

4. Select an attribute and choose Attribute Attributes in the tree.

5. Specify a Data Dictionary table or structure field or choose from the value help.

6. Specify in the field Value Check:

whether the entry is to be checked against a value list. These values are offered as selection help.

whether it is a required field.

7. In the field Multiple Values, whether this attribute can take only one, or several values.

8. In the field Visibility whether the field is visible in the attribute dialog.

View Entire Topic
khalil_serrhini
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Jason,

sorry for late response and maybe cause i wasn't clear enough in my previous posts.

Yes, your requirement seems to me like you need a specific table !

I found on Internet a step by step guide to "how to create a specific table in SE11": http://abaplovers.blogspot.com/2008/02/creating-table-in-sap.html

I think that this will respond to many of your questions. This example is complete because not only it shows how to create a table but also how to create the maintenance view (SE30) of the table.

So in your specific case (attribute business areas); I would suggess creating a table ZMYBUSCASES by following steps described in guide provided.

Instead of choosing their data elements we will choose ones that are adapted to your case.

Field 1 (key) : a 5 characters data element should be fine; for example : /SAPSLL/CHAR05

Field 2 (description) : a 30 characters data element with an assigned search help (because i guess you have a predefined list of business areas). for example: ZDESCR

Prerequisite :

- you have to create the Z data element (ZDECR) in SE11 still of type CHAR 30 and assign to it a Z search help that you ll create in step 2

- create a Z search help in SE11 (for example ZSHBUSATTRDESCR) that collect data from your ZTABLE and returns field ZDESCR

Activate your

- Z search help

- Z data element

- Z table

and adjust in spro the assignment of attributes

I know this might seem quite difficult the first time ...

don't hesitate asking for more clarification !

You can also give me your email adress so i can send you screen shots for steps that are missing in the given link (z data element and z search help)

Regards

Khalil

Former Member
0 Likes

thanks Khalil. You've been very helpful.

Former Member
0 Likes

Hey Khalil,

is it just experience that tells you to use the /SAPSLL/CHAR05?

which data element would you suggest for the ZDECR? There are millions to choose from

Edit: Ah I reread your post, I have to create the data element.

thanks,

Jason

Edited by: Jason Hickok on Jun 23, 2010 12:54 AM

Former Member
0 Likes

Hey Khalil,

I have a follow up question. I have done the following steps:

1. I created a function group in SE37

2. I activated in in SE80

3. I created a data element in SE11 for my description (30 chars)

4. I created a table in SE11 and used CHAR05 for my ID and my custom data element for the description, and assigned the function group in technical details

5. I created a search help for my custom table

in SPRO

6. I defined the customer attributes of object types. New entries > gave the attribute a name and description. Assigned the table, field name (description), single value, attribute is visible.

7. I assigned the customer attribute to objects New Entries > Project and Solution Node: Assign Attributes (order =1, value check = no check)

When I highlight a process step in SOLAR01 and go to the customer attributes tab, I see my attribute, but there are no values to select.

Any idea why I don't see ay values?

Lots of place to screw up here for sure, but I've checked everything multiple times.

thanks,

Jason