How to edit the JSP Report

Dear All, anybody knows how can i edit a JSP report ?
or : is it possible to edit in a paper version of report ( 9iDS 9.2) and then publish it on the web after editing its layout ?
please , if anyone knows it will be appreciated.
Regards,
Hany B.Maurice
Application Developer

thanks alot my dear , but i have a comment
when i edit in the layout of the report( paper version) it does not reflect the changes i made in the web version
is there any layout editor for the JSP version of the report .
Regards,
Hany
Hany B.Maurice
Application Developer
Cairo - Egypt

Similar Messages

  • How to edit the scheduled report.

    Hi All,
    How to edit a scheduled report in bi publisher 10g.
    We have a scheduled report and need to change receiver email id. How to do it instead of deleting and resheduling the report.
    Thanks.

    Hello,
    Any body..???

  • How to move the JSP report  in local Tomcat server to test instance-reg

    Dear All:
    I have developed a self service report using JSP for Leave details of an employee.
    Right now the report is in my local system tomcat server how can i register/move it into the test instance (ie.DEV) of Oracle apps .
    can any of you let me know this plsssssssssss.........
    with warm regards
    Geetha

    Geetha,
    I don't want to seem unhelpful, but I don't see the relevance to Apex in your question, this forums is specifically for Apex related questions therefore you would have more chance of a useful answer if you posted your question in a JSP/Tomcat related forum.

  • How to edit the ACS Report Password Change Attempts by Non-Owner

    Hi,
    The scenario is the following: 1 SCOM 2007 R2 CU5 Server. ACS Installed.
    I need to add a column to the report "Password Change Attempts by Non-Owner"
    But, using SQL Server Reporting Services Report Builder 1.0, I get the following error:
    The question is:
    How to add a column in the report "Password Change Attempts by Non-Owner"?
    Thanks!

    Based on my understanding, this report could not be edited. You may need to try creating another report to achieve this:
    Some Custom ACS Reports
    http://blogs.technet.com/b/jimmyharper/archive/2009/12/10/some-custom-acs-reports.aspx
    Audit Report Scenarios: How to create custom reports with System Center Operations Manager 2007 R2 and Audit Collection Services (ACS)
    http://blogs.technet.com/b/nzdse/archive/2009/11/06/audit-scenarios-system-center-operations-manager-2007-r2-and-audit-collection-services-acs.aspx
    Hope this helps.
    Thanks.
    Nicholas Li
    TechNet Community Support

  • How to to display the JSP report in Application Server ? URL for displaying

    Hi Experts,
    Last week, we tried to change the memory of Response Cache and buffer Cache to increase the speed of the Excel report. But it didn’t work out.
    And from the below link, I understood we can convert the oracle 9i report to excel by converting the Oracle 9i report to JSP report.
    http://www.oracle.com/technology/products/reports/htdocs/getstart/demonstrations/index.html
    I’ve converted the Oracle 9i report to JSP report and finding the way to display the JSP report using Application Server. I am trying to find out the REPORT URL of simple JSP report and using Reports Servlet . Right now I am trying to display the JSP report in Application Server.
    Please suggest the URL for displaying the JSP report
    Thanks & Regards

    Hi,
    You can directly call you .jsp file, http://<host>:<domain>:<port>/<jsp report path>?userid=<if your report requires userid>/<pwd>
    Refer to metalink documents:
    Frequently Asked Questions About JSP Reports [ID 301714.1]
    Here --> Question 4. How do I execute a JSP report?
    Also refer, How to deploy JSP reports [ID 220943.1]
    Hope this helps.
    Regards,
    Mithun

  • How to call the JSP(Web layout) instead of paper layout...

    Hi,
    Iam using Reports 10g. I have created a simple employees report. I have added a listbox in the jsp page by adding small Html and javascript code like below.
    <form action="http://www.wwt.com/reports/rwservlet?10000_reports_listing&p_extranet=p_extranet" name="First" method="post">
    <select name="p_extranet" onChange="First.submit()" >
    <rw:foreach id="RGSOURCE" src="G_SOURCE">
    <rw:getValue id="mysource" src="SOURCE"/>
    <option value=""><%= mysource %>
    </rw:foreach>
    </select>
    </form>
    When I run this report in the report builder as Web layout, Listbox is displayed with values inside.
    But when I move it to Apps server and run it through URL,
    listbox is disappeared. I think report is running the Paper layout instead of weblayout ??????????
    Could you please tell me what is the problem and How to force the Weblayout or JSP to run ?
    Thanks.

    Hi,
    You are running a jsp report through rwservlet. In this case paper layout will be displayed. You have to deploy your jsp as web report to get the web layout. Please refer to the doc below, which describes how to deploy the web report.
    http://download-uk.oracle.com/docs/html/B10314_01/pbr_run.htm#1011901
    To run the jsp report, URL may look like
    http://www.wwt.com/reports/<jsp name>?<parameter list>
    Hope this helps
    Vinayak

  • How to edit the records in error stock.

    Hi Experts,
                 i have error records in error stack and the remaining records are loaded successfuly . here my doubt is how to edit the records in error stack because its not giving the edit option .
    i want to get the edit option means i need to delete the request in target r wt ?
    and there are two more targets is there below this process .
    Advance Thanks.
    Regards
    SAP

    HI
    If you have less number records in this request(which you extracted now), delete that request from all the targets and reload again with option Valid records update, reporting not possible.
    this is the option which is recommended.
    follow the below 2 docs as well.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80dd67b9-caa0-2e10-bc95-c644cd119f46?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/007f1167-3e64-2e10-a798-e1ea456ef21b?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh
    Edited by: Venkateswarlu Nandimandalam on Jan 24, 2012 4:35 PM

  • Hi gurus in ALV how to edit the fields on out put list

    hi gurus in ALV how to edit the fields on out put list

    hi
    REPORT ZSB_ALV_EDITABLE_SAMPLE.
    TABLES: SFLIGHT.
    DATA: gc_container TYPE scrfname VALUE 'LIST_AREA',
    gc_custom_container TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
    gc_grid TYPE REF TO CL_GUI_ALV_GRID,
    gs_layout TYPE LVC_S_LAYO,
    gt_fieldcat TYPE LVC_T_FCAT.
    DATA: ok_code TYPE SY-UCOMM.
    DATA: gt_outtab TYPE TABLE OF SFLIGHT.
    *DYNPRO
    CALL SCREEN 100.
    *& Module STATUS_0100 OUTPUT
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS '100'.
    CREATE OBJECT gc_custom_container
    EXPORTING
    container_name = gc_container
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    OTHERS = 6.
    CREATE OBJECT gc_grid
    EXPORTING
    i_parent = gc_custom_container
    EXCEPTIONS
    error_cntl_create = 1
    error_cntl_init = 2
    error_cntl_link = 3
    error_dp_create = 4
    OTHERS = 5 .
    PERFORM prepare_field_catalog CHANGING gt_fieldcat .
    PERFORM prepare_layout CHANGING gs_layout .
    PERFORM get_alv_display.
    ENDMODULE.
    *& Module USER_COMMAND_0100 INPUT
    MODULE USER_COMMAND_0100 INPUT.
    OK_CODE = SY-UCOMM.
    IF OK_CODE = 'BACK'.
    SET SCREEN 0.
    LEAVE SCREEN.
    CLEAR OK_CODE.
    ENDIF.
    ENDMODULE.
    FORM prepare_field_catalog CHANGING gt_fieldcat TYPE LVC_T_FCAT.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    EXPORTING
    I_BUFFER_ACTIVE =
    I_STRUCTURE_NAME = 'SFLIGHT'
    I_CLIENT_NEVER_DISPLAY = 'X'
    I_BYPASSING_BUFFER =
    I_INTERNAL_TABNAME =
    CHANGING
    ct_fieldcat = gt_fieldcat[].
    ENDFORM.
    FORM prepare_layout changing p_gs_layout TYPE lvc_s_layo.
    p_gs_layout-zebra = 'X'.
    p_gs_layout-edit = 'X'.
    ENDFORM. " prepare_layout
    FORM get_alv_display .
    SELECT * FROM sflight INTO TABLE gt_outtab UP TO 10 ROWS.
    CALL METHOD gc_grid->set_table_for_first_display
    EXPORTING
    I_STRUCTURE_NAME = 'SFLIGHT'
    IS_LAYOUT = gs_layout
    CHANGING
    it_outtab = gt_outtab
    IT_FIELDCATALOG = gt_fieldcat
    ENDFORM. " get_alv_display

  • How to call the Jsp through BPM Obejct

    Hi,
    I have gone through the some topic, how to call the Jsp through BPM Object.
    I have followed step below,
    1. I have create the sample jsp page
    2. Import into BPM studio under webroot\custom Jsp
    3. Created the screenflow and added the "Interactive Component call" object
    4. Right Click the Object and selected Maintask and Implementation type as "BPM Object Interactive Call"
    5. Selected the use JSP presentation object option and when i click ok its showing "BPM instance object must be selected"
    But when i select the Instance Variable tab, its not showing anything.
    Can any one help me how to call the Jsp in screenflow with step by step procedure, that would be very greate help for me.
    Regards,
    Anandh P

    Hi,
    You are running a jsp report through rwservlet. In this case paper layout will be displayed. You have to deploy your jsp as web report to get the web layout. Please refer to the doc below, which describes how to deploy the web report.
    http://download-uk.oracle.com/docs/html/B10314_01/pbr_run.htm#1011901
    To run the jsp report, URL may look like
    http://www.wwt.com/reports/<jsp name>?<parameter list>
    Hope this helps
    Vinayak

  • How to edit template for report generator in stimulus profile editor in Veristand 2011?

    How to edit template for report generator in stimulus profile editor in veristand 2011?
    We are using Veristand 2011.When we run any sequence in stimulus profle editor,we get test results in form of ATML file.
    We want to customise the template for this test result generation as per our requirement.
    For example:
    Test case No.: Description of test case.
    Objectives: Explanation of objectives.
    Result: Passed/ Failed.
    Graph: If any.
    Please suggest how to do this.

    You cant really change too much in the report, you can customize TRML.xsl which is created every time in the Test Results\UUT 1 folder and that would give you some flexibility on what is shown. I dont know what a xsl is actually able to do in terms of composing data from multiple files (if at all possible) but it definitely allows you to change the visual format of the existing xml data.
    Otherwise I modified the xsl to customize the look of the xml report when opened in a browser to have less clutter and some coloring on the Pass/Fail but, the reports are XML files anyway so it's easy to extract data out of them and you can probably write your own report creation tool to compose the report in whatever format you like.

  • How to edit the WSDL

    I noticed a few limitations of an automatically generated web service
    under WLS 7.0, and I am wondering if there is a way to manually edit
    files to overcome these limitations:
    - the parameter names have no meaningful names, such as string0,
    string1, etc. This needs to be changed to at least use the names given
    to the parameters in the EJB. I remember putting in a CR a while back,
    but this has not been implemented yet.
    - The documentation field says 'todo'. It would be nice to be able to
    add some explanatory text there.
    I looked for the WSDL file in the web-services.war file but could not
    find it. Any pointers as to whether/how this stuff can be edited?
    Thanks,
    Joop Kaashoek

    Indeed, you can do this. But if you have non-built in data types as paramaters
    it gets pretty tricky.
    manoj cheenath wrote:
    You can change the parameter/operation name in the generated
    WSDL file by editing the web-services.xml file in the web-inf dir
    (inside the war file). This file is generated by servicegen, but can
    replaced before deploying the service.
    regards,
    -manoj
    "Joop Kaashoek" <[email protected]> wrote in message
    news:[email protected]...
    Hi Mike,
    Thanks very much for your help, I have sent a request to '[email protected]'.
    Regards,
    Joop
    Michael Wooten wrote:
    Hi Joop,
    I see. No, I don't work in "development" or have any knowledge of what
    features are
    going to be in the product. I work in the "services" (i.e. professionalservices)
    division, which is primarily tasked with figuring out (and showingothers) how the
    stuff works :-)
    Individuals from "development" (i.e. product managers, developers,architects, etc.)
    do monitor this newsgroup, so I think you should create another postthat has a subject
    like "Need static or JSP-based WSDL added back to .war". The subject forthis current
    post, sounded like you wanted to know how to edit the WSDL (which Ithink I answered
    to your satisfaction), but it sounds like you really just want acapability that
    was in WLS 6.1, back in WLS 7.0 :-)
    I'm assuming that you already know that you can extract the "static"WSDL from the
    client.jar and put it anywhere in the .war, you like. The context rootwill be the
    name of the .war file, without the file extension. For instance, if your.war file
    is hello.war, the context root will be hello. If you then put the"static" WSDL (which
    you extracted from the client.jar), into the root directory for for thisWeb Application,
    the URL to it would be something like:
    http://localhost:7001/hello/HelloService.wsdl
    Regards,
    Mike Wooten
    Joop Kaashoek <[email protected]> wrote:
    Your explanation makes sense, but the implementation does not make
    sense
    to me. This should
    clearly be on the list of things to fix. Our partners use .NET or other
    technologies, we
    want to be able to publish a meaningful self-documented WSDL document(with
    meaningful
    parameter names and documentation) on our server, not as part of aweblogic-specific
    Java
    client jar.
    Can you indicate whether this is being worked on?
    Regards,
    Joop
    Michael Wooten wrote:
    Hi Joop,
    The assumption here, is that the client will download your client.jar(or whatever
    you named it in your <clientgen> Ant task), and use a file:// URL to
    access
    it (the
    "persisted" WSDL file) from within this archive :-)
    If you use the Web Services Technology Stack from BEA
    (lib\webserviceclient.jar)
    on the client-side, editing this file affects the construction of theSOAP message
    that is sent to the Web service, which I'm assuming is hosted on an
    instance
    of WLS
    7.0. The names for the input parameters (and return value), will be
    set
    to those
    that you specified in this WSDL, which is one of the things you said
    you
    wanted to
    be able to do.
    If you don't use the Web Services Technology Stack from BEA on the
    client-side,
    there
    is still a very high probability that the WSDL processor of the tool
    you
    use, will
    use this WSDL to create the SOAP message sent to your web service,
    which
    again is
    assumed to be hosted on an instance of WLS 7.0.
    If you use the "dynamically generated" WSDL (as opposed to the one inthe client.jar),
    you will get the "generic" parameter names specified in it. The
    "dynamically
    generated"
    WSDL is accessed by concatenating "?WSDL" to the location attribute,
    of
    your <service>
    element.
    Make sense?
    Regards,
    Mike Wooten
    Joop Kaashoek <[email protected]> wrote:
    Mike,
    How can editing this client file make any difference to the web
    service
    itself?
    Joop
    Michael Wooten wrote:
    Hi Joop,
    The "persisted" WSDL file is in the .jar file, for the client ;-)
    The name of this .jar file is set using either of the following:
    1. The clientJarName attribute, of the <client> sub-element for
    your
    <servicegen>
    task, or
    2. The clientJar attribute, of the <clientgen> task.
    The path leading to the .wsdl file, is determined by the value youassign
    to the
    packageName attribute (in either of the above tasks).
    Regards,
    Mike Wooten
    Joop Kaashoek <[email protected]> wrote:
    I noticed a few limitations of an automatically generated web
    service
    under WLS 7.0, and I am wondering if there is a way to manuallyedit
    files to overcome these limitations:
    - the parameter names have no meaningful names, such as string0,
    string1, etc. This needs to be changed to at least use the namesgiven
    to the parameters in the EJB. I remember putting in a CR a whileback,
    but this has not been implemented yet.
    - The documentation field says 'todo'. It would be nice to beable
    to
    add some explanatory text there.
    I looked for the WSDL file in the web-services.war file but couldnot
    find it. Any pointers as to whether/how this stuff can be edited?
    Thanks,
    Joop Kaashoek

  • How to do the ALV report output in groups and caluculate the tOTALS(URGENT

    Hi
    In my ALV report output .I have to group the output based on the DAYS field
    0-10 days in one group
    10-30 days in one group
    above 30 days one group
    There is also a field by name "AMOUNT" in my output.
    I have to calculate SUBTOTALs at the end of every group and at the end of the report i should caluculate GRAND TOTAL.
    Please remember that i should not use any any BLOCKED ALVs and for Totals i should not use the SYMBOLS provided in the application toolbar of the report
    Thanks in Advance

    Please don't repost your questions...
    Check out my answer in your other post.
    How to make the ALV report in groups  and caluculate the TOTALS
    Regards,
    Naimesh Patel

  • JNI - How to use the error reporting mechanism?

    I've developed a C++ DLL which is loaded from a commercial Win32 application (not written by me) as a plug-in for external calculations. On its initialization the C++ DLL launches the Java VM via the JNI invocation interface. When the DLL functions are called by the application, they forward the calls to Java objects inside the Java VM, again via JNI invocation interface.
    This works well, but I have encountered a weird error.
    From Java I open a JFrame containing a JTextArea as small console for debug output messages. If I turn output to this debug console off (my printToConsole routine checks whether a boolean flag is set), the string concatenation operator may lead to a crash of the Java VM.
    For example, if in one of the Java functions called from the
    DLL via JNI invocation interface the following is the first statement,
    it leads to a crash of the Java VM and the application that loaded the C++ proxy DLL.
    String test=""+Math.random(); // String test not used later
    Interestingly, if I comment this statement out, the Java code works fine WITHOUT any crash. I've already thought about potential races and synchronization issues in my code, but I don't see where this is the case. And the string concatenation error fails as well, if I insert sleep() statements in front of it and at other places in the code. However, if I turn on log messages printed to my JFrame debug console (containing a JTextArea), the String concatenation works without problems.
    So maybe the JNI interface has a bug and affects the Java VM; I don't see where my JNI code is wrong.
    One problem is that I do not get any stdout output, as the C++ proxy DLL is loaded by the Windows application, even if I start the Windows application from the DOS command line (under Windows).
    Does anyone know how to use the error reporting mechanism?
    http://java.sun.com/j2se/1.4.2/docs/guide/vm/error-handling.html
    Is it possible that the JVM, when it crashes, writes debug information about the crash into a file instead of stdout/stderr?
    My C++ proxy DLL was compiled in debug mode, but the commercial application (which loaded the DLL) is very likely not.
    I do not know hot to find the reason why the String concatenation fails inside the Java function called from the C++ DLL via JNI.

    Yes, I've initially thought about errors in the C++ code too. But the C++ code is actually very simple and short. It doesn't allocate anything on the C++ side. It allocates a couple of ByteBuffers inside the Java VM however via JNI invocation interface calls of env->NewDirectByteBuffer(). The native memory regions accessed via the ByteBuffers are allocated not by my own C++ code, but by the program that calls my DLL (the program is Metastock).
    The interesting thing is that everything works fine if output to my debug console is enabled, which means that in the Java print routine getConsoleLoggingState() returns true and text is appended to the jTextArea.
    static synchronized void print(String str)
    { MetaStockMonitor mMon=getInstance();
    if ( mMon.getFileLoggingState() && mMon.logFileWriter!=null) {
    mMon.logFileWriter.print(str);
    mMon.logFileWriter.flush();
    if ( mMon.getConsoleLoggingState() ) {
    mMon.jTextArea1.append(str);
    Only if output to the JTextArea is turned off (ie. getConsoleLoggingState()==false), the crash happens when the FIRST statement in the Java routine called via JNI invocation interface is a (useless) String concatenation operation, as described above.
    String test=""+Math.random(); // String test not used later
    Moreover, the crash happens BEFORE the allocated ByteBuffer objects are accessed in the Java code. But again, if console output is turned on, it works stable. If console output is turned off, it works when the (useless) String concatenation operation is removed in the Java routine called from C++.
    I've already thought about potential races (regarding multiple threads), but this can be ruled out in my case. It almost appears as if the JVM can have problems when called by the invocation interface (I tested it with Java 1.4.2 b28).
    All the calls between C++ and Java go ALWAYS in the direction from C++ code to Java. Unfortunately, there is no special JRE version with extensive logging capabilities to facilitate debugging. And the problem is not easily reproducible either.
    JNIEnv* JNI_GetEnv()
    JNIEnv *env;
    cached_jvm->AttachCurrentThread((void**)&env,NULL);
    fprintf(logfile,"env=%i\n",env);
    fflush(logfile);
    return env;
    // function called by Metastock's MSX plug-in interface
    BOOL __stdcall createIndEngine (const MSXDataRec *a_psDataRec,
    const MSXDataInfoRecArgsArray *a_psDataInfoArgs,
    const MSXNumericArgsArray *a_psNumericArgs,
    const MSXStringArgsArray *a_psStringArgs,
    const MSXCustomArgsArray *a_psCustomArgs,
    MSXResultRec *a_psResultRec)
    a_psResultRec->psResultArray->iFirstValid=0;
    a_psResultRec->psResultArray->iLastValid=-1;
    jthrowable ex;
    jmethodID mid;
    JNIEnv* env=JNI_GetEnv();
    jobject chart=getChart(env, a_psDataRec);
    if ( chart==NULL) {
    return MSX_ERROR;
    jobject getChart (JNIEnv* env, const MSXDataRec *a_psDataRec)
    jthrowable ex;
    jmethodID mid;
    int closeFirstValid, closeLastValid;
    closeFirstValid=a_psDataRec->sClose.iFirstValid;
    closeLastValid=a_psDataRec->sClose.iLastValid;
    long firstDate, firstTime;
    if (closeFirstValid>=1 && closeFirstValid<=closeLastValid) {
    firstDate = a_psDataRec->psDate[closeFirstValid].lDate;
    firstTime = a_psDataRec->psDate[closeFirstValid].lTime;
    } else {
    firstDate=0;
    firstTime=0;
    jclass chartFactoryClass = env->FindClass("wschwendt/metastock/msx/ChartFactory");
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot find class ChartFactory\n");
    printSBufViaJava(sbuf);
    return NULL;
    mid = env->GetStaticMethodID(chartFactoryClass, "getInstance", "()Lwschwendt/metastock/msx/ChartFactory;");
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot find method ID for ChartFactory.getInstance()\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject chartFactory=env->CallStaticObjectMethod(chartFactoryClass, mid);
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Exception while calling ChartFactory.getInstance()");
    printSBufViaJava(sbuf);
    return NULL;
    mid = env->GetMethodID(chartFactoryClass, "getChartID", "(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIIIIII)F");
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot find method ID for ChartFactory.getChartID()\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject symbolBuf=env->NewDirectByteBuffer(a_psDataRec->pszSymbol, strlen(a_psDataRec->pszSymbol) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate symbolBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject securityNameBuf=env->NewDirectByteBuffer(a_psDataRec->pszSecurityName, strlen(a_psDataRec->pszSecurityName) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate securityNameBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject securityPathBuf=env->NewDirectByteBuffer(a_psDataRec->pszSecurityPath, strlen(a_psDataRec->pszSecurityPath) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate securityPathBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject securityOnlineSourceBuf=env->NewDirectByteBuffer(a_psDataRec->pszOnlineSource, strlen(a_psDataRec->pszOnlineSource) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate onlineSourceBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    // Java Function call leads to crash, if console output is turned off and
    // the first statement in the Java routine is a (useless) string concatenation.
    // Otherwise it works stable.
    jfloat chartID=env->CallFloatMethod(chartFactory, mid, securityNameBuf, symbolBuf,
    securityPathBuf, securityOnlineSourceBuf, (jint)(a_psDataRec->iPeriod),
    (jint)(a_psDataRec->iInterval), (jint)(a_psDataRec->iStartTime),
    (jint)(a_psDataRec->iEndTime), (jint)(a_psDataRec->iSymbolType),
    (jint)firstDate, (jint)firstTime );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Exception while calling ChartFactory.getChartID()");
    printSBufViaJava(sbuf);
    return NULL;

  • How to edit the node value of a tree in webdynpro java

    Hi ALL
    I have Tree UI element where i got displayed all the nodes by calling the BAPI
    Now my requirement is when i put the cursor at any node in the Tree struture then on click of insert button i need to insert the new node with the text  , the user has to be option to give new text for the new node dynamically  , so while adding the new node in a tree the tree has to choose the text for new node , like how to edit the node of a tree to add new text.
    If any one can send the sample code on the same then it would be great help to me.
    Similar requirement like in table UI Like however we are adding the new row in a table when we click on the insert button then cursor will go to that new row in a table where user can enter his details in the table.. now i am looking for the same requirement in a Tree UI element.
    is it possible the same requirement in tree UI element in webdynpro for Java??
    Thanks
    kallki reddy

    Hi kallki reddy
    In general I think this is not possible in the form you'd like. It seems the Tree control is read-only thing always. It cannot provide editing capabilities.
    Table is different thing. You can select within many different cell editors including Input Fields.
    I guess that you scenario could be implemented not with Tree control, but with Table with Master Column. The master column allows to bring up a hierarchy into a plain table. So it's just a tree inside a table.
    Here you can find further details: [TreeByNestingTableColumn API|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/92/12a74046033913e10000000a155106/content.htm]
    BR, Siarhei

  • How to edit the existing data in the XML file from java programming.

    Hi all
    i am able to create XML file with the sample data as below from java programming.
    i need sample code on how to edit the existing data in the XML file?
    for example
    <?xml version="1.0"?>
       <mydata>
               <data1>
                         <key1>467</key1>
                        <name1>Paul</name1>
                        <id1>123</id1>
              </data1>
              <data2>
                         <key2>467</key2>
                        <name2>Paul</name2>
                        <id2>123</id2>
              </data2>
        </mydata>
    i am able to insert the data in the XML.
    now i need sample code on how to modify the data in the above XML file from the java programming for only key2,name2,id2 tags only. the remaining tags data in the XML file i want to keep same data except for key2,name2,id2 which are i want to modify from java code
    Regards
    Sunil
    [points will be always rewardable]

    hi
    u need a parser or validate the xml file for to read the xml file from java coding u need for this
    xml4j.jar u can download this file  from here
    http://www.alphaworks.ibm.com/tech/xml4j
    or we can use the SAX(simple API for XML)
    some sample applications for this
    http://www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html
    http://www.developertutorials.com/tutorials/java/read-xml-file-in-java-050611/page1.html
    http://www.xml-training-guide.com/e-xml44.html
    let me know u need any other info
    bvr

Maybe you are looking for

  • HP Officejet Pro 8500 wireless all-in-one printer

    Just bought second-hand HP Officejet Pro 8500 wireless all-in-one printer.  Have no clue how to get it working.  I plugged it in and it seems to be operational, but when trying to print, it did not work.  Have an HP Pavilion laptop with Windows 8.1. 

  • IMac Fan Noise - Not The Usual Problem

    Hi, I have seen plenty of discussions on iMac fan noise but mine is a little different. A week ago, a 'tink' noise (similar to tapping your fingernail on a glass) started coming from my mid 2011 iMac. At first, I thought it was the "click of death" f

  • How to create a database schema

    could any one help me with database schema I need create one thanks!

  • New computer not recognizing Apple TV

    So, we just got a new PC and I got itunes installed just fine, but I am having difficulty getting my itunes to correctly recognize AppleTV. It just shows the device with a "Settings" tab/screen and a "Photos" tab/screen. I have tried looking at all t

  • Icloud won't let me buy more storage and I am full, cannot send/receive mail!

    I lost my icloud free storage today and cannot get mail.  Each time I try to buy an upgrade, I get an error that my credit card is incorrect, or that credit card processing isnt available.... I'm stuck!