cancel
Showing results for 
Search instead for 
Did you mean: 

How to dynamically display value in column header

Former Member
0 Kudos

Hi,

I have a requirement where in the user selects a particular value from a drop down list, and the same has to be displayed in the column header. For example, there are A,B,C,D types of quantities in a drop down list. Once the user selects these values and submits, the column header should display the quantity type selected. Kindly let me know how this can be achieved.

Regards

Snehith.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Snehith,

In Layout Mode, Double click the Column in the Table, the Control Properties window is opened, switch to the "Display" tab, then press on the formula button next to the "Label:".

Use the Expression Builder to have the label be the value you want it to be: for example:

NSTR(#ID[ACA9TU]@MAX_ROWS,'Z3.0')

This formula takes a numeric field, formats it into a string and displays it.

For more information about how to build expression, please see:

http://help.sap.com/saphelp_nw70/helpdata/en/bd/90db4238bbf140e10000000a1550b0/frameset.htm

Regards.

Omer.