Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Create Description using attribute values

On my project, we need to create long description using attribute values. I have 2 questions

1 Can I use an assignment which will generate long description using values from 3 fields + its category + all attribute values? It should be generic, what that means is We should be able to execute it on any record and it should generate the description.

2. Generate Short desc using 4 fields, but if one of the field value is missing then take value from first attribute, if 2 field values missing then take 2 attribute values and limit the information in 40 character.

I guess it is a very common requirement, It will definitely help others

Thank you guys, you the greatest

Dan

Tags:
replied

Hello Dan,

You can use the "Add Branch" functionality. Here are the steps

1. Create an expression.

2. Right click on the expression and click Add branch

3. A new expression is created, select the category in the expression and add following example

Left((FieldA&","&FieldB&","&FieldC&","&Category&","&Attribute1&","&Attribute","......),40)

This should work.

Shailendra

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question