cancel
Showing results for 
Search instead for 
Did you mean: 

Buttons in Modal Dialog Box in Web DynPro ABAP

former_member221372
Participant
0 Kudos

Hi All,

I want to create own buttons like Create, Find ,Enter next below the input fields in the Modal Dialog Box.

I searched in Forum, but I m getting results with standard buttons like Cancel,Yes,No.......

Pls suggest me how to do.

Regards,

Bharat

Accepted Solutions (0)

Answers (2)

Answers (2)

ramakrishnappa
Active Contributor
0 Kudos

Hi Bharath,

You can customize the standard button texts but you can have maximum 3 buttons with standard buttons.

To have more buttons, as suggested, you need to design a view with all required buttons and use it in popup window and do not include standard buttons of pop up window.

Steps:

  • Create a view V_POPUP
  • Create input fields and also required buttons next, find, created, etc in V_POPUP
  • Embed view  into a window w_popup
  • Call the window w_popup as popup and do not choose any standard buttons i.e. pass BUTTON_KIND = if_wd_window=>CO_BUTTONS_NONE

Hope this helps you.

Regards,

Rama

former_member184578
Active Contributor
0 Kudos

Hi,

Create a view(say, v_popup) with the required input fields and buttons you want and create a new window(say W_popup), then drag and drop the view(v_popup) onto window(w_popup) and from your main view generate the popup using create_window( ) method of window manager (by choosing the popup window name as w_popup)

Then you can see your custom  buttons in a popup view.

hope this helps,

Regards,

Kiran

former_member221372
Participant
0 Kudos

Hi Kiran,

I created like that, but from that buttons I have to call other views.

Navigation links are created, but no use.

How to do that?

Regards,

Bharath