Change display mode

Hello everybody iam having problem when i change a document from display mode to change mode fields are still grey and not maintainable and i have written below code for display mode .please go through this and suggest me necessary modifications for maintaing fields in change mode.
case : sy-TCODE.
    WHEN 'FPE3'.
      loop at screen.
        if screen-name = 'FKKOP-ZFCACHBACKREF'
        OR SCREEN-NAME = 'FKKOP-ZFCACHBACKRSN'
        OR SCREEN-NAME = 'FKKOP-ZFCALASTPRSTAT'.
          screen-input = 0.
          modify screen.
          endif.
        endloop.
     endCASE.

here is the sample code to change the fields from display mode to change mode...
by default those r in display mode and if u uncheck the radio button go to change mode....
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE w_title.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-t05 MODIF ID bla.
PARAMETERS: p_abkrs LIKE pa0001-abkrs.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_c_per RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND
rad.
SELECTION-SCREEN COMMENT 3(20) text-005 MODIF ID bla.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_o_per RADIOBUTTON GROUP rad1.
SELECTION-SCREEN COMMENT 3(20) text-006.
SELECTION-SCREEN POSITION 33 .
PARAMETERS: p_pabrp(2) TYPE n MODIF ID bla,
p_pabrj(4) TYPE n MODIF ID bla.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
INITIALIZATION.
p_pabrp = '10'.
p_pabrj = '2007'.
SELECTION SCREEN EVENTS **
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_c_per = 'X'.
IF screen-group1 = 'BLA'.
screen-input = 0.
MODIFY SCREEN .
ENDIF.
ELSE.
IF screen-group1 = 'BLA'.
screen-input = 1.
MODIFY SCREEN .
ENDIF.
ENDIF.
ENDLOOP.

Similar Messages

  • Collective Entry of Mesurement Documents - Change / Display Mode

    Hi All,
    Is there any T code or table view or program to view / display the Collective entry of measurement documents?
    We use T-code IK34 to make collective entries, but I am not able to find any T codes / menu path for viewing the same in change / display mode.
    Pls. post your suggestions. Thanks in advance.........JK

    Hi Muralidharan
    Sorry, I am afraid not !
    I want to view the data entered in IW34 as it is in display mode.
    This is basically to ensure if all the values have been entered by the person who is entering the data in collective entry sheet.
    Any clues, pls. help.
    Tks and best regards.
    Kannan J

  • IllegalStateException when changing display mode of JFrame

    My application has an information console inside a JFrame. The console is continually updating and repainting.
    I let the user drag this window wherever they want, resize it how they want, etc. I also give them the ability to select one of three display modes:
    - "Decorated Window"
    - "Undecorated Maximized Window"
    - "Undecorated Fullscreen Exclusive Window"
    The toggling between modes normally works well, but occasionally an "IllegalStateException: Buffers have not yet been created" is thrown by (from what I can tell), a component on the console that's trying to be repainted.
    Seems obvious to me that something doesn't like the fact that the JFrame has been disposed for an instant and can't deal with it appropriately. Question is, what the hell can I do about it?
    I believe everything continues fine despite the exception (although I have a hard time reproducing on my system), but still, it's a wart and I'd like to chop it off.
    Here's my code for changing the window mode.
    public void setDisplayMode(Component parent,
             ConsoleDisplayMode newDisplayMode) {
         GraphicsDevice device = this.getGraphicsConfiguration().getDevice();
         int state;
         switch (newDisplayMode) {
         case DisplayAsDecoratedWindow:
             // Add the decorations
             this.dispose();
             this.setUndecorated(false);
             this.setVisible(true);
             device.setFullScreenWindow(null);
             // De-iconify
             state = this.getExtendedState();
             state &= ~JFrame.ICONIFIED;
             this.setExtendedState(state);
             // Minimize
             state = this.getExtendedState();
             state &= ~JFrame.MAXIMIZED_BOTH;
             this.setExtendedState(state);
             break;
         case DisplayAsUndecoratedWindow:
             // Remove the decorations
             this.dispose();
             this.setUndecorated(true);
             this.setVisible(true);
             device.setFullScreenWindow(null);
             // Make sure it is de-iconified
             state = this.getExtendedState();
             state &= ~JFrame.ICONIFIED;
             this.setExtendedState(state);
             // Maximize
             state = this.getExtendedState();
             state |= JFrame.MAXIMIZED_BOTH;
             this.setExtendedState(state);
             break;
         case DisplayFullScreenExclusive:
             if (device.isFullScreenSupported()) {
              int choice = JOptionPane
                   .showConfirmDialog(
                        parent,
                        "Warning:\n\n"
                             + "This mode is meant for users with a multiple-monitor configuration.\n"
                             + "In this mode, the console controls the graphics device exclusively\n"
                             + "and other windows (such as the other TM windows and dialogs) cannot\n"
                             + "be displayed over the console.\n\n"
                             + "If you have a single monitor, use the mode called\n"
                             + "\""
                             + ConsoleDisplayMode.DisplayAsUndecoratedWindow
                                  .toString() + "\".\n\n"
                             + "Continue with this mode?",
                        "Confirm full-screen mode",
                        JOptionPane.YES_NO_OPTION,
                        JOptionPane.WARNING_MESSAGE, ChipIconFactory
                             .getWarningChipIcon());
              if (choice == JOptionPane.YES_OPTION) {
                  this.dispose();
                  this.setUndecorated(true);
                  this.setVisible(true);
                  state = this.getExtendedState();
                  state &= ~JFrame.ICONIFIED;
                  this.setExtendedState(state);
                  device.setFullScreenWindow(this);
             } else {
              JOptionPane
                   .showMessageDialog(
                        null,
                        "Your graphics device does not support full-screen mode",
                        "Unable to display in full-screen mode",
                        JOptionPane.ERROR_MESSAGE, ChipIconFactory
                             .getErrorChipIcon());
             break;
        }

    jneau wrote:
    My application has an information console inside a JFrame. The console is continually updating and repainting.
    The toggling between modes normally works well, but occasionally an "IllegalStateException: Buffers have not yet been created" is thrown by (from what I can tell), a component on the console that's trying to be repainted.Are you certain all your interaction with the GUI happens on the EDT?

  • After Start the Query, change Display Mode. WHERE ??? QD-BI7.0

    Hello Gurus,
    where can I change my Display Mode of the Query. I have 12 rows, but shows me only 4 rows. Then I have to scroll right with a button.
    Where Can I change something like that ?
    Thanks

    Vasanth,
    This is what I'm already doing in the program by setting the edit mode for the column '3_ATWRT'. But I want to switch from edit to display mode and back again. This is not working. Only when I buildup the fieldcatalog this is working?
    Kind regards,
    Richard Meijn

  • Display mode, Zathura.

    This nice article inspired me to use zathura with mupdf. The first big difference I recognized is, that mupdf displays pages continuous, while poppler always displays exactly one page. To read, mupdf is perfect, but I want to prepare a LaTeX beamer presentation. Hence it is not that joyful.
    Does anybody know, if I can change display mode in zahura? Maybe to "Display two pages" as well.
    Greets
    Btw: zathura is awesome!
    Last edited by manuelschneid3r (2013-04-17 10:17:58)

    For presentations you might want to look into slider, too:
    https://bbs.archlinux.org/viewtopic.php?id=147952&p=1

  • How to get the mode (change/display/create/edit) of a CRM WEBUI

    Hi,
    I have a table(custom) in my CRM WBUI ServiceContratc Page. Now I want to hide this table in create mode.
    Could you please let me know, how can I know in which mode I am on WEB UI(Like Create/Change/Display)
    Thanks,
    Aparna

    Hello,
    use below method to check whether view is editable/display mode ...
    me-->view_group_context->is_view_in_display_mode( me ). here "me" refers to the implementation class of view.
    Regards,
    Sandeep Kumar B

  • Change item category Display mode  in sales order (Third Party )

    Hi all,
    I am creating sales order with reference to sales contract but at the time of sales order we don't have enoff stock to deliver to customer , so we have deiced to Third party sales process
    But the problem is while creating a sales order with reference to Sales contract the line item of the sales order in grad Mode ( Not changeable mode )
    Can any one guide me how sales order line item should be in active mode  so i can change the Item category as a TAS third party item category
    Help me regards this
    Thanks
    Rajesh

    Hi all.
    Thanks for response
    I maintain all configuration, But the problem is while creating Sales Order with reference to Contract
    the Sales Order line item in grad Mode i am unable to change item category as TAS
    i mean TAN is on Display Mode
    and we are using Varient config  for that material
    Please guide me where i need to Configure so system should allow me change item category in sales order please guide me
    Thanks
    Rajesh
    Edited by: RAJESH KUMAR on Jun 16, 2009 10:23 PM

  • ME22N : Change PO Line item to Display Mode, After All quantity has GRN

    Hi Experts,
    In ME22N,  PO change mode if the line item has checked with 'Delivery Completed' Indicator in 'Delivery' tab I want to shows that row always in 'Display' mode. Please help me to modify that table control within the exit. I'm using,
    Enhancement : MM06E005
    Exit Name : EXIT_SAPMM06E_012
    Regards,
    Rajasekaran.S

    Hi Raja,
    Think that this is a late reply but might be helpfull to others.
    To make an item in display only mode you will have to create an enhancement implementation in the below method,
    Class --> CL_TABLE_VIEW_MM
    method -->MODIFY_SCREEN_TC_LINE
    in implicit enhancement at the end of this method i code as below.
    data : lv_ekpo type ekpo.
    if <DYN_DATA> is assigned.
    move-corresponding <DYN_DATA> to lv_ekpo.
    if lv_ekpo-XXX is not initial.
    loop at screen.
      screen-input = 0.
      modify screen.
      endloop.
    endif.
    hope this helps.
    If you have a better solution kindly share the same.
    Regards,
    Taher

  • Unable to open the PM order in change and display mode

    Dear All,
    Am facing some issue that am unable to open the Maintenance Order in Change and Display mode.
    Can you provide the solution.

    Hi Thirupathi,
    Can you send us a screenshot or the error message information ?
    If it is due to status missing (SAP note available for the same)
    Regards
    Terence

  • How to Change the Fields from Input mode to display mode

    Hi experts,
    Here is my business requirement. I need to show certain fields in the PRICING TAB OF SALES ORDER  in display mode. Now for this i am using the BADI definition CRM_PRICING_BADI.
       Now, can anybody tell me how to change the field type from input mode to change mode?

    Hi Karan,
      In your BADI has a parameter CT_INPUT_FIELD_NAMES with one field called CHANGEABLE with values:
         Field Can Be Changed
    A     Field Cannot Be Changed
       Assing this values to your fields according with your requirements.
    Regards.
    Manuel

  • How to make a field from display mode to change mode for a perticular tcode

    hi all,
    my client want to change one field which is in display mode of a material doc in mb02.
    Restrictions in some fields  in MIGO needs to be changed.
    Uploading point in case of issue: While editing the MIGO latter,  this field needs to be edited.
    Goods recipient in case of receipt: While editing the MIGO latter,    this field needs to be edited.

    hi thanks for quick replay,
    my requirement is, supose i post a material doc through migo in 101 mtype, in item detail, where tab i have given the good reciepitant and unloading point. but while i want to change that material doc in mb02, i saw unloading point is in change mode, but good reciepitant field is in display mode. my client requirement is to change that field. so for change that field, the field should be in change mode, so thats what i want.
    i have checked in configuration side, but i didnt get any setting, i think we have to customize that standard screen.
    any comments?
    regards,
    susanta
    Edited by: susanta bindhani on Jun 19, 2008 2:18 PM

  • Change settings for external displays: no "mirror displays" mode

    Hello,
    I'm using a 13" MBP with Snow Leopard. I'm using different displays and projectors in different locations. When you plug an external display in, the two displays are first in "mirror displays" mode. First thing I do is to switch this off.
    Is there any way of changing the settings, so that an external display doesn't start in the synchronized mode??
    Thanks in advance.
    Message was edited by: robert170

    only if you plug in this projector again. If you plug in a new projector (which I often do) it allways starts in "mirrored" mode.
    I just found an app which - at least - makes the switching easier:
    http://www.fabiancanas.com/Projects/MirrorDisplays/
    Message was edited by: robert170

  • How to know if an transaction is in display mode or change mode

    Hi,
    I have to set an information message if any transaction is in display mode and an error message if it is in change mode for a particular condition.
    How would I know programmatically that it is in display mode or change mode for a screen?

    >
    Neela M B wrote:
    > Hi,
    >
    > You can use the importing parameter I_ACTIVITY of the method SET_DATA in the BADI. Pass this flag along with the data  and use it to determine the Create/Change or Display Mode.
    >
    >
    > CASE I_ACTIVITY.
    >   WHEN 'H' or 'V'.  " Create or Change
    >     ...
    >   WHEN 'A'.    " Display
    >     ...
    > ENDCASE.
    You sure are a direct collegue and have access to his problem or you are indeed the successor of Uri Geller.
    I never would have guessed he's using SET_DATA in a BADI.
    Test: what am i thinking right now?

  • How to make the Business Area field from Change Mod to Display Mode in AS02

    Hi Gurus,
    I created a Customized T-code   YAS02   for making the Business Area in Display mode with the help of SHD0.
    But my client wants to do the same in standard T-code of AS02 and they don't like to use the customized T-code.
    Kindly advise to make the Business Area from Change Mode to Display Mode in AS02.
    Thanks in advance...
    regs / Devi Aparna

    Hi Devi,
    check the following customization
    asset accounting -> Integration with the General Ledger> Additional Account Assignment Objects-> Activate Account Assignment Objects---
    Regards,
    Ranjith

  • RMAUTH-Different behaviour for Change and display mode

    Dear friends,
    I modified a standard roadmap by copying it and added 1 folder called "X" with normal node and saved.
    When i go for display mode in RMAUTH, I am unable to see that folder.If i go to change mode i am able to see the folder "X".
    Even in RMMAIN I couldnt see it,But if i go to change-->Scope option i could able to see it & has the tick mark in it.
    Plz provide ur valuable solutions.

    Hi,
    You cannot change any of the field you mentioned in infotype 0001.
    You can assign a position using action 0000 through PA40 or by using copy option infotype 0000 in PA30. This will be in edit mode.
    Suggested to use PA40 so that all other relevant infotypes can also be updated accordingly.
    Rest of the components (Objects Job, Cost Center, Org unit etc)  has to be assigned to the respective position in PO13-->Relation ships.
    Note: Take care of the dates.
    Regards,
    Pranitha
    Reward if found Helpful

Maybe you are looking for

  • Can I rotate an .avi in iPhoto?

    I'm transferring over my photos from my PC and I have several video clips that I'm importing with the photos. Most of the time, they don't show up as video, just jpg. A few of them imported sideways and do play. The rotate button at the bottom is gre

  • "mailto" does not appear in options/application

    According to firefox help, you can set Firefox to default to Google Mail by going to Tools/options/applications and selecting Mailto. Mailto is not one of the listed options, however.

  • Contatti iclud con outlook 2007

    come faccio a sicronizzare anche outlook 2007 contatti con iphone? portare tutti i contatti da iphone a otlook e tenerli aggiornati come icloud?

  • Donde puedo comprar el cristal de mi iphone4?

    La pantalla de mi Iphone se rompió, dónde puedo comprarla??

  • Calander Sync

    I am trying to sync my calanders in Outlook 2004 to my iPod and iTunes says that iTunes is unable to sync the calanders in Outlook 2004 to your iPod and it doesn't give me a reason why. I would like to not have to go through and export all my calande