File to file scenario. Pls help

Hi All,
I have to make file to file scenario.
XI will pick file from File Sender System and put file at
File Receiver System. From there file will go to printer.
File name has to be constant at receiveing system like "ABC.txt"
There is one condition:
Now suppose there is file at Receiver system and Printer gets jammed so file will not be picked from Receiver system.
At that time XI should not send 2nd file and should wait till the
receiving file directory is empty again.
How to implement the above condition.
Pls suggest.

Rich,
Seriously I couldn't understand why u are opening multiple threads. It's not like you open new thread the solutions gonna be different, always the solution will be same. It will be easy for u to track as well as easy for us to suggest. Plz co-operate with this, we know that u are in urgent situation, but opening multiple threads doesn't solve ur issue for sure, it makes the participants to be frustrated and left your question unanswered, plz understand this.
I hope u can undestand!
I know ur scenario is only File 2 File, I don't what could be the frequency of the Sender File or how often the File will be triggered. I will try to explain the best possible way I can.
I'm going to explain with example , IS_RETRY_LIMIT - 2
See,
First trigger , File picked by XI and sent to Receiving folder , Printer picked the file - XI Job is done.
Second trigger, File picked by XI and sent to Receing folder, Printer is jammed - XI Job is done.
Third trigger, File picked by XI , it couldn't able to deliver to the Receiving folder ,coz file ABC.txt is already there. So please understand the concept of IS_RETRY_LIMIT, XI retries once again after some interval, it couldn't able to deliver,file is there. - XI Job is not done- in process
Fourth trigger, File picked by XI , it couldn't able to deliver to the Receiving folder ,coz file ABC.txt is already there,(Printer is not resolved yet, Second trigger file is already there). XI will retry to send file again after some interval it couldn't able to deliver,file is there. - XI Job is not done- in process
XI retries the file for Third trigger process, it couldn't able to deliver, XI set the message to FAILED status.
Fifth Trigger,  File picked by XI , it couldn't able to deliver to the Receiving folder ,coz file ABC.txt is already there,(Printer is not resolved yet, Second trigger file is already there)  XI will retry to send file again after some interval it couldn't able to deliver,file is there. - XI Job is not done- in process
Printer Problem Solved
File Picked by the printer, Second Trigger is done.
XI retries the file for Fourth trigger process, it successfully delivers the message to the printer - XI Job is done
XI retries the file for Fifth trigger process, it successfully delivers the message to the printer - XI Job is done
Sixth Trigger, File picked by XI and sent to Receiving folder , Printer picked the file - XI Job is done.
So, now the job continues as usual..
Now your question might be what to do for the FAILED message in the Third trigger, As I mentioned in the other thread, you need to re-deliver it by the link given in the other thread.
I hope u can understand , how IS_RETRY_LIMIT helps in your scenario!
raj.

Similar Messages

  • File to Mail Scenario - Need help

    Hi all,
    I am trying a simple file to mail scenario in which i am using following data types .
    Source datatype -
    Scr_File_DT
    -- Root
    Material_no
    Plant
    Target datatype -
    Tgt_Mail_DT
    --Content
    In the message mapping i am concatenating material_no and plant and mapping it to content.
    The receiver mail adapter parameters are as follows -
    Transport protocol - SMTP
    Message Protocol - XIPAYLOAD
    URL: smtp://gmail.com
    Configure User Authentication: X (Check box is selected)
    Authentication Method: Plain (from drop-down box)
    User: [email protected]
    Password: ****
    from: mail address
    to: mail address
    subject : test mail.
    Just wanted to confirm whether these settings are correct or not? Because i am not getting the mail in my mailbox.
    Can anyone please help me on this.
    Also are there any other settings required for using mail adapter ?
    Thanks.

    Hi,
    you should add your email address to your user,add specific users list add you r user in alrtcatdef.
    generally you should maitain the email data type format like
    subject,from,to,content-type..
    se below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Regards
    Chilla..

  • Problem in the local file download by gui_download,pls help!

    hello,everyone,
    when I use 'GUI_DOWNLOAD' to download file to my pc,the data in the file has some display problem,eg:'440006114002084000 'displayed as 4.40006E+17
    when I enlarge the excel grid,then the  '4.40006E+17 ' just not change to 440006114002084000,so does any know this problem?pls give me some help.
    thank you in advance.

    Hi,
    You need to change the content of the field in your internal table before you call gui_download.
    Something like
    constant: c_quote value `'`.
    loop at data_tab assigning <fs_data>.
    concatentate c_quote <fs_data>-ean into wa_ean.
    <fs_data>-ean = wa_ean.
    endloop.
    This will change the field from, for example 123456 to '123456, which Excel will treat as text.
    Regards,
    Nick

  • Abap Proxy to Send RFC  data  -- xi - File    ,   how to do - pls help  ?

    Hi Friends ,
                           Our scenario is once in day an  RFC is to be triggered and create flat file .That RFC will return data .
       Using  below likns i have configured the RFC Sender adapter
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    First Activate the ABAP Proxy?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    How to implement a Client Proxy?
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    My question is
    <b>     1.    Is it possible to use ABAP Client proxy   to achive this ?
          2.   Then do we need to write RFC Call in side this proxy call ?
          3.      If we go for proxy do we need RFC Sender Adpater ?</b>
            I am little confused can you please explain , as how it works ?
    <b>       Is there is any other way to trigger RFC to send data ?</b>
    Regards.,
    Shyam

    Hi sabrish ,
                          Tahnks for ur reply. I was waiting for ur response . i have doubt
    the foloowing code i got from ur blog .
    REPORT Z_TEST_RFC_XI_WEBSERVICE.data: lv_distance type char10.CALL FUNCTION 'Z_WEBSERVICE_TEST_SHABZ' <b>destination 'Z_WEBSERVICE' </b> EXPORTING FROMZIP        = '12222' TOZIP          = '22222' IMPORTING  DISTANCE       = lv_distance.write : 'Distance is : ' , lv_distance.
      <b>           1. i have to generate proxy from Out bound interface right ? inside that proxy class whare i have to in clude the code to call rfc ?
                  2. Can u please tell what is the Destination in that report.  What is z_webservice ?</b>
                  3 . Do we need to use RFC Sender adapter ? It is not related to proxy right ?
    Regards.,
    Shyam
    null

  • When opening .doc from website link, FF appends .docx extention to file & does not open in Word 2010, with incorrect file format error. Pls Help

    I'm using Firefox v12 to open a hyperlink from a website that points to a filename.doc MS Word Document for download.
    We are then asked to open the file with MS Word (Default), which our installed version is MS Word 2010.
    Firefox then renames the file appending a .docx to the filename e.g filename.doc.docx. MS Word 2010 opens with error 'incorrect file format', which is correct as Firefox has renamed it.
    Is there a fix or workaround for this?

    Hello Jscher2000,
    I can save the file and it opens fine.
    It's when I open it directly, Firefox appends the 'docx' extenstion to the filename.
    If I continue to reopen from the web link, Firefox renames the file as so
    mydoc.doc-1.docx
    mydoc.doc-2.docx
    mydoc.doc-3.docx
    I can open a .doc from a Microsoft site ok.
    I have the feeling it's the way the web server is reporting the mime type to Firefox.
    The link in question works fine in Internet Explorer.
    best regards,
    Youngielinux.

  • Two seperate class files can not resolve (pls help me) THANKS!

    When i compile UseMusic.java i get the following:
    i can't figure it out..
    Thank You for Time!
    D:\java\cENG310\Ass2>javac UseMusic.java
    UseMusic.java:29: cannot resolve symbol
    symbol  : variable middlec
    location: class UseMusic
                       mm.caldis(middlec);  // compute freqs
                                 ^
    UseMusic.java:42: cannot resolve symbol
    symbol  : variable middlec
    location: class UseMusic
             mm.setzero(middlec); // reset middlec to zero
                        ^
    UseMusic.java:56: caldis(java.lang.String[],double[],double) in Music cannot be appli
                      mm.caldis(middlec);  // compute freqs
                        ^
    UseMusic.java:81: checkvaild(java.lang.String[],java.lang.String) in Music cannot be
    a.lang.String)
                boolean cv = mm.checkvaild(strkey);
                               ^
    UseMusic.java:86: getfreq(java.lang.String[],java.lang.String) in Music cannot be app
    ang.String)
                   int index = mm.getfreq(strkey);
                                 ^
    5 errors
    *  Filename    : UseMusic.java
    import iopack.Io;
    import java.text.DecimalFormat;
    * UseMusic this class is
    public class UseMusic {
          public static void main(String[] args) {
             Music mm = new Music();
                   DecimalFormat fmt = new DecimalFormat("0.###"); // round output to 3 decimals places
             boolean newmidc = false;
             boolean notelookup = false;  
             System.out.println("\n\tMusical Scales");
             System.out.println("\t---------------");     // display the title and instructions
             System.out.println("\n\tDefault note values are:");  
                 mm.caldis(middlec);  // compute freqs
             System.out.println("\n\t************************");
             System.out.println("\t* Notes  *  Frequency  *");
             System.out.println("\t************************"); 
             // print old results
             for (int i = 0; i < mm.noteName.length; i ++) {
                        // display values onto screen
                System.out.println("\t* " + mm.noteName[i] + "\n");
                System.out.println("      " + mm.noteFreq[i] + " Hz *\n");     
             mm.setzero(middlec); // reset middlec to zero
             // prompt user for value of midddle c
             while (!newmidc) {
                   //read value new value for middle c
                   double middlec = Io.readDouble("\n\tEnter value for Middle C [Between 250 - 265] (Hz)");
                   // vaildate value for middlec
                   // vaild if valeu for middle is between 250-265
                   if ((middlec > 250) && (middlec < 265)) {
                      System.out.println("\n\tNew note values");
                      System.out.println("\n\t----------------\n");
                      mm.caldis(middlec);  // compute freqs
                      System.out.println("\n\t************************");
                      System.out.println("\t* Notes  *  Frequency  *");
                      System.out.println("\t************************"); 
                      // print old results
                      for (int i = 0; i < mm.noteName.length; i ++) {
                            // display values onto screen
                            System.out.println("\t* " + mm.noteName[i] + "\n");
                            System.out.println("      " + mm.noteFreq[i] + " Hz *\n");     
                      break;   // get out of while
                   else {
                         System.out.println("\nError Invaild Input!\nValue must be between 250 Hz to 265 Hz.");         
                   } //end of else
             } // end of while for newmidc
             // prompt user for note
             while (!notelookup) {
                //read value new value for
                String strkey = Io.readString("\n\tEnter note value");
                boolean cv = mm.checkvaild(strkey);
                // vaildate value for middlec
                // vaild if valeu for middle is between 250-265
                if (cv == true) {
                   int index = mm.getfreq(strkey);
                   System.out.println("\nNote " + mm.getnoteName(index) + "has frequency of" + mm.getnoteFreq(index) + " Hz");
                   break;   // get out of while
                else {
                   System.out.println("Invaild note!, please try again.");          
                } //end of else
             } //end of while    
          }// end of static main
    } // end of Class UseMusic
    *  Filename    : Music.java
    import java.*;
    public class Music
       static int MAXSIZE = 12;                  // max # of elements (13 elements)
       static double INITALMIDDLEC = 256;     // set default value of middle c to 256
       double middlec;          // user value for middlec
       String[] noteName;   // array stores name of notes
       double[] noteFreq;     // array stores freq of notes
      boolean vaildstr;     // track whether entered string is vaild
       char replay;               // user's reponse to continue prompt
       boolean uContinue;     // whether or not to continue
       int sub;                         // index of searched string
       // Default Constructor
       Music () {
          String[] noteName = {"C","C#","D","D#","E","F","F#","G","G#","A","A#","B","C'"};
          double[] noteFreq = new double[noteName.length];
          middlec = INITALMIDDLEC; // default value of middlec to 256
              vaildstr = false;        // signify whether user entered value
          sub = 0;
       void caldis(String[] noteName, double[] noteFreq, double middlec) {
          // calculate the values based upon middlec
          double temp = 0; // dummy used to store value
          double semitone = (double)Math.pow(2,(1/12));
          temp = middlec;   //set the value of the first element to middlec   
          // fill noteFreq with values wrt middlec
          // no magic #s - noteName since noteFreq has # of elements
          for (int i = 0; i < noteName.length; i++) {
             temp = noteFreq[i-1]; // save value of previous elements 
             noteFreq[i] = temp + (temp * semitone);
          } //end of for
       double getmiddlec(double middlec) {
          return middlec;   // Returns the value of middlec
       int getfreq(String[] noteName, String strkey) {     
          for (int i = 0 ; i < noteName.length ; i++) {        
             if (strkey.compareTo(noteName) == 0) {           
    sub = i;
    return sub;
         double setzero(double middlec) {
              middlec = 0;
              return middlec;
    String getnoteName(int index) {
    return noteName[index];
    double getnoteFreq(int index) {
    return noteFreq[index];
    boolean checkvaild(String[] noteName, String strkey) {
    vaildstr = noteName.equals(strkey);
    return vaildstr;
    } //end of Class Music

    >
    What part can't you figure out? The compiler is
    telling you that it can't resolve "middlec", which it
    can't, because you apparently didn't define it
    anywhere. Actually he did define it, but he defined it after he passed it to those methods. If that's not simply an oversight on his part, I can't begin to understand what he was thinking.

  • Oracle single sign-on scenario. pls help.

    Hi,
    I have following basic Oracle single sign-on setup in place along with integration with Active Directory 2003.
    All the users are provisioned in AD, which is then synchronized with OID. The OID users is then manually synchronized to Oracle
    E-business suite (FND_USER table).
    So, the flow is like this :
    AD > OID > Ebiz suite
    Problem :
    We are now migrating users in AD 2003 to AD 2008 and i am being asked to perform impact analysis on Oracle Single sign-on environment while this AD migration is in process.
    Any clues or your inputs on impact that this will create on single sign-on will be much appreciated.
    Thanks in advance

    Hi Darsh,
    1. Oracle Internet Directory (OID) is Oracle LDAP storage solution (more here), Oracle Virtual Directory is Oracle solution that can read identity data (and filter it (mask it) based on policies) from Oracle/non-Oracle databases, Oracle/non-Oracle Directories and files and provide the user profiles as LDAP view (more here), There is nothing called Oracle Active Directory, you must be referring to Microsoft Active Directory.
    2. No, Oracle Single Sign On (OSSO) is a feature in iAS (its obsolete), Identity Management is wide umbrella of solutions and concepts.
    3. Oracle Access Manager is one component of Oracle Identity and Access Management suite of products.
    4. Webgate is Oracle access Manager agent that is installed on a webtier, it intercepts the web requests and collect the credentails, send them to Oracle Access Manager for security evaluation (decide what Authentication is needed, verify collect credentials, etc), webgate then enforce the Access Manager decision.
    5. Oracle EBS AccessGate is a java application that has the same use of OAM Webgate (it is OAM agent) but specific to E Business suite, EBS Access Gate is the new solution replacing OSSO agents, OAM is replacing OSSO server component, EBS and OSSO customers can use OAM server with OSSO agents, or with EBS AccessGate.
    HTH.
    Ghassan

  • I am not able to download the .dmg file for my mac book pro. pls help.

    i am using a mac book pro - mac os x 10.6.4 on a 2.33 ghz intel core duo processor. i am unable to fully download the .dmg file to install firefox. the file begins download within the browser itself and the browser window screen goes black after a while and stays there. no .dmg file to be seen. pls help.

    The latest version iOS 6 does not run on the original iPad.  That's why you cannot download it.

  • Communication Channel Error : File to IDOC scenario

    Hi all,
    I am getting the below error in my CC monitoring for the channel, previously its good. Now its not getting process due to this error.
    Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'DTL':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
    Below are the Conversion Parameters:
    DTL.fieldNames : REC_CD,SYS_SOURCE_CD,ACC_DT,JE_NO,JE_SRL_NO,BUS_UNIT_CD,GEO,DEPT_ID,OPER_UNIT,PJT_ID,WRK_REQST_NO,OPEN_ITEM,PROCESS_CD,NATURAL_ACCT,FERC_ACCT,PRODUCT,AFFIL_BUS_UNIT_CD,RES_TYPE,REC_CATEGORY,DOLLAR_AMT_SIGN,DOLLAR_AMT,QTY_1,QTY,DESC,SECOND_DESC,BASE_CST_AMT_SIGN,BASE_CST_AMT,TRANS_DATE,EXH_NO,PO_NO,VENDOR_NO_7,STRS_REF_NO,STK_NO,STRM_NO,INV_TYPE,INV_NO,CUST_CD,PLAT_JE_REF_NO,VCH_NO,VCH_LINE_ITEM,AP_REF_NO,PO_LINE_NO,BILL_CTL_RPT_NO,VEH_NO,PAYT_RECVR_CODE,GLEX_SEQ_NO,PAYMT_TYPE_CODE,CHECK_NO,FILLER
    fixedLength: 1,3,10,4,5,5,2,10,8,15,15,15,4,10,6,6,5,5,5,1,19,1,15,30,30,1,18,10,10,10,10,5,6,3,8,6,8,13,8,4,1,4,17,10,1,4,1,18,13
    keyFieldValue: D
    Please help me in this..
    Regards,
    Srikanth.

    >
    srikanth vadlamani wrote:
    > Hi experts,
    > Communication Channel itself shows this error, still I did not placed the file in the FTP to process.
    > The error is not from RWB/MONI, it is from Communication channel monitoring, there I can see the red flag. If I am can process the file then its ok I can check with the data or my business people, but channel itself shows this error, need to fix, tomorrow they might place the file, it should process.Pls. help me how can I resolve this issue.
    >
    > regards,
    > Sri..
    In this case check SAP Note 830238.

  • File to File Scenario with Secure Connection. Pls help urgent

    Hello All,
    I tried a lot to get a link/blog that expalin full scenario
    for File to File Scenario with Secure Connection
    Kindly let me know if somebody have link/doc for it
    that describe all the steps to do configuring this scenario.
    What is difference in simple words between
    FTPS and SFTP.
    Pls help it is urgent as I require for Project work urgently.
    Regards

    hi rich
    go through these links
    FTPs connection failed - error ".. certificate rejected by ChainVerifier"
    Re: What is SFTP, FTI channels
    http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    FTPS implementation question.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
    Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
    /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
    File adapter
    thanks
    Kunaal

  • How to have Secure Connection for File Adapter.Pls help

    Hi All,
    For File to File Scenario
    How to have Secure Connection for File Adapter.
    Pls send links/blogs explaining this scenario.
    Regards

    hi rich
    go through these links
    FTPs connection failed - error ".. certificate rejected by ChainVerifier"
    Re: What is SFTP, FTI channels
    http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    FTPS implementation question.
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
    Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
    /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
    File adapter
    thanks
    Kunaal

  • Help in file to RFC scenario

    hey guys i m doing a File to RFC scenario using BPM and taking help from the following blog /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit i m a bit confused about the services being used in figure 19 and figure 20,for a File to RFC(sync) scenario,do i need to have 2 business systems,one of WEB as ABAP and one of third party?
    why is he using two different services in figure 19 and 20.
    thanx
    ahmad

    Dear Bhavesh,
                          Someone earlier told me via SDN that, it is mandatory to create a WEB AS ABAP business system for any SAP system running on ABAP stack participating in the integration scenario. If the above is true than Ahmad needs to create one WEBAS ABAP business system for the R/3 end
    also a third party business system or a business service for file system.
    Pls advice.
    Regards,
    Ashish

  • Pls Help me with steps to add data from xml file to SAP B1 through B1iSN.

    Pls Help me with steps to add data from xml file to SAP B1 through B1iSN. I  am getting stuck in xsl transformation. not able to understand where the mapping code needs to be added.
    Pls explain me the steps for adding data from xml to B1 quotation step by step.
    thanks and regards
    Priya

    Hi,
    Have you checked this: https://sap.na.pgiconnect.com/p45508295/?launcher=false&fcsContent=true&pbMode=normal ?
    Thanks,
    Gordon

  • Hi,  I backed up my ipad and iphone on the same computer, will it be shown on the same folder or different? Mine is window 7, try to find the back up file follow the step that apple provided, it shown only iphone instead of ipad. Pls help.

    I backed up my ipad and iphone on the same computer, will it be shown on the same folder or different? Mine is window 7, try to find the back up file follow the step that apple provided, it shown only iphone instead of ipad. Pls help.

    What do you see under Edit > Preferences > Devices?
    tt2

  • Is it possible to create a file in servlet context? pls help me

    Is it possible to create a file in servlet context? pls help me

    Surely it is possible.File file = new File(path, name);

Maybe you are looking for

  • How to open external files in a Java stored procedure?

    Hi y'all, I'm trying to open an external text file from a Java stored procedure. The java sp has been successfully loaded, resolved, published, etc. in Oracle. I'm using the following statement to try to open the file (enclosed in a try/catch block):

  • Convert cmyk to rgb in acrobat 7

    Good morning, I have a question about converting color spaces using Acrobat 7 Professional  and Pitstop Pro. I have some CMYK PDFs used for magazine printing that I need to convert to a 144 DPI RGB version for a digital edition. I know most folks are

  • How do i unsync numbers document

    Hi I accidentally set up a numbers document to sync with PAGES in Itunes with my Ipad.  How do I unsync?

  • Passing Data to Nested iViews

    Hi, I am trying to pass the data to nested iViews and not getting success. In my model I have 2 layers. Layer 1 - Input Form Layer 2 - Output Table and Nested iView This Nested iView I have made it a tabstrip. Now when I select any line item from the

  • HELP! Cannot add or edit entities/attributes or anything for that matter and have granted the proper persmissions.

    Hello, I have granted the proper access and cannot seem to get permissions to work in order to add or modify anything in models.  Don't know what I'm missing. Cannot find the object "tbl_3_19_EN" because it does not exist or you do not have permissio