Dump:Generate Includes for sdccn for EWA

Dear All,
I am in the process of activating EWA,for which i am generating the includes for sdccn.When i run this it takes a long time to run and iam getting a timeout dump.
Now for setting up the EWA i have created all the RFCs from solman to the satellite system.When i create a EWA session in solman,the same is not reflecting in EWA even after i do refress session in sdccn of satellite system.
Is my problem due to not generating the includes for sdccn?
if so please help me in overcoming the dump.
Thanks in advance,
Avinash.

Hi Avinash,
if the generation of includes didn't complete without a shortdump, then probably the solution manager is no longer able to create EWA sessions for the satellite systems correctly. Often a cause for long-running generation of includes is a lack of any or recent optimizer statistics for table D010INC.  I would suggest (re)creating the statistics for the table and then trying to generate the includes again. The EWA sessions created by Solution Manager after the successful generation of includes should be picked up by the satellite.
best regards,
-David.

Similar Messages

  • Short dump while executing job SM:EXEC SERVICES for EWA alert generation

    Hello All,
    I'm getting short dump error while executing job SM:EXEC SERVICES for EWA alert generation.I'm using EHP1@SP22 of Sol Man.
    Please find the logs
    Error in the ABAP Application Program
    The current ABAP program "SAPLDSVAS_PROC" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "RDSVASCABAP_TRANS__________073
    " in include "RDSVASIABAP_TRANS__________073 " in
    line 1782:
    "Field "STATEMENT_SUMMARY001019" is unknown. It is neither in one of th"
    "e specified tables nor defined by a "DATA" statement. "DATA" statement"
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP "
    Error in the ABAP Application Program
    The current ABAP program "SAPLDSVAS_PROC" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    If anyone came across such kind of dump, please reply asap, due to this, i could not generate EWA report for R/3 system 6.04.
    Thanks,
    Anand.

    >
    Anand Tigadikar wrote:
    > Thx Paul, but i already did checked this note and its not solving my issue
    Dear Anand,
    Did you perform a complete service definition replacement for SDCC/SDCCN as described in the note?
    These are manual steps you need to perform on the system and are not code corrections.
    I would suggest you perform it, if you have not, and check the SDCCN logs to review the process ran cleanly.
    Note: Please make sure SDCC_OSS is functioning and a connection to SAP can be made before
    deleting the service definitions.
    If you have already replaced the service defintions on the Solution Manager system, then no point doing it again. However checking a note and applying it are not the same thing. So I am uncertain if you replaced the service definitions or not. The dump you are getting in SM:EXEC SERVICES suggests its due to a problem with the service definitons. The recommendation is to replace them according to the process described in SAP Note 727998. If you have not done so please do so.
    If you have successfully replaced the service definitions are you still getting the same dump, or has it possibly changed?
    Regards,
    Paul

  • Reusing JAXB generated classes for XSDs included in other XSDs

    Hi,
    I use xsds with jaxb in a number of related projects. To avoid duplication I've factored out commonly used elements into their own xsd in a separate project. I then include these in the xsds that need them.
    I generate classes with jaxb for each project. I'm now trying to get jaxb so far as to reuse the already generated classes for the common elements.
    For example: I have a general xsd Person.xsd for which I generate classes in common.xsd. I have another xsd Project.xsd that includes a reference to the Person element. When i let jaxb generate classes for Projects.xsd, it will also generate a project.xsd.PersonType and so on.
    Is there any way to tell JAXB to use the existing classes? I've played around with the <jxb:javaType> bindings, but I can't get it to work yet. It gives me a "bindings not used" warning and doesn't compile. Also, if this is in fact the way to go, what do I specify as the parseMethod and printMethod attributes for the javaType element?
    Thx for any help

    JAXB questions should be better directed to the users list of http://jaxb.dev.java.net/
    you should subscribe to the 'users' mailing list, then post a question there.
    Thank you!

  • Solution Manager for EWA

    I already configured my EWA (SDCCN), but then I realize that EWA need Solution Manager to run.
    I need to know how to install Solution Manager for my EWA? Do I need to install in separate server? Or there are others option for me to consider?
    Pls help me to figure this out…

    Hello Hazha!
    I don't know how you can configure in SDCCN an EWA session without the Solution Manager, but if you did so, you can send your EWA data to sap, where they will be processed and where you can find them in your inbox.
    You need a well functioning SAPOSS RFC destination (TA OSS1).
    SDCCN -> Goto -> Settings -> Task Specific
    You will get a window with a tree list. Open RFC-Destinations -> Settings and click on the settings icon.
    In Dialog RFC destinations, Tab Destinations you might click on the Info-Icon (botton) and you will get documentation. Click now on the Change Icon.
    You will now get a new icon "Create destination to SAP OSS". Please use it, it should generate the destination SDCC_OSS.
    Please test the destination.
    Now you can insert this RFC-destination into the task attributes of your EWA-Session, system-id should be O01.
    Bye
    PS.
    You might also have a look at the documentation at http://service.sap.com/ewa -> Media Library
    Message was edited by: Riccardo Escher

  • EP 7 systems in Solution Manager 7 for EWA activation

    Dear Expert,
    Greetings from Partha.
    I need to include our EP 7 systems in Solution Manager 7 for EWA activation. Current lanscape scenario
    Solution Manger     7.00   Installed
    EP                          7.00   Installed
    No central SLD configured and all the system have local SLD.
    1. As per the installtion guide & SAP notes we need to install
    a> SM Diagnostics Agent & Wilo Introscope in Solution Manager (manging system).
    b> Diagnostics Agent in every manged system(s).
    For managing system we can download Diagnostics Agent installation DVDs from SAP Service Marketplace
    at: http://service.sap.com/swdc --> Download --> SAP Support Packages --> Entry by Application Group
    --> SAP Technology Components --> SAP SOLUTION MANAGER --> SAP SOLUTION MANAGER 7.0
    --> Entry by Component --> Agents for Managed systems --> DIAGNOSTICS AGENT 7.11
    --> <choose operating system of managed>
    Our Solution Manager 7 is already installed and @SPS 17. My question is
    1. Can we use the same file for SMD installtion in Solution Manger or we need to download it from some other area ?
    If it is different then kindly let me know what are the DVDs to be downloaded and from where?
    2. In our Managed System SMD installtion we have decided for
    --> Installation Strategy as Direct Solution Manager Registration
    But what strategy we should take for SMD installation on Sol Man 7 that is
    Local SLD (wrt Sol Man) Registration or Direct Solution Manager Registration
    3. What is the need for the SAP Host Agent Installattion ? Is it mandatory ?
    Help will be appreciated.
    Regards,
    Partha

    1. As per the installtion guide & SAP notes we need to install
    a> SM Diagnostics Agent & Wilo Introscope in Solution Manager (manging system).
    b> Diagnostics Agent in every manged system(s).
    For managing system we can download Diagnostics Agent installation DVDs from SAP Service Marketplace
    at: http://service.sap.com/swdc --> Download --> SAP Support Packages --> Entry by Application Group
    --> SAP Technology Components --> SAP SOLUTION MANAGER --> SAP SOLUTION MANAGER 7.0
    --> Entry by Component --> Agents for Managed systems --> DIAGNOSTICS AGENT 7.11
    --> <choose operating system of managed>
    Our Solution Manager 7 is already installed and @SPS 17. My question is
    1. Can we use the same file for SMD installtion in Solution Manger or we need to download it from some other area ?
    If it is different then kindly let me know what are the DVDs to be downloaded and from where?
    Check the pdf attached in note 1234387 - Inst. 7.1 EhP1 - Diagnostics Agent installation
    If you have SP17, you must follow note 1357812 and install Diagnostics Agent 7.01 SR1
    2. In our Managed System SMD installtion we have decided for
    --> Installation Strategy as Direct Solution Manager Registration
    But what strategy we should take for SMD installation on Sol Man 7 that is
    Local SLD (wrt Sol Man) Registration or Direct Solution Manager Registration
    It doesn't matter what strategy you'll decide. You could decide Direct Solution Manager registration
    3. What is the need for the SAP Host Agent Installattion ? Is it mandatory ?
    As you have solution Manager SP17, you can't install Saphostagent 7.11 and for this reason you can't use SAphostagent.
    Agent 7.01 => No Saphostagent
    Agent 7.11 => Must install saphostagent
    Agent 7.20 => Already have SAPhostagent installed

  • Which jar file to include for oracle.jdeveloper.webservices.runtime.Wrapped

    I am trying to make a Web Service client on my jakarta tomcat server....
    I used JDeveloper for generating my client .java file but i dont know which jar to include for oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.
    Somebody pls tell me which jar file i need to copy for this thing to run successfully .... thx

    Hi,
    After compatibility problems between stub generated with JDeveloper 10.1.3 and Oracle Application Server 10g (9.0.4), i decide to downgrade the project to JDeveloper 10.1.2, then more problems... the wsdl wich JDeveloper 10.1.3 accept perfectlly was not so well interpreted by JDev 10.1.2, and i have to do some adjustments on wsdl, then the code generated didn´t format well the soap message (namespaces).....and i made my self some code at the stub class....uffff.
    Now I have the java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub when the application run´s at the Application Server, and yes i include the jdev-rt.jar (included on 'JDeveloper Runtime' library)
    Any clues (changing the technology is not an option ...for now)?
    Thank´s

  • How can we stop generating spools for some batch jobs?

    HI guys,
    Is memory will be occupied in SAP  during spool generation from batch jobs ?
    If yes, to reduce occupied memory, we want to stop generating spools for few batch jobs. Please suggest me the way how we can acheive this.(Step details)
    Please help me.
    Thanks in Advance.
    Regards,
    Sahil

    Stopping the spool generation for background jobs will not help you to reduce the memory load.
    First check what is the total memory utilization and type of processes where the memory is being utilized more.
    EWA can give you better idea to get the above details.
    Spooling concept doesn't eat that much of memory what you are expecting.
    Regards,
    Nick Loy

  • Is table maintenance generator only for custom table?

    hi ,
    i have doubt is table maintenance generator only for custom table?

    hi swamya,
    Table Maintanance Generator is used to create/change/delete table entries in a particular table.
    In the production system, end-users will not be having access to transaction codes like SE11 and SE16. Developers will not be having access to many transaction codes including the above two.To view the contents of the database table, we will use SE16n in Production system. All these authorizations will be maintained by BASIS team, by creating access profiles.So in order to edit or create the contents of a database table, we should go for table maintenance generator. In real time, authorizations will be maintained in production system.
    The second reason is, we can edit or create multiple entries at a time, using tablemaintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance screen SM30.
    hope this helps in clearing ur doubt.
    Regards
    Saurabh

  • Creating Includes for Function Modules

    Hi Experts,
    Can you please let me know how to create includes for function modules.
    I came across this in a standard include program, which was generated by a function library. The includes inside this program where linked to the function modules (when I double clicked on them).
    Please let me know how to create it.
    Thanks in advance !
    Regards,
    Anand Patil.

    Hi,
    have a look at the code for better understanding
    Declaration of Workareas                                             *
      DATA: lwa_e1bp2017_gm_item_create TYPE e1bp2017_gm_item_create,
            lwa_data         TYPE edidd, " Work area for IDOC
            lwa_control      TYPE edidc. " Work Area for control rec
    Read the control data information of idoc.
      loop at idoc_contrl INTO lwa_control Where mestyp = lc_mbgmcr.
    Extract the data from the segments.
        LOOP AT idoc_data INTO lwa_data
        WHERE docnum = lwa_control-docnum and
              segnam = lc_item_create.
    *->> Set the tabix of the internal table
          lv_index = sy-tabix.
    Move the Material Document Item Segment data
          MOVE lwa_data-sdata TO lwa_e1bp2017_gm_item_create.
    Modify the material document item data  internal table
          PERFORM sub_modify_idocdata changing lwa_e1bp2017_gm_item_create.
    *->> set the changed values to the IDOC SDATA
          MOVE  lwa_e1bp2017_gm_item_create TO lwa_data-sdata.
    *->> Modify the table
          MODIFY idoc_data FROM lwa_data index lv_index.
    Clear the Work areas
          CLEAR : lwa_data,
                  lwa_e1bp2017_gm_item_create.
        ENDLOOP.                                     "LOOP AT t_idoc_data
    Call the BAPI function module to create the
    appropriate Material Document
        CALL FUNCTION 'BAPI_IDOC_INPUT1'
          EXPORTING
            input_method          = input_method
            mass_processing       = mass_processing
          IMPORTING
            workflow_result       = workflow_result
            application_variable  = application_variable
            in_update_task        = in_update_task
            call_transaction_done = call_transaction_done
          TABLES
            idoc_contrl           = idoc_contrl
            idoc_data             = idoc_data
            idoc_status           = idoc_status
            return_variables      = return_variables
            serialization_info    = serialization_info
          EXCEPTIONS
            wrong_function_called = 1
            OTHERS                = 2.
        IF sy-subrc = 1.
          RAISE wrong_function_called.
        ENDIF.
      endloop.
    ENDFUNCTION.
    here when we write the statment
    PERFORM sub_modify_idocdata changing lwa_e1bp2017_gm_item_create and double click on sub_modify_idocdata .
    it will create a include with the name "LZDTSINT052F_GPOMS_GMF01 ".
    now we can write the FORM ..END FORM In this inculde.like this.
    ***INCLUDE LZDTSINT052F_GPOMS_GMF01 .
    *&      Form  sub_modify_idocdata
    Modify the material document item data  internal table
    FORM sub_modify_idocdata
    CHANGING pwa_e1bp2017_gm_item_create TYPE e1bp2017_gm_item_create.
    contant declaration
      CONSTANTS: lc_261(3) TYPE c VALUE '261'.
      DATA : lv_aplzl LIKE resb-aplzl,
             lv_aufpl LIKE resb-aufpl,
             lv_subrc LIKE sy-subrc,
             lv_charg LIKE resb-charg,
             lv_uom LIKE pwa_e1bp2017_gm_item_create-entry_uom.
      CLEAR: pwa_e1bp2017_gm_item_create-reserv_no,
             pwa_e1bp2017_gm_item_create-res_item.
    *->> Get SAP storage bin & Storage type from the Z table
      SELECT lgtyp lgpla
        INTO (pwa_e1bp2017_gm_item_create-stge_type,
              pwa_e1bp2017_gm_item_create-stge_bin)
         UP TO 1 ROWS
        FROM zdtsint050_sttyp
         WHERE zstorage_typ = pwa_e1bp2017_gm_item_create-stge_type
          AND  zstorage_bin = pwa_e1bp2017_gm_item_create-stge_bin.
      ENDSELECT.
      IF sy-subrc NE 0.
        CLEAR: pwa_e1bp2017_gm_item_create-stge_type,
               pwa_e1bp2017_gm_item_create-stge_bin.
      ENDIF.
      PERFORM get_oper CHANGING pwa_e1bp2017_gm_item_create.
    Get the Reservation number and Reservation item number
    basing on the idoc data.
      SELECT rspos werks lgort
             INTO (pwa_e1bp2017_gm_item_create-res_item,
                  pwa_e1bp2017_gm_item_create-plant,
                     pwa_e1bp2017_gm_item_create-stge_loc)
             FROM resb
             UP TO 1 ROWS
             WHERE rsnum = pwa_e1bp2017_gm_item_create-reserv_no
             AND   matnr = pwa_e1bp2017_gm_item_create-material
             AND   charg = pwa_e1bp2017_gm_item_create-batch
             AND   aufnr = pwa_e1bp2017_gm_item_create-orderid
             AND   vornr = pwa_e1bp2017_gm_item_create-activity
             AND   bwart = lc_261.
      ENDSELECT.
      IF sy-subrc <> 0.
    Start of insertion for R31K993797
        CLEAR lv_charg.
        SELECT rspos werks lgort
             INTO (pwa_e1bp2017_gm_item_create-res_item,
                  pwa_e1bp2017_gm_item_create-plant,
                     pwa_e1bp2017_gm_item_create-stge_loc)
             FROM resb
             UP TO 1 ROWS
             WHERE rsnum = pwa_e1bp2017_gm_item_create-reserv_no
             AND   matnr = pwa_e1bp2017_gm_item_create-material
             AND   charg = lv_charg
             AND   aufnr = pwa_e1bp2017_gm_item_create-orderid
             AND   vornr = pwa_e1bp2017_gm_item_create-activity
             AND   ( splkz = 'X' or
                     splkz = space )
             AND   bwart = lc_261.
        ENDSELECT.
        IF sy-subrc <> 0.
    End of insertion for R31K993797
          SELECT SINGLE werks lgort
                INTO (pwa_e1bp2017_gm_item_create-plant,
                       pwa_e1bp2017_gm_item_create-stge_loc)
                FROM resb
                WHERE rsnum = pwa_e1bp2017_gm_item_create-reserv_no.
          CLEAR : pwa_e1bp2017_gm_item_create-reserv_no,
                  pwa_e1bp2017_gm_item_create-res_item.
        ENDIF.
      ENDIF.
    get SAP UOM
      SELECT SINGLE zsap_uom
                    INTO lv_uom
                    FROM zca_uom_conv
                    WHERE zext_uom = pwa_e1bp2017_gm_item_create-entry_uom.
      IF sy-subrc = 0.
        pwa_e1bp2017_gm_item_create-entry_uom = lv_uom.
      ENDIF.
    ENDFORM.                    " sub_modify_idocdata
    *&      Form  get_oper
         Get the operation
         <--P_PWA_E1BP2017_GM_ITEM_CREATE_RE  Segment
    FORM get_oper  CHANGING p_pwa_e1bp2017_gm_item_create TYPE
                   e1bp2017_gm_item_create.
      DATA : l_aufpl LIKE afko-aufpl,
             l_aplzl LIKE afvc-aplzl.
      REFRESH : i_op.
      UNPACK p_pwa_e1bp2017_gm_item_create-orderid TO
             p_pwa_e1bp2017_gm_item_create-orderid.
    Get the reservation and routing number for the order
      SELECT SINGLE
             rsnum
             aufpl
             FROM afko
             INTO (p_pwa_e1bp2017_gm_item_create-reserv_no,
                   l_aufpl)
             WHERE aufnr = p_pwa_e1bp2017_gm_item_create-orderid.
      IF sy-subrc = 0.
        CALL FUNCTION 'CONVERSION_EXIT_NUMCV_INPUT'
          EXPORTING
            input  = p_pwa_e1bp2017_gm_item_create-activity
          IMPORTING
            output = p_pwa_e1bp2017_gm_item_create-activity.
      ENDIF.
    ENDFORM.                    " get_oper
    Regards,
    nagaraj

  • Include for function module

    Dear Gurus,
    Could you explain me why is an include generated for a function module?
    After I write a function module, to use this function module, how should I use the generated include?
    Regards
    Suzie

    Hi,
    The FM code is stored in the INCLUDES.
    go to SE37-  give the FM
    u can c the code of the FM.
    There u will get the import and export parameters.
    if you know the import paramaters u can run the program there itself and test the ouput.
    hope u got an idea
    Rgds
    Anver

  • RFC SAPOSS for EWA  Error

    Dear Gurus,
    I'll tested the connection using SM59 and this below error occured.
    I think,the connection is Ok before ,but don't know what happen.Where i need to check and fix it.
    For OSS connection to SAP or PUBLIC its OK.No errors.Only for EWA group.
    Enclosed are the details:-
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: Group EWA not found
    Error Details     LOCATION: SAP-Server akne-sapdev_ECD_00 on host akne-sapdev (wp 1)
    Error Details     DETAIL: LgIGroupX
    Error Details     COMPONENT: LG
    Error Details     COUNTER: 29
    Error Details     MODULE: lgxx.c
    Error Details     LINE: 4299
    Error Details     RETURN CODE: -6
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Tue Sep 01 10:34:42 2009
    Error Details     VERSION: 5
    Please lemme know the solution.
    Thanks & Regards
    Shah

    Hi,
    Can you elaborate the problem/
    Are you facing the error while connecting to the RFC for SAP OSS in SM59?
    Are you facing the issue while generating the EWA report?
    Pls clarify.
    Regards,
    Raja. G

  • Report generating tool for labview v.10.0

    Hi,
    I'm using labview 10.0, I need report generating tool for the same. I downloaded RGT 2012 & 2013 but it is not working with the labview V10.0. Let me know the link to download RGT 2010.

    Hello RKN,
    If the serial number(s) currently associated with your ni.com account include licenses for the RGT 2010, then you should be able to access it via ni.com/downloads
    Only the most recent version of the software will be available for "evaluation" download, so if you're looking for an older version you'll need to get it through ni.com/downloads or off of physical media (discs).
    If you're not seeing the 2010 version, I would check that the serial number you're using for 2010 is registered to your account - this might be different from the 2012/2013 serial number. Do you see LabVIEW 2010 available as an option for download on this page?
    If the serial number is the same and you're not seeing LabVIEW 2010 or the RGT 2010 on ni.com/downloads, I'd contact your NI sales representative or [email protected] 
    Regards,
    Tom L.

  • Can I generate documentation for a JAR ?

    HI,
    I have the sources in a jar. Can I generate JavaDoc for the package without first extracting the jar ?
    If yes, could you provide the command line syntax ?
    Thank you,
    Vlad Grama.

    From the JDiff (http://www.jdiff.org) docs:
    JDiff also includes a script to use the classdoc application from
    http://classdoc.sourceforge.net or http://www.jensgulden.de, by Jens Gulden,
    [email protected], to call a doclet such as jdiff on a .jar file rather than on source.
    ~Matt

  • Elements 13 Generating Thumbnails for 3 Days?

    I have Elements 13 now installed and it has been generating thumbnails for 3 days.  I have about 12,500 photos including both RAW and JPG types.
    This is on an overclocked system running at 4.5 GHz with 16 GB of memory.  After the 3 days of run time, I just clicked on a different folder in the explorer pane of Elements and the program crashed.
    This is turning in to a problematic upgrade.
    Is this normal?

    I uninstalled and reinstalled the application and it appeared to resolve the issue.
    Thank you for checking in...
    Dale

  • How to generate XML for following?

    Hello Everyone,
    I have following snippet of PLSQL code with for loops and record type arrays. Each loop can return separate number of rows and iterate that many times. For e.g. the for loop tab_rec may fetch 50 rows where as the for loop sql_rec may return 80 rows.
    I need to acoomodate all of these record arrays into a single xml file. Each for loop will repreesent one data set. Something like this.
    <dataset>
    <set value = tab_rec(kounter).tvalue >
    <set value = ?
    </dataset>
    Questions:
    1) How can I dynamically generate just one single XML file for all for loops metnioend below in this message?
    2) How can I dynamically generate tags for e.g. <set> tag above if I put XMLELEMENT() under a for loop kounter. To explain this in a better way consider pseudo code example below.
    for i in 1..kounter loop
    <dataset>
    <set value = tab_rec(i).tvalue >
    *<set value = *?*   -- How do i generate these <set> tags when tebrec(i).value will return many rows?*_
    </dataset>
    Thanks for reading this post. Again, the exmple for loops to generate one single XML file is given below.
    For loops in the issue are mentioned below
    FOR a IN tab_recc
    LOOP
    tab_rec (tab_kounter).tsegment := a.ebs_table;
    tab_rec (tab_kounter).tbytes := a.sizemb;
    tab_kounter := tab_kounter + 1;
    END LOOP;
    FOR b IN sql_recc
    LOOP
    sql_rec (sql_kounter).thash := b.hash_value;
    sql_rec (sql_kounter).texecution_read := b.reads_per_execution;
    sql_kounter := sql_kounter + 1;
    END LOOP;
    FOR c IN sess_recc
    LOOP
    sess_rec (session_kounter).tsid := c.SID;
    sess_rec (session_kounter).tvalue := c.VALUE;
    session_kounter := session_kounter + 1;
    END LOOP;
    FOR d IN user_recc
    LOOP
    user_rec (dbuser_kounter).tphysical_reads := d.physical_reads;
    user_rec (dbuser_kounter).tuser := d.username;
    dbuser_kounter := dbuser_kounter + 1;
    END LOOP;
    FOR e IN ebs_user
    LOOP
    ebs_rec (ebs_kounter).tuser := e.user_name;
    ebs_rec (ebs_kounter).ttime := e.rtime;
    ebs_kounter := ebs_kounter + 1;
    END LOOP;

    Sorry for delay in response.
    I have pasted the complete code that will show the relation ship between data and XML. What I am trying to do here is to prepare smal packets of XML through XML element and then roll it up to a final grand CLOB variable. and pass that through XML creation. I have used DBMS_JAVA package to append clobs.
    The issue now I am running into, it generates JUNK in xml. pure junk and nothing else Thanks R,
    FOR a IN tab_recc
    LOOP
    tab_rec (tab_kounter).tsegment := a.ebs_table;
    tab_rec (tab_kounter).tbytes := a.sizemb;
    tab_kounter := tab_kounter + 1;
    END LOOP;
    FOR b IN sql_recc
    LOOP
    sql_rec (sql_kounter).thash := b.hash_value;
    sql_rec (sql_kounter).texecution_read := b.reads_per_execution;
    sql_kounter := sql_kounter + 1;
    END LOOP;
    FOR c IN sess_recc
    LOOP
    sess_rec (session_kounter).tsid := c.SID;
    sess_rec (session_kounter).tvalue := c.VALUE;
    session_kounter := session_kounter + 1;
    END LOOP;
    FOR d IN user_recc
    LOOP
    user_rec (dbuser_kounter).tphysical_reads := d.physical_reads;
    user_rec (dbuser_kounter).tuser := d.username;
    dbuser_kounter := dbuser_kounter + 1;
    END LOOP;
    FOR e IN ebs_user
    LOOP
    ebs_rec (ebs_kounter).tuser := e.user_name;
    ebs_rec (ebs_kounter).ttime := e.rtime;
    ebs_kounter := ebs_kounter + 1;
    END LOOP;
    FOR aa IN 1 .. tab_kounter
    LOOP
    if aa = 1 then
    SELECT XMLELEMENT
    ("dataset",
    xmlattributes (v_top50id1 AS "Id"),
    XMLELEMENT ("set",
    xmlattributes (aa AS "Id",
    tab_rec (aa).tsegment AS "value"
    ).getclobval ()
    INTO tablob --clob type
    FROM DUAL;
    end if;
    END LOOP;
    FOR bb IN 1 .. sql_kounter
    LOOP
    if bb = 1 then
    SELECT XMLELEMENT
    ("dataset",
    xmlattributes (v_top50id2 AS "Id"),
    XMLELEMENT ("set",
    xmlattributes (bb AS "Id",
    sql_rec (bb).thash AS "value"
    ).getclobval ()
    INTO sqlob --clob type
    FROM DUAL;
    end if;
    END LOOP;
    FOR cc IN 1 .. session_kounter
    LOOP
    if cc= 1 then
    SELECT XMLELEMENT
    ("dataset",
    xmlattributes (v_top50id3 AS "Id"),
    XMLELEMENT ("set",
    xmlattributes (cc AS "Id",
    sess_rec (cc).tsid AS "value"
    ).getclobval ()
    INTO sesslob --clob type
    FROM DUAL;
    end if;
    END LOOP;
    FOR dd IN 1 .. dbuser_kounter
    LOOP
    if dd = 1 then
    SELECT XMLELEMENT
    ("dataset",
    xmlattributes (v_top50id4 AS "Id"),
    XMLELEMENT ("set",
    xmlattributes (dd AS "Id",
    user_rec (dd).tuser AS "value"
    ).getclobval ()
    INTO dbulob --clob type
    FROM DUAL;
    end if;
    END LOOP;
    FOR ee IN 1 .. ebs_kounter
    LOOP
    if ee = 1 then
    SELECT XMLELEMENT
    ("dataset",
    xmlattributes (v_top50id5 AS "Id"),
    XMLELEMENT ("set",
    xmlattributes (ee AS "Id",
    ebs_rec (ee).tuser AS "value"
    ).getclobval ()
    INTO ebslob --clob type
    FROM DUAL;
    end if;
    END LOOP;
    SELECT XMLELEMENT
    ("Chart",
    xmlattributes (v_caption AS "caption",
    v_subcaption AS "shownames",
    v_xaxisname AS "showvalues",
    v_yaxisname AS "decimals"
    XMLELEMENT ("categories",
    XMLELEMENT ("category",
    xmlattributes (v_label1 AS "label")
    XMLELEMENT ("category",
    xmlattributes (v_label2 AS "label")
    XMLELEMENT ("category",
    xmlattributes (v_label3 AS "label")
    XMLELEMENT ("category",
    xmlattributes (v_label4 AS "label")
    XMLELEMENT ("category",
    xmlattributes (v_label5 AS "label")
    XMLELEMENT ("category",
    xmlattributes (v_label6 AS "label")
    tablob, --clob type
    sqlob, --clob type
    sesslob, --clob type
    dbulob, --clob type
    ebslob --clob type
    ).getclobval ()
    INTO v_top50 --clob type
    FROM DUAL;
    DBMS_LOB.append (v_xmlmessage, v_top50); --both are clob type
    v_filename := 'Top50.xml';
    writexml (p_dir_path => v_dir_path,
    p_filename => v_filename,
    p_xml => v_xmlmessage
    );

Maybe you are looking for

  • ITunes won't open after update, Sept. 20 ' 13 OSX 10.6.8

    After updating the computer today the iTunes will not open, it hops up and down a couple times and stops. Up

  • Crystal Reports data connection using Java beans

    Hi My name is Bach Ong, i'm currently perform re-configuring Crystal reports 2008 to connect via Java bean to Jboss server, this uses look up service on JBoss server. The connection is using Connect look up using the properties: java.naming.provider.

  • URGENT!-sound only in iDVD

    this is only the second URGENT post i have ever made, so this i REALLY urgent, How can I have sound only in iDVD? can i move it to iTunes and burn a CD? I REALLY need an answer TODAY because this is project due tommorow thanks for any help

  • Best way to organize several versions of Photoshop Elements to conserve disk space?

    I have Elements 9, 11, and now Version 12. I am wondering if I should import into Version 12's Organizer all of my previous photo files, then delete or uninstall the older versions of PhotoShop Elements? Currently running Windows 7 - 64 bit with late

  • Process / job that populates data in LBWQ

    Hi, We have 2 clients - master client and development client. I want to make some changes to 2LIS_11_VASCL. I deleted the setup tables,scheduled the job in LBWE and also ensured to delete data from RSA7. But when I go to LBWQ it has MCEX11 in the que