cancel
Showing results for 
Search instead for 
Did you mean: 

Busy mode message

Former Member
0 Kudos

Hi All,

I am working on WD ABAP, where i want to display a busy mode meaningful message when user clicks a button or when back end action is triggered.

Say for eg, when a user clicks on "Update details" button , i should be able to display "please wait while your details are being updated"...and simillalry for other actions.

At present the i see only "wait...." i want to have my custom text here.

All replies will be appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Click on to the code wizard(CTRL_F7) button, select the Generate Message radio button and u can select the message. for eg : report_sucess method. Here u can give u r own text messages.

below is the example code.

eg :

DATA lo_api_controller TYPE REF TO if_wd_controller.

DATA lo_message_manager TYPE REF TO if_wd_message_manager.

lo_api_controller ?= wd_this->wd_get_api( ).

CALL METHOD lo_api_controller->get_message_manager

RECEIVING

message_manager = lo_message_manager

.

    • report message*

CALL METHOD lo_message_manager->report_success

EXPORTING

message_text = 'please wait while your details are being updated'

    • params =*

    • msg_user_data =*

    • is_permanent = ABAP_FALSE*

    • scope_permanent_msg = CO_MSG_SCOPE_CONTROLLER*

    • view =*

    • show_as_popup =*

    • controller_permanent_msg =*

    • msg_index =*

    • cancel_navigation =*

    • enable_message_navigation =*

receiving

message_id =

.

Regards,

Ragu.

Former Member
0 Kudos

hi,

Are you sure this will solve the problem....?? Because i want the message to be displayed while the processing is taking place, like say.... when the user clicks the button, a HTTP request will go the server and back to browser, its during this round trip that i want the message to be displayed, and not after that.

Former Member
0 Kudos

Hi Runal,

Its not possible to modify the message " wait .." with rotating icon, its directly from the WD Frame work.

Greetings

Prashant

Former Member
0 Kudos

hi prashant,

If that is the case, then i suppose i will have to drop the the requirement. But i have seen text being displayed other than the "wait.." with rotating icon.....in the SAP recruitment site....!!!! The look and feel there too looks like it is developed in WD ABAP...!!!

So, was curious to provide the same here...!! Anyway thanks a lot.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>

> hi prashant,

>

> If that is the case, then i suppose i will have to drop the the requirement. But i have seen text being displayed other than the "wait.." with rotating icon.....in the SAP recruitment site....!!!! The look and feel there too looks like it is developed in WD ABAP...!!!

>

> So, was curious to provide the same here...!! Anyway thanks a lot.

Are you sure that application wasn't BSP? Many BSP applications have a very similar look and feel to WDA. The BSP tag xhtmlb:protectDoubleSubmit does allow you to specify a custom text for the waiting message/icon. WDA does not have such functionality and as stated the wait message and icon come from the framework. You might be able to alter them only using a customized theme or directly manipulating the MIME objects of the Unified Renderer.

Former Member
0 Kudos

hi Thomas,

Not very sure if the aplication was a BSP application. Anyway at this point in time it take it as "not posiible...!!!" May be in future versions it becomes a added functionality ..!!!!

Thank you all.