User has to get a message as soon as he inputs Z_T_code of a Z_Dialog Prog.

Hi Experts,
I hv a z_dialog prog. with z_tcode as its tx. code.
Say, if an UN-AUTHETICATED user enters its transaction code z_tcode, immediately, he has to get a message, saying that, he is not authorised as a text in a screen. I know, its authorisation object and its related code, like
CHECK AUTHORITY-OBJECT zzz
FIELD
ACTV
But, let me know, Where I hv to write it, is it in PBO?
thanq
Edited by: SAP ABAPer on Feb 23, 2009 5:09 PM

It is sometimes advisable for report type transactions and also for dialog transactions which can be called via menu options to place a call to function module AUTHORITY_CHECK_TCODE upfront in the code.
This prevents users from running the code from other transactions, unless they are authorized for the transaction which is being called (that's your one...) or your transaction trusts it (see tcode SE97).
But there are scalability limitations to creating many pairs of trusting objects...
The best solution is always to code the correct checks at the correct locations, and re-use the role concept for the users with the correct authority. That way, you don't need to worry too much about the entry point (transaction, etc) which the user has - they will always experience the same behaviour when using the code.
There are a few exceptions, but perhaps that is what your auditors intended to say?
Cheers,
Julius

Similar Messages

  • User-defined field - get error message F5394, in FB50 and FB50L

    Hi All,
    I am having trouble with a User-defined field.
    The field is shown in FB50 and FB50L. And the field is optional for all Field status variants i OBC4.
    Still I get error message F5394 "An entry field is not permitted for account 19310"
    Is there anything I have missed?
    Thanks for your help
    Best Regards
    Carin

    Hello,
    Can you also check the field status in OB41.
    Regards,
    Ravi

  • User wants to get the cumulative values based on his input.

    Hi
    I am working one FI Report; the out put values are Cumulative values for Current, Previous years. I developed and it fetches the data last 3 years Cumulative year’s data without any input FYMonth based on SAPexits and varible offsets. But user wants to put Fiscal year Month as input. So he wants get the cumulative values based on his input. For example, If his input SEP'2005(062005), Then Query gives the Output Cumulative Value (I.e., Sum of Total values of Form APR'2005 to SEP'2005)
    Please provide the solution…
    Thanks
    Mannev

    Mannev,
    You can try doing this.
    1. If the user input is fiscal period(2005006) , you can create a customer exit variable which will take the user value (i_step =2), and change the variable value to 20005001. (this is a simple code where tye last 2 digits are replaced by 01).
    if the user is entering calmonth, you can use FM - DATE_TO_PERIOD_CONVERT, to convert the month to fiscal period.
    2. You can create a rkf with restrictions on time char based on the customer exit variable and the user entered variable.
    -Saket

  • How to specify to perticular subscriber has to get the message

    Hi,
              I got a problem in JMS while sending the message to a subscriber.my business logic wants to send the message to perticular subscriber with out following the round robin process of the queue.By keeping the header varible we can send to required subscriber but still it followes round robin to send the message.and any one help out with this regards.
              Thanking you
              prabhakar...
              

    Use JMS selectors. Or assign a queue to each client. Temporary queues
              often suffice for this purpose.
              Tom
              Prabhakar wrote:
              > Hi,
              > I got a problem in JMS while sending the message to a subscriber.my business logic wants to send the message to perticular subscriber with out following the round robin process of the queue.By keeping the header varible we can send to required subscriber but still it followes round robin to send the message.and any one help out with this regards.
              >
              > Thanking you
              > prabhakar...
              

  • PC users, do you get this message when you connect?

    I can connect to itunes fine, but everytime it recognizes it as a camera drive and pulls up a window to select a photo program. Worst is, there is no, DO NOT DO ANYTHING selection. Any advice? Thx!

    iJoe85 wrote:
    I can connect to itunes fine, but everytime it recognizes it as a camera drive and pulls up a window to select a photo program. Worst is, there is no, DO NOT DO ANYTHING selection. Any advice? Thx!
    Disable autoplay for the iPhone drive:
    Vista:
    http://www.howtogeek.com/howto/windows-vista/disable-autoplay-in-windows-vista/
    XP:
    http://www.howtogeek.com/howto/windows/disable-autoplay-of-audio-cds-and-usb-dri ves/
    After disabling it, when you plug in your iphone you will hear the chirp but the window will not appear. Then in explorer you'll see the "Apple iPhone" drive in the folder list on the left.

  • My computer will not connect to a 'known' wi fi network, keep getting a message where prompts me to input the username and password again and again

    I have a wi fi network in my house it has been working fine with no problems at all. I can afirm that because my iPhone connects as soon as I get home. But my Mac sometimes it will connect without any problems but sometimes it will require me to input the user name and password again and again.
    Please help!!

    I have a wi fi network in my house it has been working fine with no problems at all. I can afirm that because my iPhone connects as soon as I get home. But my Mac sometimes it will connect without any problems but sometimes it will require me to input the user name and password again and again.
    Please help!!

  • Chat user is not getting message from the other users

    In my application when user [A] initiate the chat with user[B]  , I am facing following issues
    -          User[B] is not getting initiation notification so that I am unable to open chat pod for user [A] on user[B] application
    -          Due to above problem , User[B] not getting any message sent by the User[A]
    -          User[A] can send only one message and it is displayed on simple chat pod
    when User[A]tries to send more then one message it is not displayed on simple chat pod but on the console I can see the messages
    following is sample code
     public function connectChat() :void {
    _collectionNode =
    new CollectionNode();_collectionNode.sharedID = NOTIFICATION_COLLECTION_NODE;
    _collectionNode.connectSession =
    this.connectSession;_collectionNode.addEventListener(CollectionNodeEvent.SYNCHRONIZATION_CHANGE, onSynchronizationChange,
    false, 0, true);_collectionNode.addEventListener(CollectionNodeEvent.ITEM_RECEIVE, onItemReceive,
    false, 0, true);_collectionNode.subscribe();
    /*** @private
    * Handles the creation of a collection node if it does not already exist
     protected function onSynchronizationChange(event:CollectionNodeEvent):void { 
    if (_collectionNode.isSynchronized) { 
    if (!_collectionNode.isNodeDefined(START_CHAT_LIST) && _collectionNode.canUserConfigure(connectSession.userManager.myUserID)) {_collectionNode.createNode(START_CHAT_LIST,
    new NodeConfiguration(UserRoles.VIEWER, UserRoles.VIEWER, true, false, true,false, NodeConfiguration.STORAGE_SCHEME_QUEUE));}
     public function connectChat() :void{
    trace('connectChat');_collectionNode =
    new CollectionNode();_collectionNode.sharedID = NOTIFICATION_COLLECTION_NODE;
    _collectionNode.connectSession =
    this.connectSession;_collectionNode.addEventListener(CollectionNodeEvent.SYNCHRONIZATION_CHANGE, onSynchronizationChange,
    false, 0, true);_collectionNode.addEventListener(CollectionNodeEvent.ITEM_RECEIVE, onItemReceive,
    false, 0, true);_collectionNode.subscribe();
    /*** @private
    * Handles the creation of a collection node if it does not already exist
     protected function onSynchronizationChange(event:CollectionNodeEvent):void { 
    if (_collectionNode.isSynchronized) { 
    //Creates the nodes if they don't exist 
    if (!_collectionNode.isNodeDefined(START_CHAT_LIST) && _collectionNode.canUserConfigure(connectSession.userManager.myUserID)) {_collectionNode.createNode(START_CHAT_LIST,
    new NodeConfiguration(UserRoles.VIEWER, UserRoles.VIEWER, true, false, true,false, NodeConfiguration.STORAGE_SCHEME_QUEUE));}
    /*** Checks if a chat is going to be started with this specific user
     protected function onItemReceive(event:CollectionNodeEvent):void { 
    var item:MessageItem = event.item; 
    var openChatEvent:OpenChatEvent = OpenChatEvent.ToOpenChatEvent( item.body, OpenChatEvent.OPEN_CHAT ); 
    switch (item.nodeName) { 
    case START_CHAT_LIST: 
    trace("Starting Chat Notified");  
    if( openChatEvent.userId && openChatEvent.userId == this.connectSession.userManager.myUserID ){
    this.dispatchEvent( openChatEvent ); 
    if( this._collectionNode.isSynchronized ) 
    this._collectionNode.retractItem( START_CHAT_LIST, openChatEvent.roomId );}
    break;}
    /*** Publishes a request for someone to join a chat
     public function publishChatRequest(notificationEvent : NotificationEvent) :void { 
    if( this.connectSession.userManager.getUserDescriptor( notificationEvent.userID ) ){
    var openChatEvent:OpenChatEvent = new OpenChatEvent( OpenChatEvent.PUBLISH_CHAT,null,notificationEvent.sharedID, notificationEvent.userNotificationList, null, notificationEvent.userID ); 
    if( this.presenceUsers )openChatEvent.descriptors =
    this.presenceUsers; _collectionNode.publishItem(
    new MessageItem( START_CHAT_LIST, openChatEvent, openChatEvent.roomId ) );}
    else{
    Alert.show(
    "User "+ notificationEvent.userID + " is not logged in.", "Publish Error" );}

    A) are these methods copied twice in the code here on purpose?
       connectChat() and onSynchronizationChange is repeated in code due copy paste mistake
    B) are both users subscribing to _collectionNode right away? Do each of them
    get to onSynchronizationChange?
       Yes , each of them get to onSynchronizationChange
    C) If you put a breakpoint in onSynchronizationChange, do you see the node
    get created? Do you see it in the dev console?
    Yes , it is creating a node
    D) Is user B receiving an onItemReceive at all? Is user A?
    Yes , it is creating a node
    Now both the user getting chat message, have following issue
    When user A initiate the chat with user B this action is not opening chat pod / window on user B end which shows user A has initiated chat with user B
    But when user B click on user A name to initiate the chat, this action opens a chat window and user B can see message send by user A
    Above scenario is not normal chat behavior in which other user gets the notification of chat . what could be the problem

  • When I try to open Firefox I get a message: "Update could not be installed. Make sure there is not another instance of Firefox. Restart and try again."

    Started w/FF 29 something.on Win XP (Home) SP3
    Verified w/Task manager and PS that there is no other instance of FF.
    Occurs only in my profile, administrator and other users do not get this message.
    First Resetting, did not work.
    Safe mode also did not work.
    Uninstalled completely, even deleted the Firefox folder from my profile and rebooted.
    Downloaded new versions, installed and same issue.
    Firefox now version 33, all seems up to date but I still get that message. When I open Help > About it says I am at version 33 and to restart to upgrade...
    Any ideas greatly appreciated.
    Have reverted to SeaMonkey for now.

    Hello sprytely, go for a clean re-install, this means you '''remove Firefox program files''' and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from the next full installer https://www.mozilla.org/en-US/firefox/all/ and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox|here]].
    <b>WARNING:</b>Do not use a third party uninstaller as part of this process. Doing so could permanently delete your [[Profiles|Firefox profile]] data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be easily recovered unless they have been backed up to an external device!</u> See [[Back up and restore information in Firefox profiles]]. <!-- Starting in Firefox 31, the Firefox uninstaller no longer lets you remove user profile data.Ref: Bug 432017 and https://support.mozilla.org/kb/uninstall-firefox-from-your-computer/discuss/5279 [Fx31] Windows uninstaller will no longer offer the option to remove personal data -->
    Thank you.

  • Had to reload i tunes following hard drive reboot now cannot acess i tunes stor keep getting error message "unable to connect to the internet connection timed out " but I have no problem getting onto the internet

    Had to redownload i tunes following hard drive reboot but now cannot connect the i tunes store as I get the following error message " itunes could not connect to the itunes store the connection timed out " I get this message as soon as I click on the store.
    Any ideas how to solve this  ?????
    Bill

    Had to redownload i tunes following hard drive reboot but now cannot connect the i tunes store as I get the following error message " itunes could not connect to the itunes store the connection timed out " I get this message as soon as I click on the store.
    Any ideas how to solve this  ?????
    Bill

  • When I open iTunes, I get a message that "iTunes has stopped working".  I've tried reinstalling itunes, creating a new user file, changing the startup programs, and am having no success in getting iTunes to stay open. Any "fixes" for this problem?

    When I open ITunes, I get a message that "iTunes has stopped working".  I have tried reinstalling iTunes, creating a new user file, changing the startup programs in accordance with articles in iTunes troubleshooting, but am having no success in getting iTunes to stay open.  Any fixes for this problem?

     

  • When i try to sync i get a message that says another user has it open

    I am trying to use itunes to sync my ipod and ipad (which I have done many times) and I get a message that says that another user has it open and it needs to be closed.  Does anyone have any guidance?

    Rysz wrote:
    A new one for me... A Reset never hurts and may help:
      Press and hold both the Sleep/Wake button and the Home button for at least ten seconds, until the Apple logo appears (ignore the Slide to Power Off option that shows up first).
    The message has nothing to do with iDevice.

  • When I load cds i get a message that states, "User not registered for online use." This problem has only begun since the new itunes update and is only a problem on my pc laptop.  Media content (track names, etc.) do not load.  Thanks

    When I load cds i get a message that states, "User not registered for online use." This problem has only begun since the new itunes update and is only a problem on my pc laptop.  Media content (track names, etc.) do not load.  Thanks

    See  Re: itunes 12 track names not found and user not registered for online use.
    tt2

  • When one acco has iTunes open, the other users get error message

    I have Vista Ultimate, 64 bit. My computer has three user accounts. If one user has iTunes open, then, when another user logs on, he gets window after window of "You can't start iTunes because someone else has it open", even though he's not trying to start iTunes!
    The only solution is to log off the first user which is not always desirable if that user is not around. This is happening awhile now. Is there no fix yet???

    I have the same problem described; let me add some information.
    1) I am set up as the "Owner" in Win7. My wife is set up as 2nd account. If I have iTunes open and my wife opens her account nothing happens. However, if my wife has iTunes open and I open my account, Windows gives me that annoying message saying that another user has iTunes open...every 30 seconds.
    2) I searched through the forum and found several others with the same problem:
    http://discussions.apple.com/thread.jspa?threadID=2168866
    http://discussions.apple.com/thread.jspa?messageID=10643226&#10643226
    http://discussions.apple.com/thread.jspa?messageID=10344281&#10344281
    http://discussions.apple.com/thread.jspa?messageID=10511702&#10511702
    Most interesting thing I learned from this is that this error is found on multiple Windows platforms, but everyone is using an HP computer.
    Is there some script that HP runs that is messing with iTunes?

  • I am getting a message with some songs in my itunes library that has a different user id and says my computer is not authorized to play this song. ***?

    Since transferring my iTunes library to a new computer, my library is just a mess.  There are lots of songs that are duplicated 2, 3 and 4 times although all but one of the songs will get a message saying iTunes cannot find the file.  Now I am getting a messages with some songs that shows a different user id for iTunes and wants the password.  I have spent lots of $$$ and time trying to resolve these issues but really want to know what the heck is going on here?

    Maybe you purchased some of the other songs using a different itunes account.
    Could this be?

  • I have been uploading videos to Facebook with no problem.   Now get a message that the user has opted out of FB platform.  Videos will not upload.

    I have been uploading videos to FaceBook for about a month now with no problems.  Yesterday, I went to post another video and got this message "user has opted out of FaceBook Platform."  I can still post photos from this computer as well as make regular written posts.  All videos posted are 10-11 minutes in length.

    I too have noticed that once i restored from iCloud. Pictures blurry and videos wont play!
    Need help too!!

Maybe you are looking for