How to identify relevant BADIs to hide a screen field from specific users

We have a business requirement to hide a document item field (BSEG-XREF3) from specific users (i.e make the field invisible if the userid does not exist in a Z table) during FI invoice entry/maintenance/display via transactions FB01, FB02, FB03, FV50, FV60, FBV0, etc..  We know that it would be possible to do this via modification to the Process Before Output sections of LF040O00, LFDCBFM0, MF05AO00_DYNPRO_MODIFIZIEREN, MF05LO00, but would prefer to avoid modification if possible. 
I believe that BADIs could possibly be used for screen enhancements, but have not had any previous exposure to BADIs, so I'm really not sure whether it's possible to use BADIs for our specific requirement.  For example, using the advice given in the 2nd post in thread BADI for contract, I've searched SAPMF05A for all 'CALL METHOD cl_exithandler=>get_instance' statements, and have found that a single BADI (FBAS_CIN_MF05AFA0 - EWT - Downpayment Clearing - Tax transfer for CIN) seems to exist for FB01.  The description of this BADI sounds completely inappropriate for our requirement.  However, subsequent posts in that thread suggest far more BADIs for the relevant transaction than were given when searching the ABAP for all 'CALL METHOD cl_exithandler=>get_instance' statements, so I'm not convinced that the procedure I'm following will provide me with all the relevant BADIs for the transaction.
Please can you advise me how to identify which BADIs - if any - can be used to control screens before output for FB01 screen SAPMF05A/332 (SAP R/3 4.6C)? 
Many thanks in anticipation,
Jules

Hi Kuntal,
Thank you very, very much for your prompt response and very useful alternative suggestion.
The screen variant solution would be invaluable under different circumstances, but would be too complex to administer for this particular issue because we're trying to hide the field from unauthorised users in over 100 invoice entry/maintenance/display transactions. 
We can make a Process Before Output modification to 4 SAP standard programs (LF040O00, LFDCBFM0, MF05AO00_DYNPRO_MODIFIZIEREN, MF05LO00) to make the field invisible for unauthorised users (i.e. whose user-ids are not in a Z* table), but would prefer to avoid modification if we could use BADIs instead.  You've said that you're not sure how we can identify the relevant BADIs, but I very much appreciate the suggestion you've made anyway - it might be useful to others who find themselves in a similar situation for a more limited number of transactions.
Please can someone advise me how to identify which BADIs - if any - can be used to control screens before output for FB01 screen SAPMF05A/332 (SAP R/3 4.6C)?
Many thanks,
Jules

Similar Messages

  • How to add a search help on a screen field from screen painter

    Hi,
    I would like to add an existing Search Help on a screen field in Screen painter.
    Of course it's possible to just click on th screen field and in the property box, I just have to set the name of teh search help.
    The problem is that I need the screen field to be grey and user musn't be able to change the field value if he doens't use the search help.
    I'm not allowed to modify the existing search help or to built it on my own from source code, I must use the existing one.
    Do you have an idea on how to do so?
    Regards,
    Morgan

    Dropdown Box:
    In the screen painter for that field goto properties -> Dropdown ->select listbox.
    Option 1:
    Instead let that field be in change mode and if user enters any wrong entry which is not there in the table give a error messgae.
      CHAIN.
        FIELD addr1_data-country.
        MODULE modify_screenfields1.
      ENDCHAIN.
    MODULE modify_screenfields1 INPUT.
      CASE sy-ucomm.
        WHEN 'ENTER' OR 'EXECUTE'.
          IF NOT addr1_data-country IS INITIAL.
            SELECT SINGLE landx FROM t005t INTO lws_landx WHERE
                                          land1 = addr1_data-country
                                      AND spras = 'EN'.
            IF sy-subrc <> 0.
              MESSAGE e000(zo_spa) WITH text-022.  " Invalid Country code
            ELSE.
              t005t-landx = lws_landx.
            ENDIF.
          ELSE.
            CLEAR: t005t-landx.
          ENDIF.
       ENDCASE.
    ENDMODULE.                 " modify_screenfields1  INPUT
    Option 2: Other than if u want the way u like, let that field be greyed out. don't attach the search help.
    In the PROCESS ON VALUE-REQUEST.
      FIELD addr1_data-region MODULE region_pov.
    MODULE region_pov INPUT.
    Using the F4IF_INT_TABLE_VALUE_REQUEST table value request show the search help.
    also make that field input enabled.
    ENDMODULE.                 " region_pov  INPUT
    I think this will solve ur problem.
    Regards,
    Prakash.
    Message was edited by: Prakash Ramu

  • How to Hide Track changes according to Specific user?

    Hello All,
         We are developing plugin and we have to hide the changes according to specific user. We are setting the track change preferences using the methods provided by ITrackChangeAppSettings interface.
         But as this interface is aggregated on kWorkspaceBoss it is applying the changes for all users.
         Will anyone please suggest how can I apply changes according to particular users? any help is appretiated.
    Thanks & Regards,
    Praveen

    Hello All,
               For hiding the tracked changes according to particular user,i have accept the changes according to specific user.But i have undo the changes it means before saving i have to undo the accepted changes.I am using VOS_RedlineObject::UndoSimpleChange() method but it is not working.
                Can anyone tell me other way for doing that?
    Thanks & Regards,
    Megha

  • Hide Site's profile from other users

    Hello Everyone,
    First, I know this is an odd question for a social feature in SP.  However I need to ask.
    Is there a way to hid a Site profile from other users in SP 2013?  Just like I can hide someone from the GAL in Outlook I want to be able to hide someone's Site profile.  For example, I have a user that created a Site profile but
    does not want anyone in the organization to see his profile.
    Thanks for any feedback....

    Hi  ,
    According to your description, my understanding is that you want to hide a user’s user profile property from other users in SharePoint 2013.
    For achieving your demand, you can modify the “ShowHide” Boolean field of the user profile using PowerShell script as below:
    $context =Get-SPServiceContext -Site http://mysite
    $upm =New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)
    $up =$upm.GetUserProfile("Domain\UserName")
    $up["ShowHide"].Value
    This returns True if its checked and False for uninitialized and unchecked.
    Update the value in PowerShell with:
    $up["ShowHide"].Value= $true
    $up.Commit()
    Reference:
    http://sharepoint.stackexchange.com/questions/77091/show-hide-and-change-user-profile-properties
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Hide the Core universe from some user groups

    Hi all,
    We have one Core universe and few derived universes for each user group. One team is responsible to implement the Core and the derived universes. This means they have Full access on these universes. There are few other user groups which have VOD access on their group specific derived universe and the VOD access on the Core universe in order to create or run WebI reports. Since they have VOD access on the core universe, they will be able to create report against it. We like to hide the core universe from our user group and they should always use their derived universes.
    Does someone know which entitlement setting will allow us to hide then core universe or prevent a certain user group to create new report against it without impacting their ability to run existing reports?
    Thank you.
    Sunny

    Hi,
    Step 1. Try at CMC level
    CMC-> Universes-> remove the groups (don't shouldn't have access to that universe)-> ok
    If it doesn't work then try step 2.
    Step 2. At Designer level -
    Try to restrict the universe at designer level. i.e goto Tools-> Manage Restrictions -> Manage Access Restrictions -> add groups(required groups dont should have access to users) ->Ok.
    Cheers,
    Suresh Aluri.

  • How can i hide a pages file from other users

    How can I hide a pages file so other users can't open or see it?

    My own tip is to save this kind of doc in an encrypted disk image (the .dmg items)
    Such item resemble to every downloaded installer so it doesn' take special attention and the encryption scheme is an efficient one.
    Yvan KOENIG (VALLAURIS, France) dimanche 21 août 2011 14:53:01
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Crosstab: How to define margin size and hide a resuming field

    Post Author: jef.zapata
    CA Forum: Charts and Graphs
    Hi,I've work a lot on how I can optimize space between my fields in crosstable, and now I want to decrease margin size (removing margin totally make the display of my field horrible!). How can I do that?Secondly, I want to use a resuming field to define the sorting of my group field. This kind of sorting is working very well, but I want to hide the resuming field, not only supress the value, but totally hiding the field without loosing space, because I've got another resuming field that I want to display. Is it possible?Thanks a lot! Jef----
    Using Crystal Report XI, on Release 2  

    Hi Suman,
                  if your problem is to avoid null pointer exception for EVS, before executing  RFC you can check (wdContext.node<EVS>.current<EVS>element!=null). then you can populate a message for warning the user to enter EVS field.
    and stop executing RFC.
    thanks
    Siva

  • How to trigger a badi for a particular screen of a transaction alone?

    friends
    am trying to issue an error msg. in the PAI of the screen SAPMQEVA (0102), which belongs to QA11/Usage decision..In the method PUT_DATA of implementation QEVA_SUBSCREEN_1101, am able to capture all the screen fields..but the problem is there are two tabstrips (Defects, Inspection Lot stock), i want to trigger the msg only in the PAI of SAPMQEVA (0102), i.e the last tabstrip (Inspection Lot stock)..but this badi triggers in every pai of QA11 and issues the error msg..but the values of the screen fields of the last tabstrip are getting filled only in the PAI of the same, but how to trigger it for the PAI of the last tabstrip alone..no parameters in the method seem to have screen no. or okcode...hav tried with badi INSPECTIONLOT_UPDATE, which doesn't solve the purpose...pl suggest
    regards
    Sathish. R

    hi
      tx for answering...i have tried in all the user exits, including the one that you mentioned, but in none of them the UD data or storage loc. data sits in..only in the badi that i've mentioned i get all the data of the screen fields...how to make it trigger for that particular screen alone, is that doable?
    regards
    Sathish. R

  • Hide XD02 Screen field Tax Number1 in control data tab

    Hello,
    I want to hide field Tax number 1 from the XD01/2/3 - control data tab, based on authorized / unauthorized user check.
    Please let me know the screen exit for that or how to hide it ?
    Thank you,

    Hi,
    I think that you will need to use the enhancement point mf02dfd0_01 spots es_mf02dfd0 in INCLUDE MF02DFD0. An enhancement at this point will allow you to loop through the screen fields and set the Tax Number 1 field not active in the PBO stage of the screen. I didn't see a user exit that would allow you to do the same.
    Regards,
    John

  • Hide/remove the fields from the time accounts table on the screen of approval leave request

    Hi,
    i want to remove or hide the fields from the following table .
    is there anybody who know how to do? help me pls!
    Thanks in advance

    it shoukd be done by coding only ie NWDI and no config is available http://scn.sap.com/thread/1752655

  • How to assign maintenance view to a selection screen field in a program.

    Hi Experts,
    I have created a custom table. Now, I have a program where there is a selection screen field for example "Load". After entering a value in the selection screen, and press enter, the user must be redirected to the maintenance view of the custom table to modify the specifed record.
    Can anyone help me on how to do that?
    Thanks a lot for ur precious help.
    Regards,
    Aksh

    Hi,
    What is the need to search for a program.
    Use transaction SM30 or SE16 to create or maintain entries in the table.
    e.g. if the Maintenance view is created on table A, then Goto transaction SM30 or SE16 and give the table name as A and proceed. This will automatically take u to the maintenance view on tha table A.
    Regards,
    Himanshu

  • How to empty XE database and re-create tables/fields from scratch?

    Hi,
    I've installed XE database to port my VB6/Access application to it, and I know that XE is limited to one single database, so far so good. But I want to erase everything from inside this default database to create my own tables/fields from scratch. How can I do that?
    I just want to have one single database file with some tables/fields inside it, and nothing else. The rest will be done through VB straight.
    And what is the name of the default XE database file? Where is it stored? If I make a backup of this file, can I restore it after a crash in the future by overwriting the corrupted file? Is that this simple as Access is?
    Sorry about those many questions and thanks for reading!
    Roger.

    If you want to erase everything, one solution is to uninstall Oracle XE and just to reinstall it.
    Under Windows to avoid any issue, see http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#CIHDDHJD.
    If your application is owned by a single Oracle user account, you can also run (where <schema> is the Oracle user account name):
    drop user <schema> cascade;To reinstall your application you would need to recreate the user account <schema> with the right privileges (CREATE USER ... and GRANT ...).

  • Hide "Windows Updates Available" from domain users

    Hi,
    We're running 4 RDS 2012 servers in a load-balance pool. 
    All 4 servers have been scheduled to download and install updates at specific intervals (nightly) + reboot as well.
    I've noticed however that regular domain users also get the notification that there are "updates available" right after they log on. And they are given the option to install them. 
    Is there a way to hide/disable this notification window from domain users ?
    Kind Regards, Vincent

    In Group Policy Object Editor, expand Computer Configuration, expand
    Administrative Templates, expand Windows Components, and then click
    Windows Update.
    In the details pane, click Allow non-administrators to receive update notifications, and set this option.
    Click OK.
    Come back and mark replies as answer if they help, and help others with the same problem. If this post is helpful please vote it as Helpful on the left side.

  • Hide the Core universe from some user groups - where is SAP?

    We are using BOXI 3.1 and want to hide core universes from the users. We can't use 'deny view objects' on the core universe. If we do so the derived universe can't run. Maybe the problem could be solved if we could make a shorcut to an universe and put this shortcut in another universefolder, but this possibility isn't there.
    Another problem is when using LOVs from the core universe. If you move the derived universe to another folder you won't be able to use the LOVs defined in the core univers because they are placed on the pc in a folder where the core universe is placed and the derived universe doesn't use the LOVs.
    We have a lot of core universes and many derived universes using core universes with different right for group of users. What we want is to create a AccessLevel for each usergroup and asign this to a usergroup and a universefolder and then place the derived universe in theese folders.
    We could do so in 6.5.
    There is a thread about this hiding problem, but this is not answered by SAP.

    Hi Vallabhaneni 
    Thanks for your answer. I think your idea is the way to solve my problem, but I'm not satified with the solution because I have to put all universes in 1 universefolder, and as you mentioned it's time consuming because I must set rights on each universe. Nor is it a safe solution because I can forget to restrict users from using a universe.
    I'd like to have a structure like this
    Top universfolder
          Universe (all universes with View objects denied for all normal users - allowed for designers)
          Basic (shortcut to derived universes that everybody are allowed to see) ACL Basic
          Spec HR (shortcut to derived special universe for HR-group) ACL Basic
          Spec XX (shortcut to another derived special universe for a group of users) ACL Basic
    Usergroups
          Basic (everybody in that group)
          Spec HR (a group of users are also in this group and are allowed to see the universe in Spec HR)
          Spec XX (a group of users are also in this group and are allowed to see the universe in Spec XX)
    Rights
         UG Basic - UNIfolder Basic --> Assigned rights ACL Basic
         UG Spec HR - UNIfolder Spec HR --> Assigned rights ACL Basic
         UG Spec XX - UNIfolder Spec XX --> Assigned rights ACL Basic
    In that way the designers always must import and eksport to Universe and the administrator can give som users access to a special univers by adding them to a SPEC usergroup and remove them from that group if they no longer must see the universes in the special folders.
    I have the same structure on folder where the reports are placed and it will give a minimum of administration.
    The funny thing is that you can use shortcut on reports but not on universes. In 6.5 you can linked universes to a special usergroup and you only need to linked the derived universe.
    I hope SAP will come up with a better solution so i leave the question open, but once again thank you for taking time to reply.

  • How can I hide the provisioning tab from end users?

    Hi,
    Can someone tell me if it's possible to hide the "provisioning tab" within FIM? End users do not need to see this.
    I know how to modify RCDCs to hide individual fields, but I'm not sure about entire tabs.
    Thanks in advance

    http://social.technet.microsoft.com/Forums/en-US/74242380-c8ce-4904-863e-f28ae3605c7e/fim-r2-end-user-portal-customization?forum=ilm2

Maybe you are looking for

  • Trouble capturing HDV footage from Sony Z5U in FCE4 - any ideas?

    I've shot about half an hour of HDV footage with the Sony Z5U. Have the computer at home connected to my Mac with a firewire. Tried with both firewires that I own. I've used a similar camera before to capture footage recently with no problems. Gone t

  • BT Infinity available in my area but can't get it ...

    Hey Everybody, I've been reading several threads and came across this one; http://community.bt.com/t5/BT-Infinity/FTTC-Exchange-and-Cabinet-BT-Wholesale/td-p/181321 Unfortunately it appears that they've pulled this from public view so I can't access

  • What happened to "Show Duplicates" option in i8?

    There used to be an option under "View" that allowed you to view duplicate songs in your iTunes library. What happened to it...?

  • Can't make an account.

    When I try to make an account it usually has an error message that says it timed out and try again later. and some times a different one pops up saying we could not complete your iTunes store request an unknown error occurred(405). please try again l

  • Xfi Xtremegamer Sound Out Selectively to

    Hello, I am havin a rather odd issue with my new system and I was hoping someone here would be able to help me or at least point me in the right direction. I just built a computer (Asus P5E-vm do, MSI8800GT 52MB, Xfi Xtremegamer, 4GB Gskill PC2 6400,