cancel
Showing results for 
Search instead for 
Did you mean: 

Toolbars for standalone FORM view

devendervb
Contributor
0 Kudos

Hi All,

I have seen that toolbars can be added to form view which is assigned to overview page. If suppose I want a form view to be standalone. Can I add toolbar buttons to it? If not why?

Regards,

Devender

Accepted Solutions (1)

Accepted Solutions (1)

former_member188098
Active Contributor
0 Kudos

you can check it by adding code in .htm ,do_prepare_output( ) ,IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS method of view as suggested above also.


but in normal cases we never face any business requirement where you have to display only your custom view, you always need to display yours views,assignment block in standard view set or in overview page.If you use  your custom view standalone(i think which never need in real business scenario) there are some other things also which not works.


Regards,



devendervb
Contributor
0 Kudos

Yeah Harish,

I am with you as per real time requirement. That's the reason toolbar implementation, interfaces mostly belongs to Overview page.

Just of curiosity I asked. Whether it is possible to have a standalone individual form..

Thanks Siva, Harish for your valuable inputs.

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

you can do it by using a method called do_prepare_output( )..

Please declare a attribute called gt_buttons and populate it in the above said method.

Please use this attribute in .htm thtmlb attribute called actions.

you will get the exact code if you search in sdn/google

devendervb
Contributor
0 Kudos

I have followed few SDN forums, As per the forums, to display buttons on the form view's toolbar, it should be assigned to Overview Page.

My concern is I want to display toolbar on form view without Overview page.

Former Member
0 Kudos

Hi

Yes , No need of Overview page for toolbar buttons, You can have it in form view also via do_prepare_output  method and .htm page tags.