cancel
Showing results for 
Search instead for 
Did you mean: 

Scrollbar disappears at wrong entry in search field

Former Member
0 Kudos

Hi everyone,

I am facing a issue with the scroll bar that disappears when a error comes up  on the page.

Bellow is the screen before searching anything - here the scroll bar shows up.

When an error comes up on the screen, then the scroll bar disappears.

Do you know if any configuration is need it, or what might cause this issue?
I am new in webdynpro and WEB UI field so any help is much appreciated.

Best regards,

Elena

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thank you both.

I have raised a OSS for this

Regards,

Elena

Former Member
0 Kudos

Hi Elena,

Have you put your code for scrollbar in MODFIYVIEW?

regards,

Ashvin

Former Member
0 Kudos

Hi Ashvin,

Seems like is not in the MODIFYVIEW, what I have found is that at first loading the page the method wddoinit(method on the component controller) is called, which has the bellow code.

METHOD wddoinit .

   DATA: lo_api_controller  TYPE REF TO if_wd_controller,
         lo_fpm             TYPE REF TO if_fpm,
         l_api_component    type ref to if_wd_component.

*-> Get Reference of the WD component
   lo_api_controller ?= wd_this->wd_get_api( ).
   CALL METHOD lo_api_controller->get_component
     RECEIVING
       component = wd_assist->lo_this_component.

*  Get the reference to the IF_FPM interface.
   wd_this->mr_fpm = cl_fpm_factory=>get_instance( ).


*-> Get Instance of FPM Message Manager
   lo_fpm = cl_fpm_factory=>get_instance( ).
   wd_assist->lo_message_manager     = lo_fpm->mo_message_manager.

*-> Portal integration
   l_api_component                   = wd_this->wd_get_api( ).
   wd_this->m_portal_manager         = l_api_component->get_portal_manager( ).
   wd_assist->SET_UP( context        = wd_context
                     portal_manager  = wd_this->m_portal_manager ).

*/* Set navigation Instance.


ENDMETHOD.


Then, when I go and search for a value, the method from the view is called
WDDOAFTERACTION which has the bellow code:

METHOD wddoafteraction .

   DATA: lo_el_context TYPE REF TO if_wd_context_element,
         ls_context    TYPE wd_this->element_context.

*-> Bind the URL
   lo_el_context = wd_context->get_element( ).

   lo_el_context->set_attribute(
     name `URL`
     value wd_assist->v_url ).
*
*-> Bind Visibilty based on availability of URL
   IF wd_assist->v_url  IS INITIAL.
     lo_el_context->set_attribute(
     name `VIS`
     value = abap_false ).
   ELSE.
   lo_el_context->set_attribute(
   name `VIS`
   value = abap_true ).
   ENDIF.

ENDMETHOD.


Now I am thinking that the same configuration is not called on the afteraction method. As I said I am new to this, can you confirm that the above code is not calling the same configuration?


Thank you.

Elena

Former Member
0 Kudos

Elena,

This looks that a standard issue. Please raise an OSS to SAP...

Regards,

Ashvin

former_member184578
Active Contributor
0 Kudos

Hi,

I guess you have now got a horizontal scroll bar on error, and once you scroll to the end you may see the vertical scroll bar of the search!

If not, please raise an OSS to SAP for the fix,.

Regards,

Kiran

Former Member
0 Kudos

Hi Kiran,

Thank you for the reply, but no the scroll bar doesn't show up at all. I cannot see it at the end of the search.

Regards,

Elena

former_member184578
Active Contributor
0 Kudos

Hi,

Looks like It's a standard issue. You have to raise an OSS to SAP for the fix.

Regards,

Kiran