Building my own data-binding method

Hi,
After looking at the various packages that allow you to do data-binding I have decided for my case it's just simpler (number of lines) to do something myself.
If I have an XML that has fields a through f, which correspond to A through F in MySQL fields. What's the best way to connect these two?
What's the best type to build this thing in? Maps, HashMaps, or Collections? I just don't know the advantages/disadvantages to each obviously.
Thanks.

amirzadeh wrote:
jschell wrote:
My question wasn't clear.
For example if you have a customer entity and has one telephone number and now the users want it to have two telephone numbers then you must add a column to the database. And if you do a B2B xml with that data then you must upgrade the XML to add that new field.
That process is replicated in about 99.9% of all business processing and most of that does not need a runtime solution to the problem.
So the question becomes
1. How often do the requests arrive?
2. What is the nature of the request - how complex is it?"We would like to have dataPoint123 added to the excel file that we get every day" sort of thing, so we have to check to see if we have the data stored in the database, if not than we have to go back to the appliance and add it to the XML report that is generated. Than add it to the database to be stored. Modify the import of the XML code. Add in the data processing portion of the code if need be, add it to the export report.
If you are doing 50 of these a day and they are all simple then your design if flawed because you cannot continue to add that many columns to existing tables. This is further complicated if you are differentiating it by user (some users have different fields from others.) Again it would still represent a design flaw.It's more like 1 every two to three weeks. And since we don't touch the code every day it becomes a pain when something like this has to change, because we have to go find it in the 17 different places it needs to be touched.
The phrase "17 places" suggests a disconnect with what you described above. With "17 places" you have at a moderately complex change request.
And your description above doesn't sound like something that you can pattern.
If I have a database with tables/columns and the users request a change to a report frequently which originates with existing data then automating the report creation might be a worthwhile project. Myself with the given timeline I would opt for code generation rather than a runtime solution.
However if the data doesn't exist then you MUST rollout a code change. The DDL must change, you must have code to populate it, and perhaps other business rules are added. And that is unlikely to be something that can be patterned. Actually only way that could be patterned would be in a flow through system (source in => database => report)
>>
If on the other hand you get one of these every 6 months then you do not need a dynamic solution (at all.)I don't agree with the statement, I think "dynamic" nature of code is even more important with code that you don't touch/live with every day. I have C code that I live with every day, it's always been improved and worked on, I rarely do anything majorly dynamic in there, because I don't need it. It's faster than I need it to be, the foot print is small comparatively and it is changes too often to try to modularize it.
That paragraph seems contradictory. Or maybe it is a terminology issue.
"Dynamic" for this discussion relates to code generation, generalization (adding complexity in tradeoff for power), metadata type solutions, etc.
That said maintenance is the highest cost in software development. To maintain code someone must understand it. Adding a "dynamic" solution (above definition) into code means that it will take longer to find and fix bugs. And without rigorous process control over time it is likely to lead to more 'hacks' because someone couldn't figure out the correct way to fix something or because the existing design didn't allow for it and they didn't refactor.
Thus one must consider the tradeoffs carefully.
Note that with code generation one can achieve simplicity with ease of use. I do this commonly because I do not want to require other developers to understand the code creation process. So I create code generation tools to ease my work but check in the generated code so that if some other developer needs to maintain it they can work with that. I check in the tools to but at the point where they start maintaining the code it is their choice which route to use.

Similar Messages

  • Flash Builder Premium (update data base method error)

    Hi,
    I've run into this error with Flash Premium when updating a data base. Evidently there is a glich in the auto generated code. I explain it in the second half of the video below. If you want the code you can download it from kshunter.wordpress.com 
    I also discuss the work around solution.

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

  • How I build my own libraries of classes/methods in java ?

    How I build my own libraries of classes/methods in java ? how then I refer a functionX() (i mean method) in LibraryX ? can you give a short/brief example of a library with a class with a method and a main method of normal class calling this method (of external's added library's) ?

    Just another cross poster.
    [http://www.java-forums.org/new-java/12389-how-i-build-my-own-libraries-classes-methods-java.html]
    db
    edit And [http://forums.java.net/jive/thread.jspa?messageID=305387]
    Edited by: Darryl.Burke

  • Where are the data-binding frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both of the Oracle data-binding frameworks appear to work well with relational data but fail miserably when one tries to work with a fully fledged Oracle Object-Relational schema. I have spend much time with ADF but have not been able to create successful bindings to Objects with nested complex objects (such as a 2-level nested object) or objects containing nested tables. TopLink will not even touch Object tables.
    Have other people being more successful with this? Do we have to implement our own data binding framework? Does Oracle plan on improving these frameworks to fully support Oracle Objects?

    TopLink Runtime supports both fully fledged OX mappings and nested complex objects. These mappings can be setup in the code.
    TopLink ADF design time however currently does not have support for OX mappings.
    Hope this helps,

  • Where are the Oracle Data Binding Frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both of the Oracle data-binding frameworks appear to work well with relational data but fail misserably when one tries to work with a fully fledged Oracle Object-Relational schema. I have spend much time with ADF but have not been able to create successful bindings to Objects with nested complex objects (such as a 2-level nested object) or objects containing nested tables. TopLink will not even touch Object tables.
    Have other people being more successful with this? Do we have to implement our own data binding framework? Does Oracle plan on improving these frameworks to fully support Oracle Objects?

    TopLink Runtime supports both fully fledged OX mappings and nested complex objects. These mappings can be setup in the code.
    TopLink ADF design time however currently does not have support for OX mappings.
    Hope this helps,

  • Bind an inputFile value to a data control methods parameter

    Hello I am trying to create a InputFile (ADF Faces) which is linked to a data control method. The method reads a specified file and returns the content which is then displayed in table form.
    <br><br>
    I have a filereader Class with the following method:
    <i>public List<FileInQuestion> returnFileContents(String fileName)</i>
    <br><br>
    I have created a data control based on this Class. From the JSF page, under the data control palette I can drag on may parameter 'FileName' (as input text) and my method (as command button) and finally the return type 'FileInQuestion' (as read only table). This all works fine and when I type a filename in and hit the button it displays the contents in a table.
    <br><br>
    Now the problem is that I want to base the input parameter on the value of the InputFile component. But when I drag and drop the 'fileName' parameter onto the canvas, it doesn't give me the option to create as an input file!
    <br><br>
    Please could someone tell me how I manually link (bind) the inputFile component to the 'fileName' parameter?
    <br><br>
    Sorry if a bit long winded!!
    <br><br>
    Thanks Dan
    Message was edited by:
    user593073

    Thanks Frank but I need to get at the text value returned from the inputfile component. I did what you said with the following results:
    <br><br>
    I started with a inputtext field, command button and read only table. When I entered a value (in this case 'C:\data\contacts.txt' ) into the inputtext field and hit the command button the table displayed the expected results (for logic please see my 1st post).
    <br><br>
    I then convert the inputtext component to a inputfile component in the way you suggested. I now rerun the application, browse to the same file and hit the command button, and then nothing!! no results.
    <br><br>
    I'm I missing something here?
    <br><br>
    Thanks
    <br><br>
    Dan

  • SQL Server Data Warehouse Creation External or Build Your own

    Hi, 
    In our firm we have a data warehouse which has been created by an external supplier.
    The warehouse is being used for some reporting and dashboards but only for a single client, we have yet to fully utilize it.
    My question is should we build a new data warehouse or should we push forward with the data warehouse created by the external supplier. I know it would take some time to build a data warehouse however it means we will have full control over it and could
    overcome any issues we have with it in house.
    It would really help if someone could offer some advice.
    Thanks

    Hi Nasa1999,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Dynamic table & data binding

    Hi all,
    I am trying to create an interactive form in WebDynpro ABAP (using Livecycle Designer 8.0).
    This application consists of two screens.
    I have a selection screen which populates an internal table in a context node.
    The next screen has the interactive form and should create the table dynamically to match the internal table.
    I can see the context on this screen as I inserted a simple WD table UI element and it displays the data.
    I created my form in the wizard here which allows you to set the interface to be a context node in the application. However the binding is not working at all. In fact when I set the binding attribute in the various subforms, rows etc I get a warning message
    "Using 'Normal' data binding when a default data connection is defined may produce undesirable results"
    Has anyone experienced this before or can anyone tell me how to set up a dynamic, bound table in WebDynpro ABAP?
    Thanks,
    Gregor

    Hi Gregor,
    From your information, I can say that you are having two Views. In the First View you have a selection screen and by the selection screen you are filling the Internal Table which is being used in the next View.
    To display the Internal in the Adobe Interactive Form from WebDynpro. Firstly you need to create a main context node and in that context node create another sub node with Cardinality "0..n" and Selection "0..1"and link that to a Table or Structure or leave that blank. i you left blank create attributes of your own or select from the table or structure you have referenced.
    Now in the Method you fill sub node after all the select statements written and at end write a code "sub_node_name->bind_table ( internal_table )".
    Now after filling the template source it asks for the interface, when filling select the main context node.
    I think this will solve your problem.
    Regards
    Pradeep Goli

  • PHP-building my own shopping cart

    Hi all
    Has anyone tried to build their own shopping cart?
    Besides a secure space on a server, does anyone know a little
    bit about what building a shopping
    cart entails?
    I am using PHP and I would look into integrating the shopping
    Cart with authorize.net...
    Authorize.net has some documentation for developpers about
    this, so I'll look into it, but I just
    wondered if this was something anybody had done, and if this
    was accessible to someone like me (I
    know my PHP pretty good) if this is way over-the-top
    complicated.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

    thanks a lot for this info gareth
    gareth wrote:
    >>> If there's come particular technology beyond
    PHP, or some specific
    >>> protocol, to thansfer the
    > shopping cart info (including CC number) to the
    institution that processes
    > the transaction.
    >
    > Well HTTPS is always used to encrypt the transaction in
    transite. Apart from
    > that it really depends on the financial institution your
    details with. A
    > large proportion of payment providers actually take the
    card details on
    > their site. You pass across the customers details, name,
    address, order
    > number, order value etc to the provider site, and then
    they take the card
    > details on their site, and then pass back a response to
    you with the order
    > number (or some other unique reference), saying if the
    transaction has
    > succeeded or not. This way, you actually have no contact
    with the credit
    > card details. This method is prefered, as it takes a lot
    of responsibility
    > off you, you don't have to try and store the details
    securely or pass the
    > details securely.
    >
    > Various methods are used by the institutions when
    passing the details. Its
    > always by post, by some provide code that you run all
    the fields through
    > that you send to them with a secret key, which creates a
    hash that you send
    > to them as well. At their end, they run the details
    through the hash
    > generator with your key, and if the two hash values
    don't match then they
    > know the data has been tampered with in transit (eg the
    customer saving your
    > checkout page, changing the order amount, and then
    submitting the data from
    > their own server). They then hash the reponse they send
    back to you, and
    > then you hash it and compare the values, so you can be
    sure the info coming
    > from the payment provider hasn't been tampered with.
    Usually the code is
    > available in a variety of languages, and most give PHP,
    although HSBC use C,
    > which you can run through PHP (although I actually
    created an extension to
    > PHP to generate the hash).
    >
    >> You can always just send POST vars, in the format
    they require, to the
    >> transaction processor, right?
    > Or is there something else at play?
    >
    > Yes, its almost always sent to the institution as a
    simple form POST. You
    > just need to pass a unique value, so that they can pass
    it back and you can
    > link the response to the customers order at your end.
    >
    >> And it's just a matter of knowing how this response
    is formatted, to deal
    >> with it, right?
    >
    > Yes, usually they send the data to an address on your
    server you provide, as
    > POST data. So, its simple to read it using PHP.
    >
    >> thanks for this info... All in all I was just
    wondering what's the big
    >> deal about building a
    > shopping cart, compared to, say, builing a CMS.
    >
    > No problem, to be honest with you, and IMHO its really
    not that difficult,
    > less so than building a complete CMS. It used to be,
    years ago, but the
    > financial institutions have made things easier now, and
    provide all the
    > processing for you. The main problem that put people off
    was security, but
    > nowadays merchants don't take credit card details
    themselves, so its not a
    > major issue.
    >
    > It really depends on the payment provider, some are
    easier than others, the
    > banks own systems tend to be more complex than other
    parties such as
    > Worldpay.
    >
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • MVC - Performance of data binding

    Hi Gurus out there
    I have a concern regarding performance of (dynamic) data binding if I have a lot of <i>textEdit</i> fields containing huge amount of data on a view page.
    <u>Scenario</u>:
    The view page contains buttons <b>[Add textEdit field]</b> and<b> [Save all entries]</b>. If you click the button <b>[Add textEdit field]</b> then a (new) <i>textEdit</i> will be generated and the model remembers the total number of <i>textEdit</i> fields that have been generated.
    DATA: textedit_count TYPE i,
          o_textedit     TYPE REF TO cl_htmlb_textedit,
          tabix(6)       TYPE c,
          binding_code   TYPE string,
          binding_str    TYPE string.
    textedit_count = o_model->get_section_count( ).
    DO textedit_count TIMES.
    * Create a unique ID for a textEdit field:
      tabix = sy-index.
      CONDESE tabix NO-GAPS.
    * String for the data binding of internal table model->data_stream_tab:
      CONCATENATE '//model/data_stream_tab['
                  tabix
                  '].data_string'   
             INTO binding_str.
    * Dynamic data binding:
      CREATE OBJECT o_textedit.
      CONCATENATE 'myTextEditID' tabix
             INTO o_textedit->id.
      o_textedit->width  = 650.
      o_textedit->height = 225.
      o_textedit->_text = binding_str.
      binding_code = o_textedit->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
    <htmlb:label for = "<%= o_textedit->id %>"
                text = "<%= o_textedit->id %>"
              design = "EMPHASIZED" />
    <%-- Binding of the attribute (internal table) '//model/data_stream_tab<i>.data_stream' --%>
      <%= binding_code %>
    ENDDO.
    Obviously the <u>whole</u> contents of the <i>textEdit</i> fields in the coding above are <u>always</u> "moved" from the web browser to the server and vice versa when the button <b>[Add textEdit field]</b> is hit every time even though the content of some <i>textEdit</i> fields haven't changed.
    Does anyone have a good solution/optimization for this problem? Any suggestion, comment and/or answer will be very appreciated.
    Thanks
    HW

    Place this code above any textedit elements you have in your page:
    <script type="text/javascript">
    var myFields = new Array();
    </script>
    Then place this code after every textedit elements, this code will get run when the page is loaded in the browser, right after your element. You are saving the ID and the default value of your element to an array. For every further element, increase the array counter by 1!
    <script type="text/javascript">
    myFields[0] = new Object();
    myFields[0]["id"] = 'myTextEdit1';
    myFields[0]["default_value"] = document.getElementById(myFields[0]["id"]).value;
    </script>
    Finally, include this function in your page (does not have to be at the bottom, I just put it here chronologically):
    <script type="text/javascript">
    function compareFields() {
      for (var i = 0; i < myFields.length; ++i) {
        if(myFields<i>["default_value"] == document.getElementById(myFields<i>["id"]).value) {
        // nothing has changed, set to ignore-value (any highly unlikely value, like ")?.("
        document.getElementById(myFields<i>["id"]).value = ')?.(';
        // check against this value in your setter method
        // if this is set, then do not user submitted value to update your model attribute value
        // maybe do some output for debug purposes
        // alert(document.getElementById(myFields<i>["id"]).value);
    }</script>
    Now add this attribute to your submit button:
    onClientClick = "javascript:compareFields();"
    This should do, test it out and let me know.
    Max

  • Dynamic Data Binding at runtime

    For future applications, flexibility will be an important feature. One of the biggest drawbacks of forms is/was, on my opinion, not being able to create new items at runtime.
    JClient will easily overcome this restriction. But how about data binding ?
    Imagine the following situation: We've got a VO "order" with the "custname" incorporated as lookup data. At runtime, the user decides that she needs to see the "custloc" as well (put an additional JTextField into some whitespace on his panel). As I understand it is possible to build a view link to tie an instance of the VO "customer" to the "order" (I'd prefer that over adapting the query statement of "order" at runtime). But how can I create the new iterator binding and control binding needed to populate the dynamically created attributes with the data from "customer"? And, further on, how will I be able to make the changed configuration of my panel persistent, let's say into the DB ? Or does the data binding concept of 10g just not cover this requirement?

    Hi pascal
    It is not possible to send you email at your address. All come back with a permanent error
    Your document:     test
    was not delivered to:     <[email protected]>
    because:     Error transferring to smtp.solnet.CH; SMTP Protocol Returned a Permanent Error 550 Service unavailable; Client host [81.62.5.7] blocked using dul.dnsbl.sorbs.net; Dynamic IP Address See: http://www.dnsbl.sorbs.net/cgi-bin/lookup?IP=81.62.5.7

  • How can I set the data binding between Web Dynpro & Database table

    Dear friend,
    I am a beginner of Web Dynpro. I want to develop my simple project like these:
    1. Create my own database table via Dictionary Project such as TAB_USER and have 3 fields: USER_ID, USER_NAME, USER_POSITION and I have already deployed & archived it.
    2. Create my own Web Dynpro Project, and create the input fields as User ID, User name, User position and icon 'Save' on the selection screen and I have deployed it already.
    For the process, I want to input data at the screen and save the data in the table, please give me the guide line like these:
    1. How can I set the data binding between Web Dynpro and Database table ?
    2.  Are there any nescessary steps that I will concern for this case?
    Sorry if my question is simple, I had try  to find solution myself, but it not found
    Thanks in advances,
    SeMs

    Hi,
    You can write your own connection class for establishing the connection with DB.
    Ex:
    public class  ConnectionClass {
    static Connection con = null;
    public static Connection getConnection() {
    try{
    Context ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/TSPAGE");
    con = ds.getConnection();
    return con;
    }catch(Exception e){
    return null;
    You can place the above class file in src folder and you can use this class in webdynpro.
    You can have another UserInfo class for reading and writing the data into the DB .
    Regards, Anilkumar
    PS : Refer
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf
    Message was edited by: Anilkumar Vippagunta

  • Report data binding error unknown column name

    Hi,
    I am having a problem with the new 7.02 update of Report
    Builder. The issue is it's not finding my SQL query.
    I have wrote my query initally in the advance mode, and it
    doesn't seem to reconize it. Is there an issue with this?
    I did manage to fix one of my reports by using the basic mode
    and selecting all my tables and seting my linkage and criteria.
    I have other computers that i have not updated to 7.02 and
    they do not have this issue. Below is the error:
    Error Occurred While Processing Request
    Report data binding error Unknown column name : work_phone.
    Please try the following:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 13-Jul-06 02:33 PM
    Stack Trace (click to expand)
    coldfusion.runtime.report.Report$ReportDataBindingException:
    Report data binding error Unknown column name : work_phone.
    at
    coldfusion.runtime.report.Report.runReport(Report.java:420)
    at
    coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
    at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    This report works in 7.01. So all query variables match with
    a variable in the SQL select statement.
    Anyone have any Ideas??
    Thanks,
    Daniel

    Thank you very much for help.
    The "Unknown column name " is a field still used in my
    report, so I can't remove it.
    After I clear the query in the report and reopen the report
    and apply the same query back to it, I get different error message:
    Element TASKNUM is undefined in QUERY.
    The error occurred in : line 1
    -1 : Unable to display error's location in a CFML template.
    I know for sure this "Element TASKNUM is undefined in QUERY."
    is defined in query. each time it complains something different. I
    get really confused.
    Thanks again.
    Yueming

  • Error in ESS App Change Own Data

    Hello!!!
    I am in process of implementing ESS for a middle eat client. For some reason unknown to me the application "Change Own Data" isn't working. When I click on the link to "Change Own Data" it throws the following error:
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
      The ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE   
      The ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE:com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: The ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.xss.hr.cod.FcCodBusinessLogicComp.callRFCReadDetails(FcCodBusinessLogicComp.java:602)
         at com.sap.xss.hr.cod.FcCodBusinessLogicComp.readEmployeeData(FcCodBusinessLogicComp.java:348)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicComp.readEmployeeData(InternalFcCodBusinessLogicComp.java:544)
         at com.sap.xss.hr.cod.FcCodBusinessLogicCompInterface.readEmployeeData(FcCodBusinessLogicCompInterface.java:196)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface.readEmployeeData(InternalFcCodBusinessLogicCompInterface.java:179)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface$External.readEmployeeData(InternalFcCodBusinessLogicCompInterface.java:259)
         at com.sap.xss.hr.cod.start.VcCodStartComp.onInit(VcCodStartComp.java:198)
         at com.sap.xss.hr.cod.start.wdp.InternalVcCodStartComp.onInit(InternalVcCodStartComp.java:156)
         at com.sap.xss.hr.cod.start.VcCodStartCompInterface.onInit(VcCodStartCompInterface.java:161)
         at com.sap.xss.hr.cod.start.wdp.InternalVcCodStartCompInterface.onInit(InternalVcCodStartCompInterface.java:144)
         at com.sap.xss.hr.cod.start.wdp.InternalVcCodStartCompInterface$External.onInit(InternalVcCodStartCompInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: The ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.xss.hr.cod.model.CodModel.hrxss_Cod_Read(CodModel.java:388)
         at com.sap.xss.hr.cod.model.Hrxss_Cod_Read_Input.doExecute(Hrxss_Cod_Read_Input.java:137)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
         ... 44 more
      Any assistance will be appreciated.
    Thanks,
    GLM

    Normally this problem occures if there is wrong customizing in the
    tables V_T7XSSPERSUBTYP and V_T591A. Please check this for your used
    infotyp according to the explaination below:
    for
    usecase = A1, A4, B1, B4                     (table V_T7XSSPERSUBTYP)
    you need to have
    zeitb = '1' OR zeitb = '2'                   (table V_T591A)
    for
    usecase = A2, A3, A5, B2, B3, B5
    you need to have
    zeitb = '2'
    for
    usecase = A6, B3
    you need to have
    zeitb = '3'
    Please note that there is a hardcoded setting which is taken if there
    is no entry in table V_T7XSSPERSUBTYP - so if you change the delivered
    customizing in V_T591A it migh be neccessary to create an entry in
    V_T7XSSPERSUBTYP.
    If setting your tables according to this solves your problem kindly
    close this message.

  • Report data binding error with date values

    I have CF7.02 with a Microsoft Visual FoxPro 9.0 SP1 Database
    that I connect to using ODBC (FoxPro Driver 6.01.8630.01). I send
    my sql results to a CF Report Builder 7.02 PDF report and it works
    fine. If I dump the date values before I change them, they look
    like the following: {ts '2004-12-20 00:00:00'} . However I have
    tried a number of ways of manipulating the date before sending it
    to the report, but I continue to get errors. I don't care what
    format they go to the report in, since the report reformats them
    anyway. I checked to make sure that none of the dates were null.
    For example <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDateTime(#ldCFPrcInputDate#) /> yields values in the
    {ts '2004-12-20 00:00:00'} format when I dump the query results to
    screen. Where:
    ldCFPrcInputDate = 12/20/2004
    CreateODBCDateTime(ldCFPrcInputDate) = {ts '2004-12-20
    00:00:00'}
    ReportQuery.PrcInputDate[lcCurRow] = {ts '2004-12-20
    00:00:00'}
    I get the error:
    Report data binding error Unable to get value for field
    'prcinputdate' of class 'java.util.Date'.
    coldfusion.runtime.OleDateTime -> Date
    Not using the CreateODBCDate function for example <cfset
    ReportQuery.PrcInputDate[lcCurRow] = #ldCFPrcInputDate# /> I
    get:
    Report data binding error Unable to get value for field
    'prcinputdate' of class 'java.util.Date'.
    java.lang.String -> Date
    Here are some of my failed attempts:
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDateTime(#ldCFPrcInputDate#) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    #ldCFPrcInputDate# />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    DateFormat(CreateODBCDate(#ldCFPrcInputDate#),'mm/dd/yyyy') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm/dd/yyyy') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm-dd-yyyy') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    Trim(createODBCDateTime(ldtmpdate)) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate({05-07-2006}) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate('{05-07-2006}') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(05/07/2006) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate('05/07/2006')/>
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(parseDateTime('05/07/2006')) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    parseDateTime(CreateODBCDateTime(05/07/2006)) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    parseDateTime(CreateODBCDateTime('#ldCFPrcInputDate#')) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] = '{05-07-2006}'
    />
    <cfset ReportQuery.PrcInputDate[lcCurRow] = '{05/07/2006}'
    />
    <cfset ReportQuery.PrcInputDate[lcCurRow] = '05/07/2006'
    />
    I also did some googling without success. Any help is
    appreciated.

    You may want to make sure that the column is not included in
    the query variable list in your report cfr file.
    The newest version of the Report Builder, which may be
    installed on the server, no longer tolerates vars appearing in that
    list of they are not in the query itselft.

Maybe you are looking for

  • How can I redirect all messages to 2 another mail servers?

    Hi all ./imsimta version Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009) libimta.so 7.3-11.01 64bit (built 19:54:45, Sep 1 2009) I wanted to redirect all messages(in and out) to another mail server, I configured as follows, -

  • O/P probelm when the spool is generated by SM36 for REUSE_ALV_GRID_DISPLAY

    Hi Can anyone help me in solving the issue for the problem in display o/p (Line wrapping happens after certain length of display in the spool) in the spool generated after running the REUSE_ALV_GRID_DISPLAY. i.e when the report is run online complete

  • IS a thread scheduler part of JVM or OS ?

    Hi Folks, Just curious if the thread scheduler is a part of the JVM or OS, or either or both ? I tried few thread pages in JLS,but couldnot locate the exact sentence describing this. However some other resources have given me contradicting informatio

  • Lot of troubles (impossible) installing Solaris 10 on VMware Workstation 6

    Hi, i'm experiencing troubles trying to install Solaris 10 x_86 (the last release) on VMware Workstation 6. During the creation of the virtual machine I selected Solaris 64bit (I'm running an Intel Core2Duo CPU), selected the first ISO image and boot

  • Incrementally name file with saveAs

    Hello all, I am trying to create a script that names the active file as w1.pdf, and then subsequently would name the file w2, etc. If one were working on w9.pdf and ran the script, you guessed it..........w10.pdf Can I use the increment operand with