cancel
Showing results for 
Search instead for 
Did you mean: 

How can I rearrange the column order in Java Webdynpro OVS?

0 Kudos

I implemented an OVS in the java webdynpro, but seems like the column order

in the OVS layout is defaulted by the framework. How can I change the order?

Do I have to create a OVS view?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

Hello Jingli Xianyu,

To Change the order of the columns in an OVS Do the following

Create the OVS output node once again by deleting the existing one and this time add the

context attributes to this Output node in the order in which you want your columns to be.

Suppose you want columns to be in order a, d, f, g then add context attributes corresponding to a first,

then add context attribute for d, then for f and in the last g.

i think this will solve the problem,

thanks

Sarbjeet Singh

Answers (1)

Answers (1)

Former Member
0 Kudos

Create a subclass of WDOVSConfigurator, implement method selectResultColumns() as needed and pass an instance of this class to WDValueServices.createOVSProvider().

Armin

former_member201361
Active Contributor
0 Kudos

Hi,

To rearrage the column order in OVS , create a Instance of WDOVSConfigurator as suggested by Armin. For OVSConfiguartor, have a look to this [article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c6132f-4ea3-2b10-4d8f-e68d2e96113d]

Thanks and Regards

Fazal.