Source Filename to XML with File Adapter

Hi,
I need to insert the filename in the XML structure when the file is read by File Sender Adapter (FTP).
Example
<document>
  <filename>file_200602081000.dat</filename>
  <record>
    <row>
      <line>Line 1</line>
      <line>Line 2</line>
    </row>
  </record>
</document>
It's possible?

Hi,
If you are using XI SP14, you have inbuilt options to retrieve the file name in the File Sender Adapter. Once you choose that option in the Adapter configuration , in Mapping you can access the file name.
For more info refer to /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
Following link tells about Release Notes:
http://help.sap.com/saphelp_nw04/helpdata/en/43/161682de3c04bae10000000a11466f/frameset.htm
If XI is below SP14, then you need to use Module Processor to retrieve the File Name.
regards,
Moorthy

Similar Messages

  • Problem with FIle Adapter

    Hi
    We r facing typical problem with file adapter.
    Lets say there are 30 files to be processed  by placing an copy in arichive folder by file adapter  based on pooling 
    parameters.
    All the 30  files are picked up and we can see the copies in archive folder.
    But when we go to RWB and check the audit log,
    there we could see only 25 files , the 5 files are missing.
    no trace found therre about the 5 files.
    This is happening only some times and not to all the files placed in the FTP. Later when the same file is placed back from the Archive folder to the Source folder, the file is being picked and processed succesfully.
    unfortunately this is happening on Production server
    Any pointers which could trouble shoot this issue.
    Regards
    shekar chandra

    Hi,
    Couple of thing which you can try....
    1. Use EOIO QoS and check if you still face the issue.
    Is some program or application writing files to the directory? If yes I would recommend the use of a temporary name to write the files and then rename them.
    Sometimes when an external application connects via FTP and transfers the files...
    The file could be picked up by the adapter poll even before the transfer of data is done.
    Which is why you will find that the file is archived but there is no xml message created for the same in the Integration engine.
    Try increasing the poll interval. This helps sometimes.
    Regards,
    Sidharth

  • Tab delimited file to XML by file adapter

    Hi,
    I got following sample flat file input, can we convert it to XML in file adapter's file content conversion?
    Key1,Key2,Item1,Item2,Item3 <-comments
    0001,AAA1,001,Cup,100
    0001,AAA1,002,Glass,100
    0002,BBB1,001,TV,10000
    0002,BBB1,002,Radio,100
    <Orders>
       <Order>
            <Key1>0001</Key1>
            <Key2>AAA1</Key2>
            <Item>
                <Item1>001</Item1>
                <Item2>Cup</Item2>
                <Item3>100</Item3>
            </Item>
            <Item>
                <Item1>002</Item1>
                <Item2>Glass</Item2>
                <Item3>100</Item3>
            </Item>
       </Order>
       <Order>
            <Key1>0002</Key1>
            <Key2>BBB1</Key2>
            <Item>
                <Item1>001</Item1>
                <Item2>TV</Item2>
                <Item3>100000</Item3>
            </Item>
            <Item>
                <Item1>002</Item1>
                <Item2>Radio</Item2>
                <Item3>100</Item3>
            </Item>
       </Order>
    </Orders>

    you cannot create it to what is as shown below due to some limitations of the file adapter. read my post in this thread to know y - file adapter
    But you can use tools like the conversion agent etc to acheive the same or read the XML in flat and then use XSLT or java to create the req. structure.
    <i>
    Note :
    Conversion agent
    /people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
    /people/paul.medaille/blog/2005/11/18/conversion-agent-a-free-lunch
    /people/alexander.bundschuh/blog/2006/03/14/integrate-sap-conversion-agent-by-itemfield-with-sap-xi
    /people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield

  • Interpreting Multibyte data with File Adapter in BPEL Process

    Hi all,
    I am trying to interpret multibyte data file using native schema file.The file is defined as below:-
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://TargetNamespace.com/ftpinbound"
    xmlns:tns="http://TargetNamespace.com/ftpinbound"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified" nxsd:encoding="MS932" nxsd:stream="bytes" nxsd:version="NXSD">
    <xsd:element name="root">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Header" minOccurs="1" maxOccurs="1">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="RecType" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5"/>
    <xsd:element name="OperMode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1"/>
    <xsd:element name="SendSideCompCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    <xsd:element name="RecvSideCompCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    <xsd:element name="BPID" type="xsd:string" nxsd:style="fixedLength" nxsd:length="8"/>
    <xsd:element name="InfoTypeCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4"/>
         <xsd:element name="CreateDate" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    <xsd:element name="SendSideSysCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    <xsd:element name="RecvSideSysCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    <xsd:element name="Preliminary" type="xsd:string" nxsd:style="fixedLength" nxsd:length="458"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Lines" minOccurs="1" maxOccurs="unbounded" nxsd:style="array" nxsd:arrayTerminatedBy="(">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="DataProcessNo" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5"/>
    <xsd:element name="InfoClassCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4"/>
    <xsd:element name="DataCreateDate" type="xsd:string" nxsd:style="fixedLength" nxsd:length="6"/>
    <xsd:element name="SellerCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    <xsd:element name="OrderRecvPartyCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    <xsd:element name="PODeptCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="8"/>
    <xsd:element name="ProductNo" type="xsd:string" nxsd:style="fixedLength" nxsd:length="19"/>
    <xsd:element name="CorrectionCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1"/>
    <xsd:element name="SupplyClass" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1"/>
    <xsd:element name="Buyer" type="xsd:string" nxsd:style="fixedLength" nxsd:length="7"/>
    <xsd:element name="MatStdDimension" type="xsd:string" nxsd:style="fixedLength" nxsd:length="20"/>
    <xsd:element name="Package" type="xsd:string" nxsd:style="fixedLength" nxsd:length="7"/>
    <xsd:element name="Remarks" type="xsd:string" nxsd:style="fixedLength" nxsd:length="30"/>
    <xsd:element name="ConTaxClass" type="xsd:string" nxsd:style="fixedLength" nxsd:length="1"/>
    <xsd:element name="SuppDeptCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="8"/>
    <xsd:element name="SuppProdName" type="xsd:string" nxsd:style="fixedLength" nxsd:length="30"/>
    <xsd:element name="SuppProdNameCode" type="xsd:string" nxsd:style="fixedLength" nxsd:length="25"/>
    <xsd:element name="SuppUnit" type="xsd:string" nxsd:style="fixedLength" nxsd:length="3"/>
    <xsd:element name="SuppUnitPrice" type="xsd:string" nxsd:style="fixedLength" nxsd:length="13"/>
    <xsd:element name="PODeptName" type="xsd:string" nxsd:style="fixedLength" nxsd:length="20"/>
    <xsd:element name="Buyer_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="14"/>
    <xsd:element name="MatStdDim_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="40"/>
    <xsd:element name="Remarks_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="60"/>
    <xsd:element name="SuppDeptName_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="40"/>
    <xsd:element name="SuppProdName_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="60"/>
    <xsd:element name="PODeptName_K" type="xsd:string" nxsd:style="fixedLength" nxsd:length="40"/>
    <xsd:element name="CountingMTHs" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4"/>
    <xsd:element name="SuppProdNvAmount" type="xsd:string" nxsd:style="fixedLength" nxsd:length="10"/>
    <xsd:element name="SupProdSingleItem" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    <xsd:element name="SupProdWIP" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    <xsd:element name="SupProdSpoiledQnty" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Trailer" minOccurs="1" maxOccurs="1">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="RecType" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4"/>
    <xsd:element name="NoOfRec" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5"/>
    <xsd:element name="Preliminary" type="xsd:string" nxsd:style="fixedLength" nxsd:length="526"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    This schema works fine and data is produced as expected when I am using "chars" as the stream option.However I can't use "chars" as the stream option and need "bytes" as the stream option. However when mentinong "bytes" option the following exception is generated:
    Charset "MS932" not supported.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
         at oracle.tip.pc.services.translation.xlators.nxsd.ByteReader.<init>(ByteReader.java:87)
         at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.createScanner(NXSDTranslatorImpl.java:800)
         at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.translateFromNative(NXSDTranslatorImpl.java:440)
         at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:504)
         at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:266)
         at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:179)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:595)
    Please let me know can I at all read a file in byte format with File adapter using a desired encoding style?This is littile urgent.
    Thanks

    Hi James,
    Yeah I tried that too and it gave the same error. And I need to encode with MS932 only since the data will contain Japanese characters and this encoding is identified both by windows and non-windows OS.
    Please can you advice what can I do since the requirement is urgent.
    Thanks

  • How to process large input CSV file with File adapter

    Hi,
    could someone recommend me the right BPEL way to process the large input CSV file (4MB or more with at least 5000 rows) with File Adapter?
    My idea is to receive data from file (poll the UX directory for new input file), transform it and then export to one output CSV file (input for other system).
    I developed my process that consists of:
    - File adapter partnerlink for read data
    - Receive activity with checked box to create instance
    - Transform activity
    - Invoke activity for writing to output CSV.
    I tried this with small input file and everything was OK, but now when I try to use the complete input file, the process doesn't start and automatically goes to OFF state in BPEL console.
    Could I use the MaxTransactionSize parameter as in DB adapter, should I batch the input file or other way could help me?
    Any hint from you? I've to solve this problem till this thursday.
    Thanks,
    Milan K.

    This is a known issue. Martin Kleinman has posted several issues on the forum here, with a similar scenario using ESB. This can only be solved by completely tuning the BPEL application itself, and throwing in big hardware.
    Also switching to the latest 10.1.3.3 version of the SOA Suite (assuming you didn't already) will show some improvements.
    HTH,
    Bas

  • Problems with File adapter

    Hi All
    I am facing some problems with XI system. XI production server was restarted couple of days back. From that time, 1 file is not reaching its destination. When i go to communication channel monitoring, i see this  message for all the communication channels with file adapter "No adapter registered for this channel".
    But, communication channels with SOAP adapter are working fine, and the corresponding files are reaching its destinations. So, what should i do to rectify this probelm? Do we have to restart XI server onceagain? Is there anything pirticular, to be careful about, while restarting XI system?
    Many Thanks in Advance
    Chandra Sekhar

    Hi Chandra shekar,
    Plz try to do the  following steps:
    1)Try after restarting the Java Stack.
    2)Try after SLD cache.
    To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
    Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
    This will help you to find SP Level
    http://help.sap.com/saphelp_nw2004s/helpdata/en/1f/c45b4211aac353e10000000a1550b0/frameset.htm
    http://hostname:5/CPACache/refresh?mode=full
    Regards,
    Vinod.

  • Convert XML to flat file with File adapter

    Hi all.
    Trying to configure a file adapter according to the following link.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/d2/bab440c97f3716e10000000a155106/frameset.htm
    What i want it to do is the following.
    I have the following incoming message:
    <header>
         <h_field1></h_field1>
         <h_field2></h_field2>
    </header>
    <data>
         <d_field1></d_field1>
         <d_field2></d_field2>
         <infotext>
              <i_field1></i_field1>
              <i_field2></i_field2>
         </infotext>
    </data>
    I want this to become a flat file that looks as follow.
    h_field1¤h_field2
    d_filed1¤d_field2
    i_field1¤i_filed2
    Every field in each segment should be concatenated with the ¤ char as separator.
    I've done the following:
    Content Conversions Parameters
    Record Structure: header,data,infotext
    header.fieldSeparator   ¤
    data.fieldSeparator    ¤
    infotext.fieldSeparator   ¤
    The adapter just gets into wait mode.
    Does anybody know why?
    BR
    Kalle

    Hello kalle,
    As per your source structure, if you perform FCC on it you should have 2 level hierarchie, Your RecordSet  will be your root node.
    and the RecordSetStructure is : header,1,data,1,
    Since the node infotext is in the data, you can not refer this node and is not appropriate.
    <header>
        <h_field1/>
    <h_field2/>
                 </header>
                <data>
      <d_field1/>
       <d_field2/>
        <infotext>
    <i_field1/>
    <i_field2/>
    <  /infotext>
              </data>
    Change The above strucutre to like this
    <header>
        <h_field1/>
         <h_field2/>
      </header>
       <data>
          <d_field1/>
          <d_field2/>
        </data>
          <infotext>
                <i_field1/>
               <i_field2/>
           < /infotext>
    Your RecordSet  will be your root node.
    and the RecordSetStructure is : header,1,data,1,infotext,1
    This resolves your issue..
    Regards,
    Prasanna

  • Need help with reading XML using File Adapter

    I have created a simple BPEL process that uses a file adapter to read files containing XML messages of a simple xsd schema. But when reading the xml, I get the following error message:
    [2010/03/01 23:43:13] Invalid data: The value for variable "Receive_1_Read_InputVariable", part "revision-report" does not match the schema definition for this part.The invalid xml document is shown below: More...
    [2010/03/01 23:43:13] "{http://schemas.oracle.com/bpel/extension}invalidVariables" has been thrown. less
    -<invalidVariables xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>
    9710
    </code>
    </part>
    -<part name="summary">
    <summary>
    Invalid xml document.
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-complex-type.4: Attribute 'doc' must appear on element 'revision-report'.
    Error::cvc-complex-type.4: Attribute 'model' must appear on element 'revision-report'.
    Error::cvc-complex-type.4: Attribute 'pubdate' must appear on element 'revision-report'.
    Error::cvc-complex-type.2.4.b: The content of element 'revision-report' is not complete. One of '{"http://xmlns.oracle.com/xmlfile":alternategroup}' is expected.
    Please make sure that the xml document is valid against your schemas.
    </summary>
    </part>
    </invalidVariables>
    It seems that there is some issue with the namespace, but even after trying out various combinations, I am not able to resolve this.
    Here the message schema (xsd):
    <?xml version="1.0" encoding="UTF-8" ?>
    <xs:schema elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/xmlfile"
    xmlns:tns="http://xmlns.oracle.com/xmlfile"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="revision-report">
    <xs:complexType>
    <xs:sequence maxOccurs="unbounded">
    <xs:element name="alternategroup">
    <xs:complexType>
    <xs:attribute name="name" use="required" type="xs:string"/>
    <xs:attribute name="Desc" use="required" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="doc" use="required" type="xs:string"/>
    <xs:attribute name="model" use="required" type="xs:string"/>
    <xs:attribute name="pubdate" use="required" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    And here is the xml file to be read by the file adapter:
    <?xml version="1.0" encoding="UTF-8" ?>
    <revision-report doc="doc2" model="model4" pubdate="pubdate5">
    <alternategroup Name="ABC" Desc="ABC-Desc">
    </alternategroup>
    <alternategroup Name="DEF" Desc="DEF-Desc">
    </alternategroup>
    <alternategroup Name="GHI" Desc="GHI-Desc">
    </alternategroup>
    </revision-report>
    Appreciate any help.
    Thanks in advance for your attention.
    Jay

    Thanks for your response.
    I am not sure if there is any easier way, but I tried out the following tool available on the net to check an xml against a xsd:
    http://tools.decisionsoft.com/schemaValidate/
    There were a few issues, that I corrected and finally had a xsd and xml that were matching and valid. I tried this out in my file reading BPEL process, but the error still remained the same!
    Here is my updated/simplified xsd and xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/xmlfile"
    xmlns:tns="http://xmlns.oracle.com/xmlfile"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://xmlns.oracle.com/xmlfile">
    <xs:element name="revision-report">
    <xs:complexType>
    <xs:sequence>
    <xs:element maxOccurs="unbounded" ref="alternategroup"/>
    </xs:sequence>
    <xs:attribute name="doc" use="required" type="xs:string"/>
    <xs:attribute name="model" use="required" type="xs:string"/>
    <xs:attribute name="pubdate" use="required" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="alternategroup">
    <xs:complexType>
    <xs:attribute name="Name" use="required" type="xs:string"/>
    <xs:attribute name="Desc" use="required" type="xs:string"/>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <?xml version="1.0" encoding="UTF-8" ?>
    <revision-report doc="doc2" model="model4" pubdate="pubdate5" xmlns="http://xmlns.oracle.com/xmlfile">
    <alternategroup Name="ABC" Desc="ABC-Desc"/>
    <alternategroup Name="DEF" Desc="DEF-Desc"/>
    <alternategroup Name="GHI" Desc="GHI-Desc"/>
    </revision-report>
    I even tried the option that is available in JDeveloper to generate a sample xml from a xsd (when in the context of a Transformation activity). The xml generated by this also seems exactly like the one above.
    So, I am not able to figure out why my BPEL process errors out with the message Invalid xml document.

  • Xml file without namespace with file adapter

    Hi,
    Please can you assist. We will be receiving a XML file from an application without the namespace in the file.
    As I tested thusfar PI requires a namespace as part of the xml file.
    How would it be possible to you handle this with the file adapter.
    Ex.
    <?xml version="1.0" encoding="UTF-8"?>
    <applicatrion>
         <orders>
              <order>
                   <action>I</action>
                   <orderId>4261A92485</orderId>
              </order>
         </orders>
    </application>
    Regards
    Willie Hugo

    Hi Hugo,
    Please see if this link could clear some doubts http://www.w3schools.com/XML/xml_namespaces.asp
    We generally get an idoc xml in the below format without any issues:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ORDERS05>
    - <IDOC BEGIN="1">
    - <EDI_DC40 SEGMENT="1">
      <TABNAM>EDI_DC40</TABNAM>
      <MANDT>510</MANDT>
      <DOCNUM>0000000000127051</DOCNUM>
      <DOCREL>700</DOCREL>
      <DIRECT>1</DIRECT>
      <IDOCTYP>ORDERS05</IDOCTYP>
      </EDI_DC40>
    Thanks,
    Sudhansu

  • Get the filename after an outbound file adapter operation

    Hello,
    I am calling an outbound file adapter operation in BPEL (10.1.3.3) - using a filename mask with a sequence (i.e. po_%SEQ%.xml). I would like to provide the filename created at run-time (i.e. po_123.xml) to my BPEL process so I can send this in an e-mail. Is this possible?
    Thanks in advance!
    Rod
    Message was edited by: Rod - fixed a typo
    Rod Tunnels

    Well, I took a different approach - which looks like it will work. Instead of letting the adapter decide the filename - I'm generating that in BPEL and passing that to the adapter using the header variable. So ... nevermind. ;-)

  • Issues with File Adapter

    Hi!
    I am working on File(source.csv)->Xi->File(Target.csv) Scenario.
    In my Source File i have 4 fields which are mapped to the target file which contains 2 additional fields with constant values mapped.   So, I should get 6 fields at receiver end.
    <b>Source structure</b>                      
    CharacterName                                 
    Lowerlimit                                                                               
    Upperlimit
    Targetvalue                                     
      <b> Target Structure</b>
    CharacterName 
    Lowerlimit
    Upperlimit
    Targetvalue
      Plant (constant value -1000)
      Status (Constant value - Released)  
    But, While using file adapter it showing only 4 fields of my Source file at the receiver end , not the ones which have been mapped with constant values(It is with out Using FCC) .
    When i  use FCC under File Adapter,  XI is not picking the file. These are the parameters I am defining at Sender Adapter:
    Document Name : file_rece( Not sure whether it should be similar as of my Msg Type name)
    RecordSet Name :Record (not sure abt naming conventions)
    Recordset Structure : main,1
    In parameters:
    main.fieldNames:CharacterName,Lowerlimit,Upperlimit ,Targetvalue
    main.fieldSeparator: ,
    main.endSeparator : 'nl'
    Receiving Adapter:
    Recordset Structure : main,1
    main.fieldSeparator :,
    main,endSeparator : 'nl'
    ---I gone through some previous posts but cant able to resolve it.
    Regards
    Parth
    <b></b>

    Hi! Bhavesh
    <b>This is the source Data type xml format generated in IR:</b>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http:
    bSU1" targetNamespace="http:
    bSU1">
         <xsd:element name="bsu_source" type="Bbsu_target_dt" />
         <xsd:complexType name="Bbsu_target_dt">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   853e43e0755211dba7bf001560a58e89
                   </xsd:appinfo>
              </xsd:annotation>
              <xsd:attribute name="CharacterName" type="xsd:string">
                   <xsd:annotation>
                        <xsd:appinfo source="http://sap.com/xi/TextID">
                        a9f9a8a073a911db9df8f654ac1116d8
                        </xsd:appinfo>
                   </xsd:annotation>
              </xsd:attribute>
              <xsd:attribute name="LowerLimit" type="xsd:integer">
                   <xsd:annotation>
                        <xsd:appinfo source="http://sap.com/xi/TextID">
                        a9f9a8a173a911dbaaabf654ac1116d8
                        </xsd:appinfo>
                   </xsd:annotation>
              </xsd:attribute>
              <xsd:attribute name="UpperLimit" type="xsd:integer">
                   <xsd:annotation>
                        <xsd:appinfo source="http://sap.com/xi/TextID">
                        a9fb2f4073a911db868ef654ac1116d8
                        </xsd:appinfo>
                   </xsd:annotation>
              </xsd:attribute>
              <xsd:attribute name="TargetValue" type="xsd:integer">
                   <xsd:annotation>
                        <xsd:appinfo source="http://sap.com/xi/TextID">
                        a9fb2f4173a911db9ed2f654ac1116d8
                        </xsd:appinfo>
                   </xsd:annotation>
              </xsd:attribute>
         </xsd:complexType>
    </xsd:schema>

  • Get additional file attachements with file adapter

    Hello,
    Has anyone ever had the following situation:
    A Sender interface sends a little bit of data to XI.
    This data contains the filenames of some files on a FTP server.
    Based on these filename the file needs to be retreived from a FTP server and further handled as an attachement of the XI message?
    Is it possible to trigger a sender file adapter with a variable directory and filename from XI, in a BPM or Mapping?
    Warm Regards,
    Leon Boeijen

    hi,
    >>>>Is it possible to trigger a sender file adapter with a variable directory and filename from XI, in a BPM or Mapping?
    no it's not possible to start a file adapter from BPM
    you can use a java proxy that will do the trick
    we've used a solution like this many times with no big issues
    remember that it's better to use an async java proxy
    (with correlation) then a sync one...
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Retrieve the complete filename picked up by file adapter

    Hi all,
    I would like to retrieve the complete filename which is picked up by a sender file adapter. I need to know the exact filename during runtime in order to group some messages within an BPM process. No workaround (e.g. set up multiple file adapters) could be used. Do I have a chance to realize this with a module for the file adapter or maybe a dispachter class? If yes - how?
    Cheers, Katrin

    Hi Katrin,
    Check Oss note 639106.
    In this note SAP has provided information on how to determine the currently processsed file.
    Thanks
    Lakshman

  • Sender communication channel with file adapter

    Hi All,
               Here i am facing some error with the communication channel in which i have used FILE adapter. Here i am using PI 7.0. Here i have configured the communication channel. but i didn't checked the "operating system commands". and i checked the " adapter specific message attributes". i dont know whether i have to check these adapter specific message attributes or not. When i have gone to runtime work bench there i saw in adapter monitoring. there it is not showing any error. but in communication channel monitoring it is showing that it is having  -
      "processing  errors" but i am not getting where will be the error.. Any new ideas will be appreciated.
    Thanks in advance,
    Ramana

    Hi Bhavesh and Aaron,
                  Here i viewed the XMl format of the sender file in the mapping. there i found the difference between the file i am trying to pick up by the adapter and the XML instance of the sender interface in mapping. The difference is there in the message type of the <ns0> tag the file i am trying to send is having one message type and name space, where as the XMl instance is having the other message type and same name space.
                 i think that will the problem in processing my file. i am not sure about it.please any of you confirm that if it is th processing error i am facing or not.
                Thanks for your efforts.
    Regards,
    Ramana.

  • Txt file to XML using File Adapter

    Dear  ALL,
    I am doing file to file scenario, where i have to convert txt file from sender to xml as receiver .
    I have done with all the conversion content parameters at the sender file adapter as below:
    DocumentName:
    DocumentNamespace:
    RecordsetName:
    RecordsetStructure:
    Row.fieldNames :
    Row.fieldSeparator:
    Row.endSeperator:
    Row.fromConfiguration;
    Row.fieldFixedLengths:
    Am i missing anything
    still i am getting error as .
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'Row.fieldFixedLengths' or 'Row.fieldSeparator' is missing Consistency check: no. of arguments in 'Row.fieldFixedLength' does not match 'Row.fieldNames' (0 <> 6)
    Could anyone let me know where i am wrong in config.
    Kind Regards,
    Vijay

    Raj,
    Please find the details
    DocumentName:            sto_dc.txt
    DocumentNamespace:    http://........
    RecordsetName:             MT_STO_FILEOUT
    RecordsetStructure:        Row,*
    Row.fieldNames :   Document_number,Site,Date,Item_number,
                                        Article_number,Quantity
    Row.fieldSeparator:         ,
    Row.endSeperator:        'nl'
    Row.fromConfiguration;   fromConfiguration
    Row.fieldFixedLengths:  8,4,8,2,6,2
    Regards,
    Vijay

Maybe you are looking for

  • XHTML Tables

    My client is using LiveCycle to produce documents sourced from a web based application.  One of their requirements is for the document template to include rich text data from the source application which will include tables and other rich text input

  • Where to maintain table coumn names

    Hi, I can type the header label text for coulmn heading in the layout as hardcoded, and I cna also do it by putting field mapping value attribute from View context. whats the best way to do it? should I declare a method in component controller contex

  • Installing maverics: mail-database will not update - it 'hangs'

    Just updated to mavericks all seems to work, except that Mail will not start: the database update process seems to hang. Is anything known about this? How can I re-start this process manually and re-import the mail data from my ccc backup? I am upgra

  • Error message: "itunes could back the iphone because an error occured"

    Error message: "itunes could back the iphone because an error occured" when i am syncing my iphone with itunes. It seems that itunes manage to syn my contacts up till photos then the error message occured. can anyone help? Thanks

  • Genre - HOW to edit or delete?

    Greetings, I'm wondering if there's a way to edit or delete the genre list of iTunes? Could anyone kindly answer? Your expertise is very much appreciated.