A SERVICE OF

logo

SAP Online Help 07.09.2004
SAP NetWeaver Visual Composer: User Guide 202
iii. In the Label field in the Display set of properties below, change the field
label to Order Size and press Enter. You can go to the Layout
workspace and see the newly-added field in the table.
iv. Go back to the Design workspace, right-click the table, and from the
context menu, select Dynamic Expressions. The Expressions Editor is
displayed.
v. Place the cursor in the Computation column of the Order_Size row and
click Assistant.
vi. Scroll down the list of functions to the Conditional Functions group and
select IF. Then click in the empty text box at the bottom to display the
following expression:
IF(test,expr1,expr2)
vii. Use that formula to enter the following:
IF(@REF_QTY*@NET_PRICE>100000,@REF_QTY*@NET_PRICE,'Sma
ll')
Press Enter.
This formula indicates that if the value of the order (reference quantity
(REF_QTY) multiplied by net price (NET_PRICE) is greater than 100,000,
the exact value will be displayed in the iView. Otherwise (if the resulting
value is less than 100,000) the word Small will be displayed in the list
rather than the actual amount.
viii. Click Close to enter the dynamic expression in the ORDER_SIZE field of
the table.
ix. Save the model.
7. Check the model for errors by clicking Deployer in the Task Panel toolbar and then
clicking Check.
8. Rearrange the iView layout by clicking the Layout tab and moving the views as
needed.
a. Click the Designer button in the Task Panel toolbar and make sure that the
Controls tab is selected.
b. Resize the Input form to accommodate all the fields.
c. Select all the fields of the Input form (using the mouse and the Ctrl key), and
select Long Label from the Available Styles list.