Why Hide Command?

Hi Experts,
Why do we use HIDE command, it consums memory when we hide data.
In place of Hide we can use
1. sy-lisel
2. Get cursor
3. Read line
etc. which don't consum memory.
Please give me reason, where it is necessary.
Regards
Rajiv singh.

HI.
HIDE
The HIDE statement is one of the fundamental statements for interactive reporting. You use the HIDE technique when creating a basic list. It defines the information that can be passed to subsequent detail lists.
You use the HIDE technique while creating a list level to store line-specific information for later use. To do so, use the HIDE statement as follows:
HIDE <f>.
This statement places the contents of the variable <f> for the current output line (system field SY-LINNO) into the HIDE area. The variable <f> must not necessarily appear on the current line.
To make your program more readable, always place the HIDE statement directly after the output statement for the variable <f> or after the last output statement for the current line.
As soon as the user selects a line for which you stored HIDE fields, the system fills the variables in the program with the values stored. A line can be selected
by an interactive event.
For each interactive event, the HIDE fields of the line on which the cursor is positioned during the event are filled with the stored values.
by the READ LINE statement.
You can think of the HIDE area as a table, in which the system stores the names and values of all HIDE fields for each list and line number. As soon as they are needed, the system reads the values from the table.
The example below presents some of the essential features of interactive reporting. The basic list contains summarized information. By means of the HIDE technique, each detail list contains more details.
GET CURSOR
Use the statements GET CURSOR FIELD and GET CURSOR LINE to pass the output field or output line on which the cursor was positioned during the interactive event to the ABAP program.
READ LINE
Use the statements READ LINE and READ CURRENT LINE to read data from the lines of existing list levels. These statements are closely connected to the HIDE technique.
The following program is connected to the logical database F1S.
REPORT demo_list_hide NO STANDARD PAGE HEADING.
TABLES: spfli, sbook.
DATA: num TYPE i,
      dat TYPE d.
START-OF-SELECTION.
  num = 0.
  SET PF-STATUS 'FLIGHT'.
GET spfli.
  num = num + 1.
  WRITE: / spfli-carrid, spfli-connid,
           spfli-cityfrom, spfli-cityto.
  HIDE:    spfli-carrid, spfli-connid, num.
END-OF-SELECTION.
  CLEAR num.
TOP-OF-PAGE.
  WRITE 'List of Flights'.
  ULINE.
  WRITE 'CA  CONN FROM                 TO'.
  ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
  CASE sy-pfkey.
    WHEN 'BOOKING'.
      WRITE sy-lisel.
      ULINE.
    WHEN 'WIND'.
      WRITE:  'Booking', sbook-bookid,
           /  'Date   ', sbook-fldate.
      ULINE.
  ENDCASE.
AT USER-COMMAND.
  CASE sy-ucomm.
    WHEN 'SELE'.
      IF num NE 0.
        SET PF-STATUS 'BOOKING'.
        CLEAR dat.
        SELECT * FROM sbook WHERE carrid = spfli-carrid
                            AND   connid = spfli-connid.
          IF sbook-fldate NE dat.
            dat = sbook-fldate.
            SKIP.
            WRITE / sbook-fldate.
            POSITION 16.
          ELSE.
            NEW-LINE.
            POSITION 16.
          ENDIF.
          WRITE sbook-bookid.
          HIDE: sbook-bookid, sbook-fldate, sbook-custtype,
                sbook-smoker, sbook-luggweight, sbook-class.
        ENDSELECT.
        IF sy-subrc NE 0.
          WRITE / 'No bookings for this flight'.
        ENDIF.
        num = 0.
        CLEAR sbook-bookid.
      ENDIF.
    WHEN 'INFO'.
      IF NOT sbook-bookid IS INITIAL.
        SET PF-STATUS 'WIND'.
        SET TITLEBAR 'BKI'.
        WINDOW STARTING AT 30 5 ENDING AT  60 10.
        WRITE: 'Customer type   :', sbook-custtype,
             / 'Smoker          :', sbook-smoker,
             / 'Luggage weight :', sbook-luggweight UNIT 'KG',
             / 'Class           :', sbook-class.
      ENDIF.
  ENDCASE.
Reward all helpfull answers.
Regards.
Jay

Similar Messages

  • Hide command in ABAP Objects

    Hi everybod,
    i got a small Problem with the HIDE command in ABAB Objects. I got a Method called
    write_on_screen( ). in this method i  got code like this:
    DATA:
        test TYPE c.
    test = 'Hello'.
    WRITE: /0 sym_minus_folder AS SYMBOL HOTSPOT.
    WRITE: /5 'Im a dummy line'.
    HIDE test.
    Then i got this message "You cannot use HIDE with a local field."          
    If i change the code like this
    WRITE: /0 sym_minus_folder AS SYMBOL HOTSPOT.
    WRITE: /5 'Im a dummy line'.
    HIDE _test.
    _test is an Attribute of the class with the type c. "HIDE is not supported with the attributes of classes.     "
    Maybe someone got an advice for me.
    Greetings
    Edited by: Moritz Lutz on Jun 20, 2008 2:29 PM

    Moritz,
    Please Use SAP help first because no one can challange them.
    press F1 on HIDE and read the help.
    specially
    Exceptions
    Non-Catchable Exceptions
    Cause: The field is too long for HIDE.
    Runtime Error: HIDE_FIELD_TOO_LARGE
    Cause: HIDE in a table row or a component in a table row is not possible.
    Runtime Error: HIDE_ILLEGAL_ITAB_SYMBOL
    Cause: HIDE in a local field is not possile.
    Runtime Error: HIDE_NO_LOCAL: HIDE"here is your issue
    Cause: HIDE in an empty page is not possible.
    Runtime Error: HIDE_ON_EMPTY_PAGE
    Amit.

  • Hide command line ebs password

    Hi All,
    is there a way to hide command line password for apps user.
    when start or stop ebs apps from command line, i have to type
    $adstrtal.sh apps/apps
    is there a way to hide this password.
    Thanks in advance.

    Hi,
    I do not think there is a direct way to do this. However, look at this document and see if it helps.
    Note: 377858.1 - Use Encrypt To Prevent Apps Pwd Being Displayed In Log/Sql Script
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=377858.1
    Another option would be calling "adstrtal.sh apps/<apps password>" from some other script.
    Regards,
    Hussein

  • Hide Command Box through Sap ECC 6.0

    Hi, SAP GURU's
    How is it possible to globally hide command box in a Sap ECC 6.0. or hide it only from Enterprise Portal.
    Regards
    Sumeet Sharma

    Hello Sumeet Sharma
    Hiding the command box in SAPgui for windows is not possible.
    Disabling it would probably mean you have to rewrite the SAPgui interface (not feasible).
    Restricting your users from accessing content they are not supposed to access is based on authorizations, if you give everyone all rights you are bound to heading for trouble and issues restricting where they are going. Also when you get an audit they will surely flag this point as being dangerous.
    You can check with SAP by opening a customer message.
    Kind regards
    Tom

  • Hide command window from transactions in sap portal

    Dear experts
                  sir i want to hide command window from transactions iview in sap portal when i using sap gui for windows  sir i know very well settings for sap gui for html. so is there any possiblity for hiding command window from transactions iview when i use sap gui for windows
    please help...............
    Edited by: mousam jaini on Nov 1, 2010 12:11 PM

    Hi Mousam
    You can get solution from the  SAP Note: 1010519
    If ur system doesnot meet the pre-requiste, then you can set the below parameter under transaction sicf:
    ~webgui_simple_toolbar=1
    Pls go through the below article to display the SAP Transaction as SAP GUI
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e046cb5c-711a-2a10-95a9-81b365901b95
    Thanks
    Keshari

  • Show/Hide Command button in ADF

    I want to hide "Command Button" based on the select of "tableSelectOne". I have tried using the following code but I am not able to do that. So pls suggest some other options.
    <af:panelGroup partialTriggers="DestRulesSelectionId">
    <af:commandButton text="..."
    disabled="false"
    shortDesc="Test"
    partialTriggers="DestRulesSelectionId"/>
    </af:panelGroup>
    <af:tableSelectOne text="Select and" autoSubmit="true"
    id="DestRulesSelectionId"/>

    Hi Didier,
    But I have also developed the same example and it is working, without putting the command button under any parent component.
    Page defination is
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:html binding="#{backing_ShowHide.html1}" id="html1">
          <afh:head title="ShowHide" binding="#{backing_ShowHide.head1}" id="head1">
            <meta http-equiv="Content-Type"
                  content="text/html; charset=windows-1252"/>
          </afh:head>
          <afh:body binding="#{backing_ShowHide.body1}" id="body1">
            <h:form binding="#{backing_ShowHide.form1}" id="form1">
              <af:panelPage title="Show Hide" binding="#{backing_ShowHide.panelPage1}"
                            id="panelPage1" partialTriggers="selectOneRadio1">
                <f:facet name="menu1"/>
                <f:facet name="menuGlobal"/>
                <f:facet name="branding"/>
                <f:facet name="brandingApp"/>
                <f:facet name="appCopyright"/>
                <f:facet name="appPrivacy"/>
                <f:facet name="appAbout"/>
                <af:selectOneRadio label="Select "
                                   value="#{backing_ShowHide.radioBtnValue}"
                                   autoSubmit="true"
                                   binding="#{backing_ShowHide.selectOneRadio1}"
                                   id="selectOneRadio1">
                  <af:selectItem label="One" value="one"
                                 binding="#{backing_ShowHide.selectItem1}"
                                 id="selectItem1"/>
                  <af:selectItem label="Two" value="two"
                                 binding="#{backing_ShowHide.selectItem2}"
                                 id="selectItem2"/>
                </af:selectOneRadio>
                <af:commandButton text="commandButton 1"
                                  binding="#{backing_ShowHide.commandButton1}"
                                  id="commandButton1"
                                  partialTriggers="selectOneRadio1"
                                  rendered="#{backing_ShowHide.radioBtnValue =='one'}"/>
              </af:panelPage>
            </h:form>
          </afh:body>
        </afh:html>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_ShowHide-->
    </jsp:root> ~Vikram
    http://kohlivikram.blogspot.com/
    Message was edited by:
    KoVik
    Message was edited by:
    KoVik

  • How to hide command fied using transaction iview

    Hi All,
    Is there any way to hide command box (transactional field) in Portal using transactional iview ?
    I have searched in sdn forum, it is possible via IAC iview using application parameters ~headerOKcode = 1.
    Since our ITS is not configured properly and it is continously giving Browser errors (Object expected, 'wgu_global_eventhandler' is null or not an object).
    So.........I can;t go ahead with IAC Iview.
    I suspect.....anyone has gone through this problem and experts has a solution with transactional iviews to hide those command boxes.
    Appreciate your inputs in this regards.
    Thanks,
    Anil Kumar

    Try this in 'Application Parameters' field '&~NOHEADEROKCODE=1'

  • Want to hide command bottun using javascript

    Hi,
    I want to hide command bottun using javascript when form load
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Add/Edit CD details</title>
    <script type="text/javascript" src="Test.js"></script>
    <script type="text/javascript" src="datetimepicker.js"></script>
    <script type="text/javascript">
    *function hideDeleteButton(){*
    if(document.forms['editForm'].elements['editForm:cd_number'].value="")
    document.('viewForm:deleteEntry').style.visibility = "hidden";
    </script>
    </head>
    *<body onLoad="hideDeleteButton(),document.getElementById('editForm:cd_title').focus();">*
    <f:view>
    <h:form id="editForm" onsubmit="return validateDate()">
    <b><p align="center">CD Management</p></b>
              <% if(session.getAttribute("supervisor")==null)
         response.sendRedirect("../index.faces");
    %>
              <table width="100%">
              <tr><td valign="top" >
              <h:panelGrid columns="8">
              <h:commandLink id="com1" value="CD management" action="#{CDBean.getAllCDs}" title="CD management" immediate="true"/>
              <%if(session.getAttribute("supervisor")!=null && session.getAttribute("supervisor").toString().equals("Y")){%>
              <h:outputText value="||" id="use1r"></h:outputText>
              <h:commandLink id="Users" value="Users account" action="#{usersBean.viewAllAccounts}" title="Users account" immediate="true"/>
              <%} %>
              <h:outputText value="||" id="use13"></h:outputText>
              <h:commandLink id="pas" value="Change password" action="#{changePasswordBean.changePassword}" title="Change password" immediate="true"/>
              <h:outputText value="||" id="us2er"></h:outputText>
              <h:commandLink id="com2" value="Log out" action="#{logoutBean.logout}" title="Log out" immediate="true">
              </h:commandLink>
              </h:panelGrid>
              </td>
              <td valign="top" align="right" title="Logged in||<%=session.getAttribute("username") %>">Logged in||<font color="green"><%=session.getAttribute("username") %></font></td>
         </tr>
         </table>
    <hr>
    <b><h:outputText value="#{viewCDBean.form_title}"/></b><br><br>
    <div id="no"><h:outputText id="nocd" value="#{viewCDBean.cd_number}"/></div>
    <h:panelGrid columns="3">
    <h:outputText id="output112"/><h:inputHidden id="cd_number" value="#{viewCDBean.cd_number}"></h:inputHidden><h:outputText id="output117"/>
    <h:outputText id="output1" value="Title"/><h:inputTextarea id="cd_title" value="#{viewCDBean.cd_title}" rows="2" cols="40" required="true"></h:inputTextarea><h:message for="cd_title" style="color:red"/>
    <h:outputText id="output2" value="Contents"/><h:inputTextarea id="cd_contents" value="#{viewCDBean.cd_contents}" rows="2" cols="40"></h:inputTextarea><h:outputText id="output18"/>
    <h:outputText id="output3" value="License key"/><h:inputText id="license_key" value="#{viewCDBean.license_key}" size="50"></h:inputText><h:outputText id="output19"/>
    <h:outputText id="output4" value="Vender company"/><h:inputText id="vendor_company" value="#{viewCDBean.vendor_company}" size="50"></h:inputText><h:outputText id="output20"/>
         <h:outputText id="output5" value="Vender name"/><h:inputText id="vendor_name" value="#{viewCDBean.vendor_name}" size="50"></h:inputText><h:outputText id="output21"/>
         <h:outputText id="output6" value="Vender contact no"/><h:inputText id="vender_contact_no" value="#{viewCDBean.vender_contact_no}" size="50"></h:inputText><h:outputText id="output22"/>
    <h:outputText id="output7" value="Remarks"/><h:inputTextarea id="remarks" value="#{viewCDBean.remarks}" rows="2" cols="40"></h:inputTextarea><h:outputText id="output23"/>
    <h:outputText id="output8" value="Added by"/><h:inputText id="entered_by" value="#{viewCDBean.entered_by}" readonly="true"></h:inputText><h:outputText id="output24"/>
    <h:outputText id="output9" value="Last modified by"/><h:inputText id="last_updated_by" value="#{viewCDBean.last_updated_by}" readonly="true"></h:inputText><h:outputText id="output25"/>
    <h:outputText id="output10" value="CD/DVD"/>
    <h:selectManyListbox id="cd_dvd" styleClass="selectOneMenu" required="true" size="1" value="#{viewCDBean.CD_DVD}">
                   <f:selectItem itemValue="" itemLabel="DVD" />
                   <f:selectItem itemValue="0" itemLabel="CD" />
              </h:selectManyListbox>
    <h:message for="cd_dvd" style="color:red"/>
    <h:outputText id="output11" value="License/Open source"/>
    <h:selectManyListbox id="license_or_open_source" styleClass="selectOneMenu" required="true" size="1" value="#{viewCDBean.license_or_Open_source}">
                   <f:selectItem itemValue="1" itemLabel="License" />
                   <f:selectItem itemValue="0" itemLabel="Open source" />
              </h:selectManyListbox>
    <h:message for="license_or_open_source" style="color:red"/>
    <h:outputText id="output12" value="Serial key"/><h:inputTextarea id="serial_key" value="#{viewCDBean.serial_key}" rows="2" cols="40"></h:inputTextarea><h:outputText id="output28"/>
    <h:outputText id="output13" value="Purchase date"/>
    <t:inputCalendar id="purchase_date" value="#{viewCDBean.purchase_date}"
                   renderAsPopup="true" renderPopupButtonAsImage="true" popupButtonImageUrl="cal.gif" title="pick a date"
                   alt="pick a date" popupDateFormat="dd-MMMM-yyyy">
              <f:convertDateTime type="date" dateStyle="default" pattern="dd-MMMM-yyyy"/>
         </t:inputCalendar>
         <h:outputText value="(dd-mmm-yyyy)" id="purchase_date2" style="color:red"/>
    <h:outputText id="output14" value="Purchase price"/><h:inputText id="purchase_price" value="#{viewCDBean.purchase_price}"></h:inputText><h:message for="purchase_price" id="output30"/>
    <h:outputText id="output15" value="Status"/><h:inputText id="status" value="#{viewCDBean.status}"></h:inputText><h:outputText id="output31"/>
    </h:panelGrid>
    <table>
    <tr>
    <td>               </td>
    <td>                </td>
    <td><%if(session.getAttribute("supervisor")!=null && session.getAttribute("supervisor").toString().equals("Y")){%>*<h:commandButton value="Delete" id="deleteEntry" action="#{CDBean.deleteFromCDMaster}" onclick="return insure()" />* <h:commandButton value="Submit" action="#{CDBean.modifyDetail}"/> <%}%></td>
    <td><h:commandButton value="Cancel" action="#{CDBean.getAllCDs}" immediate="true" onclick="setDateFieldBlank()"/></td>
    </tr>
    </table>
    </h:form>
    </f:view>
    </body>

    function hideDeleteButton(){
    if(document.forms['editForm'].elements['editForm:cd_number'].value="")
    document.z('viewForm:deleteEntry').style.visibility = "hidden";
    This script will not work

  • What hide command will do

    what hide command will do

    Here is the F1 help.....
    <i>HIDE
    Basic form
    HIDE f.
    In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Constants not allowed in HIDE area.
    Effect
    Retains the contents of f related to the current output line. When the user selects the line from the list f is automatically filled with the retained value.
    The selection can occur in:
    AT LINE-SELECTION
    AT PFx
    AT USER-COMMAND
    READ LINE
    The contents of the field do not have to have been displayed using WRITE in order for you to retain them.
    The HIDE statement does not support deep structures (structures that contain internal tables).
    Useful system fields for interactive reporting are listed in the System Fields for Lists documentation.
    Note
    Lines or components of lines of an internal table that you address using a field symbol (see ASSIGNING addition to the READ and LOOP statements), cannot be retained using HIDE. You can store them using a global variable instead.
    Note
    Runtime errors:
    HIDE_FIELD_TOO_LARGE: The field is too long for HIDE.
    HIDE_ON_EMPTY_PAGE: HIDE not possible on an empty page.
    HIDE_NO_LOCAL: HIDE not possible for a local field.
    HIDE_ILLEGAL_ITAB_SYMBOL: HIDE not possible for a table line or component of a table line.</i>
    and also a sample program.
    report zrich_0003.
    data: begin of itab occurs 0,
          field type c,
          end of itab.
    itab-field = 'A'.  append itab.
    itab-field = 'B'.  append itab.
    itab-field = 'C'.  append itab.
    itab-field = 'D'.  append itab.
    itab-field = 'E'.  append itab.
    loop at itab.
      format hotspot on.
      write:/ itab-field.
      hide itab-field.
      format hotspot off.
    endloop.
    at line-selection.
      write:/ 'You clicked', itab-field.
    It kind of "remembers" what is written, so that when you click on it, it knows what the value is.
    Please remember to award points and mark as solved if  your question has been answered.  Thanks.
    Regards,
    Rich Heilman
    Message was edited by: Rich Heilman

  • Why are commands "grayed out" on edit tab on Elements 9?

    Why are commands "grayed out" (not available) on the edit tab on Elements 9?

      It’s often awaiting a user action e.g. opening a photo in the main Editor space or making a selection or a new layer or flattening an image or changing bit depth etc.

  • Why black command dialogue(PILOT Client TCP) always popup, SSM7.5 ?

    When clients access to SSM through browser, on the server start pop up command dialogue and won't disappear.
    Why black command dialogue(PILOT Client TCP) always popup, SSM7.5 ,?

    Hi,
    Are you using CPIP? I believe this only happens when using CPIP, and those windows represent the connections that are made from the Interactive Publisher to the PAS models.
    You should actually consider using JPIP, which gives you more control of the connections to PAS.
    In case you want to use CPIP, it is recommended that the service "SAP Service Extended Listener " has the option "Allow service to interact with desktop" active, which will then translate in those PILOT Client TCP windows appearing in the server.
    Best regards,
    Ricardo

  • Ps cs6 why copy command is dimmed - cannot copy obj?

    ps cs6 cc :
    why copy command is dimmed - cannot copy obj?

    lsepolis123 wrote:
    if press Ctrl+A selects all psd doc... either (when layer selected - in layers panel) in Move tool or in Select tool, well?
    While the marchimg ants shows the layer boundry what you write the whole document. Only the pixels of the targeted layer are selected.
    Here are two screen captures.
    I have two documents open in Photoshop. One has three layers ob top of the background layer One Red, One Green and one Blue.  Thes second one same size but only a white background layer.
    I target the green layer did a Ctrl+A to select the whole green layer note the marching ants outlining the whole document composite view. I followed the Ctrl+A with Ctrl+C (copy).
    I then switch to the second document just a white background layer and did a Ctrl+V past the bottom screen capture shows the results.  Only the green pixels were copied to the clipboard.

  • Why netflow commands are not available in 4506-E?

    Hi,
    we have one 4506-E Chassis , Sup7L-E , LAN Base with cat4500e-universalk.SPA.03.03.00.SG.151-1.SG.bin image
    why netflow commands are not available not available in this. someone said netflow will work only with IP base License , is that right?
    Or how to enable it 
    thanks
    Sujish 

    Hi,
    For Nwtflow, you need IP Base or Enterprise Services License.
    See table-1 in this link;
    http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/release/note/OL_26675-01.pdf 
    HTH

  • Why was command-option-click functionality removed.  Please bring back.

    Can anyone fill me in on this issue.
    I used to use command-option-click hundreds of times a day.  Cleared out all windows and got me to the application I wanted to use.  It is, apparently, gone in Mavericks.
    I'd be interested to know  why it was removed.  I also want it back.
    And, I'd llike it brought back with the functionality changes so that the application I make active with the command leaves the "hide" options in the Application pulldown menu active.  My one complaint about the shortcut was that it grayed out the "hide" options so I had to click out of the application and back in to use them.
    Please, please, I really want the shortcut!
    --Kenoli

    totally agree- the loss of 'pinch to resize' is a disaster.
    It was one of the main reasons i'd use it over powerpoint.
    C'mon Apple!
    rob

  • HIDE Command in ABAP

    What is the exact purpose of using a HIDE statement while making an interactive report? I know it is needed , but what purpose it exactly solves.

    F1 help.....
    HIDE
    Basic form
    HIDE f.
    In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Constants not allowed in HIDE area.
    Effect
    Retains the contents of f related to the current output line. When the user selects the line from the list f is automatically filled with the retained value.
    The selection can occur in:
    AT LINE-SELECTION
    AT PFx
    AT USER-COMMAND
    READ LINE
    The contents of the field do not have to have been displayed using WRITE in order for you to retain them.
    The HIDE statement does not support deep structures (structures that contain internal tables).
    Useful system fields for interactive reporting are listed in the System Fields for Lists documentation.
    Note
    Lines or components of lines of an internal table that you address using a field symbol (see ASSIGNING addition to the READ and LOOP statements), cannot be retained using HIDE. You can store them using a global variable instead.
    Note
    Runtime errors:
    HIDE_FIELD_TOO_LARGE: The field is too long for HIDE.
    HIDE_ON_EMPTY_PAGE: HIDE not possible on an empty page.
    HIDE_NO_LOCAL: HIDE not possible for a local field.
    HIDE_ILLEGAL_ITAB_SYMBOL: HIDE not possible for a table line or component of a table line.
    and also a sample program.
    data: begin of itab occurs 0,
          field type c,
          end of itab.
    itab-field = 'A'.  append itab.
    itab-field = 'B'.  append itab.
    itab-field = 'C'.  append itab.
    itab-field = 'D'.  append itab.
    itab-field = 'E'.  append itab.
    loop at itab.
      format hotspot on.
      write:/ itab-field.
      hide itab-field.
      format hotspot off.
    endloop.
    at line-selection.
      write:/ 'You clicked', itab-field.
    null

Maybe you are looking for

  • Can't delete in app subscription issue

    I want to delete old issues of a magazine i've subscribed in the Newstand. I click on the issue, it shows the 'X' and a click in it. But.. nothing. The issue remains. I have another subscription from the same publisher and it's ok in the deleting pro

  • Regex fails to match, so it reports closest match

    Hi Guru's, I am using the regex API to match 2 lines of a message. If the match fails the 2 lines are reported to the user so they can see what has failed. Unfortunately the lines I am comparing are very long. (1000+ chars) So the user needs an indic

  • Connecting MAC and PC to Airport Express

    We have a MacBook and an HP PC-- Is the AE print server compatible with an HP C3100 printer (didn't see it on the iFelix list)? If so, will the PC be able to see it on the network? Thanks for your help--

  • When i export photos from iphoto to facebook they lose colour and brightness and look rubbish. help!

    when i export photos from iphoto to facebook they lose colour and brightness and look rubbish. help!

  • Errors in the program

    Hi all, Im doing the extension of controller by adding additional functionality of submitting a concurrent program from OAF page. but im getting following errors .pls help Code: package petrofac.oracle.apps.ota.admin.enrollment.webui; import com.sun.