PI 7.31 SP14: use of MessageTransformBean Complex conversion w/o KEY values

In a mail sender channel I need to pick up a csv file with 2 (different) header lines and a number of data lines. the structure is like this:
header1
header2
line
line
line
There are no Key values in the file that I can use and no fixed lengths either.
How do I convert this csv file to an xml file in PI? I imagine using the MessageTransformBean in the mail sender channel but I face trouble because of the lack of Key values I can use.
I tried the following but it is screaming for KeyValues and similar stuff.

can you also post 28,000 more lines? I'm sure this will be helpful....

Similar Messages

  • How to use Oracle DB Sequence to Generate Primary Key Values?

    Dear Members,
    I am using Oracle JDev V 11.1.2.1.0 and Oracle 11g XE Database.
    I have followed the below steps:-
    1/ Created an EmployeesEO
    2/ Created an EmployeesVO
    3/ Created a JSPX Page
    4/ On the JSPX Page I have dragged the EmployeesVO and created it in ADF Table Format.
    On this page when I create a new record, I want to generate employee id automatically based on a sequence which is created in the database of the HR Schema.
    Please let me know how to achieve the above requirement.
    Many thanks in advance.
    Regards.

    check [url http://mjabr.wordpress.com/2011/03/11/make-sequence-number-as-default-value/]Set an attribute’s default value with a sequence number

  • Creating a New Row Using an ADF Iterator Binding without primary key value

    I dropped a Create action onto a DataAction which forwards to a UIX entry page which contains an enabled Commit button. Part of the primary key value is held in a session bean and it is also current in another view on the model side, but I am unable to access this value to set the EntityImpl primary key attribute.
    Upon submission the following error message is returned from the model:
    ORA-01400: cannot insert NULL into ("GTR"."EMPLOYMENT"."ACCOUNT")
    I would like to accomplish this with databinding and not create a custom create method on the application model. Is there a way to update the binding value for the new row in cache before the submission? Any advice would be welcome.

    I should add that I want the user to enter every attribute value, except for the account number. It must be possible to create a new row and have the account number supplied to the bindings another way.

  • XML to CSV using AF_Modules/MessageTransformBean in AF

    hi All,
    I am trying to convert an XML file to CSV using AF_Modules/MessageTransformBean  module key XML2Plain in the Communication channel.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
    My Structure looks like
    <resultset>  -- 1
    <row> -- 0 .. *
    <line>ABC</line> -- 1
    </row>
    </resultset>
    Length of line is not fixed.
    XML2Plain  Transform.Class  com.sap.aii.messaging.adapter.Conversion
    XML2Plain Transform.ContentType text/plain;charset=utf-8
    XML2Plain xml.conversionType SimpleXML2Plain
    XML2Plain xml.addHeaderLine 0
    Now what should be value of endSeparator or field separator if length is not fixed?
    If sample input is:
    <resultset> 
    <row>
    <line>ABC</line>
    </row>
    <row>
    <line>sapnetweaver</line>
    </row>
    </resultset>
    Output should be:
    ABC
    sapnetweaver
    Please help!
    Thanks,
    Mayank

    Hi,
         As mentioned output want is CSV then need to define the separator as comma...for field and end separator as newline..
    thats it...
    HTH
    Rajesh

  • What software is used to develop complex programs like 'Adobe InDesign'?

    I want to find out:
    What software is used to develop complex programs like 'Adobe InDesign'?
    Thanks.

    Just to expand a bit for anyone who is interested:
    Virtually all commercial software like InDesign, Photoshop, etc., is written these days in C or C++. That's not so much because C is such a vastly better language than anything else, it's more because in its advent it was vastly better than anything else at the time, and as a result, all software programmers know C by default. And once you have the beginnings of a codebase in C and a pool of software engineers who all know C, there is little reason to rewrite your code in some other language from scratch.
    Your question about software pertains more to the IDE that is used to write the code. That will obviously vary from one company to another and could be as simple as a plain text editor coupled with a command-line C compiler, to any number of commercial IDEs that all basically accomplish the same thing. For a long time in the elder days, virtually all code development on the Mac was done with CodeWarrior, but these days practically everyone on the Mac just uses Apple's own Xcode environment. For Windows development, the two real biggies are either Microsoft's Visual Studio (probably 90% of all Windows development is done using this IDE) and to a lesser degree, C++Builder, formerly owned by Borland but now by Embarcadero.
    When building the code into an executable package, the underlying compiler that most commercial software developers use is Intel's own compiler. The IDEs above all include their own free compilers; Intel's is a commercial product that is more finely tuned for Intel processors and produces cleaner machine code. On the Mac, Apple just uses GCC, a free open-source compiler that has been developed and used for many years by the Unix and Linux community.

  • I just bought a new MacBook Air. In my old one, I could go from screen to screen by using three fingers to swipe over the key pad. This one just sits there. It is Yosemite. How do I set up preferences so I can use three fingers to move from screen to

    I just bought a new MacBook Air. In my old one, I could go from screen to screen by using three fingers to swipe over the key pad. This one just sits there. It is Yosemite. How do I set up preferences so I can use three fingers to move from screen to screen?

    Those choices are controlled via System Preferences, Trackpad.

  • How to create a PDF with substituted key-value and table-values using a template language

    I have about 50 key-values and 10 table-values that I want to substitute into a formatted report template (language can be anything standard, would create a small number of these templates) and then use an Adobe tool to substitute the values into the template and produce a PDF. Preferably the template language would permit some basic conditional logic (if <key #> has value <value> then <show key label here> and <key value here> in close spatial proximity on the form) and permit embedding of a static graphic logo, text with fonts/styles, etc. to produce a polished report but also handle pagination (e.g. enable page breaks or numbering) to be handled automatically.
    What is a recommended template language and product to accomplish this?

    Are you thinking of something like a blank form that you can enter information into, save, and send to another user? If so, what you want is possible. If you want more information, post again and include more details about how you want to use it and how the recipient will use it.

  • Using attachments in work-flow and creating custom text with key values

    Hi,
    I have 2 simple requirements.
    1. how to attach a tcode or trigger method of business object for work-flow item. The user should be able to navigate to transaction to see data before approval or rejection.
    2. I have created custom task for long text that will be displayed in the SAP inbox. How do I provide key values in this long text.  I was able to do in the subject line using Substitution parameters(&Name1& etc..)
    Regards
    Kasi

    I did the same thing. see details.
    Created Workitem and attached a task "TS92500097". in the task, I mentioned Business Object and method to be called. I have set the binding also for this business object. the method I am calling is nothing but just "display" which is using call transaction.  2 problems here.
    1. How do I show  this "BusinessObject.Display" as an attachment or link in the mail.
    2. how do I assign key values during exection of this attachment or link.
    Regards
    Kasi
    2.

  • Using XML as key-value pair in OSB 11g

    Hi All,
    I have made a new project Test. In that there are 2 folders:
    1. Proxies - which contain proxy services
    2. xml - which contains XMLs
    An example of XML (Name of XML - TestXML) present in xml folder:
    <valueDetails>
    <key1>abc</key1>
    <key2>123</key2>
    <key3>a12s</key3>
    </valueDetails>
    I want to use them in the pipeline of proxy services as key-value property. How do I achieve this?
    I am using OSB 11gR1.
    Thanks in advance!
    Regards,
    Karthik.

    Register the xml as a xquery resource in osb. Then use an assign action to load it in pipeline. E.g Assign XQuery Resource KeyPairsXML to $keypairs. After this $keypairs will have your xml and you can use appropriate xpath to retrieve the key you desire,

  • Using non-XML content in a report key

    I have the desire within a proxy service to log a particular key/value pair in a report log where the key value is not within any XML document I have.
    Basically, during the logic within the proxy service, the service has come up with a specific result that I want to log for tracking purposes. The results varry depending on the input XML to the service, but none of the results are actual values anywhere in the input XML document. Currently I have the result I want to put in the key/value pair as just a local assigned variable.
    If I try to report on that variable, I receive "XPath can only be executed against XML or MFL content". Even if I fake some XML in the varible (ie <logThis>Hello</logThis> ) I get the same message.
    Is there way to report on values not within the input XML document?

    You will need to assign an xml variable first even if they are constants.
    <Report>
    <key>ID</key>
    <value>{ data($header/wsa:MessageID) }</value>
    </Report>
    to "report"
    And then get the values from it in your Report.
    ./key in report
    ./value in report
    Also, be careful when using Report in a JMS proxy. Even though it is supposed to be async, the Report will not commit in the case of an exception. Even if the Report action is in the error handler! A solution to this is to build a common Report proxy (either local or jms) and publish your Report xml to it.

  • When I select "Convert" using the Adobe PDF conversion - I get "Error signing in"

    When I select "Convert" using the Adobe PDF conversion - I get "Error signing in"

    You need the CreatePDF forum

  • Using multiple key values to find data

    Hello, It's me again.
    I had a question about bring data out from Database and show on an ADF page on Jdev 11.1.1.3.
    And Mr. Daniel Atwood     answered my question with this follow blog he wrote.
    http://www.avioconsulting.com/blog/datwood/2012/06/19/using-bpm-process-variable-adf-form-retrieve-database-information-0.
    But I have another question on the top of that.
    The example Mr.Atwood provided is when you using "one" key value, what if I have two key values, how to set this up?
    Here are some details:
    I have a table like this
    ID     Type_code     Name
    0001      05      a-blabla
    0002     25      b-blabla
    0002     26      b-blabla
    0003      08      c-blabla
    0003      25      c-blabla
    0003     79      c-blabla
    What I want to do is after input the ID(0003) and type_code (25), it will show me the result on three input text components in ADF page with value 0003, 25 and c-blabla.
    Currently, I can use only ID to query the data, but I would like to use two key values to find the specific data.
    Thank you very much for taking time to think about this,
    Sincerely,
    Viola

    Dear Daniel, may I ask one more question please?
    what if I have 4 tables?
    table1
    ID * ID_Type_code * Name
    0001 * 11 * abc
    0002 * 12 * abcd
    0003 * 13 * abcde
    table2
    ID * OID_type_code * Name
    0001 * 22 * abc
    0002 * 23 * abcd
    0002 * 25 * abcd
    0003 * 23 * abcde
    0003 * 22 * abcde
    0003 * 28 * abcde
    table3
    ID * OID_type_code * OGAD_line_id * address
    0001 * 22 * 1 * a street
    0001 * 22 * 2 * b street
    0002 * 23 * 1 * c street
    0002 * 25 * 1 * d street
    0003 * 28 * 1 * e street
    0003 * 28 * 2 * f street
    0003 * 28 * 3 * g street
    table 4
    ID OID_type_codeOGAD_line_id*COP_line_id*phone number
    0001*22*1*1*2222222222
    0001*22*1*2*3333333333
    0002*23*1*1*4444444444
    0003*28*2*1*5555555555
    0003*28*2*2*6666666666
    Primary key for each table
    table1, primary key is ID
    table2, primary key is ID , OID_type_code
    table3, primary key is ID , OID_type_code, OGAD_line_id
    table4, primary key is ID , OID_type_code, OGAD_line_id , COP_line_id
    I would like to show each value in each table in the separate input text fields.
    Therefore, this is an advanced question based on the previous one, not only get values from one table but also from several tables based on input for example 0003 and 28 as the ID and OID_type_code?.
    Let me know if you need more details,
    Thank you so much,
    Viola

  • How to use my findTheHighest method to find the highest value in my two dim

    I am going to create a 13row by 10 colume two dimensional array.
    how to use my findTheHighest method to find the highest value in my two dimensional array.
    .When i compile this program , i got those as following;
    "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsExce
    at TaxEvolution.findTheHighest(TaxEvolution.java:31)
    at TaxEvolutionClient.main(TaxEvolutionClient.java:25)"
    public class TaxEvolution{
    public double[][] salesTaxRates;
    public TaxEvolution()
      salesTaxRates = new double[13][10];
      fillProvinTaxRates();
    private void fillProvinTaxRates()
      for ( int row = 0; row < salesTaxRates.length; row++ )
        for ( int column = 0; column < salesTaxRates[row].length; column++ )
          salesTaxRates[row][column]= (int)(Math.random()*5000) + 1;
    public double findTheHighest()
        double highest = salesTaxRates[0][0];
        for ( int row = 0; row <= salesTaxRates.length; row++ )
          for ( int column = 0; column <= salesTaxRates[row].length; column++ )
             if ( salesTaxRates[row][column] >= highest )
                   highest = salesTaxRates[row][column];
        return highest;   
    public double[][] arrayTaxEvolution()
      double[][] returnTaxRates = new double[13][10];
      for ( int row = 0; row < salesTaxRates.length; row++ )
        for ( int column = 0; column < salesTaxRates[row].length; column++ )
          returnTaxRates = salesTaxRates;
      return returnTaxRates;
    public class TaxEvolutionClient{
    public static void main( String[] args ){
      TaxEvolution protaxRateList = new TaxEvolution();
      double[][] taxRateList = protaxRateList.arrayTaxEvolution();
        for ( int i = 0; i < taxRateList.length; i++ )
          for ( int j = 0; j < taxRateList[0].length; j++ )
            System.out.print( taxRateList[i][j] + "\t" );               
            System.out.print( protaxRateList.findTheHighest + "\t" );
    }

    Multiposted
    http://forum.java.sun.com/thread.jspa?threadID=699057&tstart=0

  • Where we use Conversions? like Fixed Value and Value mapping? and use of th

    where we use Conversions? like Fixed Value and Value mapping?
    and what is the use of that....

    Hi
    Have a Look at this
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    Value mapping is used to map different representations of an object to each other.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    You can do value mapping both in IR and ID
    IR: Message Mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    ID: Tools --> Value Mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
    Value mapping replication: For uploading data from tables, excel sheet etc. into XI
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    Value mapping
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Thanks

  • [svn] 1307: modules: added support for automatically adding " use namespace X", depending on the -target-player value

    Revision: 1307
    Author: [email protected]
    Date: 2008-04-18 16:28:33 -0700 (Fri, 18 Apr 2008)
    Log Message:
    modules: added support for automatically adding "use namespace X", depending on the -target-player value
    * similar to how we add "use namespace AS3"
    * symmetric with ASC's -use feature, however we don't have equivalent commandline support yet
    Bugs: n/a
    QA: Nothing in particular, except for testing the new functionality of -target-player (email me about this)
    Doc: Maybe: If we doc about "use namespace AS3" being added to all Flex compiles, we may want to talk about this.
    Reviewers: Pete and Erik
    Modified Paths:
    flex/sdk/trunk/frameworks/flex-config.xml
    flex/sdk/trunk/lib/asc.jar
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/BatchCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/Compiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/ScriptCompiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/MetaDataParser.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

    Thanks for your attention.
    In the above logs, higher resolutions seems to be detected on both screens, hence my surprise :
    [ 391.631] (II) intel(0): Printing probed modes for output LVDS1
    [ 391.631] (II) intel(0): Modeline "1600x900"x60.0 110.00 1600 1664 1706 2010 900 903 906 912 -hsync -vsync (54.7 kHz eP)
    [ 391.897] (II) intel(0): Printing probed modes for output HDMI1
    [ 391.897] (II) intel(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz eP)
    If it can help here is also my current xrandr output (after having called it manually to use the preferred resolution of each screen)
    itanguy ~ $ xrandr
    Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
    LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
    1600x900 60.0*+ 40.0
    1024x768 60.0
    800x600 60.3 56.2
    640x480 59.9
    VGA1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
    1680x1050 59.9*+
    1280x1024 75.0 60.0
    1152x864 75.0
    1024x768 75.1 60.0
    800x600 75.0 60.3
    640x480 75.0 60.0
    720x400 70.1
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI2 disconnected (normal left inverted right x axis y axis)
    HDMI3 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    DP3 disconnected (normal left inverted right x axis y axis)
    If needed, I may reboot and provide xrandr output after boot (it will be 1024x768), or could other logs help you ? Please ask...

Maybe you are looking for

  • Serial number not working

    Hi all, I am trying to install Design Standard CS4 on my new laptop. I have an Adobe CS4 folder on my desktop, opened the Illustrator folder, opened Adobe CS4 and double clicked on setup Application (2,942kb) It goes through testing the system (and g

  • Jobs not appearing in printer logs

    I have a G4 Xserve running Tiger server. It is running a print server, where most of the clients are booting with accounts on a G5 Xserve. The login data is shared via LDAP between the two machines. This seems to work as expected, so far. The G4 prin

  • Skype Video Call Clarity after PR 1.2 Release !

    Hi Guys, Can any of you confirm how is the Video Clarity whilst making Video calls on Skype. is the Video and call clarity good enough. I guess not many people have tried this since the PR 1.2 release. Dont see any posts so far on people confirming i

  • HEEEEELLLLP Please!

    I need help with borders. Can someone PLEASE tell me how to get a border to go ALL the way around my text?????? I am clicking the button that shows text going all the way around, but it's only on the top and the bottom. Jolene

  • Java.lang.ClassCastException: javax.naming.Reference

    Hi All, I bound a JMS topic and connection factory into the SUN file system JNDI. When I tried to look them up I received the execption in the subject. What does that mean? Thanks All! Context ctx = getInitialContext(); TopicConnectionFactory factory