cancel
Showing results for 
Search instead for 
Did you mean: 

seprating select options in two view containers.

Former Member
0 Kudos

Hi Gurus,

I have 4 fields which are select option based.

I want 2 fields in one view_container_ui element.

Other 2 fields in other view_container_ui element.

Presenlty when i am creating 4 select option fields by coding it is appearing in one view_container_uielement.

Does neone have any idea about this..?

Best Regards,

Navin Fernandes.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use the BLOCKS concept of select options...

why you want to have 2 view container...

Former Member
0 Kudos

HI lekha,

Thanks for the help.

My requirement is as follows:

In the second block , i have a checkbox..

If it is checked it shld two fields else not show..

Is there any block visiblity property. dependiong on some checkbox value..?

Best Regards,

Navin Fernandes.

Former Member
0 Kudos

Hi,

In the ADD_BLOCK of if_wd_select_options there is a paremeter I_HIDE_IF_EMPTY..Please try to use this..

If this doesnot serve then you have toi find the other way.

Is this checkbox a part of select options..

Edited by: Lekha on Dec 7, 2009 1:08 PM

Former Member
0 Kudos

Hi lekha,

Thanks for your reply..

I m trying the hide thing..

Can you tell me ..

Suppose i want to handle two things means same variables and declarations

in two methods WDDOINIT AND WDDOMODIFY...

How can i do global data declaration for the same or if i do data declaration in one method it will serve my purpose.

Best Regards,

Navin Fernandes.

Former Member
0 Kudos

Can you be more clear...you want to use the same variable..in both the methods...

Former Member
0 Kudos

Hi Lekha,

Yes.. i want to use the same variable in both the methods..

One more thing.. I have designed a view in which i m creating select options and having a table cntrol to display the result.

Till this point its working fine.. When i add a checkbox to tis view it is givin me error: lead selection was not set..

What could be the reason..

Best Reagrds,

Navin Fernandes

Former Member
0 Kudos

Hello,

As far as using same variable in both the method is concerned, you could maintain a variable in the view controller.

and you must be not maintaing right values for the propoerties of node and variable in the context.

Could you please give some more info on that.

Regards

Anurag Chopra

Former Member
0 Kudos

if you want to access the same varaiebl in both teh methods of same view then decalre it under the attributes tab of that view.

Is your issue of lead selectionn is resolved or not

Former Member
0 Kudos

Hi Anurag,

the context mapping is working fine.. i changed the cardinality..

But i am finding some problem with check box..

I am using UI element checkbox and have mapped it to an element of an node.

but when i m executing the webdynpro application the check box is by default is comming checked..

Can you ehlp me with this..

Best Regards,

Navin Fernandes.

Former Member
0 Kudos

initially in wddoinit set the attribute to space for this attribute to whcih this check box is bound.

Former Member
0 Kudos

Hello Navin,

Could you check the default value of that element.

Anurag

Former Member
0 Kudos

Hi lekha,

My lead selection issue is solved... I changed the cardinality and selection.

Also the singleton property had to be unchecked as i came to know from SAP document.

Checkbox issue is also solved since the default value was not set to the right variable.

Thanks very much..

Hi Anurag..

Thanks for the help.

Best Regards,

navin fernandes.

Answers (0)