File lock in real time job

Hi All,
I encountered an file lock error when creating a real time job.
After a dataflow, I have a script to move the processed file to archive folder. (e.g. move c:\source\order.xml c:\archive). When I test run it, I received a 50306 error. It saids "The process cannot access the file because it is being used by another process. 0 file(s) moved.". However, the df and script were running OK in batch job. Also, I can move the files manually after the job failed. Can anyone help me with that? Is it something to do with the setting of realtime services?
Many thanks!
Knight

hi,
Not sure but you can check in sm12 if there is any lock entry, if so than manually delete and than check again.
Ray

Similar Messages

  • IDoc not getting processed in Real Time job

    Hello,
    The configurations are done as per the below link to receive iDoc from SAP in BODS.
    How to Receive IDOC in BODS from SAP (Outbound to SAP)
    An iDoc is sent and Real Time Services on management console shows that request is received successfully. But I cannot see output xml file created. When I checked the real time services and client interfaces, I could see all are in green.
    But the real time job status shows its in running state. It has been in running state for 2 days. Trace shows as below. There is no error message.
    14.2) 04-24-14 18:47:41 (18417:1140171104)      JOB: Optimizing job <JOB_BODS_RT_IDocMatmas01>.
    (14.2) 04-24-14 18:47:47 (18417:1140171104)      JOB: Job <JOB_BODS_RT_IDocMatmas01> is started.
    (14.2) 04-24-14 18:47:47 (18417:1140171104) DATAFLOW: Data flow <DF_RT_IDocMatmas01> is initialized.
    (14.2) 04-24-14 18:47:47 (18417:1140171104) DATAFLOW: Data flow <DF_RT_IDocMatmas01> using IN MEMORY Cache.
    (14.2) 04-24-14 18:47:48 (18417:1140171104) DATAFLOW: Data flow <ActaDefaultNotificationSender> is initialized.
    (14.2) 04-24-14 18:47:49 (18417:1140171104) DATAFLOW: Data flow <ActaDefaultNotificationSender> using IN MEMORY Cache.
    Can anyone please let me know if there is anything missing in the configuration? How do I resolve this issue?
    DS version: 4.2

    Hi,
    Try to reimport the metadata of IDOC into PI in idx2. Also check the port definition in ECC and whether the segment is released or not. Please go through the below discussions it may help you.
    EDISDEF: Port XXX segment defn E2EDK35 in IDoc type ORDERS05 CIM type
    IDoc 0000000000181226 was saved but cannot or should not be sent
    Regards,
    Priyanka

  • Error while running Real Time Job through SOAP UI

    Hi Experts,
    I am using real time job for search the duplicates in the data base using attribute values. After running the job iam getting correct result in the xml message.
    I configured real time job in management console and taking the WSDL and giving the in put in SOAP UI then iam getting the message like this after 2 timedouts.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Sender</faultcode>
    <faultstring>Web Services is unable to process the request to call real-time service 'RT_SEARCH' using Access Server 'uplt-abk-052:4000'. Error: Server sent back error: Communication Error. See real time job log for details.</faultstring>
    <faultactor/>
    <detail/>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    In the real time job log file iam getting the message like this
    (12.2) 06-01-10 09:37:41 (E) (0620:2732) Unknown: SP(RT_SEARCH, UPLT-ABK-052:3501)::flowThread() Flow became invalid while waiting for reply from real time job. (BODI-300136)

    In Management Console,
    PLease take a look at websevices-> partciular JOB-> historyLog-> errorlog and tracelog to see the more details of the error. It should definetly whats the cause of the error.
    -Subhadra

  • Is there a way to create dependency on the real-time jobs

    Hi,
    We have around 80 real-time services running and loading the changed data into the target.
    The process being used is
    IBM Informix > IBM CDC > JMS (xml messages) > DS real-time services > Oracle EDW.
    While using the above process,  when ever there is change in the fact table and the dimension table, both the real-time services are loading the data at the same time into the target. This is causing issues in looking up data with the timing issue.
    Is there a way where we can create a dependency and resolve the timing issue and make sure the lookup table is loaded and then the master table is loaded?
    Please let me know.
    Thanks,
    C

    Hello
    With the design you curently have, you will have potential sequencing issues.  There is no magic in Data Services to solve this.
    You might want to consider building more complex real-time jobs that accept more complex data structures and have logic to process the data in dependency order.
    Michael

  • Real time job doesn't receive automatically changes in SAP ECC 6

    Hi Experts,
    <br/>
    <br/>I'm trying to (using Data Integrator) automatically retrieve data from SAP ECC and store it in a local database table. I followed the steps written in this article: http://wiki.sdn.sap.com/wiki/display/BOBJ/Receiving+IDOCs. I'm modifying some records in the Cost Center Master Data (CSKS) and using COSMAS01 as the IDOC in which I'm trying to send the information.
    <br/>
    <br/>All seems to be OK, since I manually sent a Cost Center data row using the /nbd16 transaction, SAP ECC displayed a message telling that an IDOC had been generated. Also, when I checked the IDOC status in BD87 it had status 03, meaning that it had been sent correctly.
    <br/>
    <br/>In Data Services when I clicked on 'View Data' in the local database table that I put in the dataflow I could see the rows that I manually sent from the ECC. However, after truncating the local table, it bothered me that when I tried to send manually a second IDOC with another row from the Cost Center Master Data table, my real-time job didn't receive the request and consequently didn't insert the desired rows. I didn't change anything in the configuration, so my first question to any of you is that if you know what could it be that causes my real-time job to not receive the request from ECC?. I tried making a third try, but at my company they had to shut down the ECC server, so it's going to be a while before I make another try.
    <br/>
    <br/>Now, the REAL question of this post is that after I sent the first IDOC successfully (and before sending manually the second one mentioned earlier), I changed a record in the CSKS table directly in the ECC, hoping that it would automatically generate an COSMAS01 IDOC and send all the data in the table to the Data Integrator. This didn't happen and no IDOC was generated, so do any of you know why the automatic change didn't trigger the sending of the IDOC with the data?
    <br/>
    <br/>As I said before, I made the configuration in ECC and DI following the steps in the link written at the start of the post, and it was tested OK by successfully sending a COSMAS01 IDOC once, manually using bd16.
    <br/>
    <br/>In advance I thank you all for your cooperation. This is my first thread in the SDN forum so also please excuse any mistakes in my english.
    <br/>
    <br/>Best regards...

    You do not need to schedule this job every 10 min.  Why?
    If we can't schedule this job every 10 mints how can I able to retrive the delta records into Queue(RSA7)
    What is your advice I mean how to schedule in order to get the delta?
    Thanks

  • Webservices for real time job.

    Hi all,
    I have configured a real time job that is available as a web service. There was no problem for the first time. However I wanted to change some of the input and output fields on the real time job.
    So i modified the real time job in the Designer.
    I removed and created the Real time service in the administrator. I have also renamed the Real Time SErvice.
    I recreated the webservice for the renamed real time service.
    However I am still getting the "old" wsdl with the old real-time service name.
    Seems like the WSDL is not updated.
    Am i missing out any steps to "refresh" the wsdl?
    Thank you.

    which version if DI ?
    the WSDL should get updated once you add the Real time Service to the Webservice
    do you see the Real time service in the WebService status page ?
    click on View WSDL, it will open the WSDL in IE, do a find for the service name in that

  • Real Time Job with no Message Target?

    Hi All.  I'm curious to know if anyone has built a real time job without an xml message target.  I thought that any message source 'getting' from a Topic does not require a response.  Well data services is not letting me get away with not having the message target. 
    The message I'm receiving is one that I want to insert into a table, it is not being used in a lookup to then send out a new record out to a message target.
    Real Time jobs are still a new concept to me.  Thanks in advance for your help.

    Hi,
    Try using a row generation transform, generate one row and pass a hard coded value as output message. You cannot do away with an output message in the case of real time.
    Regards,
    Suneer

  • Triggering Real time job from Batch jobs..

    Can we trigger real time jobs from the batch jobs. As soon as batch job completes we need to start real time job automatically. Is this possible with BODI XI?

    Greetings Post Originator,
    This post is older than 60 days and there are no entries in the past 30 days.  Based on the content discussed, it appears that you question has been answered. This message is being marked as answered and points are being assigned if available where possible. 
    Thank you for being an active participant in the SAP Forums,
    Rob Siegele
    Forum Moderator
    SAP Americas

  • WSDLXML error in Web services for real time job

    Hi Experts,
    I want to use Data Services as a web services.
    I have configured a Batch job and Real time job   that is available as a web service.
    Web services for Batch job is no problem. but  Real time job is problem
    I get the following error message in  the WSDLXML
    <tns:documentation>Web Services published by BusinessObjects Data Services Version 12.1.0.0, using Apache Axis 1.1The following errors and warnings were found during WSDL generation. Please refer to the Data Services Administrator for detailed explanations. *** Unable to create WSDL for service: job_testconnectivity.</tns:documentation>
    Version is DATA SERVICES XI (12.1.0.0)
    Edited by: moon bum cho on Dec 1, 2008 3:00 PM
    Edited by: moon bum cho on Dec 1, 2008 3:15 PM

    check whether the Access Server for which this service is configured is running
    the real-time service configuration is saved with Access Server, management console will get the information from Access Server while generating the WSDL
    to check the status of access server
    click on administrator -> Access Servers
    click on the Access Server and click on Ping

  • How can I display a .csv file as a real time waveform using labview

    Hi folks.
    As stated, Im looking to display a .CSV file (obtained via RS-232, example; 100,101,102,102,102,103...) as a waveform in real-time. What is the best way to approach this? Im thinking LabVIEW. I have version 7.1 but am not really experienced in using it. I'll give anything a go though. Also, I have Visual Studio 2005, so I was thinking VB???
    Thanks in advance!
    Simon.
    Message Edited by simonious on 10-26-2007 04:13 AM

    Have a look at this VI.
    Add a convert string to number function behind it.
    André
    Message Edited by andre.buurman@carya on 10-26-2007 01:08 PM
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)
    Attachments:
    convert csvars 2 array of vars.vi ‏16 KB

  • Open a txt file in a real time PXI target

    I want to open and read a txt file when targeting to a PXI, running a real time OS. The file is saved in a specific directory of the real time machine. When I run the typical Labview (version 7.1) examples there is alwasys an error message.

    Hi Matt,
    I hope you're doing well.  To be able to open files on the host from the RT target or vice-versa, you most likely will need to FTP the files back and forth between the two.  You need to have the files local on either machine to be able to edit or view them, and FTP is the simplest way to do so.  You can connect to your RT target via any standard FTP utility as discussed in this KnowledgeBase article.  I hope this is helpful.  Let us know if you have any additional questions though.
    Thaison V
    Applications Engineer
    National Instruments

  • Introductory DI real-time job materials?

    Hi, Has anyone come across any useful real-time "getting started" guides/ presentations/ reference materials / etc? We are on version 12.2.2.0. Up through today, we have used DI only for batch jobs but need to get familiar with the  real-time side...
    Thanks in advance!

    Hi
    This was written for Data Integrator, but the material is still valid.
    http://www.sdn.sap.com/irj/boc/ds?rid=/library/uuid/20bd5e60-11f9-2b10-2bbb-b5109cceff08
    Michael

  • Monitoring file changes in real-time

    Hi,
    Is it possible to monitor which files are being modified in Solaris within an application?
    For example Windows provides hooking mechanism and once you call the required system calls, you become able to capture file system events in real-time. In fact, real-time virus protection applications totally rely on this feature. Another way is to code virtual device drivers, as far as i know. Does Solaris 9/10 provide an API, signaling or a callback mechanism to implement a such kind of application? Or is it possible to write virtual device drivers in Solaris to achieve this functionality?
    Your help will be appreciated.
    Best regards.

    Hi,
    I'm not spamming the question to the all subjects titles of the forum and don't expect the information in pieces.
    I know that multiple postings is not nice. And my aim is not to flood the same question on the all of the subject links i see in order to go out for an information hunt even if the titles are relevant or irrelevant.
    I just posted the question to the subject titles i thought relevant as this is the way it should be.
    Best regards.

  • Where are daqmx files stored on real time target?

    Hi,
    I am working on an application that will be embedded in a RT desktop target.  To make the system easier to maintain in the future, I would like to be able to generate a DAQmx task programatically from the *.ini file exported from MAX.  This way, users don't have to know what my code is doing in order to recalibrate sensors or manage new hardware; they only have to know how to use MAX and where to store the config files on the target. 
    Where are daqmx task, channel, and scale information stored on a RT target?  I've been through the files on the target looking for something that contains my task data but have found nothing, though dropping a system property node into a VI running on the target will give a correct list of the tasks that I have configured.  (The project that contains the aforementioned VI does not have the tasks in it ie: I did not import them to the project.)
    Is there a utility that will run on the RT target that can generate a task at run time from the exported *.ini files?
    Thanks
    CLAD
    Solved!
    Go to Solution.

    Exahustive keyword searching brought me to an answer on the forums.  I'll post a brief summary here in case anyone else uses the same keywords as I have.
    1.  Export config file from MAX
    2.  Write a VI that uses the tools in the System Management pallette to upload the configuration to the real-time target.
    3.  Profit.
    In my case, the VI I wrote to upload the DAQmx config also generates the config files for the VIs on the host and target side, so everybody knows what the tasks are called.
    CLAD

  • Real Time Job

    Hello Friends,
         Can someone send to my email ID all the work details of real time SD implementation. Also, in case if an SD Consultant is stuck anywhere, whose help he can take to go ahead by solving the problem, in case if he is not able to solve.
         Kindly send to me without fail because it is very important for me to know before joining in any IT Company.

    This is not a place to request documents to be emailed - but rather to learn from your peers , everyone here is doing this on their own time so the words "urgent" and all of that do not exist. There is plenty of data out there you can study and learn but emailing is not an option.

Maybe you are looking for

  • Pages 5.1 not responding after updated from AppStore

    I've update my Pages app to v.5.1 in my MacBook Pro and I can't open it after updated. When I open it, it still not responding all time. I've replace Pages app with older version and it can open but I can't open my newer version document that I've ed

  • Down payment for assets

    Hi, my cilent is doing ddownpayment for asset(CWIP asset), for this they made Advance payement request , in that they given p.o number. Now they are doing Advance for that thorugh F-48, here 4 lines are comeing. 001 50 24574 check payment 55000- 002

  • FI DOCS -Good Receipt Date

    Hi I need to calculate difference between invoice clearing date and good receipt date.Anyone know any datasources that contains those field? if there is no datasource like i am looking for how can i do this ? I am using 0FIAP_O03 ods and 0FI_AP_4  da

  • Every time I sync my iphone 5 to my computer it creates a new photo album on my iphone

    every time I synce my iphone 5 to my windows desktop it duplicates a new album on my phone

  • Uniting object tables

    Hi. Could you please help me solve a problem with the following query: SELECT CAST (MULTISET (SELECT SPATIAL_TYPE (PLACE, BOUNDINGBOX) FROM (SELECT GEMETTYPE(TH_THES_NO, TH_LANG_NO, TH_DESC_NO) PLACE, BOUNDINGBOX_TYPE(NULL, NULL, NULL, NULL) BOUNDING