XK05 and XK06 not checking auth the same way

Hi all,
I've discovered something a bit funky with XK05 and XK06. I'm splitting central block / delete access of vendors from company code / purchasing org block / delete access. One group of users, however, will have central access AND their company code and purchasing org. Here's I've got the roles defined.
Role #1
F_LFA1_GEN    activity 03, 05, 06
F_LFA1_BUK    activity 03, company code *
M_LFM1_EKO   activity 03, purch org *
Role #2
F_LFA1_GEN   activity 03
F_LFA1_BUK   activity 03, 05, 06, company code CC1
M_LFM1_EKO   activity 03, 05, 06, purch org PO1
Both roles are assigned to the same user. The system behaves differently in XK05 than it does in XK06. Both are set to check all of the listed auth objects, but here is what happens.
The user executes XK06 for a company code not included in role #2. The system checks F_LFA1_BUK and fails.
The user executes XK06 for a purch org not includes in role #2. The system checks M_LFM1_EKO and fails.
The user executes XK05 for a company code not included in role #2. The system checks F_LFA1_BUK and passes.
The user executes XK05 for a purch org not included in role #2. The system checks M_LFM1_EKO and passes.
I would have expected XK05 to behave the way that XK06 did. The only thing I can think of is that the two programs somehow determine what the user is authorized for differently. XK06 seems to be looking at the combination of values defined in each role. XK05, on the other hand, seems to be combining them so for example 03/* and 03/05/06/CC1 in F_LFA1_BUK becomes 03/05/06/*.
Now I realize that I should try taking F_LFA1_BUK and M_LFM1_EKO out of my central role entirely and see if that works. I'll update with the results of that test.
Has anyone else seen this behavior?
Thanks!
Krysta

There is the same program and screen which is started by both programs, but a spagetti of IF SY-TCODE = xyz ... validations in it to determine the program behaviour and which transaction to leave to for further processing.
It seems the difference is that XK06 follows the path of changing the account group for the company code segment of the master record and looks for the first BUKRS and EKORG for which you are marking it for deletion (LFB1 has a field for this).
XK05 is a central lock and the BUKRS and EKORG are not considered for which the master record is being blocked. So it only checks F_LFA1_APP etc but not the BUKRS and EKORG.
*------- Berechtigungspruefung: RM-Ebene (EKORG-Berecht.) --------------
  IF KRED-XEKOR NE SPACE.     " <---- same for BUKRS if not relevant for the activity.
     AUTHORITY-CHECK OBJECT 'M_LFM1_EKO'   "<--- same for F_FLA1_BUK, no check in = SPACE.
        ID 'EKORG' FIELD LFM1-EKORG
        ID 'ACTVT' FIELD B_ACTVT.
     IF SY-SUBRC NE 0.
       IF NOBER_SPM NE 'X'.
         NOBER_SPM = 'X'.
*        CASE B_ACTVT.
*          WHEN '05'.
*            MESSAGE I333 WITH LFM1-EKORG.
*          WHEN '06'.
*            MESSAGE I334 WITH LFM1-EKORG.
*        ENDCASE.
       ENDIF.
     ENDIF.
  ENDIF.
So it looks as if it is intentional and a dependency on where (which segment) the master record field is located in.
Perhaps of you choose MK05 and FK05 as transaction codes then you can achieve what you seem to want from the program?
Cheers,
Julius

Similar Messages

  • I have just updated to the new version of Firefox. Eventhough, i have reboated my computor, Firfox prompts to do it again and again and would not open. The same things happen if i try to unistall it or redownload it. What can I do?

    Question
    I have just updated to the new version of Firefox. Eventhough, i have reboated my computor, Firfox prompts to do it again and again and would not open. The same things happen if i try to unistall it or redownload it. What can I do? edit

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
    *Firefox 7.0.x: http://www.mozilla.com/en-US/firefox/all.html
    *Trash the current Firefox application to do a clean (re-)install
    *Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • HT204370 why does my video and sounds not play at the same time when watching movies

    why does my video and sounds not play at the same time when watching movies

    Welcome to the unity.
    Upon which device are you watching your movies and are you using a home theatre system for your audio.

  • How can i setup pages to automatically open when double clicked.  Currently when I double click it creates cpgz file and does not open.  The only way to open pages doc is to manually ask to open with pages.

    Currently when I double click it creates cpgz file and does not open.  The only way to open pages doc is to manually ask to open with pages.

    Hi Karen,
    Sounds like OS X has lost the association between Pages and its files.
    Start by quitting Pages, then going to Finder.
    In Finder, locate a .pages file. Click on it (once), then press command-I (eye, not one) to Get Info.
    In the Info window that opens, expand the Open With section.
    In this section, click on the pop-up menu and choose Pages (even if Pages is already shown).
    Click the Change All button to associate all files with the .pages extension with Pages.
    Close the info window.
    Double click any .pages file to check that Pages will now launch and open the file.
    Regards,
    Barry

  • IPhoto says quit unexpectedly and will not open gives the same error over and over???

    Iphoto says it quit unexpectedly and keeps repeating the msg over and over it says to reopen and it tries then gives the same msg?

    i fixed the problem however i dont know how to delete my post?

  • We can group apps why not emails in the same way

    It would make so much cense to be able to group e-mails in the same way we group apps by simply holding an e-mail than when it shakes we would drag other emails into it to form a group. Would that make cense ?

    Open the Mail app. Tap on an account. Tap Edit in the upper right. Then New Mailbox in the lower right. Name your folder, and then it's created.
    Then you can find a mail that you want to add to the folder, click this , and select the folder to add it to.

  • Relative paths not used in the same way for flv and mp3

    When I load an mp3 using the
    Sound component, with the relative path "medias/test.mp3",
    it works.
    When I try to load a flv using the
    VideoDisplay component, with the relative path
    "medias/test.flv", it doesn't work!
    VideoDisplay seems to build the path to the flv
    from the directory where the .swf is, not from where the
    webpage is...
    Webpage is : /blabla/index.html
    Swf path is: /blabla/swf/main.swf
    Medias path: /blabla/medias/...
    Is there a way to tell the VideoDisplay component to load a
    relative path starting at the level where the webpage is?
    Thanks in advance!

    "[email protected]" <[email protected]>
    wrote in message
    news:gdilgt$qku$[email protected]..
    > When I load an mp3 using the
    Sound component, with the relative
    > path
    > "medias/test.mp3", it works.
    >
    > When I try to load a flv using the
    VideoDisplay component, with the
    > relative path "medias/test.flv", it doesn't work!
    >
    > VideoDisplay seems to build the path to the flv
    from the directory
    > where
    > the .swf is, not from where the webpage is...
    >
    > Webpage is : /blabla/index.html
    > Swf path is: /blabla/swf/main.swf
    > Medias path: /blabla/medias/...
    >
    > Is there a way to tell the VideoDisplay component to
    load a relative path
    > starting at the level where the webpage is?
    Relative paths are_always_ relative to the swf, regardless of
    the media
    type. Note that media is actually _already_ plural ;-).
    So try:
    "./medias/test.flv"
    or possibly
    "../medias/test.flv"

  • I have an iMac OS X Version 10.5.8 but I also have a MacBookPro 10.7.5 version, why software updates are not the same? For example, when I want to know how much memory can not store in the same way in either computer.

    I have an iMac OS X Version 10.5.8 but I also have a MacBookPro 10.7.5 version, why software updates are not the same? For example, the way to see how much memory I have in my iMac is diferent than MacBookPro. And where I can see the memory of the disc I've got in my iMac? Than you very much.

    If you want everything the same on both computers you need to be running the same OS X version. You can't because your iMac is a PPC machine, not Intel.
    But to see information about your hard drive is the same for both. Simply select the drive icon on the Desktop. Press COMMAND-I to open the Get Info window. Disk information is in the upper panel.

  • HT6154 The most recent iPhone update is not compatible in the same way as before when plugged into Prius. Used to be able to use steering wheel to control music. Now must use the phone.

    Please fix compatibility with iPhone and smart cars. Specifically the update that recently affected Prius and iPhone 7

    Hello, Nicklmarks. 
    Thank you for visiting Apple Support Communities.
    Sometimes when an iOS update is released there is a compatibility lag with certain features that requires an update to the vehicle.  I would first check with your vehicle manufacture for any firmware updates.  However, here is an article that has some helpful troubleshooting steps regarding car stereo connections and an iOS device.
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/ts3581
    Cheers,
    Jason H.

  • Audio and Video Not Synchronizing in the Same Clip.

    Ok, So I have had Adobe Premier Pro for a while now an I love it. I just have one not so insignificant problem with it. I was in the middle of making a video (with one particularly long clip in it) and I noticed something that began to happen in the beginning of the clip and went up until about thirty seconds. The audio and video gradually became further and further apart until they were about three seconds off. I was only using one clip so there should be no way I screwed up the placement of the files in the timeline. Viewing the clip in quicktime player does not give me that problem, so it's either a problem with Premiere Pro, or something else that I am unaware of. It has became so bad that I even downloaded iMovie so I could at least get this movie edited. I am pretty new to Premier Pro so any advice is much appreciated. Thanks!

    Exactly what is INSIDE the video you are editing?
    Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
    Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download

  • Photo Booth: Audio and Video not syncing in the same time frames, really annoying

    That's the problem.

    Same problem here.
    1. Reset ACLs
    2. reset PRam reset SMC
    3. repaired permissions
    4. repaired disk
    No issues found.
    Reinstalled Mountain Lion....
    issue is persisting.
    FML
    Machine seems to be running fine otherwise.  Just happened to notice it when I tried to reord a short video of some guitar. Way out of sync. Horrid.
    I made a new user account and the issue is continuing.
    The only thing I haven't done is is completely wiped the drive and started fresh.  Such a pain in the a## to do this.  IDK. Definitely wasnt happening on snow leopard. 

  • Flex 3 -1470 Touchpad and keyboard not working at the same time

    Hi, I'm using a Flex 3 -1470 and whenever I press a key on the keyboard the touchpad becomes disabled. I've tried googling a solution and have the latest drivers from the Lenovo website but nothing seems to work. I've also tried editing the ALPS touchpad registry fix but it didn't work. Any help in resolving this issue would be greatly appreciated.

    Dear Cecilia,
    Have you found a solution to this problem? I think we ran into it as well. We are using SAP BI 7.0 SP14.
    When we're trying to apply a conversion to a field that is plannable and contains a value in another currency then the currency translation is not performed, we cannot see any value.
    Thanks,
    Gabor

  • I have lost  years worth of music  and pictures not all from the same pc how can i get it back

    I have lost years worth of music and pictures from my ipod how can i retrieve them ?

    - If photos were in your iPod Camera Roll, just restoe from backup. If they were synced to the iPOd you have to get them from where you got them the first place
    - For itunes pruchsed music see:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    - For other music you will hae to get it from where you got it the first time.

  • I was forced into an update and now i get constant error messages and crashes I'm missing folders and it doesn't work the same way twice.

    Last week I had a pop up that said I had an update from Thunderbird. It wouldn't take no for an answer and went ahead and did the update. It updated to 12.0.1 which from what I can see is already outdated. Since it did its update it hasn't worked right and I keep getting messages of long running scripts. I have messages running in tabs across the top that I can't get rid of. It takes extra steps to get back to the inbox. I also lost 2 of my folders. I' ran AVG scan and maintenance. Malwarebytes found 2 problems that it quarantined but didn't seem to be associated with T/bird. One folder came back after that. I have another folder that is labeled NSTMP that shows 518MB of use but when I open it there is nothing there. I'm not sure if I picked up something in the last update or not. It seems it tried to do this before and I told it never to update. At this point should I just update to the latest program and see what happens? I can't seem to find a way to transfer all of the folders to a thumb drive without going one message at a time and I'd at least like to back it up. Any thoughts/ideas appreciated. Thanks Doug T

    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.

  • Drop shadows on text do not behave in the same way to inner shadows on objects

    I have piece of text with a drop shadow on top of a box which has an inner shadow. In both cases, the shadows are CMYK black, with 100% opacity, applied using the Multiply method.
    When designing, things appear correctly (note background is CMYK magenta, but will change once this issue is resolved):
    When outputting in the Press format, with everything left as defaults, then two issues are seen, firstly is the Yucky Box Problem, the second is the drop shadow has lost it's colour, and looks as it does if I choose Normal for the shadow type. Note the PDF viewer is Apple Preview in Lion:
    If I embed the CMYK colour profile I'm using (Coated FOGRA39), then the YBP goes away, but the colour of the shadow is still wrong:
    Finally, if I force the transparency to be flattened, it appears correctly but with a thin white line (note profiles are not being embedded in this case):
    Case 1
    Case 2
    Case 3
    Case 4
    What I would like to know is how to ensure the output is as it should be in the final case, but without the white line, i.e. without flattening. It's worth noting that if the text is located in the main, white, area of the page, then it works correctly in all cases (except the Yucky Box Problem situation which is easily resolved). Thanks in advance!

    That seems to have resolved the problem. Interestingly, the 'Yucky Box Problem' doesnt seem to occur regardless of whether I'm importing the profile or not, I guess Adobe Reader is doing it's own stuff with the colour space which Preview isn't. Thanks again for your help!

Maybe you are looking for