cancel
Showing results for 
Search instead for 
Did you mean: 

How can I create a pop up message in MULTILINE on WEB GUI?

Former Member
0 Kudos

Hi Experts,

I have gone through several thread to search if I can write pop up message in more than in one line.

for example...

title: continue ?

SDD no12366

customer name: abc ltm

lines: 2 lines records

gr_pers_popup = comp_controller->window_manager->create_popup_2_confirm(
                    iv_title = 'CAUTION - Continue Import ?'
                    iv_text = lv_text "'SDD-1234676; Cust - ABSOLUTE GLASS WORKS; Lines - 2'
                    iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno
                    ).
    gr_pers_popup->open( ).
    gr_pers_popup->set_on_close_event( iv_event_name = 'Confirm' iv_view = me ).

Please advise, if any work around available to display multiple line on pop_up_confirm text on WEB UI .

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

prasenjit_sharma
Active Contributor
0 Kudos

Hi,

I do not think you can achieve this with the standard pop ups. You might have to design a custom popup for this purpose.

Let me know if you need help with that. Also, tell me what happens when you make the TEXT field long enough i.e. more that 255 characters.

Regards

Prasenjit

Former Member
0 Kudos

Hi,

Can you tell me how to accomplish this task in multil ine using custom POP UP to confirm ?

Thanks

Former Member
0 Kudos

Hi Anee,

Create a custom component with single view(View 2). Write logic to populate all the details in that view. In the current view, use the method: CREATE_POPUP and call ur view 2.

This is explained in the below blog

http://wiki.sdn.sap.com/wiki/display/CRM/CallingCustomcomponentaspopupfromastandardcomponentinCRMWEBUI-Part+2

Regards,

Madhumitha

former_member189678
Active Contributor
0 Kudos

Multiline messages cannot be shown on standard Pop Up. In case you need multiline messages then create a new view, use it as a pop up and then you can show text messages as per the business requirement.

The blog mentioned above (http://wiki.sdn.sap.com/wiki/display/CRM/CallingCustomcomponentaspopupfromastandardcomponentinCRMWEBUI-Part+2) will definately help you

Rg,

Harshit

prasenjit_sharma
Active Contributor
0 Kudos

Hi,

You can follow the links Madhumita and Harshit shared. This has step by step guides to create a custom component and view. However, if you wish you can avoid creating the component and instead create the view inside your main component itself. Just need to create a window to hold the view and a component usage to call it. Also do not forget to create the decision buttons (Yes, No) in the HTM page.

Regards

Prasenjit

Answers (0)