Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

WEB - hide buttons for 'Next Combination' ...

Hi All,

I'm using layouts with single header values (only one combination exists).

Thus I don't want to display the buttons for 'Next Combination', 'Previous Combination' ...

Does anybody know how to hide them in WEB.

Thanks

Steffen

replied

Hello Steffen,

add a text component below the layout with HTML = true and use the following text:

<SCRIPT type="text/javascript" LANGUAGE="JavaScript"> 
  var i;
  var doc_tables = document.all.tags("TABLE"); 

  // Hide the mini toolbar above the layout 
  for (i = 0; i < doc_tables.length; i++) { 
    if ( doc_tables<i>.className == "bpsLay" ) { 
      doc_tables<i>.style.display = "none"; 
    } 
  } 
</SCRIPT>

This will hide the mini toolbar. If you want to hide only the prev/next buttons, you have to add some more Javascript in the if-statement.

Regards,

Marc

SAP NetWeaver RIG

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question