cancel
Showing results for 
Search instead for 
Did you mean: 

OSA : Status change description is not showing up in appraisal form

Former Member
0 Kudos

Hello Friends,

We have put some comments in the status change description that should appear when any button is clicked in the OSA that leads to change in status / sub status. But in spite of putting these comments in the 'Status Change: Description' text box, it neither appears on the web form nor in the R3.

Have I missed any settings?

We have upgraded to EHP4 and use BSP for web layout.

Thanks

Allen

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The status change description is explicitly shown in the Webdynpro UI (also delivered in EhP 4). The BSP should show the status change description as tooltip on the status change button, and if I remember correctly the same goes for R/3.

Regards and Groetjes,

Maurice Hagen

Former Member
0 Kudos

Thanks for your response Maurice. I checked again, but don't see any message in tool tip of the button, neither in R3 nor in portal. I get the following standard message in R3 when I click on the last button, but no message in portal.

Appraisal document closed

Message no. HRHAP00_DOCUMENT046

Diagnosis

You have successfully completed the (part) appraisal document. You are no longer able to process or revise this document.

Since we are using a customized web layout, does it has to be explicitely mentioned somewhere in it to display the message?

Thanks

Allen

Former Member
0 Kudos

Hi,

The text will not show on click of a status change button, but when you hoover over it. It will appear as tooltip.

I do not know your custom BSP code, but in the standard SAP delivery in page fragment "document_buttons,htm" following code is available.


*-------  ALL OTHER BUTTONS lead to status change
          if  application->doc-S_DOC_PROCESSING-DRAFT_NOTES_ALLOWED EQ 'X'
          AND application->doc-s_doc_processing-dynamic_template IS INITIAL
          AND application->doc-s_header_status-ap_status = '1'.
            call method lo_sotr->get_text_by_alias
              exporting  i_alias = 'PAOC_HAP_DOCUMENT_UI/DRAFTNOTEWARNING'
              importing  e_text  = l_string.
            concatenate `javascript:var Check = false; Check = confirm('` l_string `');if(Check == false){ htmlbevent.cancelSubmit = true; }` into l_string.
          endif.
*--     Status buttons can have status description
          call METHOD application->get_button_tooltip
             exporting button_id = lw_buttons-id
             importing tooltip   = l_tooltip.
        if l_tooltip is INITIAL.
          l_tooltip = lw_buttons-text.
        endif.

As you can see it read the status change description and assigns it as tooltip.

Regards and Groetjes,

Maurice Hagen

Former Member
0 Kudos

Thanks ... this has helped ... was solved by ABAPer ... from the code u provided, we could identify the location where exactly the code needed to be written.