cancel
Showing results for 
Search instead for 
Did you mean: 

OVS Issue

Former Member
0 Kudos

HI,

I have a search criteria which uses OVS.

In that OVS search criteria,the input fields are Maxrow,Short Desc,Company Code.

I want to reorder the input fields for the search criteria.

My new input fields will be in this sequence:-Company Code,Short Desc,Maxrow.Basically I want to move the Maxrow input field to the last field in place of first field.

Can you please suggest how to do this?

Regards

-Sandip

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi sandeep,

I also got same requirement but i don't know how to work with ovs and i gone thru some docs(flight) but i am not understand clearly so can u send the screen shots to do that please.

Refards,

Bhaskar

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

U can decide the order of fields while initialization of ovs .

Her is an example:

IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute("TachanaOVS");

ISimpleTypeModifiable tacType = attributeInfo.getModifiableSimpleType();

IModifiableSimpleValueSet valueSet = tacType.getSVServices().getModifiableSimpleValueSet();

valueSet.clear();

// HERE I DECIDE WICH FIELDS WILL BE USED AND THEIR ORDER

for (int i = 0; i < wdContext.nodeTachanaTitle().size(); ++i) {

wdContext.nodeTachanaTitle().moveTo(i);

valueSet.put(

wdContext.currentTachanaTitleElement().getKunnr().substring(6),

wdContext.currentTachanaTitleElement().getName1());

}

In that example kunnr will be the first and name1 will be the second.

Hope it helps

Nitsan

Former Member
0 Kudos

HI,

Please suggest me how to re-order the input field position in the OVS search criteri.

I want to replace the Maxrow input search criteria from the first position to teh last position.

Please suggest me in this.

Regards

-Sandip

Former Member
0 Kudos

Hi ,

Go through this link

and see the section

Advanced Value Help: Object Value Selector

Regrads

Padma N