BD Adapter: Specify a dynamic amount of arguments within an "IN" block

Hi everyone,
Has anyone found a way to specify a dynamic amount of arguments within an "IN" block when using a custom SQL function with DB adapters?
Like:
SELECT Attr1 WHERE Attr2 IN #Arg1
I don't want to use different DB adapters depending on the amount of arguments. I'd like to use the same one.
I've tried to pass an Arg1 like this val1','val2 and it only works if Attr2 equals val1. I've also tried to enclose the #Arg1 within parenthesis but at that time the xsd seems not to know what type the #Arg1 variable should be.
Any ideas would be great!
Thank you,
Guillaume

With numbers:
The input was "(123,1)"
And I got this error:
file:/c:/ora/as3/bpel/domains/processus/tmp/.bpel_PSU0101_TraiterCommunication_Enregistrement_MaJ_1.0_189aab1db75d9becb4c7f4e57a0d4352.tmp/DB_VOI1001_AGENDA_DOCUMENTS_EXPED_MaJ.wsdl [ DB_VOI1001_AGENDA_DOCUMENTS_EXPED_MaJ_ptt::DB_VOI1001_AGENDA_DOCUMENTS_EXPED_MaJ(DB_VOI1001_AGENDA_DOCUMENTS_EXPED_MaJInput_msg) ] - WSIF JCA Execute of operation 'DB_VOI1001_AGENDA_DOCUMENTS_EXPED_MaJ' failed due to: Exception Pure SQL.
Echec de l'exécution Pure SQL de UPDATE CSST1.TOI1001_AGENDA_DOCUMENTS_EXPED SET COD_ETAT=?, DAH_ETAT=SYSDATE, COD_UTILISATEUR_MODIFICATION='SVC_INTEG', DAH_MODIFICATION=SYSDATE,NOM_CLASSEMENT_DOCUMENT=? WHERE IDE_DOCUMENT=? AND NBR_COPIES IN ?. Cause : java.sql.SQLException: ORA-01722: invalid number
; nested exception is:
     ORABPEL-11633
Exception Pure SQL.
Echec de l'exécution Pure SQL de UPDATE CSST1.TOI1001_AGENDA_DOCUMENTS_EXPED SET COD_ETAT=?, DAH_ETAT=SYSDATE, COD_UTILISATEUR_MODIFICATION='SVC_INTEG', DAH_MODIFICATION=SYSDATE,NOM_CLASSEMENT_DOCUMENT=? WHERE IDE_DOCUMENT=? AND NBR_COPIES IN ?. Cause : java.sql.SQLException: ORA-01722: invalid number
Loption Pure SQL nest utilisée que pour les cas demploi problématiques et offre des fonctionnalités simples, mais minimes. Essayez éventuellement loption Exécuter une opération sur une table à la place.

Similar Messages

  • Exception caught by adapter framework: No configuration / default adapter specified for EDISeparator

    Hello Experts,
    I am configuring the scenario ( AS2 to EDISeparator and EDISeparator to IDOC ).
    Can you please help me with the error below which is from the either the EDISeparator Receiver channel or the EDISeparator Sender channle.
    09.06.2014 17:52:18.709
    Information
    Message is encrypted with 1.3.14.3.2.7 algorithm
    09.06.2014 17:52:18.778
    Information
    AS2 Message is signed with SHA1 (1.3.14.3.2.26) algorithm
    09.06.2014 17:52:18.779
    Information
    AS2 Message message signature is validated, signer ID is X509CertSelector: [ Serial Number: 1624063516 Issuer: CN=Mendelson AS2 TEST,OU=Integration,O=Mendelson,L=Berlin,ST=Unknown,C=GE matchAllSubjectAltNames flag: true ]
    09.06.2014 17:52:18.784
    Information
    AS2 document size is 350 Bytes
    09.06.2014 17:52:18.784
    Information
    Payload charset converted from ISO-8859-15 to ISO-8859-15
    09.06.2014 17:52:18.785
    Information
    B2B EdifactConverterModule : EDI format detected as EANCOM
    09.06.2014 17:52:18.785
    Information
    B2B EdifactConverterModule: Message will be read as ISO-8859-1.
    09.06.2014 17:52:18.785
    Information
    MP: processing local module localejbs/EdifactConverterModule
    09.06.2014 17:52:18.785
    Information
    0}: The module-paramteter "eancom.subversion.prefix" is not set. Using default value "false"
    09.06.2014 17:52:18.786
    Information
    0}: The module-paramteter "eancom..audit" is not set. Using default value "false"
    09.06.2014 17:52:18.791
    Information
    MP: processing local module localejbs/CallSapAdapter
    09.06.2014 17:52:18.791
    Information
    Application attempting to send an XI message asynchronously using connection AS2_http://sap.com/xi/XI/AS2
    09.06.2014 17:52:18.792
    Information
    Trying to put the message into the send queue
    09.06.2014 17:52:18.831
    Information
    Message successfully put into the queue
    09.06.2014 17:52:18.831
    Information
    The application sent the message asynchronously using connection AS2_http://sap.com/xi/XI/AS2. Returning to application
    09.06.2014 17:52:18.836
    Information
    MIC (DeJYUIusqQj6aaYRASdHhAo+4J0=) is calculated using SHA1 algorithm.
    09.06.2014 17:52:18.838
    Information
    The message was successfully retrieved from the send queue
    09.06.2014 17:52:18.843
    Information
    Message status set to DLNG
    09.06.2014 17:52:18.845
    Information
    MDN is succcessfully signed with SHA1 (1.3.14.3.2.26) algorithm
    09.06.2014 17:52:18.859
    Information
    Trying to put the message into the send queue
    09.06.2014 17:52:18.912
    Information
    Message successfully put into the queue
    09.06.2014 17:52:18.913
    Information
    The message was successfully retrieved from the send queue
    09.06.2014 17:52:18.918
    Information
    Message status set to DLNG
    09.06.2014 17:52:18.961
    Information
    Trying to put the message into the send queue
    09.06.2014 17:52:19.001
    Information
    Message successfully put into the queue
    09.06.2014 17:52:19.001
    Information
    The message was successfully retrieved from the send queue
    09.06.2014 17:52:19.006
    Error
    MP: exception caught with message No configuration / default adapter specified for EDISeparator
    09.06.2014 17:52:19.006
    Information
    Delivering to channel: B2BSE00002_O2C_ORDERS_VANS_PO_WRITE_EDISeparator
    09.06.2014 17:52:19.006
    Information
    Message status set to DLNG
    09.06.2014 17:52:19.009
    Error
    Exception caught by adapter framework: No configuration / default adapter specified for EDISeparator
    09.06.2014 17:52:19.010
    Error
    Transmitting the message to endpoint <local> using connection AS2_http://sap.com/xi/XI/AS2 failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: No configuration / default adapter specified for EDISeparator
    09.06.2014 17:52:19.015
    Information
    The asynchronous message was successfully scheduled to be delivered at Mon Jun 09 17:57:19 CEST 2014
    09.06.2014 17:52:19.015
    Information
    Message status set to WAIT

    Hello Ruchir Sinha and Dimitri Sannen,
    I think I have progressed a bit. Just unsure of the usage of the Module configuration .I now get a new error (see below) and the updated config details are :
    Sender Interface :
    Receiver Interface :
    Sender AS2 config :
    Receiver EDISeparator config :
    Sender EDISeparator config :
    Receiver IDOC config :
    IDoc details configured but not added in this document
    16.06.2014 11:52:35.414
    Information
    The message was successfully retrieved from the send queue
    16.06.2014 11:52:35.420
    Information
    Delivering to channel: B2BSE00002_O2C_ORDERS_VANS_PO_WRITE_EDISeparator
    16.06.2014 11:52:35.420
    Information
    MP: processing local module localejbs/ModuleProcessorExitBean
    16.06.2014 11:52:35.420
    Information
    Message entered AF MP exit bean and will now be passed to the JCA adapter
    16.06.2014 11:52:35.420
    Information
    Message status set to DLNG
    16.06.2014 11:52:35.433
    Information
    UNA segment UNA found
    16.06.2014 11:52:35.444
    Information
    Parsed UNB segment 333333333/014 to 111111111/014
    16.06.2014 11:52:35.445
    Information
    Parsed UNH segment ORDERS D96A
    16.06.2014 11:52:35.514
    Information
    Searching sender channel for Eancom message part message with Message type ORDERS, Message version number D, Message release number 96A, Interchange sender identification 333333333, Interchange sender identification code qualifier 014, Interchange recipient identification 111111111, Interchange recipient identification code qualifier 014, Message Subversion EAN008, Message Agency UN
    16.06.2014 11:52:35.579
    Information
    Sender channel (Channel) keys: ObjectId=7abf551ddbb638268f91af80ec1c04c8 values: ToPartySchema= Attributes=(Attributes:Channel:EDISeparator:INBOUND) values: edisep.advanced=false snd.interchangeSenderId=.* snd.tradacommessagetype=.* snd.xpath= snd.xpath.value= snd.filterCondition=equal snd.edifactMessageReleaseNumTxt= snd.tradacomMessageTypeUsingFreeText=false snd.eancomMessageReleaseUsingFreeText=false snd.eancomMessageVersionFreeText= snd.odetteMessageType=.* snd.edifactMessageVersion=.* snd.xml.splitPath=null snd.eancomMessageVersion=.* snd.odetteMessageVersion=.* snd.edifactMessageRelNumUsingFreeText=false snd.otherVersionReleaseIndustryIdentifierCodeEnabled=false adapterStatus=active snd.vdaMessageType=.* snd.eancomCONTRLMessageRelease=3 snd.odetteMessageTypeTxt= snd.tradacommessageversion=.* snd.edifactMessageVerNumUsingFreeText=false snd.edifactMessageTypeUsingFreeText=false snd.xpathUsingFreeText=false snd.interchangeSenderIdCode=.* snd.otherVersionReleaseIndustryIdentifierCode=.* snd.odetteMessageTypeUsingFreeText=false snd.tradacomreccode=.* snd.edifactMessageVersionFreeText= snd.edifactInterchangeRecipientIdentification=.* eoio.sequenceId= snd.edifactMessageTypeTxt= snd.odetteMessageVerNumUsingFreeText=false snd.eancomMessageVerNumUsingFreeText=false snd.interchangeReceiverId=.* snd.eancomMessageRelease=.* snd.tradacomsendername=.* snd.tradacomMessageTypeTxt= snd.vdaLieferantenNummer=.* snd.interchangeReceiverIdCode=.* snd.edifactInterchangeSenderIdentificationCode=.* snd.odetteMessageVersionFreeText= snd.versionReleaseIndustryIdentifierCode=.* snd.edifactInterchangeSenderIdentification=.* snd.edifactMessageType=.* snd.eancomMessageType=.* snd.xpathTxt= snd.vdaMessageTypeTxt= deliverySemantics=eo snd.eancomMessageReleaseTxt= snd.plainmessagetype=.* snd.xml.split=false snd.edifactMessageRelease=.* snd.vdaMessageTypeUsingFreeText=false snd.tradacomrecname=.* edisep.addParameterParams=TableData: edisep.addParameterParams {} snd.encoding=iso885915 snd.vdaKundenNummer=.* snd.tradacomsendercode=.* snd.edifactCONTRLMessageRelease=3 snd.edifactInterchangeRecipientIdentificationCodeQualifier=.* snd.transactionSetIdentifierCode=.* Service=ASJAVA_DX5 Channel=B2BSE00002_O2C_ORDERS_PO_ECC_READ_EDISeparator EngineType=CA Party= TransProt=XI TransProtVers=1.0.0 FromPartySchema= FromPartyAgency= Direction=I MsgProt=EANCOM MsgProtVers=1.0.0 EngineName= AdapterType=EDISeparator AdapterSWCV=06c536e6fafe11e0bb1cea8f0a4290b1 ToPartyAgency= AdapterNamespace=http://sap.com/xi/XI/EDISeparator found. New message ID is f18894a8-f53b-11e3-a748-00001e96c7e2
    16.06.2014 11:52:35.586
    Error
    MP: exception caught with cause javax.resource.ResourceException: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: Error during processing local class: localejbs/GenericConverterModule
    16.06.2014 11:52:35.586
    Error
    Message could not be forwarded to the JCA adapter. Reason: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: Error during processing local class: localejbs/GenericConverterModule
    16.06.2014 11:52:35.590
    Error
    Exception caught by adapter framework: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: Error during processing local class: localejbs/GenericConverterModule
    16.06.2014 11:52:35.591
    Error
    Transmitting the message to endpoint <local> using connection AS2_http://sap.com/xi/XI/AS2 failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: Error during processing local class: localejbs/GenericConverterModule

  • Pass dynamic Command line arguments

    Hi,
    I tried to pass dynamic command line argument to Web start using the method :
    "javaws URL -D foo -D bar"
    as explained in the "Unofficial JWS/JNLP FAQ" that " You can pass your own system properties to your app using -D switch ....", but I got the following error at the start;
    error occurred while launching/running the application.
    Category: Invalid Argument error
    Too many arguments supplied: {http://...URL/my.jnlp, -Did=123 }
    p.s. I already added the"<property name='' value=''/> in the <resourse>, and modified the main class to get the parameter using System. getProperty();
    Did anyone try to this method before? What's wrong of this?
    Thanks in advance for your help.

    Thanks.
    here below is the jnlp file:
    <jnlp spec="1.0+" href="$$name" codebase="$$codebase">
    <information>
    <title>GUI Application</title>
    <vendor>PS</vendor>
    <description>PS GUI WebStart Version</description>
    <icon href="logo.jpg" />
    <offline-allowed />
    </information>
    <resources>
    <j2se version="1.3" />
    <jar href="lib/gui.jar" />
    <property name="id" value="zbc" />
    <jar href="lib/classes12.zip" />
    <jar href="lib/j2ee.jar" />
    <jar href="lib/jaas.jar" />
    <jar href="lib/jce1_2_1.jar" />
    <jar href="lib/jdom.jar" />
    <jar href="lib/xerces.jar" />
    <jar href="lib/local_policy.jar" />
    <jar href="lib/log4j.jar" />
    <jar href="lib/orion.jar" />
    <jar href="lib/sunjce_provider.jar" />
    <jar href="lib/US_export_policy.jar" />
    </resources>
    <security>
    <all-permissions />
    </security>
    <application-desc main-class="GUIFrame">
    </application-desc>
    and in the main class "GUIFrame", i use System.getProperty("id") t get the parameter, if I hardcode the value of the "id" in this jnlp file and use javaws URL, everything's fine, but not the "javaws URL -Did=value" which will return the error as mentioned.
    Thanks again for your help.

  • Statement Line Amount Is Not Within The Tolerance Range

    Hi.
    I have an issue with the CE autoreconciliation tolerances.
    Case.
    A RECEIPT statement line with $1244.89 with bank transaction type code (Journal ) cannot be automatically reconciled with a Debit available transaction $1244.90 due to this error. "Error. Statement Line Amount Is Not Within The Tolerance." Tolerance amount is set as 1 and the % as 0. So my tolerance range is (1243.89 - 1245.89), in consequence statement line should be reconciled . Am I right ?
    It seems everything is allright, I really dont know what is happenning, but it works fine with AP payments. I just want to know if this is a comun behavior or its a bug.
    Any suggestion would be appreciated.
    Thanks
    Robert
    Edited by: Roberto Islas on 12/07/2011 03:07 PM

    Check you Cash Management Bank account setup for Tolerance limits. By updating the Bank account tolerances, you would be able to auto reconcile.
    Kiran

  • PI 7.1 HTTP Adapter - overwritte Prolog dynamically

    I use a HTTP Adapter to send XML Data via HTTP as form field. Therefore i use the prolog constant. Example: xmlfile=.... Now i need two new parameter (user and password) as post parameters. I can change to prolog like user=...&password=....&xmlfile=.. But in this case the prolog with the user is hard coded. in my scenaria the user and password should dynamically load from Message Mapping. The solution with the dynamic URL Parameter 1-6 could not be used, because this values are GET Parameters which are visible in der URI!
    Is there a solution for post parameters dynamically via HTTP Adapter?

    The operation mapping aka Interface mapping's need not only use 1 single mapping.
    In the interface mapping you can add multiple message mappings and / or other mapping programs.
    The mappings get executed sequentially and the output of first mapping is input to second mapping and so on.
    In this case, write a java mapping that will take the input as the output of your graphical mapping; add the prolog to this and make it the output of your Java Mapping and this is the final output of your Operation mapping!
    Regards
    Bhavesh

  • PI 7.1 IMAP email Adapter Error reading large amounts of emails

    Hi,
    are there any known problems with the email-Adapter (Sender), reading IMAP MS Exchange Server?
    We have an email adapter reading the MS Exchange Server Mail Account once per Minute and in the mail account are about 4.000 unread email  (1KB each) .
    After 2000 emails, the adapter stops working and throws only exceptions.
    Any idea?
    Thanks
    hs

    Hi Holger,
    i made a few tests at that time, and there was no specific scenario which re-produced this error.
    In some tests i was able to process more than 3000 emails before the error occured, next time only 2000.
    And this only occured when the inbox had a huge amount of emails. if i moved, lets say 1000 emails to a temporary folder,
    processed 1000 and then moved the 1000 back to the inbox, there was no problem. Now i'm polling every minute and i'm
    not receiving 2000 emails in a minute, so i'm not having this issue anymore. it only happend when we stopped the
    sender channel for a while and a lot of emails were queuing up in the inbox.  I don't think that there are any MS Exchange settings that need to be changed and when we spoke to Support that time, they refered to the Note i mentioned earlier.
    Maybe there is still a problem in the mail adapter itself..
    regards,
    Daniel

  • How to specify height dynamically for each showDetailItem

    Hi,
    I'm using JDeveloper 11.1.1.6 version.
    I have the following requirement:
    I have a create page with one <af:region>.
    The <af:region> displays a page with <af:PanelTabbed> component having 4 <af:showdetailItem> components.
    For each tab I would like to specify the height dynamically based on the content of the tab.
    Any pointers would be helpful.
    Thanks
    Ravi

    Hi,
    actually its the parent component (panelTab) that determines the size
    To quote from http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_showDetailItem.html
    Geometry Management
    This component should never have any width or height specified in its inlineStyle because it will always gets its dimensions from its ancestor component.
    Frank

  • Error in file reviever adapter, getting file dynamically

    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
    this is my strcuture 
       <HEADER>
           <ADDRESS1/>
          <ADDRESS2/>
          <ADDRESS3/>
          <ADDRESS4/>
       </HEADER>
       <HEADER_GST>
          <TAX1/>
          <TAX2/>
          <TAX3/>
           </HEADER_GST>
       <LINE>
          <QTY/>
          <UOM/>
          <UNIT_AMT/>
          <CHARGE_TO_DT/>
          <FILENAME/>
       </LINE>
       <FILENAME>
          <FILENAME/>
       </FILENAME>
    i have given the recordset structure as
    HEADER,HEADER_GST,LINE,FILE
    PLASE ANYONE THER TO HELP ME
    THANKING YOU
    SRDHAR
    Edited by: sridhar loganathan on Apr 26, 2008 12:26 PM

    thanks ,
                    i am using UDF and for getting dynamically the file name , and i have my structure as
    <HEADER>
           <ADDRESS1/>
          <ADDRESS2/>
          <ADDRESS3/>
          <ADDRESS4/>
       </HEADER>
       <HEADER_GST>
          <TAX1/>
          <TAX2/>
          <TAX3/>
           </HEADER_GST>
       <LINE>
          <QTY/>
          <UOM/>
          <UNIT_AMT/>
          <CHARGE_TO_DT/>
          <FILENAME/>
       </LINE>
       <FILENAME>
          <FILENAME
    and i have declard my RECORDSET STRUCTURE AS
    HEADER,HEADER_GST,LIN,FILENAME
    AND I AM GETTING THE ERROR AS  MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messagesSO PLEASE HELP ME TO RECTIFIY WHAT IS THE ERROR
    THANKING YOU
    Edited by: sridhar loganathan on Apr 26, 2008 12:47 PM

  • One file Adapter NXSD file dynamic

    Hi all,
    I will get different inputs based on the input request ID i have to do write the file using file adapter .
    so the question is if i have 10 files is it necessary to create 10 File adapters or can i achieve this using a single File adapter and multiple NXD or XSD files in a folder .
    select the xsd or NXSD at runtime based on the input request ID.
    The best thing with this approach is even for a new transformation request i will just add the xsd or NXSD in the folder and update the DB no need to create a file adapter from scratch.
    Thanks
    Phani

    Hi,
    You cannot change the XSD for a file adapter at runtime....u can choose to write an opaque file with an native format is not required option checked.

  • Specifying log file as jvm argument not working

    I've long used the java.util.logging by having a logging.properties file and specifying the "java.util.logging.FileHandler.pattern" in that file and specifying the location of the logging.properties as a jmv arg (-Djava.util.logging.config.file=logging.properties). No issues with that.
    I now, however, want to override the file pattern by using a jvm arg (-Djava.util.logging.FileHandler.pattern=somename.log), but when I do that, I get no file log output. If I leave it specified in the logging.properties it uses the value there and NOT the jvm arg value. If I comment it out of the logging.properties file is uses nothing (no file output).
    I see (via Google) others using this parameter, but I am having no luck.
    All in latest JDK release (6u11).
    Can't find any documentation on doing this on Sun's site (it might be there, but I haven't been able to find it). Don't see posts of others having this problem. I've got the same results on linux and OSX, different releases and all.
    Thanks for any insight in advance!

    This is easy to do! Remember you can write things like
    ... ${user.home}...In your config file. So write something like:
    log4j.rootLogger=debug, R
    log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.R.File=${my.file}Then launch your app with:
    java ... -Dmy.file=goomba.txt ...

  • How to create table with dynamic amount of columns which are nested columns

    M trying to fetch data and show in a javaFX table.
    My table displays the details of different items from ItemVO , where :
    public class ItemVO()
    String itemName;
    List<ItemTypeVO> type;
    and My ItemTypeVO has the following attributes :
    public class ItemTypeVO()
    String typeName;
    Integer quantity;
    Integer price;
    Now, i want to display the details of an item in a table in which the itemname and quantity will be displayed, the quantity column will have nested columns showing different types(typeName) as found from List<ItemTypeVO> inside ItemVO.
    This question is similar to this link but my not able to find how to link a list with itemVO for nested columns. :(
    Please help !!
    M still unable to find a solution..
    Edited by: abhinay_a on Jan 14, 2013 10:50 AM

    Hi Abhilash,
    Thanks for the quick reply.
    Actually the problem is with the image, as I am not able to rotate 270 degree. Crystal report cannot support the rotation of image.
    i have another problem, I have to create a report in which
    Lables are fixed on the left side of report and 3 columns per portrait page. Those columns are
    dynamically created and shown in the report.
    The format is like the above. Can you please help me in doing this report, as I tried it doing
    with CrossTab. I am really stuck to this report.

  • SMARTFORMS - dynamic amount of the columns

    Hi Everyone.
    Please, would you give me some advice? I need to print a table with variable amount of columns. Is it possible to do it in SMARTFORMS?
    Thanks in advance for any answer.
    Pavel

    Hello Pavel,
    Please go these links:
    Smart forms query
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d937ec90-0201-0010-0ca8-b6cb3b6dd1ef
    If useful reward.
    Regards,
    Vasanth

  • How to create a table with a dynamic amount of columns

    Hi, all!
    Thare is a tutorial at javaFX documentation page. This example describes how to make tableView, if you have some certain java class, which can tell you which columns you are going to have. (That is a Person class in this example).
    But what if i do not have any specific class, and number of columns can vary from time to time? In my case i have such data structure:
    class TableData{
        List<Row> rows; //A list with all my rows i need to have in my table
    class Row{
        List<Column> columns; //Cells\Columns for every row.
    class Column{
        Attribute attr; //Each column - is somethig like a wrapper for the real data i need to show in a cell;
    class Attribute{ //My precues data
        String name;
        SupportingInfo info;
    class SupportingInfo{//Some supporting fields...
        String name;
        String value;
        //...etc....
    }So, my case is very similar to [this one|http://blog.ngopal.com.np/2011/10/19/dyanmic-tableview-data-from-database/] . The only differents is that data from the case above is not binded with its representation in javaFX table (so, even if some one will make extra controls to edit this data in a tableView, the actual object with that data will never know about it.), because it(data) goes to the table like some strings, not like some objects;
    So, what do i need - is to push data to the table (like that: table.setItems(tableData)), set some set Factories, to give user ability to edit data, and to have this edited data in my tableData object;
    Here are some code i've tried to make for this purpose:
    //prepare my table
    private void createTableHeader(TableView table, List<Attribute> ias) {
        int i = 0;
        for (final Attribute ia : ias) {
            final int j = i;
            i++;
            TableColumn tc = new TableColumn(ia.getName());
            tc.setSortable(true);
            tc.setCellValueFactory(new Callback<CellDataFeatures<List<Attribute>, String>, ObservableValue<String>>() {
                @Override
                public ObservableValue<String> call(CellDataFeatures<List<Attribute>, String> arg0) {
                    if(arg0.getValue().get(j).getSupportingInfo() == null){
                        arg0.getValue().get(j).setSupportingInfo(new SupportingInfo());
                    return new SimpleObjectProperty(arg0.getValue().get(j),"value");
            table.getColumns().add(tc);
    //loading some data to my tableView
    private void createTableBody(TableView curTable, List<Row> rows) { 
        ObservableList<List<Attribute>> data = FXCollections.observableArrayList();
        for (Row row : rows) {
            data.add(row.getColumns());
        curTable.setItems(data);
    //this one is to define some extra controls for editing data in a table by users
    private void makeCellFactory(TableColumn curTableCol, final Attribute templateIa, final Document doc) {
        curTableCol.setCellFactory(new Callback<TableColumn, TableCell>() {
            public TableCell call(TableColumn p) {
                final EditingCell cell = new EditingCell(templateIa, doc);
                return cell;
    }But, as a result, i have just empty rows in my table, with an ability to click some cell and recieve table editing controls. But there is not defult values in by table; What am i doing wrong in my code?
    Edited by: 929064 on 21.09.2012 2:24
    Edited by: 929064 on 24.09.2012 8:26
    Edited by: 929064 on 24.09.2012 8:27

    I put an example up on this thread No DataGrid component? with a TableView displaying values from a non-JavaFX aware data model. It might help get you started. This example is not editable, to make your table editable you would need to update the data model directly when editing is complete.
    Note that if you're building the data model from scratch, there's no need for the listener-notification to be built by hand, as I did in the example. Your data model can directly use the same JavaFX collections instances the table is using.

  • PO amount Order Budget : PO is not blocked !

    Hi,
    I create an investment order (Tcode : KO01) and I assigned it a budget of 20.000 EUR (Tcode : KO22), then I create a PO assigned to this order (Tcode : ME21N), with 35.000 EUR as an amount. The problem is the system doesnu2019t block the PO despite that 35.000 > 20.000  !!
    Please how to resolve this ?
    Regards.

    Go to Controlling>General Controlling>Organization>maintain Controlling Area
    Select your controlling area and click on active components/control indicators on the left and there you will find Committment management
    Note : Also create Asset Recon account as Statistical Cost element.
    Regards,
    SAPFICO
    Edited by: SAPFICO on Oct 27, 2010 12:45 PM

  • Can we pass arguments within HTML pages

    can we send some arguments among the HTML pages.
    eg: say if I have a form in one.html whose action is
    two.html?txtText=evil&txttext2=actuallywon
    if the same page was requested to a JSP page I could have retrived through request.getParameter("");
    But i dont know to do it in the HTML pages
    My concern is that the requested page two.html should get the values
    thanks

    You'll need to use JavaScript in your receiving HTML page (two.html) as documented in the blog entry [Get URL Parameters Using JavaScript|http://www.netlobo.com/url_query_string_javascript.html].

Maybe you are looking for

  • Time Machine Sees No Drive In Time Capsule

    Time Capsule is still working perfectly as a router, but Time Machine can't find any drives to back up with. I restored Time Capsule to factory settings but my Mac still can't see it as a drive, just as a router. Any advice would be appreciated.

  • Cannot delete icloud space

    Hello, I have following problem. I have used Mobile Me a few years before iCloud has started. So after iCloud offered 5GB data for free I have received 20GB for free for first 2 years like a present from Apple (like many other Apple Mobile Me users).

  • Problème iTunes match étape 3

    J'ai vu que je ne suis pas le seul à être bloqué à cette étape 3 mais c'est rageant. Il me reste un peu moins de 2000 titres à télécharger et ça bloque à tous les coups après 4 à 40 titres. Des idées...?

  • Is it possible to alter generated code?

    When adding an image to a page in Dreamweaver, you first select the image from the chose file dialog, then the code comes out like this: However, I'm going to be implimenting a lot of Facebook to a certain site and they require rel="image_src" in the

  • Whatsapp back up deleted

    I opened whatsapp today and it said that it needed to restore from back up. I think that yhis is because my iPhone had no sforage space left and hence needed to clean the apps. So it's been restoring for hours now, and it still hasn't finished. So I