cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying variable no. of fields for different records

Former Member
0 Kudos

Hi,

I have the requirement of displaying variable no of fields for different type of record in the business object.How can this be done in VC. For example i have to show an extra field for country "IN"

Thanks in advance,

Regards,

Anupam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ignacio,

Thanx for u'r reply but my requirement is something like this. I have the BO with a field Country. Now when i display the list for a particular country i want an extra column which should not be visible for the other coutries. Now for implementation of this i am not able to generate the list dynamilcally based on the country field.

Thanks and Regards,

Anupam

udo_werner
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Anupam,

you might check the visibility condition on the properties of your column. If you are in the layout view, mark your column and double-click on it. You get the control properties dialog. On the tab 'general' there is the 'UI Control' region which can be checked as hidden in a certain condition, dependent on a condition which can be entered. I used in a similar case an expression like BEGINS(#ID[ACA18UU]@aspect ,"Co"). Here the column becomes visible if the text in the variable 'aspect' begins with the letters 'Co'.

best regards,

Udo

Former Member
0 Kudos

Hi Udo ,

Thanks for your repsonse but am not able to find the UI Control region in the General tab in the layout view. Can you step by step guide me where can i exactly find this region.

Thanks and Regards,

Anupam

Former Member
0 Kudos

Hi Anupam,

Please explain ur requirement more clearly.

If understanding is right ,you are creating a Table/Form with the information of a particular company ,and u r interested to add another column to this table and this column should not be visible when to select another company. Am I right?

What is the data source is it a BAPI or Query or Query View?

1)Drag and drop a table from the Query(if suppose).Or form if u want to include in the form.

2)And if u want another field(if it is to be calculated) in ur table u can have include an expression box by clicking a "+" sign in the table and specify the formula for it in the Expression field uder the Data source field in the General Tab.

3)And if u want to hide this field when u select another country then u can set a visibility condition.

4)Go to control properties window of the new field.U can get this by selecting the new added field and by clicking on configure or by left clicking the new field and then selecting the properties.

5)Inside the General Tab, u have UI Control,below that u have Hidden which is a check box, just check it.And click on condition. Then type the condition for it to be hidden.Then it is hidden.

Please try doing the above.

Reward me with points if its helpful.

Thanks,Regards,

Sripriya Srinivasan.

Former Member
0 Kudos

Hi Sripriya,

Im not able to hide a column either.

I have tried with a complete new model, created a table, added 2 columns, properties and hidden formula is true.

Nothing happens. And the problem is that if I dont include the column in the table with the checker, then it cant be sent to a pop up.

Any ideas?

Best Regards / Robin

Answers (1)

Answers (1)

former_member188977
Contributor
0 Kudos

Hi Anupan,I don't know if i'm understanding very well, but you can create new fields and take values for others fields using "dynamics expressions", For example:

XX = LEFT(@YY,2)

then, XX will display the first 2 characters in YY.

and you can use conditionals functions like "if".

There are a document "Visual Composer Expressions Syntax" that describe all functions available.

I don't remember where is it, but if you don't find it tell me and I'll send you.

Regards.