ALV Toolbar on modal dialog screen and toolbar on text edit control

Hello,
I have created one container and producing ALV Grid output on a modal dialog screen. i do not want the ALV Toolbar to appear on this screen. How can I hide it ?
ALso I need to hide some buttons on a Text edit control. How can I hide them ?
Thanks and rgds,
Anand

Hi,
To exclude some Toolbar functions, please do the below
DATA:
lt_toolbar_excl TYPE ui_functions.
  Exclude Some toolbar functions
    APPEND cl_gui_alv_grid=>mc_fc_detail         TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_info           TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_graph          TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_view_crystal   TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_loc_delete_row TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_loc_append_row TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_loc_insert_row TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_loc_copy_row   TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_loc_undo       TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_check          TO lt_toolbar_excl.
    APPEND cl_gui_alv_grid=>mc_fc_refresh        TO lt_toolbar_excl.
And Pass the lt_toolbar_excl to the ALV object
Display
  CALL METHOD go_alv_grid->set_table_for_first_display
    EXPORTING
      is_variant           = ls_variant
      is_layout            = ls_alv_lay
      is_print             = ls_print
      i_save               = 'A'
      it_toolbar_excluding = lt_toolbar_excl
    CHANGING
      it_sort              = lt_sort
      it_outtab            = gt_user[]
      it_fieldcatalog      = lt_alv_cat.
Hope this helps you.
Thanks,
Ruthra

Similar Messages

  • SAVE button doesn't appear in Toolbar of Text Edit Control

    Hai All,
    I need to save the changes made to the text in my Text Edit Control, i know how to handle the Save command but my problem is the SAVE button doesn't appear in the Toolbar of the Text Editor. I have searched through the SDN but in all of those threads they already have the SAVE button and hence only the logic was discussed. But i need the SAVE button to appear in my Text Edit Control. Looking forward  for your helpful answers.
    Thanks in Advance,
    rama

    Hi,
    Check the demo program  SAPSCRIPT_DEMO_NOTE_EDITOR what ever you enter in the editor you get the text using method
    call method note_editor->get_text_as_stream
           importing text = notetab.

  • Module Pool - Error message on a Modal Dialog screen with input

    Hello All,
    I have a modal dialog screen which is called on F4 help of a input field. This dialog screen has radio buttons on it to select. On selection, we check if the user is authorized to that option. If not, raise and error message with command MESSAGE msgid.....
    When the error message pops-up and when clicked ok on it, the radio buttons on the modal dialog screen gets disabled. I want to have the modal dialog box to be able to accept the new radio button as input.
    Can anyone please suggest.
    Thanks,
    Smita

    Put all of your Radio buttons in the CHAIN ... ENDCHAIN with one module.
    CHAIN.
        FIELD rb1.
        FIELD rb2.
        FIELD rb3.
        MODULE check_chain ON CHAIN-REQUEST.   "<< implement logic in check_Chain
      ENDCHAIN.
    If you want, you can even disable the options before displaying the screen. Do all necessary checks in the PBO and based on that disable the options.
    Regards,
    Naimesh Patel

  • BDC for Modal dialog screen

    Hello,
      I'm creating a bdc for create customer transaction (FD01). The problem I'm currently having is on maintaining the "other communication" details for the customer. The requirement I have is to maintain only the communication type "URI". But I can't find the correct program and screen number for this modal dialog. anyone have an idea?
    Thanks?
    MP

    Hi, thanks for all the reply. However, everything has been tried. The modal screen dialog I was refering at does not contain any program or screen details when I use F1. This screen does not appear in SHDB when doing the recording. SAPLSLVC_FULLSCREEN/0700 is not the screen I'm refering at.
    When you click on the "Other Communication", there will appear the screen I'm refering at having the list of all other communication type you need to maintain (Fax, Telephone, E-mail, URI). This screen is somehow similar the way serach help functions. I'm basically concern on URI. So what I need to do is place the cursor on URI and click on the check button or double cliking URI is ok. This is the part missing on my bdc, choosing the URI in the modal dialog screen. Upon debugging, it seems that a Function is responsible in displaying the screen.Any idea?
    Message was edited by: Marlon Pita

  • The accursed little dark gray ball with white in the center and white arrows, either two or four, which seize control of the screen and move the text or pictures up, down, left, right and can be stopped only by finding the ball and clicking it. I want to

    The accursed little dark gray ball with white in the center and white arrows, either two or four, which seize control of the screen and move the text or pictures up, down, left, right and can be stopped only by finding the ball and clicking it. I want to stop the thing permanently. Firefox 3.6 and 3.64
    == This happened ==
    Every time Firefox opened
    == with 3.60

    The accursed little dark gray ball with white in the center and white arrows, either two or four, which seize control of the screen and move the text or pictures up, down, left, right and can be stopped only by finding the ball and clicking it. I want to stop the thing permanently. Firefox 3.6 and 3.64
    == This happened ==
    Every time Firefox opened
    == with 3.60

  • Query variable entry - want modal dialog screen instead of full scr

    hi
    Is there a way to show query variable input screen as a dialog modal window rather than the default full screen mode?
    thanks.
    Message was edited by:
            BWer

    yeah do a restriction and in the restriction screen fill in the variable to be restricted on and save and run query and this dialog screen will pop up

  • Why do I get a full screen window of the "Text Edits" tool...?

    I got Acrobat 8 and when I mark some text with the Text Edits tool and afterwards types som replacements, I just get one big pop-up box filling the whole screen instead of the normal sized in the left margin as usual. And I am not able to see what I'am typing since this kinda lies outside the screen picture. Is this a matter of settings - or a bug, or anyone else tried the same?
    Memebers of my work group use the same version with the same updates without problems.

    If you can't boot in the usual way, try a safe boot. During startup, you’ll see a progress bar, and then the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. If you have more than one user account, you must be logged in as an administrator to carry out these instructions. Safe mode is slower than normal, and some things won’t work at all. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the startup volume is on a software RAID, you can’t boot in safe mode. If you're able to boot, launch the Console application in any of the following ways: ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. ☞ Open LaunchPad. Click Utilities, then Console in the icon grid. Select the most recent panic log under the heading System Diagnostic Reports on the left. If you don't see that heading, select   View ▹ Show Log List   from the menu bar. Post the entire contents of the panic report — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • HT2523 My screen is frozen in text edit ( the swirling  lollipop) how do I close the screen or exit

    While using text edit my screen froze, now I have the spinning beach ball, or spinning lollipop, but I cannot close the text edit screen.  I was transferring data from a web sit when this occurred perhaps too much data???  made this happen not sure but I resorted to using Pages which I am not familiar with at all. Any instructions and explanation would be appreciated. Thank you.

    I don't need the points, but for future reference, if someone here helps with/solves your problem, it is nice to indicate they did that.  You indicated you solved your own problem 
    Barry

  • Controlling position of + and – when adding text size controls

    Dear gurus,
    I am trying to sort my text size controls (+ and –) and
    have managed to get them to resize but I can't get them to sit
    together. At the moment, visually it says
    Resize text then there is a big gap and there's the minus
    (–) then the plus (+) is pushed over onto the next line. I've
    tried my best but I simply don't have the knowledge to fix the
    problem.
    I have attached the code, see below (it may be full of
    mistakes so, don't laugh).
    Can you help and have I given you enough info?
    Thanks,
    Mark

    @dkg62 – to make clear what's going on, select the text frame and show us another screenshot.
    There are at least four cases where you can get a text like that. All cases imply, that the font you'd like to use is missing. I simulated this by formatting text with a font weight that is not available by a character style.
    1. The most likely case: There is baseline shift applied; here in my case 9pt.
    All other cases are academical, because the pink highlighting is aligned with the text:
    2. Text frame options, baseline set to a fixed value (zero in this case)
    3. Text on path and the text frame options (baseline) is just the standard default. You can see a second #-end of story sign inside the text frame.
    4. Text on path and the text frame options (baseline) is set to fixed (zero in this case). The second #-sign inside the text frame is shifted above because of the fixed value of the baseline option of the text frame options. And obscured by the pink highlighting.
    Uwe

  • Dialog Screen and WRITE.

    Hi,
    I have create an ABAP program.. which CALL SCREEN 100. This screen 100 is design using Graphical Screen Painter. I have create an push button on it. When the button is press, I try to do some logic behind and want to do a WRITE statement but somehow.. the screen never print out the WRITE statement. Is there anyway to do it?
    Regards,
    Rayden

    Hi,
    WRITE statement wont work on screen painter.
    Create a LABEL i.e. a TEXT FIELD and assign a name to it say 'RESULT' in Screen Layout.
    Acitvate the screen.
    In the PAI, when Push button is pressed
    CASE l_OKCODE.
    WHEN 'HIT'.
    v_flag = 'X'.
    ENDCASE.
    In the PBO, when Push button is pressed.
    IF V_FLAG = 'X'.
    LOOP AT SCREEN.
    if SCREEN-NAME = 'RESULT'.
    RESULT = 'Hit button pressed'.
    ENDIF.
    ENDLOOP.
    else.
    clear RESULT.
    endif.

  • When I try to edit an event in my Icloud calander it keeps going off the screen and I can't edit it

    How do I stop this from happening?? I can't edit my events as I can't access the screen as it's off the screen. HELP! It's driving me crazy!

    Can you post a screenshot?
    http://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem

  • Converting .docx files to .eps and keeping the text editable (not outlines)?

    I'm trying to batch convert a number of .docx files that each contain figures that have been created in Word (boxes, lines etc) in Acrobat 9 Pro to .eps.
    I can create an .eps, using the document processing (batch processing) route, but when I open the files in Illustrator CS5 all of the editable text in the document has been converted to outlines. Ideally, I want to keep the text in the figure editable (and to create a slightly smaller file size)
    I have checked the convert from PDF settings for Encapsulated PostScript and it shows 'Convert Text to Outlines' as false, the transparency settings have also been setup not to convert to outlines), can anyone help?

    My thinking behind doing it via Acrobat 9 Pro was that I could take say 20 .docx files and via the document process function automatically convert them straight to .eps without having to make the PDF first. I also find using this route that I have an .eps that is already cropped to the four edges of the images (with no hidden characters making the image frame larger than the actual four edges of the figure).
    When I import a PDF into Illustrator, I find that I'm getting the end of paragraph (hidden) markers from Word appearing (normally at the end of the image in Word, and some also appear before the figure where the author has hit return a few times). I then have to manually remove them so that the artboard fits to the four edges of the image. I guess I'm just trying to save a little time without having to go back into 20+ files and tidy them up by removing this character.

  • Dialog Screen - Invalid field format (screen error)

    Dear all,
      I have developed a modal dialog screen and succesfully invoked it with CALL SCREEN command in the main screen.  Unfortunately, it always returns "Invalid field format (screen error)" when clicking on the dialog's GUI control such as button or radio button.  Anyone encountered this before??
    Regards,
    KK

    Hi KK,
    Just make sure that the fields take on the screen are also declared in the top module of your program.
    And also match their data-types and size i.e., declared in top module and on the screen in their respective attributes.
    Hope this solves your problem.
    Thanks & Regards,
    Tarun Gambhir

  • Calling Selection Screen in Modal dialog box

    Hi Experts.
    I have created screen 9000 having user interface and in tool bar there is create button in the screen 9000
    The create button 9001 will call another screen with different I/O fields (9001 is Modal dialog screen).
    In the 9001 there is push button for which the selection screen is called 9002.
    I have declared 9002 as subscreen and called the screen 9002 in user command.
    In the Screen 9001 when user clicks the push button i need to get pop up screen where the user select some data.
    How i need to do ?
    I am getting error can't call subscreen in modal dialog box.
    Thanks,
    ERPSAP

    HI,
    HOpe this will help you
    How to call table control in subscreen in module pool program
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/reg-tab-strip-control-module-pool-abap-444944
    http://12go.com/sap/search?query=title%3A(calling%20subscreens%20in%20module%20pool)
    Regards,
    Pravin

  • Screen sequence processing when using modal dialog box

    I have been struggling with a dialog program which I have written.  I have a screen which has 2 radiobuttons and a check box (screen 100).  If the checkbox is marked, a modal dialog screen pops up (screen  150).  If I complete both input fields on  screen 150, I can go through to screen 200, then back out of screen 200 to screen 100, and then I can back out 100 to screen 0.
    The problem I have is the validation I have put in screen 150 if one or both input fields have no values or if I want to exit screen 150.  If I exit screen 150, in order to get back to screen 100 in the main screen I need to do CALL SCREEN 100 as if I use SET SCREEN 100, 100 then appears in my modal dialog box screen.
    If I try to back out of screen 100 to screen 0, the program then brings up screen 150 in the PAI part of the module and then go to screen 0 when I close screen 150 even though I have coded SET SCREEN 0. LEAVE SCREEN. in the user command module of screen 100.  Here is my code:
    <u><b>screen 100</b></u>
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
    PROCESS AFTER INPUT.
      MODULE user_command_0100.
    <b>
    <u>Modules for 100</u></b>
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'ZL_PWB_GR1'.
      SET TITLEBAR  'ZL_PWB_GR1'.
      CLEAR: w_hse_stock, w_new_product, wa_sto, w_reverse,
             mara-matnr,  mkpf-mblnr.
      PERFORM release_lock.
      REFRESH CONTROL 'TC_GR' FROM SCREEN 0200.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT .
      CASE ok_code.
        WHEN 'ENTER'.
          IF w_reverse = space.
            CALL SCREEN 0200.
          ELSE.
            CALL SCREEN 0150 STARTING AT 30 2
                             ENDING AT   75 5.
          ENDIF.
        WHEN 'BACK' OR 'EXIT' OR 'CANC'.
          w_pai = c_yes.
          SET SCREEN 0.
          LEAVE SCREEN.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    <u><b>screen 150</b></u>
    PROCESS BEFORE OUTPUT.
      MODULE status_0150.
    PROCESS AFTER INPUT.
      MODULE exit_command_0150 AT EXIT-COMMAND.
      FIELD  mara-matnr MODULE check_matnr.
      FIELD  mkpf-mblnr MODULE check_art_doc.
    <u><b>Modules for 150</b></u>
      MODULE user_command_0150.
    *&      Module  STATUS_0150  OUTPUT
    *       text
    MODULE status_0150 OUTPUT.
      SET PF-STATUS 'GR_REV'.
      SET TITLEBAR 'GR_REV'.
    ENDMODULE.                 " STATUS_0150  OUTPUT
    *&      Module  exit_COMMAND_0150  INPUT
    *       text
    MODULE exit_command_0150 INPUT.
      IF sy-ucomm = 'EXIT'.
        CALL SCREEN 100.
      ENDIF.
    ENDMODULE.                 " exit_COMMAND_0150  INPUT
    *&      Module  check_matnr  INPUT
    *  Check if issues has been filled and if issue is a valid article no.
    MODULE check_matnr INPUT.
      DATA: l_matnr TYPE matnr.
      IF mara-matnr IS INITIAL.
        MESSAGE i010(ad) WITH 'Issue no. required'.
        EXIT.
      ELSE.
        SELECT SINGLE matnr FROM mara INTO l_matnr
         WHERE matnr = mara-matnr.
        IF sy-subrc NE 0.
          CLEAR l_matnr.
          MESSAGE i010(ad) WITH 'Issue does not exist'.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " check_matnr  INPUT
    *&      Module  check_art_doc  INPUT
    *       text
    MODULE check_art_doc INPUT.
      IF mkpf-mblnr IS INITIAL.
        MESSAGE i010(ad) WITH 'Article document no. required'.
        EXIT.
      ELSE.
        PERFORM get_art_doc USING mara-matnr
                                  mkpf-mblnr.
        IF sy-subrc NE 0.
          MESSAGE i010(ad) WITH 'No article document exists for this issue'.
        ENDIF.
      ENDIF.
    ENDMODULE.                 " check_art_doc  INPUT
    *&      Module  USER_COMMAND_0150  INPUT
    *       text
    MODULE user_command_0150 INPUT.
      CASE sy-ucomm.
        WHEN 'ENTE'.
          IF mara-matnr NE space AND mkpf-mblnr NE space.
            CALL SCREEN 200.
          ELSE.
    *        MESSAGE i010(ad) WITH 'Please fill in both fields'.
            SET SCREEN 150.
          ENDIF.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0150  INPUT
    Any suggestions or pointers would be greatly appreciated as I am going round in circles.
    Thanks
    Larissa

    Have got around this by removing the references to SET SCREEN 150.  This way, I can get around the screen sequencing.  It just means that I cannot keep my screen 150 in view if a validation message occurs but for now it will do for what I need.
    Thank you for your help anyway.
    Larissa

Maybe you are looking for

  • PCI-6220 Analog output to Biometrics DataLOG?

    Hello all, I am trying to send an analog signal to our Biometrics DataLOG device.  Currently, I have the PCI-6220 card installed and am running the signals through a BNC-2111 DAQ.  I am getting no output from our card through our DAQ, any suggestions

  • No rootpre.sh file found in Oracle 11g r1 download for AIX

    I downloaded the 11.1.0.6.0 version of Oracle 11g from the website and unzipped it with the unzip_aix on a Power7 system. The files were unzipped into a directory called database. I could not find the rootpre.sh script anywhere. What am I missing? Th

  • How create bath file in run time in java

    Hi all i run one bath file by using process class but i create bath file in run time in java .please help me with code.

  • Getting the first row from a ResultSet??

    I have a query that returns a set of values but am interested only in the first value.How can I get that. I tried to use getArray method but that gives a "java.sql.SQLException: Exhausted Resultset". Any suggestions??

  • Stop the boot screen clearing

    So, I switch on my desktop and watch the daemon name fly up the screen.  Then I notice that some of them are failing with a nice error message to help me.  Problem is they go so fast, and then the screen gets cleared for the login prompt, that I have