Workitem - Vanishes and capturing sy-ucomm

Hello,
I have new to workflow area and have couple of questions. I have browsed through the documentation and could not get clear answers.
1.     I am sending a workitem to user, User is supposed to open it and approve/reject. If for user some reason does not do both and exit out of the screen workitems is vanishing from user inbox. How to fix this issue?
2.     I want to capture sy-ucomm from in the screen of workitem to workflow method and export it to next step. How to do this.
3.     Can I pass more than I parameter to my rule? If yes how and what code should I write to retrieve the values.
Thanks
Nani.

If your work item (step) uses a synchronous dialog task the work item is reserved when it is started, not completed.
Unfortunately SAP does not alert the application when the user closes a window using the window menu (or close button that you refer to). This should definitely have lead to some form of syst-ucomm, but it doesn't. I have had the same problem, and user training is the only solution. My experience is that the work item is reserved, as mentioned. My guess is that you have an asynchronous task without terminating events. This will be completed as soon as it is executed.
If you want behaviour to be different you have to either use an asynchronous task with terminating events, use a synchronous task or do some other trick (although I can't really think of any now).
Message was edited by Kjetil Kilhavn:
Darn... just saw that your later update says the work item does not actually vanish. My comments are still valid though, but perhaps not as helpful as they would have been if I had answered sooner.
What you should do if the user doesn't complete his processing and leaves using the "Back" or "Exit" or "Cancel" menu options/toolbar buttons is to raise the cancelled exception in your business object. You do this by using the statement "exit_cancelled." The work item will then be kept in the user's inbox in a reserved status.

Similar Messages

  • Unable to capture sy-ucomm in BDC

         Hello Everyone, 
    I have created a BDC for CG3Y everything is working fine after creating a log when sy-subrc eq 0. when user hits SAVE I have given a message stating 'LOG HAS BEEN GENERATED' but when the pop for overwrite appears and I hit NO, it should give a different message for that i am not able to capture SY-UCOMM.
    please help.

    Actually the issue was just had to get the file(Error log) from Application Server to Presentation, Here is the code for it.
    data: i_fl_openerror type boolean,
    i_os_message(100) type C,
    i_flg_continue type boolean.
    CALL FUNCTION 'C13Z_FILE_DOWNLOAD_ASCII'
    EXPORTING
    i_file_front_end          = 'C:\ERROR_LOG.XLS'
    i_file_appl               = '/USR/SAP/TMP/FILE3.XLS'
    *   I_FILE_OVERWRITE          = ESP1_FALSE
    IMPORTING
    E_FLG_OPEN_ERROR          = i_fl_openerror
    E_OS_MESSAGE              = i_os_message
    EXCEPTIONS
    FE_FILE_OPEN_ERROR        = 1
    FE_FILE_EXISTS            = 2
    FE_FILE_WRITE_ERROR       = 3
    AP_NO_AUTHORITY           = 4
    AP_FILE_OPEN_ERROR        = 5
    AP_FILE_EMPTY             = 6
    OTHERS                    = 7
    IF sy-subrc <> 0.
    case sy-subrc.
    when 2.
    CALL FUNCTION 'C14A_POPUP_ASK_FILE_OVERWRITE'
    IMPORTING
    E_FLG_CONTINUE       = i_flg_continue
    if i_flg_continue eq true.
    CALL FUNCTION 'C13Z_FILE_DOWNLOAD_ASCII'
    EXPORTING
    i_file_front_end          = 'C:\ERROR_LOG.XLS'
    i_file_appl               = '/USR/SAP/TMP/FILE3.XLS'
    I_FILE_OVERWRITE          = ESP1_TRUE
    IMPORTING
    E_FLG_OPEN_ERROR          = i_fl_openerror
    E_OS_MESSAGE              = i_os_message
    EXCEPTIONS
    FE_FILE_OPEN_ERROR        = 1
    FE_FILE_EXISTS            = 2
    FE_FILE_WRITE_ERROR       = 3
    AP_NO_AUTHORITY           = 4
    AP_FILE_OPEN_ERROR        = 5
    AP_FILE_EMPTY             = 6
    OTHERS                    = 7
    IF sy-subrc <> 0.
    write : / 'CANNOT DOWNLOAD' , '/USR/SAP/TMP/FILE3.XLS' .
    else.
    write : / 'LOG HAS BEEN GENERATED C:\ERROR_LOG.XLS'.
    endif.
    else.
    write : / 'LOG NOT GENERATED'.
    endif.
    when others .
    write : / 'CANNOT DOWNLOAD FILE1', '/USR/SAP/TMP/FILE3.XLS'.
    endcase.

  • Unable to Log and Capture AND make FCP a boot disk

    I am unable to go into Log and Capture mode in FCP 4. I can capture from firewire using I movie just fine so I know the sytem works. The minute I open Log and Capture from within FCP (with the JVC Mini-DV camera hooked up thru Firewire), it crashes. Help. I upgraded from FCP 3 to FCP 4 a couple years ago and it hasn't worked right since. Would re-installing the FCP 4 upgrade work? Also, my system works very sluggish. Please explain to me how I would make the veersion of FCP 4 my boot disk. I realize that I can't have the FCP 4 application and the media on the same drive but is there a way to partition one of my drives and make FCP one of the startup disks? Hope this isn't too confusing. Thanks.

    First off, FCP 4 was darn unstable. FCP 4.5 is a free upgrade and is STILL the most stable version out there. FCP 5 is getting there.
    Secondly, try:
    Shane's Stock Tip Mantra: If the program was working fine, and now isn't, or just isn't working the way it should, the first things to do are:
    1) Trash your FCP preferences. Download the appropriate version of FCP Rescue at http://fcprescue.andersholck.com/ and run it.
    2) Open the Disk Utility and Repair Permissions.
    As for partitioning the hard drive, that isn't necessary. Hasn't been since FCP 3.
    Shane

  • Log and capture problems for HDV using FCP 5.0.1

    I cant seem to get a picture in my log and capture browser when using HDV. The screen says my camera is connected, I see timecode correctly rolling in sync with my cameras timecode, I can use the controls, but no picture on the screen?
    When I hit capture now, the capture screen pops up and gives a message "waiting for data from device".
    we shot at 720p at 25fps, there is no capture preset for this in my version of FCP. Could this be the problem? Please help!!

    Thanks for responding.
    It's a mac osx 10.4.11 and a 2 ghz intel core duo. I'm using easy set up in final cut pro, but there is no option for hd fire wire basic (which apple support told me to look for). The only hd options are 1080i50, i60 and 720 p30. The other hd options are for the apple intermediate codec. When I use the easy set up for hd 1080i60, then go to log and capture, it doesn't give me the preview window to set in's out, batch capture etc. It only lets me capture straight from the camera and I have to manually stop it and start it which is a major pain. Plus the clips need to be rendered once I put them in a timeline. I've shot and edited on mini dv with final cut for nearly 7 years, but now that i've tried to upgrade and shoot hd mini dv, all of these problems have arrived in capturing. I'm starting to think my version of final cut pro (5.0.1) just doesn't work with hd, unless it's very time consuming. Any ideas?

  • Unable to "Log and Capture" with Canopus

    Hello all -
    Recently bought a Canopus ADVC700.
    Connected it to my Apple G4, running FCP HD 4.5 and to my Sony DSR20 VTR.
    Audio and video can be caputred using the "Capture Now" method, but I'm unable to log shots and then capture.
    Tried several work-araounds, using "Easy Setup" and "Capture Settings", but I have zero control on the Sony deck.
    What am I doing wrong?
    I've contacted Canopus and awaiting a reply...also checked their website to see if I needed a driver (which there appairently isn't one).
    Thanks!

    I kinda think you've configured this all wrong and Canopus is now part of Thomson/Grass Valley so I'm not at all surprised that the support on this product is a little, umm, lacking.
    I would try this to start and then start on other variations if it don't work.
    DSR20 - Firewire - ADVC700
    DSR20 - RS422 Dsub cable - ADVC700
    ADVC700 - Firewire - Apple G4
    FCP's capture/control configs should be set to firewire, logically.
    DSR20 control menu should be set to rs422
    ADVC700 should be set to rs422 control
    Thinking through what you have going on this sounds logical to me.
    I don't understand why you're using S-video between the DSR20 and the ADVC700. You're undergoing a conversion of DV25 to analog if you use S-Video as well as the bnc composite spigot and then converting back to DV25 in the 700.
    Do you need a frame sync or just RS422 control?
    Is there any reason you can't use a [Keyspan 28X|http://www.keyspan.com/products/usa28xg> with an [Addenda|http://www.addenda-elect.com/product.htm] Mac to RS422 cable? I used this set up for a long time on my G4 and it worked great with my JVC vtr.

  • Log and Capture in FCP 6.0.5 flash red frames

    So I have been having a very odd and troubling issue during my log and capture stage in post production, whenever I try to import a tape into FCP I get this intermittent red colored frame that flashes for what I could only guess is a frame and it happens probably every ten frames or so; I've tried every combination of hardware troubleshooting from a different deck and camera, tapes from all different times and cameras and formats, different firewire cables and even different firewire ports.
    Has anyone has any experience with this or even anything like this, and if so how can I make it stop, I have even tried that final cut maintenance program and basically everything short of a clean reinstall... do I really have to go that far!?

    Some users have success with the newer drivers others not so fortunate.
    Read through this thread:
    http://discussions.apple.com/thread.jspa?threadID=2676952&tstart=0
    Al

  • No Audio during Log and Capture

    Hello, I have FCP 6.0 and am unable to hear my audio during log and capture. I have this problem on all 5 G5 Macs that I have, and have tried different editing docks and cables. I have used FCP for more than 5 years and have never had this problem. iMovie has audio during capture, so I am convinced that there is a pre-set in FCP that I don't have checked properly, but I've been over them many times and still have no answer. I searched past forums and didn't really find anything helpful to me.
    My pre-sets are set to DV NTSC 48kHz and the playback pre-sets are set to default. I can hear audio of my clips after I log and capture, but I still need to hear audio during importing. I'm more confused than anything. If anybody has had this problem before or any suggestions for me, I'm all ears.
    Thanks.
    John

    ... as Bogie says.
    However... this is a non-feature that dates back to slower CPU days... yet, still with all the different formats and such I (ME!!) I believe it's still good practice to leave it off.
    Devoting as much CPU work to the capture process lessens the chance for something to go wrong. You can easily monitor the audio directly out of the deck as needed.
    Sure -- octo cores need 30 apps open just to get your money's worth and I'm sure you won't have any issues using an 8th of one to send audio thru itself while the other 7 and 7/8ths are used for capture... but who wants to risk it?
    Not me... I'm to old to change my ways.
    Blast you FCP v1.2.5 on a beige G3 with 7gig and 15gig hard drive -- you taught me well.
    CaptM

  • Preview disabled in log and capture

    I am using Final Cut Pro 7 on the latest iMac i7.
    I have a DVCam deck connected to the iMac via a firwire 800 cable.
    There is a DV tape with DV footage in the deck.
    I am able to control the deck from log and capture but the display is the colour bar window with PREVIEW DISABLED on it.
    I have checked and double checked that my settings are correct, that video and audio are selected in capture settings etc etc.
    Everything is selected correctly on the deck.
    All mu suer preferences and presets are also correct.
    I have trashed FCP preferences as well.
    The content on the tape is viewable fine on the camera and on an external monitor.
    So, in summary:
    I am unable to log and capture DV material from the tape even though the deck is controllable from log and capture window.

    It's a Sony DVCam DSR 11 deck which will play mini DV or DvCam tapes recorded in PAL or NTSC.
    I haven't changed anything on the deck at all since last usung it a few weeks ago with the G5 and Tiger OS. I simply unplugged the firewire and plugged it straight into the new iMac.
    The old G5 was running FCP6, but because the G5 and Tiger (it's was a pre Intel machine) won't run FCP7 I decided to use this as the reason to upgrade and chage to the iMac i7 Lion OS.
    The material in question is PAL DV on mini tapes.
    The camera is a Panasonic DVX100A and only capapble of recording in SD DV.
    All the selection switches are correct on the deck. I'm puzzled why I can get the image and capture from the camera, with the same cable, and yet not from the deck.
    Thanks Michael

  • Log and capture freezes - please help

    hi,
    I'm using FCP 5 (studio). on G5 dual 2GH 1GB.
    it has become a nightmare to log and capture. after few minutes from working with log and capture the applications freezes. I have to force quit FCP.
    I trashed the preferences once, I re-installed, but the same thing is happening. I'm working on 2 projects, deadline is approaching.
    I appreciate any helpful responses.
    sz

    Are you trying to record three video streams simultaneously? Or by a video amplifier, you mean a video switcher?
    If you are using Capture Now, make sure you have set a capture limit. This is why:
    When you use log and capture, the disk system is being asked by FCP to essentially "keep capturing until we tell you to stop ... and no, we don't know HOW much that will be either." It is stressful on the system to be continually wandering around looking for space to stuff those ones and zeros with out any sense of how many they have to accommodate. One solution available to the system is to allocate the ENTIRE empty space on the disk as the potential capture file. This essentially locks the machine as there is no headroom for basic disk operations.
    However if you set a limit on capture now, say 60 minutes, the disk system can allocate the space and may seem to be less confused by the process. It still does not know EXACTLY how much you want, but it knows you will not want MORE THAN the limit and therefor can reduce some of the uncertainty.
    Better yet is to record to a timecode addressable tape. This allows you to log the tape, then use batch capture. When you do this, the system knows EXACTLY how much space to allocate for each file and is very efficient.
    Good luck.
    x

  • HP Scan and Capture Can't change the location that scanned documents go to

    I just upgraded to Windows 8.1.  I scanned a word document using HP Scan and Capture and the default location to save files is now "This PC".  I can see the folders under "This PC" and can save the document to one of the folders, but I can no longer browse to anything else.  If I click on This PC, I have the option to go to OneDrive, This PC or Network.  
    If I click on Network - I can type in \\mycomputer but it just let's me select a folder.  I'm trying to get to an external hard drive and I've tried typing \\external drive,  \\f, \\f:, \\f:\
    Anyone have any suggestions? I've gone to the preference section of HP Scan and Capture and when I select that I want to change the default location where I save the files, it puts me back to the This PC area.

    Hello mnmjackson, and welcome to the HP Forums.
    I see you are running into issues with your scans save location.  I would like to try and assist.
    I would recommend creating a new destination folder, and manually type out the full file path.
    Please let me know if you have any questions.  Thank you for posting on the HP Forums.
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Log and capture big problem

    I am using FCP 3 (fully registered) i hit the log and capture NOW feature, and the screen brightness drops in half and a message that says I have to restart my computer and freezes up my computer.   The message is in 4 different languages making me think that it may be a computer error rather than a FCP message.
    I deleted my FCP plist file, and the FCP user data,  preference file and the POA cache file. Problem is still there.

    That's a kernel panic - whole system stalling.
    Do you have both FCP 7 and FCP X installed?
    If so, did you follow installation instructions provided by Apple:
    http://support.apple.com/kb/HT4722

  • Officejet Pro 8600 e. Problem scanning from Scan and Capture App in Win 8.1

    Officejet Pro 8600 e.  New.
    Installed on HP Envy 23 Touch. Running Windows 8.1.  
    Wireless set up. Prints fine.  Problem is scanning from the HP Scan and Capture Software App in Win 8.1  
    Using Scan and Capture App I can scan photos fine.  They come out clear.  Scanning documents in GRAY has multiple bands/lines in gray over the entire page running vertically.  Scanning documents in COLOR are fine.
    Also, if I scan from the printer directly using the touch screen on the printer, the scan output is fine.
     I did the Scan utilty to discover any errors and it did not show any.  I think it's a software error.  I am going to uninstall the HP Scan App and then reinstall.  So, I will do the uninstall/reinstall and report back.
    Also, I would like to know if there is a desktop program for scanning?  I would prefer to use that instead of the Modern HP Scan and Capture App.
    Thanks....
    This question was solved.
    View Solution.

    Hi artrum,
    I understand you've been experiencing issues scanning from your Officejet 8600 using the Windows Scan and Capture program. I will certainly do my best to help you with this!
    From what you've explained, I believe you're correct, it does seem like it's an issue just with the Windows Scan and Capture program and as you've been able to scan from the front panel of the printer you definitely have the HP software installed. What I'd like to do is have you use the HP Scan software, where you should no longer run into issues.
    To access the HP Scan software and be able to access it easily from your desktop I'd like you to follow the steps below:
    1. Go to your start screen and just start typing File Explorer. You should be able to then open it to access your computer's files.
    2. Then open Local Disk (C: ), followed by Program Files (x86), followed by HP, then HP Officejet Pro 8600, followed finally by bin.
    3. In the bin folder you should see HPScan. You will want to right click on HPScan and go to Send To and then select Desktop.
    Now you should see HP Scan on your desktop and be able to open it and scan through that application.
    Hope this helps, have a great day!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • WIndows 8 App - HP Scan and Capture

    HP has released a cool new app for scanning on Windows 8.  If you have a copy of WIndows 8, you can download HP Scan and Capture from the Microsoft Store or by clicking on this link:
    http://apps.microsoft.com/webpdp/en-US/app/hp-scan​-and-capture/94fffdd0-bb3b-4adc-96ca-24c1d79e16c6
    The official list of supported devices is:
    HP Color LaserJet CM1410
    HP Color MFP 100
    HP Deskjet 3050 J610 series
    HP Deskjet 3050A J611 series
    HP Deskjet 3070 B611 series
    HP Deskjet 3520 series
    HP Deskjet 4620 series
    HP Deskjet 5520 series
    HP ENVY 100 D410 series
    HP ENVY 110 series
    HP LaserJet 200 color MFP M275
    HP LaserJet 200 color MFP M276
    HP LaserJet 400 MFP M425
    HP LaserJet M1530
    HP LJ300-400 color MFP M375-M475
    HP Officejet 4620 series
    HP Officejet 6500 E710a-f
    HP Officejet 6500 E710n-z
    HP Officejet 6600
    HP Officejet 6700
    HP Officejet 7500 E910
    HP Officejet Pro 8500 A910
    HP Officejet Pro 8600
    HP Photosmart 5510 series
    HP Photosmart 5510d series
    HP Photosmart 5520 series
    HP Photosmart 6510 series
    HP Photosmart 7510 series
    HP Photosmart Plus B210 series
    Please try it out if you have one of the supported devices and let us know what you think!
    Although I am an HP employee, I am speaking for myself and not for HP.
    This question was solved.
    View Solution.

    Could it be that the App isn't there for me - I am in the UK, and I don't get any chance to install from the Store (or from your link).
    Best regards,
    Jeff

  • Scan and Capture minimizes to taskbar immediately and does not allow scan selection

    Scan and Capture was working great prior to upgrade to Windows 8.1 and (I think) and upgrade to V1.4.  I vaguely recall using some app from HP to uninstall the previous version... 
    Current symptoms are that the app will fire up, briefly show the splash screen, and then immediately minimize to the task bar.  Clicking on the app in the task bar will bring the splash screen back up briefly, followed by minimization again to the task bar.  The app can be closed by right clicking the app on the task bar.
    I have uninstalled the app and reinstalled to no avail.  My guess is that there is some registry junk left behind during the uninstall that needs to be scrubbed.  Probably a function of the uninstall of the previous version?
    App works just fine on another Win8.1 PC with the same printer, so I doubt it is a hardware or network issue, however, for completeness, the scanner is an HP CM1312nfi MFP and the PC is an HP Pavillion, [email protected], 8GB RAM, running 64 bit Win8.1 Pro with Media Center.
    Thanks for any pointers.

    To follow on...
    I reinstalled the Complete Package.  Subsequent to this install, the legacy HP Laserjet Scan (with UI from 2009) and the legacy Windows Scan and Fax applications connect and scan from this MFP just fine.
    The Metro apps (Windows Scan and HP Scan and Capture) do not.  The Window Scan (Metro) gives a "Problem Connecting to Scanner" error. 
    The HP Scan and Capture has the same behavior as before -- splash screen for a second and then minimized to the task bar.  I have also tried to launch HP Scan and Capture from the HP AiO Metro app with the same results.
    To sum up, the WinXP applications work.  The Win8 applications do not.
    Junk in registry?  Or driver issue?

  • HP Scan and Capture collate

    I'm using the HP Scan and Capture app on an HP Envy desktop using Windows 8.1 and an HP Officejet 6500A Plus multi-function scanner.
    When I do a two-sided scan using Scan and Capture it doesn't collate the pages.  For example, if I have a four-page document the page order will come out as 1-3-4-2.  I then need to isolate p. 2 and drag it to the proper spot. 
    This is a nuisance for a four-page document, and it is unworkable for a 25-page document.
    The work-around is to use the printer's native software, which does properly collate two-sided documents.  However, the native software is not as user-friendly as Scan and Capture.
    I thought the new HP app working with a new HP Envy with an HP scanner should be able to handle the collate function.  Am I missing something here?

    Hello Aprun,
    Welcome to the HP Support Forums!
    I have tried this on my lab equipment and came up with the same results. It would appear that you have found out the best work about for this issue. If anything changes with this, I will let you know.
    Cheers,
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

Maybe you are looking for

  • Where is the hyphen (-) on the apple TV?  I am trying to set up my network and there is a hyphen in the password for the network

    Where is the hyphen on the apple TV?  I am trying to set up my network and there is a hyphen in the password for the network

  • Final cut upgrade from express to studio.

    hello there mac world. hey I have final cut express 4 HD and I want to upgrade to final cut studio. Do I need to buy the full version or can I buy the upgrade?

  • Document Object for HELP_OBJECT_SHOW

    Hi Experts, I need to program an F1 help. For this i want to use the FM HELP_OBJECT_SHOW. eg. CALL FUNCTION 'HELP_OBJECT_SHOW'        EXPORTING             dokclass = 'TX'             doklangu = sy-langu             dokname  = 'DEMO_FOR_F1_HELP'     

  • A basic question about web service

    Hello, Does all the Web services need to be run under a Web server? Or it just needs to be run under a server which has either a web container or a J2EE container? I mean if the application does not need to generate HTML pages, but just generate SOAP

  • Hash # in url

    APEX version 3.1.2.00.02 I have a interactive report with a few columns of which one is a link. The link is created from page items and column values. The URL for the link might look like f?p=&APP_ID.:8:&SESSION.::&DEBUG.:RP:P8_NAME,P8_SHOW:#NAME#,&P