CUF in display only mode ?

Hi,
Is it possible to have a CUF in display only mode ?
In BBP_CUF_BADI_2  method modify screen ?
If yes : how ?
Kind regards,
Yann

Hi Yann,
Sorry for the missunderstood.
I 'd a look on the standard call to the BADI.
The table ET_FIELDS is populated by default  with input = display = 'X' before the BADI call.
So be carefull to <u>modify</u> existing entries in table ET_FIELDS, and not to <u>insert</u> additional entries in this table.
Your code should be something like:
LOOP AT ET_FIELDS into wa_fields.
ELSEIF wa_fields-fieldname = 'ZREFEDI'.
wa_fields-xdisplay = 'X'.
wa_fields-xinput = ''.
endif.
MODIFY ET_FIELDS form wa_fields index sy-....
ENDLOOP.
try it and tell me.
vadim

Similar Messages

  • Disable a group of check boxes when we open a page in the display only mode

    Hi all,
           I need help in making a group of checkboxes display only when i open it in the display mode. I have made the following coding for it,butits not working.Can you help.
    MODULE disable_indicator OUTPUT.
      IF action_type = display_only.
        LOOP AT SCREEN.
          IF screen-name = INDICATOR_SET_OVERDUE_ITEM'.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
        ELSE.
          LOOP AT SCREEN.
          IF screen-name = 'INDICATOR_SET_OVERDUE_ITEM'.
            screen-input = 1.
            MODIFY SCREEN.
           RETURN.
          ENDIF.
          ENDLOOP.
      ENDIF.
    ENDMODULE.                 "

    Hi  Kushaal Choudri,
    Chek out in Debug mode if first IF condition is triggering or not ?? Also assign Screen Group if u want to disable multiple fileds at a time and use it in IF condition...
    MODULE DISABLE_INDICATOR OUTPUT.
      IF ACTION_TYPE = 'DISPLAY_ONLY'. ==> Put it between Single Quote and check the CASE as it's case sensitive...
        LOOP AT SCREEN.
          IF SCREEN-NAME = 'INDICATOR_SET_OVERDUE_ITEM'.
            SCREEN-INPUT = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF SCREEN-NAME = 'INDICATOR_SET_OVERDUE_ITEM'.
            SCREEN-INPUT = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDMODULE.                    "disable_indicator OUTPUT
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • Need to get display only mode in ess

    Hello experts,
    What settings should I use so that on the ESS Personal Profile the users get a display only profile with a details button on the right as shown in the image. Currently the details only show up when somebody is maintaining the PERNR from the ECC system. Speedy help would be greatly appreciated.

    I have maintained the table V_T588MFPROPC as you told, earlier this table was empty.
    GBDAT is filed name for Date of Birth.
    So I found out GBDAT in standard table V_T588MFPROPS and maintained our earlier table exactly like that. In my case country grouping is 99.
    But after maintaining, there is no options to check as read only.
    There are some checkbox which is not in english.
    Please check the attachments and tell me what to do.

  • SM13 in "display only " mode

    Hello,
    Is it possible to restrict tcode SM13 to provide display only access ?
    If so, how can this be achieved?
    Thank you for your response.

    Hi
    I do not think, as already mentioned, that you can meet your requirement, only through the standard authorization checks.
    What you maybe can do, it to create a transaction variant through transaction SHD0. In here you are able to disable function keys, menus.
    When you have created this variant, you can create a transaction code for it in SE93.
    --  But please notice that access to this new transaction also requires access to SM13.
    So what you need to do is to create to transaction variant as a display only variant that you activate as the default variant in for SM13, and a new one without any deactivation of functionality that you assign to a new transaction code created in se93.
    --  Not an easy straight forward way of acheiving your requirement but it can do the trick  -  and please remember that the assignment of default transaction variant to transaction code needs to be performed in all clients/systems, as this is not ordinary customising
    Regards
    Morten Nielsen.

  • How to restrict transaction PE03 (HR: Features)  to display only mode?

    We have a situation where a set of users need access to transaction PE03 to display HR Features. However they should not be changing any feature through it.
    The only auth objects that are checked for this transaction seem to be s_tcode and p_tcode. As both this objects are checked during transaction start, there does not seem to be any check for display/change access.
    Appreciate any inputs.....Thanks!

    > I was wondering if we could find an appropriate user exit and put in some custom code for checking the display/change access of the user. However, I am yet to find an exit to do this.
    Just had a quick glance at the program and couldn't find anything fast either... that could say more about my abap reading skills than the program structure
    I suggest you have an abaper look at it to see if it's easier to build a read-only copy of PE03 or create a report that delivers the same information. To find out if any user exit is available you could also give the HR forum a go.
    Jurjen

  • Running nested scripts in "Display only mode"

    Hi,
    I have a deployment script that calls scripts nested. Is it possible to run these having e.g echo set on in order to display everything being executed, without actually executing it against the database?
    Hope my question makes sense
    Regards
    Peter

    What you could try is to disconnect before running them, then each statement will failed with "Not connected"
    disconnect
    set echo on
    @c:/download/utlsampl
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.8.0 - Production
    SQL> set echo on
    SQL> @c:/download/utlsampl
    SQL> DROP TABLE LSC_EMP CASCADE CONSTRAINTS;
    SP2-0640: Not connected
    SQL> DROP TABLE LSC_DEPT CASCADE CONSTRAINTS;
    SP2-0640: Not connected
    SQL>
    SQL> CREATE TABLE LSC_DEPT
      2  (
      3     DEPTNO INTEGER constraint DEPTNO_NOT_NULL NOT NULL,
      4     DNAME  VARCHAR(14),
      5     LOC    VARCHAR(13)
      6  );
    SP2-0640: Not connected
    SQL>
    SQL> alter table LSC_DEPT add constraint DEPT_PRIMARY_KEY primary key (DEPTNO);
    SP2-0640: Not connectedHTH
    Laurent

  • How to set Display Only for some records in CAT2 Worklist

    Hi,
    I have a requirement to modify an attributes for some records in the Worklist of CAT2.
    We have an external system where we book our time. Weekly we import data from that external system into CATSDB using BAPI for every single employee.
    We would like when the user wants to modify his time sheet to be able to add/modify all records except those which were imported from the external system. Which means that those records should be in Display only mode / grayed out / before release.
    Is there any user exit or BADI that could help to modify that attribute and that will be triggered before displaying the Worklist ?
    Please advise !
    Thanks,
    Stefan

    I've solved the problem.
    First I've added customer field in CI_CATSDB structure and when I am importing the data I am populating that field with 'X', which means that this is record from the external application.
    I've created enhancement implementation in Function group->CATS, screen->2003 MODULE->D2000_MODIFY_LOOP, subroutine->modify_d2000_loop where I am checking the field mentioned above if it is 'X' I am modifying the screnn-output = off.
    It works, thak you for your help.
    Regards,
    Stefan

  • How to display the "display values" in READ Only mode for a SHUTTLE

    Hi,
    I have a form item of type *'Shuttle'* and using the following LOV.
       select DEPTNAME d, DEPTNO r
        from  DEPTIn normal mode..it displays the department name and internally store the Deptno..
    Now I converted this item to Read Only mode using Read Only Condition Type
    the problem is as soon as it becomes read only...it displays the deptno....not the department name
                Department-   10:20:30How can I display the "display values" i.e the actual department name in read only mode..
                Department-   Department1:Department2:Department3Thanks,
    Deepak

    Hi,
    It seems feature. Shuttle is span tag when it is read only.
    Work around could be that
    you compute display as text item with LOV display value according shuttle session state and show shuttle and this item conditionally depend case
    Br, JAri

  • Instance in READ ONLY mode - DISPLAY mode

    Dear,
    we dismissed and OLD SAP environment (4.6C), but due to the Italian law, we have to maintain it alive for 5 years more.
    I would like to set it in "READ ONLY" mode.
    Users could login in this OLD R/3 but, without changing their profiles, system must be set in DISPLAY mode.
    Does anybody know a Tips & Tricks to put it in place?
    Thanks
    Andrea

    You should change the users authorizations so that they cannot perform any changes to the system. Usually in cases like this only a limited number of users require access to the system so it shouldn't be too difficult to setup specific authorizations for read only access. I think this is the only choice you have.
    Nelis

  • ALV: columns in read-only mode look like editable columns in edit mode

    Hi,
    My application contains an ALV table which should be toggled between display and edit mode like the rest of the fields.
    The evident solution was to use
    if_salv_wd_table_settings~set_read_only( abap_true or abap_false)
    However, unlike the rest of the fields, when the application changes into display mode and the fields get grey like in any SAP application, the columns in the table which were editable remain white, and those which were not editable and thus grey, get now white, too, instead of the other way round. So it will look to the normal user, as if now all columns would be editable!
    Of course, he would realize that they are not when he tries to edit them, but this is irritating.
    See following link with screenshots (only active for 3 weeks from now on):
    [Link to my webmail space/SDN: .|https://businesswebmail.telekom.at/filestorage/MzYxMTk1OTMx/]
    I have looked
    through my books ("Einstieg in Web Dynpro for ABAP", "Praxisbuch Webdynpro for ABAP", ...)
    through the wiki for Webdynpro for ABAP here in SDN as well as through this forum (by searching with "ALV edit")
    through the notes in BC-WD-CMP-ALV
    but could not find any solution. Most tables in those PDF articles found here in the WD4A wiki also show white cells although they are probabliy in read-only mode (e.g. the imitation of the SE16N browser article).
    The attributes to the LO_CELL_EDITOR for both Inputfields and textview columns contain exactly the same values when toggling between display and edit mode (read-only in table settings), so also no chance to change here anything.
    Also changing the cell design is not a solution as there is no design that looks like grey for not editable according to WDUI_TABLE_CELL_DESIGN  ([SAP Help - WDUI_TABLE_CELL_DESIGN|http://help.sap.com/saphelp_nw2004s/helpdata/en/56/5e9041d3c72e7be10000000a1550b0/frameset.htm].
    I do not know if I have made an error, as this is my 3rd Web Dynpro (after the first 2 of the introduction book), or SAP is really inconsistent in User interface between "normal" fields and ALV table fields.
    Can you please help me?
    Thanks in advance,
    Erlend

    Hi,
    In my application aslo, i have 30 columns out of which 10 are input fields. But, i'm showing the table as ABAP_TRUE incase of Non-editable otherwise to abap_false. Now i'm getting everything as in WHITE cells.
    Do you want to show it is Grey mode with Non-editable feature. Is that so.
    How many columns are there which has Input fields.
    Get the column references.
    Now, based on the mode of display create the object as Input or Textview field.
    For that column -
    If mode eq 'D'.
    Create an object for Textview(cl_salv_wd_uie_text_view)
    else.
    Create an Object for Inputfield(cl_salv_wd_uie_input_field)
    endif.
    The Append row is a standard button or custom one on ALV toolbar.
    Do you want to hide the toolbar or just disable these buttons.
    If you want to hide the toolbar then refer my wiki -
    http://wiki.sdn.sap.com/wiki/display/WDABAP/NullreferenceforUPDATETOOLBARerrorsofALVinthewebdynpro+ABAP
    Regards,
    Lekha.
    Edited by: Lekha on Sep 30, 2009 8:06 PM

  • I want to use my external display only...

    Hello
    I have the white MacBook and a 32'' panasonic TV connected via mini-DVI/DVI/HDMI, I have both wireless Apple Keyboard and Mouse (by bluetooth). How can I close the MacBook's screen without getting it to sleep mode and use the external display only while the MacBook's screen is closed??
    Please help.

    Click here and follow the instructions.
    (47126)

  • Querying up AR Customer OA page in read-only mode for a Single Customer

    We are building a Custom Form in which associated Customer <defined in AR> would be queried up.
    Now we want to give an option to the User to view the complete details of the Customer. We would be giving a menu option in Tools 'View Customer' thru which he would see the Full Customer Details. <AR Customer OA page>
    We have two requirements
    1> The Full Customer Details should show up in Standard OA Customer Page the moment page comes up. The user should not be required to query the details.
    2> It should be read-only and user should not be able to update any field.
    How can we achieve this requirement? I did some RnD but did not see any place in EBS where we display the Customer Page in read-only mode and that too quried up for one particular customer.
    Thanks
    Arun

    Hi Arun,
    Please let me know if find any solution for this. We have a similar scenario in which we need to call the customer Page with all the inforamtion populated, related to one customer.
    Thanks in advance,
    Mannuru

  • Industry sector field for display only.

    Dear All,
    Does anybody know the setting to make Industry sector for display only, so that the enduser cannot change industry sector while creating material.
    I know to hide industry sector from DEFAULTS menu, but i need to freeze that field for display only.
    Regards
    Rang

    Hello Ranganath,
    You can use transaction exit. for more information check this thread.
    Industry sector (MBRSH) field in display mode.
    Hope this helps.
    Regards
    Arif Mansuri

  • Using edit box in Read only mode

    I am using JDeveloper 10.1.3.1.0 with OAF.
    In one page I have created one region with a few edit boxes. In this region I want to display the information using the edit boxes in a "Read Only" mode so that it matches with the same background colour.
    If the content of the edit box is small, i.e.: a few characters long, but if the content is large about 150 characters, then if I make the edit box read only, then it does not come to a new line. For this I have to make the edit box in "Disabled" mode. In "Disabled" mode only, the long message is shown in multilines. But my problem is that, when I make is "Disabled, it does not become uniform with other edit boxes with the same background colour. Can you please suggest, how can I address this problem.
    Regards

    HawkerHunter,
    I am using JDeveloper 10.1.3.1.0 with OAF.I stopped reading after that sentence. You should use the [url http://forums.oracle.com/forums/forum.jspa?forumID=210]OA Framework Forum
    John

  • Shuttle issue when in read only mode

    version: Application Express 3.2.0.00.27
    I have created a shuttle based on an LOV. It displays the correct values on the left.
    select party_name d, party_id r
    from tbl_parties
    order by 1The right side is populated as a source from a function that returns the ID delimited by a colon(ID1:ID2).
    When in edit mode(not read only). The shuttle functions and displays correctly. In readonly mode however what is displayed is only the ids and not the description.
    The description of each value(id) is displayed correctly in edit mode.
    I also tried using a sql query instead of a function as the source. When I do that, the description is displayed but just one record(even though more then one should return). This is in read only mode. In edit more nothing returns.
    Source for the sql is
    Select party_name d , ':' , p.party_id r
    from tbl_authorization_parties a, tbl_parties p
    where a.party_id = p.party_id
    and a.authid = :P14_AUTHIDalso tried:
    Select party_name d ,  p.party_id r
    from tbl_authorization_parties a, tbl_parties p
    where a.party_id = p.party_id
    and a.authid = :P14_AUTHIDWith sql as a source in edit mode nothing is displayed on the right side.

    Hi ashalon,
    have you checked APEX 4.1, because I think in the most current version this is not the case anymore. You can test 4.1 on apex.oracle.com.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for

  • HTML content with images and links blocked

    Hello, I very much need some help here because my company needs to send out newsletters to our clients in HTML format soon and so far the email with HTML content is being blocked as spam while text content works fine. Specifically, whenever I add a l

  • New contacts in address book not synching with mobile me

    Just thought I'd add a solution to anyone who had a similar problem as mine. This had been going on for a while and I just finally got around to trying to fix it. I'm using mobileme. The specific problem I had was adding new contacts on my main compu

  • IPod shuffle DEACTIVATES KEYBOARD

    Connecting my 2nd generation iPod Shuffle to my iMac USB rear ports to recharge the battery DISABLES MY KEYBOARD. (Recently upgraded to iPhone -older version- and OS 2.0 for the iPhone.) Restart required to regain function.

  • Black Screen imac 27" - Error report

    Hello there Our family imac went to 'black' a couple of weeks ago whilst my son was using it. Despite attempts to resurrect it with apple support over the 'phone, the black screen persisted and it was recommended to take it in for assessment and repa

  • MBP 3.1 late 2007 temperature issues

    So I have a 3+ year old MBP running 10.6.0 (after several reinstalls thinking the issue was a 3.6.5 or 3.6.6 upgrade) I finally realized my machine was really hot all the time (when it would boot at all). Odd since I normally keep a third party fan c