Screen in display mode

I have crated a screen my screen should be in display (non-edit) mode .My screen contains two blocks for each block i need to give  a tile also something like this block1 and block2 .can one help in this issue?
Thanks,

If you are using a dynpro, you can assign text to the box frame title dynamically at runtime.  Here is a sample program to show you.
* This program demonstrates how to dynamically add text to
* a box/frame at runtime.
report zrich_0005 .
<b>**  Make sure that the box/frame is set as OUTPUT and the name
**  of the box/frame is BOX_NAME.</b>
parameters: p1 radiobutton group grp1 default 'X',
            p2 radiobutton group grp1.
<b>
* Enter this field name into your BOX field name on the screen
data: box_name(30) type c.</b>
data: ok_code type sy-ucomm.
start-of-selection.
  call screen 100.
*&      Module  STATUS_0100  OUTPUT
*       text
module status_0100 output.
  set pf-status '0100'.
*  SET TITLEBAR 'xxx'.
<b>* Just fill the text in the PBO
  if p1 = 'X'.
    box_name = 'P1 was pressed'.
  elseif p2 = 'X'.
    box_name = 'P2 was pressed'.
  endif.</b>
endmodule.                 " STATUS_0100  OUTPUT
*&      Module  USER_COMMAND_0100  INPUT
*       text
module user_command_0100 input.
  case ok_code.
    when 'BACK'.
      set screen 0.
      leave screen.
  endcase.
endmodule.                 " USER_COMMAND_0100  INPUT
Regards,
Rich Heilman

Similar Messages

  • Can we get OKET screen in display mode ..

    Hi all
    I am working on OKET - Maintain settings for price Calculation 
    and need to get this screen  in display mode ..
    can anybody please help me or provide me transaction code where i will get this screen in display mode .
    is Display settings for price calculation is available ?? if yes please share the path or T.Code
    thanks in advance
    Sachin

    Dear Sachin
    OKET is not available in display mode.
    br, Guido

  • Call Same screen in display Mode

    Hi all ,
    I have designed a screen with Inputfields as UI elements.
    On a button click , i need to display the same screen in DISPLAY mode .
    Is there any solution other than making a copy of the same screen ?
    Thanks
    Supriya

    Hi supriya,
    Create Transparent Container or Tray to place all your input fields.
    Create one attribute of type  WDY_BOOLEAN and bind it to enable property of your TC or Tray.
    On action of button click enable that property using set_attribute.
        get single attribute
          lo_el_context->set_attribute(
            EXPORTING
              name =  `ENABLED` // your attribute
                value = ABAP_FALSE ).
    Cheers,
    Kris.

  • Opening a selection screen in display mode

    I have an ALV grid created in OOPS. Each line of this ALV has name of a report and its variant name. Here I have created a button on toolbar. When a user selects a line and clicks this button, selection screen of the selected report is to be opened in display mode with selection screen filled as per its variant. Both the report name and varaint name will be same as the selected line. I am able to open the selection with varaint filled, but it comes in editable mode. How do I make it non-editable mode?

    Hi,
    For making your selection screen non editable you will have to disable them for input.
    For this you will have to modify the screen structure.
    try this:
    loop at screen
    if screen-fieldname = 'XYZ'.
    screen-input = '0'.
    endif.
    modify screen.
    endloop.
    You can write this code at selection screen of the program which calls this selection screen.
    Call this code under a condition, so that it get triggeres only when you call this screen form the ALV.

  • Copa Report selection screen in display mode

    Dear Friends:
    In COPA Report, we have sales group,Fiscal year and Currency type in our selection screen,sales group should be in display mode i.e. the user
    must not be able to change the sales group.
    How to reslove the problem.Please advise.
    Thanks&Regards
    MSReddy

    Hello
    Create some authourization checks for the user. Try to check with BASIS team.
    Also check if you can default entries for a particular user.
    reg

  • Selection screen in display mode

    Hi all,
    I have a selection screen with 2 radio buttons & 2 text boxes. If I click the first radio button, the 2nd text box shud be in display mode & if I click the 2nd radio button, the 1st text box shud be in display mode.
    How to do it?
    Thanks in advance.
    SELECTION-SCREEN BEGIN OF BLOCK MODE WITH FRAME TITLE title.
    parameters : s_pr radiobutton group g1,
                 s_po radiobutton group g1.
    select-options : s_prnum for eban-banfn.
    select-options : s_ponum for eban-ebeln.
    SELECTION-SCREEN END OF BLOCK MODE.
    Pls look into the code above.
    G.Vijay

    Hi vijaykumar,
    1. simple.
    2. your code only,
       just copy paste.
    3. It will work as u require.
    4.
    report abc.
    TABLES : EBAN.
    SELECTION-SCREEN BEGIN OF BLOCK MODE WITH FRAME TITLE title.
    parameters : s_pr radiobutton group g1 <b>USER-COMMAND RAD DEFAULT 'X'</b>,
    s_po radiobutton group g1.
    select-options : s_prnum for eban-banfn <b>MODIF ID M1</b>.
    select-options : s_ponum for eban-ebeln <b>MODIF ID M2</b>.
    SELECTION-SCREEN END OF BLOCK MODE.
    <b>at selection-screen output.</b>
      LOOP AT SCREEN.
        IF S_PR = 'X' AND SCREEN-GROUP1 = 'M2'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
        ENDIF.
          IF S_PO = 'X' AND SCREEN-GROUP1 = 'M1'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    regards,
    amit m.

  • Default value in selection screen in display mode

    Hai Friends,
    In my selection screen i have a parameter PA_LEVEL, this should have a default value as 10 but it should not be in the change mode. i want that to be in the display mode as in FAGLL03 ( Ledger value ).
    how can i do this.
    Moderator message - Please do not ask such basic questions. This can easily be answered by searching the forum.
    Edited by: Rob Burbank on Apr 16, 2009 12:18 PM

    Hi,
    Use LOOP AT SCREEN...ENDLOOP. in the AT SELECTION-SCREEN OUPTUT event to disable the input field.
    LOOP AT SCREEN.
    IF screen-name CS 'FIELDNAME'.
    screen-input = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.

  • Save button in PO screen in display mode

    Hi Friends,
    I am creating purchase order with reference to purchase requisition. In purchase order screen all data has pull-up  but save button is in display mode, i can not save purchase order. I have gone through to spro purchase requisition/ order document type. I could not understand how to fix this problem, please the detail reply.
    Thanks
    Sunny

    Hi
    click on check icon and check the message what message you get from system
    Regards
    Kailas Ugale
    Edited by: kailasugale on Jun 8, 2011 9:54 AM

  • How to display the error message on screen in display mode

    Hi all,
    How to display error message as as status message on the screen(module pool).
    The requirement is if I call the screen, it should get with the error message in the status bar. If I write with error message 'E' error mesage information displays and when I click on exit, it lives the current transaction.
    Thank you!
    Prasad

    Hi,
    Try as below.
    MESSAGE IXXX DISPLAY LIKE 'E'.
    LEAVE TO SCREEN XXXX.
    After displaying the information message like E, leave to the screen you want to navigate or can also navigate to the transaction required.
    Regards,
    Nangunoori.

  • Select-option or parameter with display mode

    hai experts,
    i need to give select-option or parameter with display mode in selection-screen.
    my requirement is.......
    to give last print out time in selection screen with display mode mean user cant able to change the time......
    reward avail for hope ful answer.....
    thanks in advance...
    regards,
    jai.m

    Hi jaya,
    write the following code.
    parameters: p1 type c.
    initialization.
    p1 = 'c'.
    at  selection-screeen output.
    loop at screen.
           if screen-name = 'P1'.
              screen-input = '0'.
              modify screen.
           endif.
    endloop.
    regards,
    Santosh Thorat

  • Display Mode - Module Pool

    Hi Friends,
    Need help in Module Pool,
    when button click want to display screen in Display Mode only.....

    Hi Sharavan,
    I hope you want to achieve the Toggle Display Functionality. To achieve this you have perform this following steps:
    1. Define the names Properly for each of the individual Screen Elements. Like for Button you can do BTN_01.. etc etc...
    2. In the PBO Module define a Module like MODULE screen_settings. In this you will run the following code:
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'BTN_01'.
            SCREEN-INPUT = 0.
            MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    For a group of BTNs or Text Elements you can form a GROUP and can Enable and Disable all at once.
    3. The Next step is the handling of the Table Control.In the PBO event there you will have the LOOPing the Table control.
    There inside the loop place a Module and enable and disable each and individual rows.
    You must keep a central Instance from where you can check whether you want the screen elements in DISPLAY/CHANGE mode.
    Hope this will help.
    Thanks,
    Samantak.

  • TS3775 Hi I am trying to connect my mba mid 2011 with an imac 27" 2011 with target display mode tdm. When I am using a thunderbolt cable nothing will work. When I use a minidisplay cable, both screens turn blue but eventually nothing happens. What is the

    Hi I am trying to connect my mba mid 2011 with an imac 27" 2011 with target display mode tdm. When I am using a thunderbolt cable nothing will work. When I use a minidisplay cable, both screens turn blue but eventually nothing happens. What is the problem

    Your answer is likely in Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support If you are familiar with this document, please re-read it and I suspect you may find something you either missed or are doing incorrectly.

  • Target Display Mode: Lenovo T420 DisplayPort to iMac (2nd screen) does not work

    Configuration:
    - Laptop Lenovo T420, DisplayPort, Windows 8.1
    - DisplayPort cable, Adapter to Mini DisplayPort
    - iMac (Intel, 27-inch, Mid 2011) as 2nd screen, connected via Mini DisplayPort Adapter, Mavericks OSX 10.9.1
    Problem:
    - iMac does not start Target Display Mode
    - Even cannot be forced via Cmd + F2 or Cmd - Shift - F2
    Test:
    - Lenovo via DisplayPort cable to 2nd screen works fine
    - Can switch between PC only, Duplicate, Extend display
    Question:
    - What is wrong?
    - What can be done to idenify the root cause?
    Kind regards, Marcel.

    Hello Marcel,
    It sounds like you are wanting to use the iMac in Target Display mode with your PC. Target Display mode is a feature that is supported from one Mac to another Mac according to this article:
    OS X Mavericks: Use another Mac as a display
    http://support.apple.com/kb/PH14264
    Target Display Mode lets you use a Mac as the external display for another, “primary” Mac.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Fields not greyed out in display mode in screen exit

    Hi all,
    i am working on an screen exit for CJ02 transaction. the values in the customer subscreen are getting updated in database and even it is reflecting in fields when viewed again. the problem is that in display mode (CJ03) the fields are still editable. though there is no save button, but the fields should be greyed out.
    i have tried to modify screen using LOOP AT SCREEN in the function exit provided in PBO.....but it is not picking the subscreen.
    please provide any solution as soon as possible.
    thanks in advance

    In the PBO in your screen exit:
    IF sy-tcode EQ 'CJ03'.
    LOOP AT SCREEN .
    if screen-name 'your field'
    screen-input = 0.
    screen-output = 1.
    MODIFY SCREEN.
    ENDIF.
    endif.
    what enhancement are you using?
    bye

  • After target display mode, iPhoto reports an error, "The current screen resolution is not optimal for iPhoto."

    I have the 27-inch (late 2009) iMac with mini-Display port input. Whenever I return from Target Display Mode, I get the attached error message and iPhoto becomes unresponsive (the window is still active, but clicking on it produces the error/warning system sound), I have to Force Quit it. The current screen resolution is not optimal for iPhoto (sometimes the error message is a little off the screen in the lower left and only the top of the window can be seen. This also seems to affect iTunes at the same time (by resizing the window to be super small), but without the error message or unresponsiveness.
    Has anyone else gotten this problem, and or might know of a fix?

    Yes, I have the same problem.  I have checked the resolution in Sysyem Preferences - display and it is properly set to the highest resolution (which is recommended).  I have no idea why this is ocurring but it is annoying.

Maybe you are looking for

  • How do I get song on iPod back onto iTunes?

    Hi. I recently bought a new laptop (new Toshiba for slightly less new Toshiba); I followed the iTunes help instructions to use the iPod as an external harddrive and copied the music/podcasts from the iTunes on my old computer onto the iPod (classic,

  • Open item mgnt not checked earlier

    Hi! Can we change the setting of a gl after the document are posted. Earlier the open item mgnt was not checked. I have passed the JV's and the balance is Zero. But the system shows an error as "Open items exit" even the acount balances is zero. Ans

  • .itl extension added to iTunes Library file

    Until the 10.4 (80) update, there was no .itl extension on the iTunes Library file. I know this, because i have 9 different iTunes Libraries spread over 4 different external hard drives. I have created Automator "workflows" to switch from one Library

  • For Macbook pro Retina and Macbook Air Users Please Help

    Hi i Want Ask Macbook pro Retina and Macbook Air Users how use this macs both ( Only how use  both ) we sit many hours on laptop that will hurt our eyes what the macbook less strain on eyes what the best macbook screen not hurt our eyes sorry my engl

  • Mail app crashes to home screen

    On several occasions while trying to select multiple email messages to delete, the mail app has crashed to the desktop. Has anyone else had this problem? It seems to have only started since the 4.3 update. Restoring the iPad didn't fix it. Tim