File-RFC_File Scenario - single message got processed twice.

Hi all,
I have a file-RFC-File scenario in which the reponse from ECC is written using adapter modules.Today one message got processed twice into SAP.When i checked FIle Receiver adapter in CC monitoring i could see the error given below:
2010-11-16 08:47:37 Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
2010-11-16 08:47:37 Success The XI response message for message 0fb0e660-f130-11df-a03d-00212816ab84(INBOUND) was successfully returned to the calling application.
2010-11-16 08:47:37 Success The message status set to DLVD.
2010-11-16 08:47:37 Success ROB: entering ResponseOnewayBean
2010-11-16 08:47:37 Success ROB: resuming the transaction
2010-11-16 08:47:37 Success ROB: calling the module processor ...
2010-11-16 08:47:37 Success MP: Entering module processor
2010-11-16 08:47:37 Success MP: Processing local module localejbs/CallSapAdapter
2010-11-16 08:47:37 Success File adapter receiver: processing started; QoS required: ExactlyOnce
2010-11-16 08:47:37 Success File adapter receiver channel File_Receiver_XXXX_CC: start processing: party " ", service "XXXX_BUSS"
2010-11-16 08:47:37 Success Connecting to FTP server "XX.XX.X.XXX"
2010-11-16 08:47:37 Success Write to FTP server "XX.XX.X.XXX", directory "/inbound", ->  file "XXXResp20101116-084737-629.xml"
2010-11-16 08:47:37 Success Transfer: "BIN" mode, size 273 bytes, character encoding -
*2010-11-16 08:47:37 Error Attempt to process file failed with com.sap.aii.adapter.file.ftp.FTPEx: 550 XI_ftp_0fb0e660-f130-11df-a03d-00212816ab84.tmp: The system cannot find the file specified. 
2010-11-16 08:47:37 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: XI_ftp_0fb0e660-f130-11df-a03d-00212816ab84.tmp: The system cannot find the file specified. : com.sap.aii.adapter.file.ftp.FTPEx: 550 XI_ftp_0fb0e660-f130-11df-a03d-00212816ab84.tmp: The system cannot find the file specified. 
2010-11-16 08:47:37 Error ROB: error during processing: com.sap.aii.af.mp.module.ModuleException caused by: com.sap.aii.af.ra.ms.api.RecoverableException: XI_ftp_0fb0e660-f130-11df-a03d-00212816ab84.tmp: The system cannot find the file specified. : com.sap.aii.adapter.file.ftp.FTPEx: 550 XI_ftp_0fb0e660-f130-11df-a03d-00212816ab84.tmp: The system cannot find the file specified. *
The tmp file was picked by the client system and may be that disturbed the entire scenario.But instead of throwing an error how can this reprocess the message from  beginning. In SXMB_MONI i can see the pipeline steps executed twice for this message. Since the interface is critical i had to manually delete the replicated data from ECC after taking clients permission which wont be allowed everytime.
Could somepne help me in resolving the issue.
Thanks & Regards,
Lekshmi.

Nisar,
Which program to re-run? Are you talking about activating the channel again? If so, then I have done it many times changing the file name.
I got below error in Communication Channel Monitoring:
2008-02-06 02:27:39 Error Received XI System Error. ErrorCode: MSGGUID_EXISTING ErrorText:   ErrorStack: Message ID 83F8B0B0D48311DCA544DA01C52F0606 for pipeline CENTRAL, version  already exists in system
2008-02-06 02:27:39 Error Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
2008-02-06 02:27:39 Error Transmitting the message using connection http://xibox:8000/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
2008-02-06 02:27:39 Error The message status set to FAIL.
2008-02-06 02:27:39 Error Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException

Similar Messages

  • HTTP-FILE synchronous scenario

    Hi,
    I want to configure a Http to file synchronous scenario.
    Message will be sent through the HTTP test tool. I have selected BestEffort as the QoS.
    We do not want to use the repository objects.
    Sample file say(<tag>this is a sample file</tag>) will be sent through HTTP test tool.
    This file should be received by the File Receiver channel and dumped on the FTP.
    In response, a file from some other folder on FTP should be sent.
    How can this be achieved?
    Regards,
    Pratibha.

    Hi Pratibha,
    the standard sap help side is here very good
    [Integration Processes (ccBPM)|http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm]
    You need a receive step (synchronous) for for your http request.  For this you need 3 abstract interfaces: 1 synchr IF, 1 async for request container, 1 async for resp container. You need to correlate with a unique number which the http sender has to send (f.e. date/time stamp)
    Next may be a transformation (mapping) but not required.
    Then a async send step to send the file.
    The response file need to be created, the corresponding adapter should have a short poll intervall. The response file need to send the unique id as well.
    The BP correlates the second receive step, next you can - like before optional - execute a transformation step.
    Finally u close the sync/async bridge and send the response back. This will take assumedly a minute or more.
    The whole design is may be not sufficient. Better ask if the requierments are changeable.
    Regards,
    Udo

  • File to Abap Proxy Scenario : No message log in SXMB_MONI

    I have a PI Scenario in which a FTP server is polled every 5 minutes, and when it receives any file,  file is archieved and abap proxy is called. Few days back it was running perfectly fine. But For last couple of days I am facing strange error.
    My File is archived but abap proxy isnot called, neither I get any message in SXMB_MONI.
    any guesses what should I do?
    Jawed Ali

    Hi Jawed,
    HOLD means you have given QoS as EOIO in sender channel and the first message got failed and hence all messages are waiting..
    Check this thread
    Re: PI 7.1 Messages stuck into the Queue of the Adapter Engine
    Try resending the messages through runtime workbench->message monitoring->adapter engine
    Regards
    Suraj

  • XI file sender: filename validation to stop processing a file twice

    Hello folks,
    I have a file sender adapter for a text file with name convention that includes a date - e.g. orders_YYYYMMDD.txt. We have a business requirement to ensure that we don't post the same file more than once. The file can be huge, so it's not really an option to pick up the file contents in one message.
    Options I have tried:
    - I do not know of a setting in the file adapter to achieve this.
    - write a perl script to read the filename and translate [hex-encode] this into a Message GUID, then post the file via HTTP adapter
      - - if the file name is not too long (guid is 32 hex chars) this method works well for small files that are in XML format.
      - - Text files need too much perl coding to translate to XML. Large files that need to be split will fail on the 2nd chunk.
    Options I don't want to use:
    - Use BPM to call an RFC/Proxy that validates the filename - this will cause me to read the whole file, or I have to implement a 'pipe' in BPM to ensure EOIO processing. (We have this elsewhere, but it's not good for performance)
    - Actually, I don't want to manage this in ABAP/Ztables at all if possible.
    I am about to start work on a Module Processor to mangle the GIUD in the file adapter, similar to the HTTP method above (don't have any idea of whether this will be possible yet)...
    Can anyone recommend another method to achieve this?

    Hi Derek,
    Intially when the file is picked then archive it to another directory.
    with this the same file will not be processed twice.
    Rgds,
    Kumar

  • How to design the scenario? i have process files sequentially with timegap

    Hi Folks,
    I am really looking for one requirement like, Sender file adapter has to pick multiple files by file name based with some time gap? Can we?normally i am getting 40 files in the source directory with some time gap like 1hr and 2 hours.but my in some situations like system got down and if the server stopped for some refresh work then 2 days files will come to source directory and after system is sap pi try to process files at a time but the source side can,t process more than 4 files at a time
    in tht case the messages are not processed they are in schedule mode only.
    I have got one BPM in this, I have tried with Process mode : Name and Date, with wait step on BPM, but no use. The way how PI behaving, if 40 files in file directory, it is picking all files in one shot. Start processing but not in order. if it is process also the SNC system can't process 4 at time.it will process files with some time gap.
    The problem is on Receiver system side. The receiver system is SNC system, if old data receives later than earlier date data; we get data obsolete application error.
    Ex: If I receive 25th and 26th files, first I need to process 25th first on PI sends to SNC, I need to give some time gap and pick another file or even PI picks and process 26th file, no problem but I need to give some time gap to send SNC to this 26th date file?
    Please how guys, throw me your great ideas
    Thanks in advance!!
    Regards
    SG

    Hi Seshagiri,
    first problem is to process the files sequentially by XI- Is it posiible to put a sequence number at end of each file as its last line? This number you can process within XI and hold on messages in a container unless all files with lower sequence number has already been processed thus you can also prevent receiver SNC system to receive files out of order. The sequence number has to be put before posting the file in XI.
    regards
    Anupam
    Edited by: anupamsap on Nov 25, 2010 7:48 AM

  • I can't download OS5 or, rather, iTunes does download it about 450 mb and then, a few seconds after it starts processing the file, I get the message that I am timed out and am recommended to check my internet connection. I am using 3g to download it.

    I can't download OS5 or, rather, iTunes does download it about 450 mb and then, a few seconds after it starts processing the file, I get the message that I am timed out and am recommended to check my internet connection. I am using 3g to download it.

    I don't know which country you're in, but in the US, carriers limit the amount of download for a single file when using 3G.  Have you tried wifi?

  • Create single message in receiving side for each record in the sender file

    Dear Experts,
    My Interface is from FILE to MQ (JMS)..
    I have a specific requirement in my project, I have multiple files in sender directory ( /tmp)
    Ex: FILE_20090202.TXT
    FILE_20090203.TXT
    FILE_20090204.TXT
    FILE_20090205.TXT
    And each file has couple of records just shown below:
    ABC   123     WER    SER
    BCD   345     WEDR    SER
    CDE   567     GHTE   DDGG u2026. Etc..
    I have to process all the files at a time ( may be I can use file masking by FILE*.txt) , one message has to be created in MQ for each record of the file..
    Ex:
    Message 1: ABC   123     WER    SER
    Message 2: BCD   345     WEDR    SER
    Message 3: CDE   567     GHTE   DDGG
    Valuable inputs are appiciated !!
    Cheers,
    Kumar

    As already suggested, multi-mapping can be used
    You need to set target root node occurrence to unbounded and map root node accordingly
    you will have to use enhanced interface determinaion
    For detail refer:
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

  • I've updated my phone and I've made a backup. but now it says I must enter my code to restore all my files and I haven't got this code. If I cancel the process or choose something else, all my stuff will be deleted, and I really don't want that.

    I've updated my phone and I've made a backup. but now it says I must enter my code to restore all my files and I haven't got this code. If I cancel the process or choose something else, all my stuff will be deleted, and I really don't want that.
    HELP ME PLEASE!!!

    If, for some reason, your backup got encrypted and you don't know the code, you'll have to set up your phone as new device and start all over again without the backup.
    Warning: If you encrypt an iPhone backup in iTunes and then forget your password, you will not be able to restore from backup and your data will be unrecoverable. If you forget the password, you can continue to back up and use the device, however you will not be able to restore the encrypted backup to any device without the password. You do not need to enter the password for your backup each time you back up or sync.
    If you cannot remember the password and want to start again, you must perform a full software restore and when iTunes prompts you to select the backup from which to restore, choose set up as a new device.
    If you can't get pass the lock screen, connect in recovery mode and restore the phone, you'll have the option to reset the lock secreen passcode.
    iOS: Unable to update or restore and iPhone and iPod touch: Wrong passcode results in red disabled screen
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.

  • Hi,i am using iphone 4s,my problem is when i want to play video other than youtube file from facebook this message come out "An error occured while processing your request. Reference

    Hi,i am using iphone 4s,my problem is when i want to play video other than youtube file from facebook this message come out "An error occured while processing your request. Reference

    Is your friends phone jailbroke? Also are you using the facebook app? If so then you need to ask the developer of the app what the problem is.

  • XI messages need to be processed twice

    Hi,
    We are encountering an issue with processing XML messages in the XI Dev environment.  XML messages are failing the first time they are being processed.  However, when we go into SXMB_MONI and select the message to be processed again, it works fine. 
    This issue was just encountered last week with no changes made on any of the interfaces.  No other system changes have been made either. The XI system is on NW04s SPS11.  I was wondering if anyone else has run into a similar issue.
    Please let me know your thoughts.
    Thanks,
    Mirna

    Hi VJ,
    Thank you for your response.  However, the receiver system was available at all times during when the messages are processed.  In fact, all XML messages are having the same issue. 
    In SXMB_MONI, it is saying "XML message not found" "Exception of class CX_XMS_SYSERR_PERSIST" upon failing the first time.
    Thanks,
    Mirna

  • Message got struck in hold status in message monitoring.

    Hi SDNers,
                 I am doing Idoc to File scenario. I triggered an Idoc and it is successfully processed in XI and got struck in message monitoring with hold status.
                 After repetetive attempts of restarting the message, still it is in hold status.
                 Even if I tried to cancel the message, it is not cancelling as it is in hold status.
                Can anybody please help how to process the message or can anybody explain how to cancel the message from message monitoring, which is in hold status.
    Regards,
    Jayaram.G

    Hi,
    If the message that has not yet been delivered is not in error state, the problem cause is probably that the message is blocked in the QRFC queues of the Integration Engine.
    Check queue status
    Call the Integration Server and call transaction SMQR in the sender and receiver Integration Engine in the corresponding system client.
    Check the status of the scheduler and the status of the XBQ* and XBT* queues:
    u25CF     Inbound qQueues
    XBTI* (ExactlyOnce)
    XBQI* (ExactlyOnceInOrder)
    u25CF     Outbound queues
    XBTO* (ExactlyOnce)
    XBQO* (ExactlyOnceInOrder)
    u25CF     Acknowledgment queues
    XBTB* (ExactlyOnce)
    XBQB* (ExactlyOnceInOrder)
    u25CF     Large message queue
    XBTL* (ExactlyOnce)
    If the scheduler has the status Waiting, it is waiting for free work processes. This is why delays occur when XML messages are processed.
    If not all necessary queues are registered, you can search for queues with the name prefix above using transaction SMQ2. Use transaction SXMB_ADM to register the queues in this case.

  • Http -- File (FTP) Scenario

    Hello -
    I created very simple scenario, where I am posting the message over Http Client and on the receiver side, it is FTP site (File Adapter). 
    I see the status as "Processed Successful" in SXMB_MONI, however I don't the see any message in FTP folder. I have defined the destination folder, application server, User Id, PWD etc in Receiver Communication channel.
    Now the questions -
    1) If the Message is not delivered in FTP folder, why is the status "Processed Successful"
    2) Is there a way to check the connectivity between XI Server and FTP Site (just the way there is "test connection" in SM59 RFC Destination)
    Thanking you all in advance.
    PS: I am PI 7.0

    If the Message is not delivered in FTP folder, why is the status "Processed Successful"
    Is there a way to check the connectivity between XI Server and FTP Site
    Check the File receiver communication channel monitoring in RWB
    Message got passed through Integration engine but might be stuck in Adapter engine,possible error in connecting to FTP server.
    Thanks
    Aamir
    Edited by: Aamir Suhail on Jul 10, 2009 1:17 PM

  • File-to-File/RFC scenario with reading filename

    Hi,
    i have a File-to-File/RFC scenario which causes some problems in desining it correctly. Maybe some of you has an idea how to do this.
    Scenario:
    - A file is picked up by a File-Adapter. The files are different: pdf, doc, tiff, jpg, txt, ...
    - The file must now go through a business process (not necessary the file, but i need the filename in the business process).
    - The process has to contact several backend systems (SAP R/3) to collect some data. To achieve this the filename has to be send to this systems.
    - The collected data are send via SOAP to a receiver system
    - The file itself has to be stored in a directory via File-Adapter.
    Here's my problem:
    - Is it possible to transport the binary file content within a message which contains other elements (e.g. filename)?
    - Is it possible to do graphical mappings with such a payload (only 1 to 1)? Or must i use Java Mappings only?
    - How to generate a Message from the sender File Adapter which contains binary file content AND filename? Is this possible with a Module?
    - Is it better to create 2 messages with an adapter module? One with the image the other with the filename. Or is it better to split them later in a Mapping?
    Thanks in advance,
    ms

    If all that you need is the file name, use adapter specific settings in the sender file adapter. Then you can access the file name in mapping runtime in UDFs. If you want to have content of the pdf, jpg etc images, i do not think there are ready modules available except for reading pdfs ( you might have to research on this).
    For look ups etc with R3 systems, you can use the file name that you got from the adapter and store it in mapping fields.
    VJ

  • ATTRIBUTE_IDOC_RUNTIME error in File-IDOC Scenario

    Hi,
    I got this error in FIle-IDOC scenario.
    ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>Transaction IDX1: Port SAPMMX, client , RFC destination contain errors
    There are many threads on same issue. Almost in all threads, the suggestion given was, we need to check the Channel Definition(Port should be SAP<SYSID> and not SAP<SYSID>_<CLIENT>)
    I have given the proper values for RFC desitnation and port. Even then, I m getting this error.
    Is there any other suggestions?

    Hi aarthi,
    I suggest u chk all d settings dat u hav done..
    Steps for ALE settings:-
    Steps for XI
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the R3 system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto IDX1.
         Create a new port.
         Give the port name.
         Give the client number for the R3 system.
         Select the created Rfc Destination.
    Step 3)
         Goto IDX2
         Create a new Meta data.
         Give the Idoc type.
         Select the created port.
    Steps for R3.
    Step 1)
         Goto SM59.
         Create new RFC destination of type 3(Abap connection).
         Give a suitable name and description.
         Give the Ip address of the XI system.
         Give the system number.
         Give the gateway host name and gateway service (3300 + system number).
         Go to the logon security tab.
         Give the lang, client, username and password.
         Test connection and remote logon.
    Step 2)
         Goto WE21.
         Create a port under transactional RFC.(R3->XI)
         Designate the RFC destination created in prev step.
    Step 3)
         Goto SALE.
         Basic settings->Logical Systems->Define logical system.
         Create two logical systems(one for XI and the other for R3)
         Basic settings->Logical Systems->Assign logical system.
         Assign the R3 logical system to respective client.
    Step 4)
         Goto WE20.
         Partner type LS.
         Create two partner profile(one for XI the other for R3).
         Give the outbound or inbound message type based on the direction.
    Step 5)
         Not mandatory.
         Goto BD64.
         Click on Create model view.
         Add message type.
    Step 6)
         Goto WE19
         Give the basic type and execute.
         fill in the required fields.
         Goto IDOC->edit control records.
         Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)
         Click outbound processing.
    Step 7)
         Go to SM58
         if there are any messages then there is some error in execution.
         Goto WE02.
         Check the status of the IDOC.
         Goto WE47.
         TO decode the status code.
    BD87 to check the status of IDOC.
    In case if not authorized then go to the target system and check in SU53, see for the missing object
    and assign it to the user.
    SAP r3
    sm59(status check)(no message)
    WE02(status check)
    WE05(status check)
    BD87(status check)
    Xi
    IDx5(Idoc check)
    SU53(authorization check)
    reward points if helpful...
    MenoN

  • Message Got Struck in Queue ----Repeatedly happening

    Hi Frnds,
    I am working on one scenarios File to IDOC, when i am sending messages to IDOC some messages got struck in Queue, when i am resending the messages manually  then its processing.
    why thi issues happends repeatedly, how to avoind this issue.
    Regards,
    Raj

    Hi
    Call the Integration Server and call transaction SMQR in the sender and receiver Integration Engine in the corresponding system client.
    Check the status of the scheduler and the status of the XBQ* and XBT* queues:
    u25CF     Inbound qQueues
    XBTI* (ExactlyOnce)
    XBQI* (ExactlyOnceInOrder)
    u25CF     Outbound queues
    XBTO* (ExactlyOnce)
    XBQO* (ExactlyOnceInOrder)
    u25CF     Acknowledgment queues
    XBTB* (ExactlyOnce)
    XBQB* (ExactlyOnceInOrder)
    u25CF     Large message queue
    XBTL* (ExactlyOnce)
    If the scheduler has the status Waiting, it is waiting for free work processes. This is why delays occur when XML messages are processed.
    If not all necessary queues are registered, you can search for queues with the name prefix above using transaction SMQ2. Use transaction SXMB_ADM to register the queues in this case.
    Check queue configuration
    For a complete analysis, make sure that the queues of the integration server are registered. To do this start the transaction for the Integration Engine administration (SXMB_ADM) and select the function manage queues.

Maybe you are looking for

  • I cant active iPhone 3GS to iOS 5

    Hey! I just upgraded my iPhone 3GS to iOS 5. All went well, then at the end, it asks me a few set ups (like language, Location, and WiFi settings). After that, it attempts to activate, and fails, giving me the following error in iTunes: "There is no

  • How to modify a variant

    How to modify the variant for a batch job, which is to include 2 countries for a job. Please let me know the tcode.

  • Sound Distortion

    I am having trouble with my G5 dual processor powermac. I am getting a fuzzy distortion in all audio outputs, external and internal, when I am in my main user profile. I have run disk first aid, restarted, replaced as many audio preferences in my hom

  • A "stock" way to get 802.11n on MBP Core Duo?

    Is there anyway to get something to upgrade my Core Duo MBP to 802.11n without using an external card or anything like that. I can handle working on the software side of things but not the hardware. Is there anyone that i can send it to to have them

  • Videos won't play on iPad 1st gen.

    none of the tv shows I purchased from iTunes will play on my daughters 1st gen iPad anymore. Never had a problem until today. When app is opened, the screen is black but glowing slightly with the circulating "loading" icon in the center. Loads for a