How to edit an XML format report in Report 10G

Hi
Please tell me how to edit an XML format report in Report 10G .
Regards
Deepak Gupta
Edited by: user12299081 on Sep 6, 2010 10:19 PM

Hi
Please tell me how to edit an XML format report in Report 10G .
Regards
Deepak Gupta
Edited by: user12299081 on Sep 6, 2010 10:19 PM

Similar Messages

  • How to edit weblogic.xml in Jdeveloper web project

    Hi, All,
    I created a web application in Jdeveloper11.1.1.1 and deployed to weblogic server 10.3, I found there is weblogic.xml under WEB-INF folder in war file.
    I try to add something in weblogic.xml, but the problem is I cannot find weblogic.xml in Jdeveloper.
    How to edit weblogic.xml in Jdeveloper? Thanks in advanced.
    Best Regards,
    Bill

    The weblogic.xml file is generated at deploy time if it doesn't exist in your application. To create it specifically in your application at design time for editing, select the appropriate project then the New option, from the New Gallery select General -> Deployment Descriptors -> Weblogic Deployment Descriptor, and in the resulting dialog select the weblogic.xml file. It will be added to the project -> Web Content -> WEB-INF directory.
    Cheers,
    CM.

  • How to Edit a XML data file from AS3 class...

      Hi...
                 I need to edit an XML data file I have at the exit of application.... I have a demo code which is not working....
    This is the code :
    public function UpdateData():void
                   trace("Closing....");
                   var FileData:XML=<Hello>Hai</Hello>
                   var urlLdr:URLLoader = new URLLoader();
                   var urlRqst:URLRequest = new URLRequest ("AppData.xml");
                   urlRqst.data=FileData;
                    urlRqst.contentType = "text/xml";
                   urlRqst.method = URLRequestMethod.POST;
                   urlLdr.load(urlRqst);
    This AppData file already exist and has some data in it.
        Plus :
       How to find the application is exiting.

    use:  fscommand('Quit');
    to exit your app.
    and this is how you would use the urlloader class to save data:
    public function UpdateData():void
             trace("Closing....");
              var FileData:XML=<Hello>Hai</Hello>
    var urlVar:URLVariables=new URLVariables();
    urlVar.fileData=FileData;
                var urlLdr:URLLoader = new URLLoader();
               var urlRqst:URLRequest = new URLRequest ("this must be an executable to parse and write data");
               urlRqst.data=urlVar;
               urlRqst.contentType = "text/xml";
                   urlRqst.method = URLRequestMethod.POST;
                  urlLdr.load(urlRqst);
    but i don't think you can use an executable on a fl4 device so you will need to use a different class.  i don' know how you're storing an xml file on a fl4 device but you should be able to use the sharedobject to read and store xml.

  • How to edit an XML file?

    Guys, I have a podcast in iTunes, I want to start to promote it. In order to do this, I think I will have to put tags in the XML file for different sites and I would like to know how to edit this. Does anyone have any good places for me to check out how to do this?
    Thanks!

    Vinnie, thanks for getting back to me on this, I am pulling my hair out!
    What FAQ are you speaking of? The one in iTunes or someplace on this board?
    By claim, what I mean is this. Lets say I try to add my podcast to Podcast Alley's directory. If I copy and paste my RSS feed in there, it says that it needs me to add their "tag" or whatever in my RSS so they know it is my podcast. They need me to add this line in the XML file I think to "claim" my podcast so it will show up in their directory. This seems to be a common thing with other sites as they give me some XML code to add to my RSS also.
    Make sense at all?

  • How to get this output format in ALV report

    Hi.
    Can any one pls let me know how to get the following output format in ALV report.Following are the outputfields
    companycode   location     position     approver
    300    800       01    watson
    null   null        03     candy
    null   null        04     smith
    null   null        05     michael
    one empty line after this again
    300     800     01     ryant
    null      null    02     gyan
    null      null    03     fermi
    null      null    04     ogata
    *Note: Null     indicates  empty space .( i.e I need to get empty space in  output where ever null is there.)
            Thanks in advance.
    Kind Regards,
    samiulla.

    hi,
    u can use 'REUSE_ALV_LIST_DISPLAY'
                           or
    'REUSE_ALV_GRID_DISPLAY'  function modules.
    SAMPLE CODE :
    *& Report  Y101982CHD
    *                         TABLES
    TABLES: vbak.    " standard table
    *                           Type Pools                                 *
    TYPE-POOLS: slis.
    *                     Global Structure Definitions                     *
    *-- Structure to hold data from table CE1MCK2
    TYPES: BEGIN OF tp_itab1,
           vbeln LIKE vbap-vbeln,
           posnr LIKE vbap-posnr,
           werks LIKE vbap-werks,
           lgort LIKE vbap-lgort,
           END OF tp_itab1.
    *-- Data Declaration
    DATA: t_itab1 TYPE TABLE OF tp_itab1.
    DATA : i_fieldcat TYPE slis_t_fieldcat_alv.
    *                    Selection  Screen                                 *
    *--Sales document-block
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.
    SELECTION-SCREEN END OF  BLOCK b1.
    *--Display option - block
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETERS: alv_list RADIOBUTTON GROUP g1,
                alv_grid RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF  BLOCK b2.
    *file download - block
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
    PARAMETERS: topc AS CHECKBOX,
                p_file TYPE rlgrap-filename.
    SELECTION-SCREEN END OF  BLOCK b3.
    *                      Initialization.                                *
    *                      At Selection Screen                            *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
        EXPORTING
          dynpfield_filename = 'P_FILE'
          dyname             = sy-cprog
          dynumb             = sy-dynnr
          filetype           = 'P'      "P-->Physical
          location           = 'P'     "P Presentation Srever
          server             = space.
    AT SELECTION-SCREEN ON s_vbeln.
      PERFORM vbeln_validate.
    *                           Start Of Selection                         *
    START-OF-SELECTION.
    *-- Fetching all the required data into the internal table
      PERFORM select_data.
    *                           End Of Selection                           *
    END-OF-SELECTION.
      IF t_itab1[] IS NOT INITIAL.
        IF topc IS NOT INITIAL.
          PERFORM download.
          MESSAGE 'Data Download Completed' TYPE 'S'.
        ENDIF.
        PERFORM display.
      ELSE.
        MESSAGE 'No Records Found' TYPE 'I'.
      ENDIF.
    *                           Top Of Page Event                          *
    TOP-OF-PAGE.
    *& Form           :      select_data
    * Description     : Fetching all the data into the internal tables
    *  parameters    :  none
    FORM select_data .
      SELECT vbeln
         posnr
         werks
         lgort
         INTO CORRESPONDING  FIELDS OF TABLE t_itab1
         FROM vbap
         WHERE  vbeln IN s_vbeln.
      IF sy-subrc <> 0.
        MESSAGE 'Enter The Valid Sales Document Number'(t04) TYPE 'I'.
        EXIT.
      ENDIF.
    ENDFORM.                    " select_data
    *& Form        : display
    *  decription  : to display data in given format
    * parameters   :  none
    FORM display .
      IF alv_list = 'X'.
        PERFORM build_fieldcat TABLES i_fieldcat[]
                               USING :
    *-Output-field Table      Len  Ref fld Ref tab Heading    Col_pos
       'VBELN'       'T_ITAB1'     10   'VBAP'  'VBELN'    ''            1,
       'POSNR'       'T_ITAB1'     6    'VBAP'  'POSNR'    ''            2,
       'WERKS'       'T_ITAB1'     4    'VBAP'  'WERKS'    ''            3,
       'LGORT'       'T_ITAB1'     4    'VBAP'  'LGORT'    ''            4.
        *CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'*
          *EXPORTING*
            *i_callback_program       = sy-repid*
    **        i_callback_pf_status_set = c_pf_status*
            *i_callback_user_command  = 'USER_COMMAND '*
    **        it_events                = t_alv_events[]*
            *it_fieldcat              = i_fieldcat[]*
          *TABLES*
            *t_outtab                 = t_itab1[]*
          *EXCEPTIONS*
            *program_error            = 1*
            *OTHERS                   = 2.*
        *IF sy-subrc <> 0.*
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
        *ENDIF.*
      ENDIF.
      IF alv_grid = 'X'.
        PERFORM build_fieldcat TABLES i_fieldcat[]
                                 USING :
    *-Output-field Table      Len  Ref fld Ref tab Heading    Col_pos
         'VBELN'       'T_ITAB1'     10   'VBAP'  'VBELN'    ''            1,
         'POSNR'       'T_ITAB1'     6    'VBAP'  'POSNR'    ''            2,
         'WERKS'       'T_ITAB1'     4    'VBAP'  'WERKS'    ''            3,
         'LGORT'       'T_ITAB1'     4    'VBAP'  'LGORT'    ''            4.
        *CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'*
          *EXPORTING*
            *i_callback_program       = sy-repid*
    **        i_callback_pf_status_set = c_pf_status*
            *i_callback_user_command  = 'USER_COMMAND '*
            *it_fieldcat              = i_fieldcat*
          *TABLES*
            *t_outtab                 = t_itab1[]*
        *EXCEPTIONS*
       *program_error                     = 1*
       *OTHERS                            = 2.*
        *IF sy-subrc <> 0.*
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
        *ENDIF.*
      *ENDIF.*
    ENDFORM.                    " display
    *& Form        : vbeln_validate
    *  description : to validate sales document number
    * parameters   :  none
    FORM vbeln_validate .
      DATA: l_vbeln TYPE vbak-vbeln.
      SELECT SINGLE vbeln
        FROM vbak
        INTO l_vbeln
        WHERE vbeln IN s_vbeln.
      IF sy-subrc NE 0.
        MESSAGE 'ENTER THE VALID SALES DOCUMENT NO:' TYPE 'I'.
        EXIT.
      ENDIF.
    ENDFORM.                    " vbeln_validate
    *& Form       :build_fieldcat
    * Description : This routine fills field-catalogue
    *  Prameters  : none
    FORM build_fieldcat TABLES  fpt_fieldcat TYPE slis_t_fieldcat_alv
                        USING   fp_field     TYPE slis_fieldname
                                fp_table     TYPE slis_tabname
                                fp_length    TYPE dd03p-outputlen
                                fp_ref_tab   TYPE dd03p-tabname
                                fp_ref_fld   TYPE dd03p-fieldname
                                fp_seltext   TYPE dd03p-scrtext_l
                                fp_col_pos   TYPE sy-cucol.
    *-- Local data declaration
      DATA:   wl_fieldcat TYPE slis_fieldcat_alv.
    *-- Clear WorkArea
      wl_fieldcat-fieldname       = fp_field.
      wl_fieldcat-tabname         = fp_table.
      wl_fieldcat-outputlen       = fp_length.
      wl_fieldcat-ref_tabname     = fp_ref_tab.
      wl_fieldcat-ref_fieldname   = fp_ref_fld.
      wl_fieldcat-seltext_l       = fp_seltext.
      wl_fieldcat-col_pos         = fp_col_pos.
    *-- Update Field Catalog Table
      APPEND wl_fieldcat  TO  fpt_fieldcat.
    ENDFORM.                    "build_fieldcat
    *& Form        : download
    *  description : To Download The Data
    *  Parameters  :  none
    FORM download .
      DATA: l_file TYPE string.
      l_file = p_file.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = l_file
          filetype                = 'ASC'
        TABLES
          data_tab                = t_itab1
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " download
    HOPE IT WILL HELP YOU
    REGARDS
    RAHUL SHARMA

  • How to edit the gps format in iphone 4s.

    How to edit gps format in iphone 4s. Instead of using ' and " (minutes and seconds)  I just want to use the decimal version of the coordinates.

    There is no current panorama feature.  When iOS 6 is released (Sept. 19) we will find out.

  • How to globally modify number formatting in Crystal Reports

    How do I globally modify the number formatting in Crystal Reports to NOT use the default which is “System Default Number Format”? The goal is to modify the number formatting to NOT contain commas. This modification should be global and should apply to any local account that will launch and use Crystal Reports on the server where it is installed. Can anyone help?

    Hi Raghavendra,
    For new reports, we have tried the setting you specified.  The question is, how can we force Crystal Reports to “keep” and “retain” the adjusted format globally every time users create a new report?
    Thank you!
    Ivy

  • How to edit an XML file in ios5.1 ?

    Hi,
    I have an large xml file . I need to split it into 3 small ones .For reading the XML i am using NSXMLParser . How to write xml file ? If there is need of edit some tag , how to do it ?Please guide me ....
    Thanks
    Amiya

    I don't know what your model is but if I assume a straighforward tree-structured model PresetInfo > Modality > Body, this code is the design pattern I usually use.  If you don't actually need to load a model, but instead just extract a specific data element, look at the XPath query in PresetInfo.parseXmlElement, and how I get attribute and element values in the other parseXmlElements.
    The model interface.  I used arrays for the lists, if you need keyed access to list elements, you could use dictionaries.  The top-level class PresetInfo contains methods to read the XML from a file.
    @interface ModelBase : NSObject
    - (id)initWithXmlElement:(GDataXMLElement *)element;
    - (void)parseXmlElement:(GDataXMLElement *)element;
    @end
    @interface PresetInfo : ModelBase
    @property NSMutableArray *modalities;
    - (id)initWithPath:(NSString *)path;
    - (id)initWithXmlString:(NSString *)xmlString;
    @end
    @interface Modality : ModelBase
    @property NSString *type;
    @property NSMutableArray *bodies;
    @end
    @interface Body : ModelBase
    @property NSString *part;
    @property NSInteger ww;
    @property NSInteger wl;
    @end
    The model implementation.
    @implementation ModelBase
    - (id)initWithXmlElement:(GDataXMLElement *)element
        if (self = [self init]) {
            [self parseXmlElement:element];
        return self;
    - (void)parseXmlElement:(GDataXMLElement *)element {
        [NSException raise:NSInternalInconsistencyException format:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)];  // Objective-C has no abstract methods
    @end
    @implementation PresetInfo
    - (id)init
        if (self = [super init]) {
            self.modalities = [[NSMutableArray alloc] init];
        return self;
    - (id)initWithPath:(NSString *)path
        NSError *error = nil;
        NSStringEncoding *usedEncoding = nil;
        NSString *xmlString = [NSString stringWithContentsOfFile:path usedEncoding:usedEncoding error:&error];
        if (!xmlString)
            NSLog(@"Error reading XML file: %@", [error localizedDescription]);
        return [self initWithXmlString:xmlString];
    - (id)initWithXmlString:(NSString *)xmlString
        NSError *error = nil;
        GDataXMLDocument *xmlDoc = [[GDataXMLDocument alloc] initWithXMLString:xmlString  options:0 error:&error];
        if (!xmlDoc)
            NSLog(@"Error creating XML document: %@", [error localizedDescription]);
        return [self initWithXmlElement:xmlDoc.rootElement];
    - (void)parseXmlElement:(GDataXMLElement *)element
        NSError *error = nil;
        NSArray *nodes = [element nodesForXPath:@"presetinfo/modality" error:&error];
        if (!nodes) {
            NSLog(@"Response not found: %@", [error localizedDescription]);
            return;
        for (GDataXMLElement *element in nodes)
            [self.modalities addObject:[[Modality alloc] initWithXmlElement:element]];
    @end
    @implementation Modality
    - (id)init
        if (self = [super init]) {
            self.bodies = [[NSMutableArray alloc] init];
        return self;
    - (void)parseXmlElement:(GDataXMLElement *)element {
        GDataXMLNode *node = [element attributeForName:@"type"];
        if (node) self.type = node.stringValue;
        NSArray *nodes = [element elementsForName:@"body"];
        for (GDataXMLElement *element in nodes)
            [self.bodies addObject:[[Body alloc] initWithXmlElement:element]];
    @end
    @implementation Body
    - (void)parseXmlElement:(GDataXMLElement *)element {
        GDataXMLNode *node = [element attributeForName:@"PART"];
        if (node) self.part = node.stringValue;
        node = [element attributeForName:@"WW"];
        if (node) self.ww = [node.stringValue integerValue];
        node = [element attributeForName:@"WL"];
        if (node) self.wl = [node.stringValue integerValue];
    @end
    Example of loading your XML into the model and showing the data.  This assumes the containing class (for example a view controller) has a property PresetInfo *presetInfo and the XML you posted is in a file presetinfo.xml.
    // load the XML into the model
    NSString *path = [[NSBundle mainBundle] pathForResource:@"presetinfo" ofType:@"xml"];
    self.presetInfo = [[PresetInfo alloc] initWithPath:path];
    // verify the model loaded correctly
    for (Modality *modality in self.presetInfo.modalities) {
        for (Body *body in modality.bodies) {
            NSLog(@"Modality Type = %@; Body Part = %@; WW = %d; WL = %d", modality.type, body.part, body.ww, body.wl);

  • How to set default export format in Crystal Reports Viewer

    When Viewing Crystal Reports, the top left button can choose export file format, how to set it default to Excel?
    If we can only go with hidden the button, and create a new button, any one can kindly provide how to?
    The BOE version is XI R2 SP2.
    Thanks in advance!
    Jennie

    hi all , i have same problem like i want only 1 report to be generated like for ex:only PDF should be generated n all others has to be disabled. my jsp is as follows:
    <%@page import="com.abc.def.crystalReports.JRCHelper,
    com.crystaldecisions.reports.reportengineinterface.*,
    com.crystaldecisions.report.web.viewer.CrystalReportPartsViewer,
    com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,
    com.crystaldecisions.report.web.viewer.*,
    com.crystaldecisions.sdk.occa.report.exportoptions.*,
    java.sql.Connection,
    java.sql.DriverManager,
    java.sql.ResultSet,
    java.sql.SQLException,
    java.sql.Statement,
    java.util.ResourceBundle"%><%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              ResourceBundle messageBundle = ResourceBundle.getBundle("resources.ApplicationResources");
              String reportName = messageBundle.getString("report.path");
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // ****** BEGIN CHANGE DATASOURCE SNIPPET **************** 
                        String connectString = "jdbc:oracle:thin:@****:db;
                        String driverName = "oracle.jdbc.driver.OracleDriver";
                        String JNDIName = "";
                        String userName = "root";               // TODO: Fill in database user
                        String password = "root";          // TODO: Fill in password
                        // Switch all tables on the main report and sub reports
                        JRCHelper.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
                   // ****** END CHANGE DATASOURCE SNIPPET ****************      
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                   // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                        // Create the CrystalReportViewer object
                        CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                        ReportExportControl exporter = new ReportExportControl();
                        //     set the reportsource property of the viewer
                        JPEReportSourceFactory rptSrcFactory = new JPEReportSourceFactory();
                        IReportSource reportSource = (IReportSource)rptSrcFactory.createReportSource(reportName,request.getLocale());
                        Boolean b1 = new Boolean(messageBundle.getString("Toggle.Group.TreeButton"));
                        Boolean b2 = new Boolean(messageBundle.getString("Has.ExportButton"));
                        Boolean b3 = new Boolean(messageBundle.getString("Has.SearchButton"));
                        Boolean b4 = new Boolean(messageBundle.getString("Display.GroupTree"));
                        Boolean b5 = new Boolean(messageBundle.getString("Has.Logo"));
                        Boolean b6 = new Boolean(messageBundle.getString("Display.Toolbar"));
                        crystalReportPageViewer.setHasToggleGroupTreeButton(true);
                        crystalReportPageViewer.setHasExportButton(true);
                        crystalReportPageViewer.setHasSearchButton(false);
                        crystalReportPageViewer.setDisplayGroupTree(false);
                        crystalReportPageViewer.setHasLogo(false);
                        crystalReportPageViewer.setOwnPage(true);
                        crystalReportPageViewer.setOwnForm(true);
                        crystalReportPageViewer.setReportSource(reportSource);
                        crystalReportPageViewer.processHttpRequest(request, response, application, null);
                        IReportSource reportSource = (IReportSource)rptSrcFactory.createReportSource(reportName,request.getLocale());
                        //CharacterSeparatedValuesExportFormatOptions csvOptions = new CharacterSeparatedValuesExportFormatOptions();
                        ExportOptions exportOptions = new ExportOptions();
                        //exportOptions.setExportFormatType(ReportExportFormat.characterSeparatedValues);
                        //exportOptions.setExportFormatType(ReportExportFormat.PDF);     
                        exportOptions.setExportFormatType(ReportExportFormat.characterSeparatedValues);
                        exporter.setReportSource(reportSource);
                        exporter.setExportOptions(exportOptions);
                   //exporter.setExportAsAttachment(true);
                        exporter.processHttpRequest(request, response, application, null);
                   // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    if i want to add custom button where to add

  • How to send the  XML  format SOAP request to retrieve the Opportunity

    Hello,
    Can any body suggest me how to send the SOAP request to CRM OnDemand in the format of XML to retrieve the Opportunity ?.
    Thanks,
    --bdr_09                                                                                                                                                                                                                                                                                                                               

    I'm afraid you can't.
    If you want to export/import, you should consider using loader, insert (no sqldev needed for import) or even csv (sqldev needed for import) . If you have a lot of data, consider external tools like Data Pump.
    Have fun,
    K.

  • How to Edit the xml node value using flex from the front end UI

    Hi All,
    I am having a use case with flex 4.6
    1> To read the external xml file
    2> Display the tree structure in the front end UI
    3> Edit the node values of the xml file from the front end UI and save it back
    How to go about the above use case, any blogs or links on the above case will be help
    Thanks,
    Alok

    Check this is example:
    http://blog.flexexamples.com/2009/07/23/deleting-nodes-from-an-xml-object-in-flex/

  • How to dpwnload one XML file for each report row

    Hi all,
    i have a report on the products table with about 1000 rows
    desc of table products
    product_id varchar (10)
    product_desc varchar2 (2000)
    I would like to download on the file system an xml file for each row of the report
    the nane of each xml file = <product_id>.xml
    thanks in advance
    km

    Hi,
    You would probably find it better to search on the PL/SQL forum as this is more their area than Apex.
    From what I can see in there (and there are a number of examples that would help you), you need to do something like:
    DECLARE
    vPATH VARCHAR2(50) := '/DEV';
    vFILENAME VARCHAR2(50);
    vFILE UTL_FILE.FILE_TYPE;
    BEGIN
    FOR C IN (SELECT PRODUCT_ID, PRODUCT_DESC FROM PRODUCTS)
    LOOP
      vFILENAME := C.PRODUCT_ID || '.xml';
      vFILE := UTL_FILE.FOPEN(vPATH, vFILENAME, 'W');
      UTL_FILE.PUT_LINE(vFILE, '<xdr>');
      UTL_FILE.PUT_LINE(vFILE, '<product_id>' || C.PRODUCT_ID || '</product_id>');
      UTL_FILE.PUT_LINE(vFILE, '<product_desc>' || C.PRODUCT_DESC || '</product_desc>');
      UTL_FILE.PUT_LINE(vFILE, '</xdr>');
      UTL_FILE.FCLOSE(vFILE);
    END LOOP;
    END;I haven't included exception handling etc and you should check on the PL/SQL forum to see if there are better examples!
    Andy

  • How to edit "Single Row View" in Interactive Reports?

    Hi,
    When using Interactive Report when one clicks on the little page icon on the left on a gievn row - one is presented with a small output from all columns for that row.
    For example login as demo/demo to:
    http://apex.oracle.com/pls/apex/f?p=12988:1
    And click on the first icon in the first row. You'll get an output like:
    Empno     7839
    Ename     KING
    Job     PRESIDENT
    Mgr     -
    Hiredate     17-NOV-81
    Sal     5000
    Comm     -
    Deptno     10
    How (and where) can I modify the output of this?
    Regards,
    Pawel.

    Thanks, for your responses.
    In fact this is what I have done. What I am looking after is simply how to modify what is already there. That way, I don't need to create different pages with Next/Previous buttons etc... for every Interactive Report I have.

  • How to edit the pdf format?

    I want to edit the template which is in a pdf format,please help!!

    Hi mkgooz,
    What are you using the create the PDF? You need to run optical character recognition (OCR) on the text to convert it from image text to editable/searchable text. If you have Acrobat, you can run OCR by choosing Optimize Scanned PDF from the Document Processing panel on the Tools pane.
    (As for applying/editing security. Did you assign security, and now can't change it? Or did you think there may be some security settings that are preventing you from selecting text?)
    Best,
    Sara

  • How to edit web.xml deployment descriptor from console in weblogic 8.1?

    In weblogic 7.0, deployment descriptor such as web.xml can be edited from the admin
    console, but on weblogic 8.1 I can't find a way to do so.
    Is this function taken out? Why is it taken out? Do I have an alternative to edit
    it without unpacking and packing the EAR or WAR?
    Thanks in advance.
    Bill

    In weblogic 7.0, deployment descriptor such as web.xml can be edited from the admin
    console, but on weblogic 8.1 I can't find a way to do so.
    Is this function taken out? Why is it taken out? Do I have an alternative to edit
    it without unpacking and packing the EAR or WAR?
    Thanks in advance.
    Bill

Maybe you are looking for

  • Creation an ADF Task Flow Based on a Human Task

    Hello! While creating ADF Task Flow Based on a Human Task, I can't bind New TaskFlow to task, which I choose in Dialog. Details: I Have: BPM Project with PackageCreation.task ADF Project in Same Application I do: 1. in Application Navigator right cli

  • SAP Plant Connectivity  2.1.0.55 on Windows 7 Enterprise 32bit problem

    I tried to install SAP PCO version .1.0.55 on Windows 7 Enterprise/32bit, whenever i try to start the agent, i get the following error in the Log: ================================================= Server stack trace:    bei System.ServiceModel.Channe

  • Save filename in application server

    i am uploading multiples files from desktop to application server and its working good. But user can upload same file name more than 4 or 5 times together.And i have to write the file on server by appending _2 _2 _2 for every new file. Right now i am

  • Multiple Details Sections in the same report

    I'm trying to take two different columns from a fact table, and display them in one column on the report. So I'll then have the charge quantities (grouped and summarized) listed above the charge amounts (grouped and summarized) across months (columns

  • Select count(*) and blank element tags

    Is there a way other than column aliases to produce and return an element tag for the following xsql query. <xsql:query connection="{@cxn}" xmlns:xsql="urn:oracle-xsql"> select count(*) from emp </xsql:query> Some databases such as SQL Server via a J