How can i lock users so the can't get into a transaction

Hi everyone.
I've developed a workflow that updates an status in TCODE PP02.
When user create the infotype, i have a BADI that starts a workflow.
If user want to modify the infotype, it has to tell him that that object is managed by workflow.
Problem is that the workflow has a task that has to update the status of the infotype. Because of BADI, i cannot update because i get the messagte that the object is managed by a workflow.
I have to have 'something' in the BADI that allow me if the object is being edited by a user or by a workflow.
Regards,
Inigo.

Problem is that i must force the user to do it with workflow task.
This is the scenario.
A user creates an infotype. Automaticly, the workflow is ttarted and the task send to users determined by a function module.
Now, because that object is managed by workflow, nobody can change it via tcode. They have to execute the task (which has a call trasaction that do the same that if you access normaly trough its TCODE).
I've made a check in a BADI for users that try to change the infotype via TCODE. They get a message ..'Error, object is in a workflow task' (checked with FM 'SAP_WAPI_WORKITEMS_TO_OBJECT).
The problem is that the task executes a call transaction and the process is the same as if you execute the TCODE 'online'. The FM is called and get the response that the object is in a workflow task.
I need some info (don't know where to get it) that can be searched in the BADI and determine if the user that is executing that BADI is an online user or is a workflow task the one that is executing that BADI.
Regards,
Inigo.

Similar Messages

  • How can I get into my ipad if I don't have the password or the original computer to reset or resynch? It's locked now since the passwords I thought are not correct. What can I do?

    How can I get into my ipad if I don't have the password or the original computer to reset or resynch? It's locked now since the password I thought was set is not correct. What can I do to get back in or reset? Thanks

    http://support.apple.com/kb/ht1808

  • HT4061 I locked myself out of my phone and am out of the country without access to a computer only an iPad to email and access iCloud  how can I get into my phone

    I locked myself out of my phone and am out of the country without access to a computer only an iPad to email and access iCloud  how can I get into my phone

    Hi Myreiac,
    Here's what the Apple Support site says you can do if you do not have access to a computer when your device has been disabled:
    If you are using Find My iPhone, you can use Remote Wipe to restore your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode.
    You can access Find My iPhone via the Find My iPhone app on your iPad.
    Good luck!
    Cheers,
    GB

  • Getting as message that says"The folder "Desktop" could not be opened because you do not have sufficient access privileges". How can I get into this folder?

    Getting as message that says"The folder "Desktop" could not be opened because you do not have sufficient access privileges". How can I get into this folder?

    OPen your Users folder, Highlight the Desktop Folder, do a Get Info or CMD+i on it, see if it's locked or if you have Rights & Privileges at the bottom.

  • Email Password box stays on, forgot password. How can I get into the setup to reset??

    On iPad, the Email Password box appears and will not go away.
    We have reset password, but it will not sync.
    How can I get into Setup, when the Email Password Box will not go away to allow me to get into setup??

    Did you try rebooting the iPad by holding down on the sleep and home buttons at the same time for about 10 seconds until the Apple logo appears on the screen?
    If that doesn't work and If the email password screen is preventing you from unlocking the iPad ... Meaning that you cannot access the iPad at all ... You will have to restore the device in order to get rid of the passcode. This situation is very similar to being locked out of the iPad because of a forgotten device passcode.
    You can read about it here.
    iOS: Device disabled after entering wrong passcode
    support.apple.com/kb/ht1212
    Sep 19, 2012 – When you set up a passcode to secure the use of your iPhone, iPad, or iPod touch and you then enter the wrong passcode, you may see a red ...

  • How can I get into my ipod 5th generation if I forgot the passcode?

    How can I get into my ipod 5th generation if I forgot my passcode?

    Forgotten Screen-Lock Passcode
    Connect the iOS device to your computer and try to make a backup
    iOS: How to back up
    Then restore via iTunes. The iOS device will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store   
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • HT1212 how can i get into m locked iPod? as i have forgoten my passcode and is says "iPod is disabled connect to iTunes"

    how can i get into my locked iPod? as i have forgoten my passcode and is says "iPod is disabled connect to iTunes"

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • How can I get into updates in the app store on my ipod touch.  I am told that it cannot connect to the itunes store, How can I get into updates in the app store on my ipod touch.  I am told that it cannot connect to the itunes store

    How can I get into updates in the app store on my ipod touch.  I am told that it cannot connect to the itunes store, How can I get into updates in the app store on my ipod touch.  I am told that it cannot connect to the itunes store

    See thes previous discussions:
    App Store Updates (but only Updates)...: Apple Support Communities
    Apps suddenly don't update: Apple Support Communities

  • My iphone 3GS gives me this message: Your Apple ID has been disable. How can I get into the apps?

    My iphone 3GS gives me this message: Your Apple ID has been disable. How can I get into the apps?

    Apple ID FAQ
    http://support.apple.com/kb/HE37
    Apple ID Security Alert
    http://support.apple.com/kb/TS2446

  • TS2734 Passcode has been forgotten...How can I get into the phone?

    Help!  My passcode has ben lost/forgotten....How can I get into the phone?

    Try this
    http://support.apple.com/kb/HT1212

  • HT201401 cannot open the menu and cannot even turn it off, the white apple image is displayed on the screen. how can i get into the menu?

    cannot open the menu and cannot even turn it off, the white apple image is displayed on the screen. how can i get into the menu?

    Hold down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple logo appears - ignore the red slider.

  • How can i get into my daughters ipad when she cant remember the passcode

    how can i get into my daugters ipad when she cant remember the passcode

    You will need to restore your iPad from the same computer that you most recently synced to.
    Read this: http://support.apple.com/kb/ht1212
    If you can't do the restore then you will need to try recovery mode.
    Read this: http://support.apple.com/kb/ht1808

  • How can I get into my i-pod if i forgot the passcode?

    How can I get into my i-pod if i forgot the passcode?

    connect your ipod to your mac and the summary page on itunes will show up. On the middle of the page it will say restore, click on it follow the prompts and you should be good:)

  • HT1349 My iPad is disabled. I have only just been able to find the serial number on the back of my product by using a magnifying glass but even now from "Support" I get an unknown serial number advice. How can I get into it?

    My iPad is disabled. I have only just been able to find the serial number on the back of my product by using a magnifying glass but even now from "Support" I get an unknown serial number advice. How can I get into it?

    Explain exactly what happended - disabled how - and why are you trying to read the serial number? So that you can use it on this site?
    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • HT1414 I loss my iphone 4, got a iphone 5 and try to restore the iphone info from my laptop.  But the itune requires a password, which I forgot (I set this up two years ago!).  How can I get into my itune to restore the iphone info.

    I lost my iphone 4, got a iphone 5 and try to restore the iphone info from my laptop.  But the itune requires a password, which I forgot (I set this up two years ago!).  How can I get into my itune to restore the iphone info.

    Go to appleid.apple.com and try to login there. If unsuccessful, there is a link to change your password.

  • I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone an i have internet and all other functions working on my computer

    I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone and i have internet and all other functions working on my computer

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents—the text, not a screenshot. I know the report is long. Please post all of it anyway.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

Maybe you are looking for

  • Upload text in cutomer master

    hi! i have falt file with two columns customer number and text. customer numbers are already uploaded into the (table) sap, i need to upload text by READ_TEXT and SAVE_TEXT in VA02, can anybody sent me the sample program for it? regards anjali

  • Thumbnails not visible

    Using LR 3.3 on a Mac with Snow L. My catalog shows 72 images in a ceertain folder, but only 8 actually show as thumbnails. I therefore have no access (in LR) to the other 64. If I search for one of them by name, it can't find it. If I try to re-impo

  • Importing metadata from other catalogs

    Can aperture import metadata from any programs except iPhoto? If not then is the only way to get data on old files into Aperture via embedded IPTC metadata? iView Media Pro and Extensis Portfolio can export metadata databases. I've got about 3000 key

  • IPhone Camera won't save photos/iPhoto can't see photos

    My iPhone camera is having a lot of problems.  1. Photos the are clear when taken are blurry when reviewed. 2. When I try to delete a photo, it says "saving photo" instead. 3. Photos don't save properly. 4. Although I have 900 pics on my iPhone, iPho

  • Idvd6 more than 1 hour of footage to burn

    is there a way to put one and a half hours onto a dvd with iDVD?