cancel
Showing results for 
Search instead for 
Did you mean: 

Switch table view configuration to form view configuration

Former Member
0 Kudos

Hello everybody,

I have a tricky problem:

I want to convert a table view to a form view. Therefore I changes the inheritance relationship of the context node class from CL_BSP_WD_CONTEXT_NODE_TV to CL_BSP_WD_CONTEXT_NODE and deleted the redefined methods related to the table context node class. All that worked fine and I changed the THTMLB table view tag from HTM page and replaced it with the standard GET_CONFIGURATION method. Also this worked and I'm able to define a new configuration for the view and place the form fields.

The problem is that the form fields are not displayed when opening the view in WebUI. When I debug into the determination of the configuration in HTM-page, I discovered, that still a table view configuration is determined by the getter method.


Can anybody tell me if I forgot a step or how I can change the configuration type from table view to form view?

Would be great, if anybody could give me a hint!

Thanks and best regards,

Markus

Accepted Solutions (0)

Answers (2)

Answers (2)

praveen_kumar194
Active Contributor
0 Kudos

the steps you have followed is correct. make sure that you delete all related methods of table view. and just use normal configuration tag in htm page

  <chtmlb:config

               mode        = "RUNTIME"
               xml         = "<%= controller->configuration_descr->get_config_data( ) %>" />

when i tried this first i got syntax errors at runtime in the super class of view implementation class. i rectified all of them and i am able to display the fields as form view. so check inthe super class of ur view implemention class and see if there are any methods there related to table view.

Former Member
0 Kudos

Hi!

solved the problem: there has been a personalized config in table BSPC_DL_PERSSTOR. When i deleted this entry, the new regular configuration has been determined.

Former Member
0 Kudos

Hi Markus,

Where can we find BSPC_DL_PERSSTOR in the component. I searched but i couldn't..

Can you give me the location of that

Regards,

Dinesh Gurram

praveen_kumar194
Active Contributor
0 Kudos

it is a table not component.

Former Member
0 Kudos

Hello Dinesh,

you cannot find this in the component as it is a database table. You can open it with transaction SE11.

Best regards,

Markus

Former Member
0 Kudos

Hi Markus,

You mentioned that you have deleted some entry . What is that??

" personalized config in table  BSPC_DL_PERSSTOR "

i coudn't get that . .

Regards,

Dinesh Gurram