Automator Stop Capture error

I was trying to make a screen capture service, but have been hitting errors in the Start Capture and Save Capture actions. I tried to make a service as simple as New Screen Capture > Wait for User Action > Stop Capture, but it gives me an error on the Stop Capture action (even though it does stop the recording). The error just says "can't make missing value into type alias."

Clicky23 wrote:
Cool, at least that lets the workflow keep going. It's still not returning the video
Here's a script that returns the new Quicktime video to the next action, even if the user has already opened other video.
on run {input, parameters}
    tell application "QuickTime Player" to if exists document 1 then
        try
            set screenRecordingDoc to first document whose its current screen compression's name is not ""
            set allDocs to name of documents
            try
                stop screenRecordingDoc -- to stop capture
            end try
            repeat 5 times
                my waitSec(1)
                if not (exists screenRecordingDoc) then exit repeat
            end repeat
            repeat with tDoc in (get documents)
                if name of tDoc is not in allDocs and file of tDoc is missing value then -- a new doc name ("Untitled x") in the list of names, and this document is not a file
                    return contents of tDoc -- return the new Quicktime video
                end if
            end repeat
        end try
    end if
    return {} -- no screen capture or no document
end run
on waitSec(n)
    do shell script "sleep " & n
end waitSec

Similar Messages

  • Capture error premiere pro cs3

    I've got an ongoing capture error in premiere pro cs3 (on Mac OSX).
    At around the 9 minute mark of capturing, it stops and says 'Unknown recorder error'. The footage is still captured if I stop it straight away but lost if I leave it for a while. I'm using canon hv30 camera to capture dv footage (not hdv) and can't seem to solve it. Any suggestions?

    Try a different capture utility.  VideoHelp.com will list plenty of free alternatives.  If they stumble as well, there ie likely something wrong with the tape at that spot.

  • Capturing errors when you run mappings.

    Hi all,
    Your help is appreciated. Thanks in advance.
    My questions are.
    1. How do you run mappings using sqlplus and run these mappings as a Batch in windows.
    2. How do i capture errors without stopping the batch process. If there are any errors it should write to the error table and go on.
    3. I am not using any process flow So i need to now how to call all the mappings one by one and writing the errors to the error table.
    4. Does warehouse builder has a built in error table to use. If so how do you use it and what is the table name.
    5. If i have to schedule these mappings how do i do it.
    6. what is the difference between oem_exec_template.sql and sql_exec_template.sql
    I am using owb 10.2 version. Anyone out Please help me out. I really appreciate your help. If you have any sample code too that will help.
    Thanks
    Danny
    Edited by: vdanakon on Sep 19, 2008 10:55 AM

    Check these two scripts: sqlplus_exec_background_template.sql and sqlplus_exec_template.sql
    They are in OWB_HOME\owb\rtp\sql
    About DML Error Logging check http://www.rittmanmead.com/2008/01/31/owb11g-dml-error-logging-and-data-rules/

  • I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    Please refer:
    http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac- os.html
    Regards,
    Ashutosh

  • Capture Error Message: Tape Trouble--Check VTR

    On certain sections of different Digital Betacam source tapes (via SDI and RS422 deck control--Sony J-30 deck @ DVC Pro 50 resolution) I get the following error message:
    "Tape trouble--check VTR. Do no attempt to eject tape or use transport without checking VTR first."
    The tape keeps running with this message up on the screen but the drive has stopped capturing. There are no timecode skip warnings and no other indications. Was wondering if this message is generated by Kona (will check with AJA on Monday) or FCP? I have successfully captured other sections from the same tape. Tape dub stock is brand new.
    Perhaps the warning is correct and some anomally is being detected on the tape at only certain capture points on the same tape. There are no error messages on the deck display which tells me the deck & tape are actually ok. These pro decks are pretty good at letting you know if there's a tape slack, tape moisture or control track problem. But has anyone else experienced this and have knowledge about it?
    Thanks
    Steve

    Sounds like the VCR is sending false signals, or they are true, and you just don't see the problem when the deck sends the message to FCP.... I'd be prone to start trouble shooting this by resetting all the parameters of the playback machine in it's on screen menu etc... I'd suppose too that if there is the slightest error being detected, the deck will kick out the capture process. So might need to have the deck sent to maintenance.
    Jerry

  • General Capture Error

    Hi all-
    I'm having some Final Cut problems, and hoping someone has an idea on how to help!! When I log and capture in Final Cut, occasionally it will get to the end of whatever I'm capturing and say "General Capture Error- an unknown capture error has occurred." Whatever I am capturing which I watched import in the computer disappears. In addition, if I try to use capture clip or stop the capturing say a minute before the end of the clip to avoid the problem, I still get a capture error and the file disappears.
    I'm bringing my G5 in to Apple next week to get fixed. I'm also having trouble burning discs from iTunes and I can't Verify & Repair disk permissions. I'm running Final Cut 5.0.4. Is this the sort of problem where I should ask them to erase and reinstall everything? Thanks for any insight.

    I had the EXACT same problem, down to the last detail. And like you, I couldn't solve it. Tried everything. Called everyone. Researched everywhere. Nothing. But then I solved it.
    It wasn't the computer, camera or any settings, it was the hard drive format. My external hard drive was formatted to FAT32, which has a 4GB file limit. So any video capture over 4GB would general error when it should complete the capture. I formatted the hard drive to Mac OS X Extended Journaled (which has a huge limit) and now it works perfectly. I just captured two separate hour-long files with no problem on Batch Capture.

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • How can I fix a "Plugin Container for Firefox has stopped working" error?

    Windows 7, Firefox 30
    After changing how Firefox handled cookies (changed to forbidding 3rd party cookies, asking permission to set cookies), I rebooted my system, and Firefox would not start - I got the error message in the question. I uninstalled Firefox, and then re-installed, and Firefox ran fine. After some hours, I closed Firefox and rebooted the system, and again, Firefox hangs upon start, and I get the Plugin Container has stopped working error message.
    Since Firefox won't work on my Windows desktop, I'm using my Linux desktop to look here for help. The problem details reported are:
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: plugin-container.exe
    Application Version: 30.0.0.5269
    Application Timestamp: 53914233
    Fault Module Name: mozalloc.dll
    Fault Module Version: 30.0.0.5269
    Fault Module Timestamp: 53911393
    Exception Code: 80000003
    Exception Offset: 0000141b
    OS Version: 6.1.7601.2.1.0.768.3
    Locale ID: 1033
    Additional Information 1: 0a9e
    Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional Information 3: 0a9e
    Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Thanks in advance!

    plugin-container.exe is crashing repeatedly. The error code is 0x80000003, the faulting module is mozalloc.dll, version 33.0.0.5397, fault address 0x00001425. Hardware acceleration is disabled, and I have disabled all plugins in an attempt to cure the problem (only Acrobat and Flash were enabled, and Flash is up to date).
    (Edit) I'm running EMET 4.1 - if this is memory-related might that be significant?
    Here are some crashes from the past few hours (many more if you want them)
    bp-9f25a45e-4830-4dd9-a54a-c923f2141020 20/10/2014 22:53
    a5c758e1-b489-4c72-98f0-954b2790050b 20/10/2014 22:08
    b950661f-25d4-4052-872f-6fb7f3dcc03d 20/10/2014 22:02
    b4bad77d-bfab-4913-a4ae-6186ead4cdbc 20/10/2014 22:02
    2e970550-11e7-4ed0-8ad6-58025495263e 20/10/2014 22:02
    fe4c4f7e-5d0e-4acd-ade7-73d2bd505e04 20/10/2014 22:02
    4f83309d-1792-4cef-8f0d-b0465e0c4c39 20/10/2014 22:02
    57f40624-b424-4181-ab93-0f37fa4188f6 20/10/2014 22:01
    3694a431-a1ac-4077-8019-7e59a1595495 20/10/2014 22:01
    cdeafebe-5444-4041-8517-e077c414d2df 20/10/2014 21:52
    18ae849e-2c17-4ee0-91bc-57bf4895e697 20/10/2014 21:52
    eec36b4b-9f8e-4a73-9e27-d71b21c5011c 20/10/2014 21:19
    d98ba06e-eb89-41f7-86ee-517f410a342f 20/10/2014 21:17
    1ffb43bf-6750-4629-a2aa-2f0ad39da9ea 20/10/2014 21:09
    cc0ab618-e918-4fd7-ba52-bf01aadc5a3e 20/10/2014 21:09
    8829fe23-9fd0-4826-89cf-a3e9fd860c56 20/10/2014 21:08
    e2d6dc1a-41a0-48cb-b7b0-81d4ef787bbd 20/10/2014 11:51
    a266ba42-fc1c-4204-9f1b-289f2b99c451 20/10/2014 11:51
    a586d4c0-2102-4c80-a73f-b977000b46dd 20/10/2014 11:51
    a64d9089-3f91-4504-bcad-122bfd0a01e9 20/10/2014 11:50
    caedc737-d9dd-4bfb-83fd-400ac5a6af6a 20/10/2014 11:50
    1a56651a-d096-45a5-9afa-e6c0c822d892 20/10/2014 11:38
    71f07b05-8310-4f1d-b5e9-70a514e8a43e 20/10/2014 11:38
    2de8971d-d1cf-4077-bac0-be405dd76ff5 20/10/2014 11:38
    9ffe41cc-844b-4b93-b172-28154eabfc0c 20/10/2014 11:38
    bf95a7d3-0e08-485d-84e9-3638a749244b 20/10/2014 11:38
    061112b6-e919-4e87-a815-6c137a48d375 20/10/2014 11:38
    1d8ebe85-a5a3-4120-920a-0556be7524c8 20/10/2014 11:38
    b0fcb220-1515-4c94-8d35-c65c4cb7743c 20/10/2014 11:38
    07430c7b-2424-4f90-8a0d-fb90d3c829f3 20/10/2014 11:38
    99b8b695-995f-4bce-a879-8bd0e89cd296 20/10/2014 11:26
    d01187a9-bb0a-4bc8-b6fe-9669b5a2d858 20/10/2014 11:26
    9b650499-6ac1-42c8-9a92-f762d61deafd 20/10/2014 11:26
    ec6044dd-8940-4f6e-8e97-94c23213a973 20/10/2014 11:26
    a08bb60e-f686-4417-b5ce-3e736c9ed625 20/10/2014 01:15
    4eb90c2b-f9ed-4952-b8e9-71fffe7ecf64 20/10/2014 01:14
    03642f9d-09ea-46ea-b66d-62dee98a20fe 20/10/2014 01:14
    4cd20689-ad73-4371-88c6-d80f4ed95313 20/10/2014 01:13
    c72ee7ad-389a-4a14-a5cf-539765e707c4 19/10/2014 21:08
    8593221b-8024-45c0-a07b-85dcf5bc9035 19/10/2014 21:07
    32a5c4d7-dad9-4fc2-b31e-716881e4cefe 19/10/2014 21:07
    d46d8d27-f26e-488c-ab89-5f029d139246 19/10/2014 21:07
    da22093e-970d-4724-b074-2ae494745e0b 19/10/2014 20:46
    3ca99f2a-0138-4403-81fa-e4245ff9a7db 19/10/2014 20:45
    c7252857-d6bb-4c0d-95e5-83f1fd9bf175 19/10/2014 20:45
    87c7b0a9-a2b5-4c98-9953-cf684c15f3d5 19/10/2014 20:44
    c60f13f8-18b5-42b6-9b02-810cb5a77347 19/10/2014 20:44
    188ba801-1616-4048-a941-b60126788efe 19/10/2014 20:44
    1c3d4f1e-c3be-469a-a348-5e93d1443bae 19/10/2014 20:44
    852bf33f-d3b2-40d3-820e-aea7e1c367da 19/10/2014 20:20
    d5cda65a-4fa7-4f9e-b5a0-bacfb1bfcebd 19/10/2014 20:20
    d6b7137a-d347-4a39-91a6-e0e5f817b71b 19/10/2014 20:20
    a031b2f8-cbb0-4fd5-abf1-a557a4021ce7 19/10/2014 20:20
    58cf92b6-f4d7-4ab8-98ea-89cc311338df 19/10/2014 20:20
    The crashes are intrusive but Firefox itself is not usually affected - so isolating the plugins works as intended.
    (I tried creating a separate thread for this but the process stalled at Stage 3)

  • ITunes has stopped working error message on my Dell Latitude E6520 when trying to sync photos to my iPhone 3GS.  Why?!

    For some reason, I keep getting the "iTunes has stopped working" error message on my Dell Latitude E6520 when trying to sync photos to my iPhone 3GS.  I am using Windows 7 on my 64-bit computer.  iTunes will begin to optimize the photos in the folder I have directed it to (I am trying to load almost 3000 photos and videos), and it will go through optimizing all of them singularly, then get to the step where it says "optimizing" again, but does so in bigger groups.  It will get to about 2000, and then the error message "iTunes has stopped working" will pop up, and say that "Windows must close the program and will search for a solution, and if it finds one, it will notify me".  Why can't I sync these photos, and what can I do?  Thanks so much for the help, I really appreciate it!

    Same problem here! Moreover, for some reason, the pictures in my iPhone 3GS somehow have been divided into 2 folders, Photos and Medialibrary. And when I open iPhone as a folder through the explorer I can see only the Photos folder, but cannot see the Medialibrary folder which stores the photos taken before updating/upgrading the iPhone and getting separated folders!!! What the hack with all of this?!!! When I connect iPhone to PC it automatically opens iTunes and starts syncronizing it, but at the process of OPTIMIZING the photos (and according to the number of photos it shows, I see that it tries to syncronize that invisible Medialibrary folder) the process suddenly stops and error message pops out Tried the sync test, tried the button DEBUG in that pop out message, but NOTHING HELPS!!! Also, when I open the Medialibrary in my iPhone, the screen get sblack all through scrolling it down, only the video clips are shown there... >.<
    So, could you, apple developers, please, explain WHAT THIS PROBLEM IS ABOUT?!!!!!! FIX IT! I am getting ****** of to spend hours at the computer and reading those lame advises which do not help at all! I have my own things to do except reading your support websites. And I payed for the product ready to use, but not a halfproduct which problems should further be solved somehow by users..

  • Please HELP, "iTunes has stopped working" error after connecting iPod video

    People please help me out!  I have a Razer Blade gaming laptop with Windows 8 64bit.
    I have an iPhone 5, iPad 2 and an iPod video (80GB).  I had some weeks from not connecting the iPod to my computer, but this morning that I did so I can upload some new music to it, iTunes just crash, I get the "iTunes has stopped working" error message when I connect the iPod video.  I do not have this problem with either the iPhone 5 or the iPad 2, when I connect these, iTunes works fine, once I connect the iPod, then all goes down
    Procedures that I already tried and that were unsuccessful to solve the problem:
    Uninstall Quicktime
    Uninstall iTunes and reinstall
    Reset the iPod (several times)
    Delete TEMP files on computer
    Restart the computer (several times)
    Use a different cable and a different USB port
    The iPod is working fine, if I plug it to my car stereo or if I use it with headphones it works great, no problems nor errors.  My computer also identify the iPod as a hard disk, no error messages from Windows, it is just the freakin' iTunes that freezes everytime that I plug the iPod
    PLEASE HELP ME OUT, I've searched forums on this particular issue but with no luck.
    Thanks very much!

    It is only when I attempt to add a song to my iPod once plugged in that I receive the error "Itunes has stopped working" and forces me to exit the program, without the song being successfully transferred.
    Do you have the "Convert to 128 kbps AAC" preference enabled for syncing to the iPod, laur?
    If so, it's quite plausible that you've got the iTunes 10.1.0.54 bug and we need to get you updated to 10.0.1.56 as per the following document:
    [iTunes 10.1 for Windows: iTunes may stop working and need to quit while importing or syncing audio|http://support.apple.com/kb/TS3591]

  • ITunes Has Stopped Working Error

    Can anybody help with that good ol’ staple “iTunes has stopped working” error?
    From event viewer: Faulting application iTunes.exe, version 11.2.2.3, time stamp 0x5383f31a, faulting module CoreFoundation.dll, version 1.750.24.0, time stamp 0x52a28a28, exception code 0xc0000005, fault offset 0x000a9908, process id 0xdb0, application start time 0x01cf898260ec3b90.
    Tried uninstall and reinstall of both iTunes and Quicktime, also reinstalled as admin for each
    Tried with both 32-bit and 64-bit iTunes
    Tried removing the files from C:\Users\[username]\AppData\Local\Apple Computer\iTunes and C:\Users\[username]\AppData\Roaming\Apple Computer\iTunes
    Tried copying the .dll files from C:\Program Files (x86)\Common Files\Apple\Apple Application Support to C:\Program Files (x86)\iTunes
    Opened iTunes in safe mode. It was fine until I tried to view my Match tab, or update iTunes Match, then gave same crash (the error log is actually from safe mode).
    It usually won’t crash until I try to view my Match tab or update iTunes Match. Also after I removed the files from the local preferences, I apparently wiped out the library file in the process, because now the only files showing in my library are the maybe 50 or so I’ve purchased through iTunes since I installed to this machine, and not the 10,000+ I’d had in the library before, and that are all uploaded to my iTunes Match, which are all on a local hard drive.
    Vista Home Premium SP2 64-bit, up to date on Windows updates.

    I've had this problem for months and tried the same "solutions" as drummerboydyl but also none worked.
    I did as MusicaBella instructed, except all I changed was the name for #3, i couldn't find #2 to changed, and voila, it worked!
    Thanks so much MusicaBella!

  • Windows keeps giving me "itunes has stopped working" error message when I start itunes?  How can i fix this?

    After downloading the newest version, 10.6.1, whenever I open itunes I almost immediately get a "itunes has stopped working" error messsage, in which the only option is to hit the "close the program" button.  Simply closing the error message closes the program as well.  I am operated under windows XP with the latest updates (or so the updater tells me).  It seems like its getting stuck trying to send me a new user agreement because dont you have to agree to one for every new update?  It just can't seem to get past that point.  I tried opening it up in safe mode but that didnt work either.  Any help would be greatly appeciated.

    Looks like itunes was still trying to communicate with my iphone and got confused when it couldnt find it.    Found this in another post and it worked great.
    Solution:
    Make sure you are not connected to the internet and then open itunes. Sync your phone and then enable the internet again. Then stay connected to the internet and close your itunes and reopen it. Bam problem solved.
    By WaKaDo

  • How do I stop MobileMe error message without a Preference Panel?

    This MacBook running 10.6.8 has no MobileMe preference panel and no "ByHost" folder, so I can't follow the instructions found elsewhere here to stop the error message "You entered an invalid MobileMe member name or password. Verify your MobileMe member name and password in MobileMe System Preferences."
    The error message keeps popping up and I can't figure out what program is producing it. I have removed the MobileMe account from iMail. I've checked iCal and Address Book, and they don't have MobileMe syncing turned on.

    Removing the MobileMe account from Mail (not iMail) won't remove the account's setting for Outgoing Mail Server (SMTP). Look at the list in your remaining Mail accounts and delete the one for MobileMe. Otherwise, everytime you open Mail, that server connection will attempt to connect.

  • Sapinst stops with error while installing ess component for Java AS

    Dear experts,
    I really hope you can help me with this one,
    We are installing a ABAP/Java AS development system and sapinst has gone through 75% of all execution tasks nicely,
    but then stopped with error while deploying components for the Java AS:
    ERROR 2009-03-30 13:01:27
    CJS-30156  SDM deployment failed for at least one of the components to deploy.<br> SOLUTION: Check 'C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/DISTRIBUTED/AS/CI/callSdmViaSapinst.log' for more information.
    ERROR 2009-03-30 13:01:28
    FCO-00011  The step enableUsageTypes with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|15|0|enableUsageTypes was executed with status ERROR .
    Any help would be really appreciated as I am stuck with this and dont seem to be able to find any information on this one.
    Thanks a lot for your help in advance.
    Here is the crucial part of callSdmViaSapinst.log:
    Mar 30, 2009 12:55:18... Info: Starting: Initial deployment: Selected development component 'ess/bp_ess'/'sap.com'/'MAIN_ERP05VAL_C'/'788220'/'0' will be deployed.
    Mar 30, 2009 12:55:18... Info: SDA to be deployed: D:\usr\sap\DE1\DVEBMGS00\SDM\root\origin\sap.com\ess\bp_ess\MAIN_ERP05VAL_C\0\788220\sap.com_ess~bp_ess.sda
    Mar 30, 2009 12:55:18... Info: Software type of SDA: J2EE
    *Mar 30, 2009 12:55:18... Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) ******
    Mar 30, 2009 1:00:21 PM  Info: Begin of log messages of the target system:
    *09/03/30 12:55:19 -  ************************************************************
    09/03/30 12:58:07 -  Start updating EAR file...
    09/03/30 12:58:07 -  start-up mode is lazy
    09/03/30 12:58:08 -  EAR file updated successfully for 578ms.
    09/03/30 12:58:08 -  Start deploying ...
    09/03/30 12:58:42 -  EAR file uploaded to server for 30641ms.
    09/03/30 13:00:20 -  ERROR: Not deployed. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/ess~bp_ess..
                         Reason: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception during deploy: Failed to deploy archive D:\usr\sap\DE1\DVEBMGS00\j2ee\cluster\server0\.\temp\deploy\work\deploying\reader1238414327258\sap.comessbp_ess.epa
                   The following objects could not be locked: [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess**.iviews/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.mx/com.sap.pct.erp.ess.addr/com.sap.pct.erp.ess.addr|pcd_service], [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.iviews/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.de/com.sap.pct.erp.ess.addr|pcd_service], [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.iviews/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.id/com.sap.pct.erp.ess.addr/com.sap.pct.erp.ess.addr|pcd_service], [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.pages/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.jp/com.sap.pct.erp.ess.addr/com.sap.pct.erp.ess.addr|pcd_service], [pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.pages/com.sap.pct.erp.ess.personal_information/com.sap.pct.erp.ess.de/com.sap.pct.erp.es

    Thanks Désirée for your answer and apologies for the late update on this one.
    This issue is resolved now, the reason for the error was a lack of memory which probably triggered a timeout in sapinst. After upgrading the memory to 7GB and re-starting the ABAP+Java AS and resuming sapinst everything went through fine. However, this was hard to spot because the logs wouldn't tell you about the lack of memory but about everything else!
    regards,
    Manfred

  • Capturing error records and messages in BDC ?

    Hi Experts,
    I am recording a infotype using BDC recording and I got successfull updation in recording.But I  dont want the output message generated by BDC recording which is obtained by perform bdc_transaction using 'pa30' generated by recording.
    I want to capture the success pernr values and its correponding messages in a seperate internal table.Then want to capture error pernr values and its messages in a seperate internal table.
    Give me sample coding to fetch those values. Think that my internal table which contains pernr values for recording is int_0007.from this internal table I am recording values.Give me coding to collect success anf error pernr values and its messges in seperate internal table.
    Thanks,
    Sakthi.C
    *Assure points for valuable answers*
    Message was edited by:
            Sakthi Saravanan C

    DATA : BEGIN OF T_UPLOAD OCCURS 0,
             MATNR LIKE MARA-MATNR,
             MAKTX LIKE MAKT-MAKTX,
             PLANT LIKE RMMG1-WERKS,
           END OF T_UPLOAD.
    DATA : BEGIN OF T_DOWNLOAD OCCURS 0,
             MATNR LIKE MARA-MATNR,
             MAKTX LIKE MAKT-MAKTX,
             PLANT LIKE RMMG1-WERKS,
             MSG(200),
           END OF T_DOWNLOAD.
    DATA :  T_BDCMSGCOLL TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE.
    DATA :  WA_BDCMSGCOLL TYPE BDCMSGCOLL.
    DATA : ERR_LOG TYPE MESSAGE.
    Set the parameters for Call Transaction
      CLEAR WA_CTU_PARAMS.
      WA_CTU_PARAMS-DISMODE = 'N'.
      WA_CTU_PARAMS-UPDMODE = 'S'.
      WA_CTU_PARAMS-NOBINPT = 'X'.
      WA_CTU_PARAMS-NOBIEND = 'X'.
      WA_CTU_PARAMS-DEFSIZE = 'X'.
    Call Transaction MM01
      IF W_FLAG NE 'X'.
        <b>CALL TRANSACTION 'MM01' USING T_BDCDATA OPTIONS FROM WA_CTU_PARAMS
                                                 MESSAGES INTO T_BDCMSGCOLL.
        COMMIT WORK AND WAIT.</b>
        DESCRIBE TABLE T_BDCMSGCOLL LINES N.
        IF N <> 0.
          LOOP AT T_BDCMSGCOLL INTO WA_BDCMSGCOLL.
            CLEAR ERR_LOG.
            W_MSGNO = WA_BDCMSGCOLL-MSGNR.
            CALL FUNCTION <b>'WRITE_MESSAGE'</b>          EXPORTING
                MSGID = WA_BDCMSGCOLL-MSGID
                MSGNO = W_MSGNO
                MSGTY = WA_BDCMSGCOLL-MSGTYP
              IMPORTING
                MESSG = ERR_LOG.
    Error that occurs during transactoon
            IF ERR_LOG-MSGTY = 'E'.
              MOVE-CORRESPONDING T_UPLOAD TO  T_DOWNLOAD.
              MOVE ERR_LOG-MSGTX TO  T_DOWNLOAD-MSG.
              APPEND T_DOWNLOAD.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
    regards
    vinod

Maybe you are looking for

  • Field not present in the datasource

    Hi All, I want to bring the data for fields SCMNG of 0ART_SALES_ATTR into BW. When I check the datasource in RSA6(Double click on 0ART_SALES_ATTR) I am unable to find the field. But when I see the extract structure(BIW_MVKE_S) I can find the field in

  • Document ordering in attachment tab

    Hi all, I am a bit confused about the ordering of document in attachment tab of livecycle. My customers ask for a chronological order of document when they add attachment from the workflow. I think the easiest way to do is use a list of document, and

  • Application acknowledgment from async JDBC in BPM

    Hi Gurus, I hope you help me with this scenario. I am developing the File-XI-JDBC interface where I need to get the application ack from the Oracle database and based on the ack, I need to trigger the call to Stored procedure in the same database. Ho

  • Drill Down in Visual Composer

    In input form- for the feilds, i used as Drill down, and selected entry list as dynamic in control properties. when i publish in Portal , i can see list of values ( A- F) for input feilds.-when i select the one value ( A) and i see the output aswell.

  • Goods issue for subcontracting

    Hi, when I post a goods issue for subcontracting with trx MB1B and mvt 541 the system replies with: For object XABBELEGNR , number range interval 01 does not exist OMJ6 It seems that numeric ranges are ok