Using the column selector in Union Based Report

Hi All,
I have created a report using the Union (Combine with Similar Request Option). Now I want to introduce a column selector which need to be changed combinedly for both the union portion (considering them as one request).
Is it not possible? I am getting the following error message, when I use the column selector:
Assertion failure: !sCurFormula.empty() at line 566 of ./project/webviews/columnselectorview.cpp
Error Details
Error Codes: OQ78YWIW
If it is not possible directly, is there any workaround that I can use.
Awaiting your reply.
Thanks in advance.

hi,
Just tried out something which might be useful.
In one of the union request add one more column and in fx Case when 1=1 then 'Table.Column1' end and similar in second request write same formula Case when 1=1 then 'Table.Column2' end and run the report in pivot table. Place the added coulmn which has case statement in Pages but here the problem is in drop list u will see as "Table.Column";.
hope this might help out to some extent.

Similar Messages

  • How to use the Columns Hidden | space in the bottom of af:panelCollection?

    Hi,experts,
    In jdev 11.1.2.3,
    I can see a row of Columns Hidden | Columns Frozen in the bottom of component af:panelCollection - pc1 which have an af:table - t1 component inside in designer view,
    and can see there is a blank row space only with "|" inside when the page is running.
    Now I want to use this blank row space such as to display row numbers for the table, so I set the property for the panelColletion as following source code:
    ==========================
    <af:panelCollection id="pc1" inlineStyle="width:1250px; height:500px;">
    <f:facet name="menus"/>
    <f:facet name="toolbar"/>
    <f:facet name="statusbar">
    <af:group id="g4"/>
    </f:facet>
    <af:table value="#{bindings.TView1.collectionModel}" var="row"
    rows="#{bindings.TView1.rangeSize}"
    emptyText="#{bindings.TView1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.TView1.rangeSize}" rowBandingInterval="1"
    filterModel="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
    queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}" filterVisible="false"
    varStatus="vs"
    selectedRowKeys="#{bindings.TView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.TView1.collectionModel.makeCurrent}"
    rowSelection="single" id="t1" inlineStyle="font-size:xx-large; font-weight:bolder;">
    <af:column sortProperty="#{bindings.TView1.hints.GoodsStatus3.name}" filterable="true"
    sortable="true"
    headerText="#{bindings.TView1.hints.GoodsStatus3.label}"
    id="c42">
    <af:outputText value="#{row.GoodsStatus3}" id="ot33"/>
    </af:column>
    <f:facet name="footer">
    <af:group id="g3">
    *<af:outputText value="RowsNumber:" id="ot44"/>*
    *<af:outputText value="#{bindings.TView1Iterator.estimatedRowCount}"*
    id="ot43" partialTriggers="::pc1:t1"/>
    </af:group>
    </f:facet><f:facet name="detailStamp"/>
    </af:table>
    </af:panelCollection>
    =====================
    but when run the page there is no display for the row number, instead on the bottom of the table, there is only a blank row with "|" inside.
    How to use the Columns Hidden | Columns Frozen space in the bottom of component af:panelCollection ?
    Thanks!

    Hi, Arun
    It works.
    As in my use case, can draw an af:toolbar component into statusbar of Panel Collection facets in Structure view.
    There is still a small issue:
    cannot see the Columns Hidden|Columns Frozen component in the Structure view,
    and if drop more than one af:toolbar into statusbar, the sencond one will fall/wrap into second row, even though there is enough space on the first row (to occupy a second row in statusbar will be a waste of space), and cannot see how to adjust.
    Thank you very much!
    bao

  • Why can't I use the Column Browser for my iPod when connected to the computer?

    In iTunes 11, I can use the Column Browser while viewing my music library on the computer.  But it's inexplicably not available for viewing the music on my iPod when it's connected to the computer to sync.
    The Column Browser is the simplest, easiest, most elegant way for me to review what's on my iPod, and create Playlists from my music and CD books.  It was available in 10.7 and is available on the computer, why not the iPod????!!!???
    Why mess around changing something that isn't broken - after all these years why can't that option still be available?  It doesn't have to be the default, just be available. Will I have to downgrade to 10.7 yet again????
    And you don't even have a relevant category for me to choose from below!!  It makes sense to me that you provide a general "Using iTunes" category.

    Thanks for your reply, but I've already done that and the Column Browser options are completely grayed out.  I've taken a screen shot and hope I can paste it in here.  You'll see I have the sidebar open.  That's the way I prefer to deal with iTunes.
    This happened after I updated to iTunes 11.0.4.  Perhaps that changed the setting options. I think I had the Column Browser option prior to that, but I just got a new iPod and I was busy loading stuff, so not completely sure if it worked before the update.  But I think I would have noticed, because it bugs me so much not to have the option.

  • How to decrease the column size in a tabular report

    Hi ,
    How can i reduce the column size in a tabular report in oracle apex.
    my report is having 90 coulmns and i want that should come in once sceen so i want to decrease the size of columns as well as the font size of values + column_name..
    any suggestion ?
    Thanks
    Nitin

    Hello,
    Oracle APEX OTN Forum is here : Oracle Application Express (APEX)
    Regards

  • The column browser is no longer available when trying to view music in iTunes. I'm only able to use the column browser only when viewing playlists. Why?

    I noticed that after one of the recent updates to iTunes, I am unable to view my music using the column browser type view. Only when I select one of my playlists is the music displayed with the column browser. When I select Music to view the contents of my library, only the album covers are displayed on the right side. The old column browser type display is not available any more - it is grayed out. I do have "show list views for all media" checked in my Preferences / General tab.
    Did Apple screw up or is it me?

    You're welcome.
    tt2

  • Is it possible to use the microphone dictation in windows based program?

    Is it possible to use the microphone dictation in windows based program? I have tried dictating into Pages and copying and pasting, but the Windows based (Allscripts EHR) recognizes only the first attempt to copy and paste. Any future copying results on the first pasted dictation to show up in the Allscripts EHR.

    Hi,
    >>>configuration instead of coding etc
    currenly it is not possible to achive it without any coding
    >>>repeat messages with RSNAST00
    RSNAST00 is not used to repeat messages (idocs) but to send them
    try using standard IDOC in your sd invoice scenario
    if you don't want to do any coding
    Regards,
    michal

  • Can the iPhone have settings profiles?  I want the settings of what apps are using the "call home" automatically set based on my location or the time of day.  Is this possible?

    Can the iPhone have settings profiles?  I want the settings of what apps are using the "call home" automatically set based on my location or the time of day.  Is this possible?  Of course the GPS location feature will need to be on in order for this to work.  But the idea here would be to optimize battery life by disabling the 'call home' requests of apps.  The settings profile should also support downloads as I would like to download and allow it when I am on WiFi but not so much when I am using my cellular data.

    No, this is not possible as the sandboxed nature of iOS would not allow any app to modify another app like that. Such a feature would have to be enabled by Apple as a part of iOS itself. You can submit feedback to Apple about the idea if you wish to.
    https://www.apple.com/feedback/

  • How to change the column header name dynamically based on sysdate

    Post Author: senthi_gokul
    CA Forum: WebIntelligence Reporting
    Dear All,
            i have designed some reports. i would like to change the column header dynamically based on sysdate. up to 24 months. can u help me, which add month function using the universe. i dont know if-then-else function is having the universe tool or not?

    Post Author: prasingh
    CA Forum: WebIntelligence Reporting
    Are you saying you are not able to create an object by value (select: statement) as sysdate and put it onto the headers of your report? You can use the add_months() function on the object to add the numbers of months you wish.
    Please let me knnow for more.. You can get in touch with me on [email protected] for quick reply. 

  • Is possible to save the user that uses the download action in an interactive report.

    Hi,
    In my application I want to save who is downloading the interactive reports information in any format, is it possible?
    Regards

    Hi Eva,
    As far as I know there is not an out of the box option that shows you the user that is downloading the interactive report. I guess you would have to write your own logic for that.
    You can create your own logging table and a dynamic action with
    1) a pl/sql procedure to insert the logging into the table, and
    2) submits the page with the appropriate download format, eg. f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION_ID.:CSV::::
    As trigger of the dynamic action you need to use either of the download buttons, so I'd suggest the jQuery selector "#apexir_dl*"
    Kind regards,
    Vincent

  • Choosing the columns for a Bi Publisher report in APEX

    A user wants to select each column in a pdf report printed in APEX, it is easy to make a report with bi bublisher but how can i change the columns at run time.

    Thanks for the link. I am reading it for better understanding.
    I just came to know from SR that, In order to see the BI Publisher in the Presentation Server list of values, we have to embed the BI Publihser report inside an OTBI Dashboard.
    So we need to create a 'Dashboards' folder (It is must only then we are able to see it via fusion apps. to select and embed), then Dashboard and add the desired report to this dashboard. Now we can navigate to this dashboard, open it and select the page to embed it.
    Might be useful for the ppl who faces similar issue. Thanks.
    Raghu

  • Error while using the XMLP API to generate a report

    Hi all,
    I am trying to generate a report using stand-alone application by the JAVA API (User doc Ch 11). I am using RFT template for this.
    Step1: Create XSL from RTF file. I could do this. Example is given in page 262 of the guide. Here is the code snippet (all import, try/catch removed):
    RTFProcessor rtfProcessor = new RTFProcessor(args[0]);
    rtfProcessor.setOutput(args[1]); // output file
    rtfProcessor.process();
    This generated a XSL file correctly.
    Step 2: Using the XSL and XML file, it could generate a output. This is failing for me. (Page 265). Code snippet below:
    <snippet>
    FOProcessor processor = new FOProcessor();
    processor.setData(args[0]); // set XML input file
    processor.setTemplate(args[1]); // set XSL input file
    processor.setOutput(args[2]); //set output file
    processor.setOutputFormat(FOProcessor.FORMAT_PDF);
    // Start processing
    try
    processor.generate();
    catch (XDOException e)
    e.printStackTrace();
    System.exit(1);
    System.exit(0);
    </snippet>
    It compiles. When I run this program (class), I get the following errors and I do not know where to look for help/resolution:
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 2
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 3
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 4
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 5
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 6
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: label missing for column index 7
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 1 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 2 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 3 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 4 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 5 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 6 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 7 at row index 0
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 1 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 2 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 3 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 4 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 5 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 6 at row index 1
    PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: missing data for column index 7 at row index 1
    PROBLEM: In oracle.dss.graph.GraphControllerAdapter::public void perspectiveEvent( TDGEvent event ): inappropriate data: partial data is null

    Hi Tim,
    My present requirement is :
    In OAF page, When i click "generate" button, it should generate pdf which is XML publisher output.
    My code is able to generate pdf/excel file with zero bytes and also i'm unable to open this pdf file. Following code i have written in processFormRequest:
    I debugged this code . it's working fine till processor.setOutputFormat(FOProcessor.FORMAT_EXCEL); It's unable to execute the FO processor Engine.
    Kindly please help me to rectify this error.
    if (pageContext.getParameter ("GeneratePDF")!= null)
    try{  
    RTFProcessor rtf = new RTFProcessor("C:\\cash_receipt\\CASH_RECEIPT_XML5.rtf");
    System.out.println(" step -2");
    rtf.setOutput("C:\\cash_receipt\\CASH_RECEIPT_XML7.xsl"); // set output AS XSL FILE
    System.out.println(" step -1");
    Document dc = rtf.process();
    System.out.println(" rtf.process()" + dc.toString());
    FOProcessor processor = new FOProcessor();
    // set the data definition
    processor.setData("C:\\cash_receipt\\cash_receipt_xml5.xml");
    System.out.println(" step 1");
    //("C:\\cash_receipt\\cash_receipt_xml5.xml");
    // set the template
    processor.setTemplate("C:\\cash_receipt\\CASH_RECEIPT_XML7.xsl");
    System.out.println(" step 2");
    //("C:\\cash_receipt\\CASH_RECEIPT_XML5.xsl");
    //Set the output file and the output format for a PDF document:
    processor.setOutput("C:\\TestXML.Excel");
    System.out.println(" step 3");
    processor.setOutputFormat(FOProcessor.FORMAT_EXCEL);
    // run the FO processor Engine
    System.out.println(" step 4");
    processor.generate();
    System.out.println(" step 5");
    catch (Exception e) {
    e.printStackTrace();
    System.out.println("XDOException " + e.getMessage());
    thanks,
    Keshav

  • How to use the caseccading parameter in my ssrs report? with some scenioro?

    Hi i have a complex report for that i am using the 3/4 parameters name list.
    parm1:ProductId
    parme2:manafacturer
    pram3:productname
    so here i will use these 3 paramters in my ssrs report .
    so here i will create a casecading parameters using the above 3 parameters.
    But here my requirement is..
    1)for my user selcction select the paramater1  as ProductId based on the productID parameter the 2 nd 3 paramters
    i want to display automatically without user selection
    2),Here every productid have a single productName and single manfacturer
     and here i dnt need the drop down list of 2 nd 3rd parameter for user selection. i need only the text boxes
    4)am alredy tried for this but i will able to see only one value in the user selection of param1.but it would not change for the second selection
    5)can you give me some idea hw would i show u 2nd and 3rd parameteer based on 1st paramter value without drop down list for my user seletion of my first parametr1
    I guess u understand my requirement.
    can you suggest me any help .....for the above requirement.
    ThanX!

    In your case you need to setup parameters like this
    1. ProductId
    Have a dataset which gives you list of productids. It should return atleast one field which would be the distinct productids from your table. 
    ie like
    SELECT ProductID
    FROM ProductTable
    assuming ProductID is it Primary key
    In report go to parameter properties for ProductId parameter
    In Available Values tab choose the option Get values from query
    Map the above dataset and choose value field name as ProductId and label also as the same
    This will populate param 1 with values
    2. Manufacturer
    Have a dataset which gives you list of manufacturers. It should return atleast one field which would be the distinct manufacturer from your table. 
    ie like
    SELECT Manufacturer
    FROM ManufacturerTable m
    WHERE EXISTS (SELECT 1
    FROM ProductTable
    WHERE ProductId = @ProductId
    AND Manufacturer = m.Manufacturer
    assuming Manufacturer field has unique values. map @ProductId query parameter to SSRS parameter ProductId you created above
    In report go to parameter properties for Manufacturer parameter and map the parameter to dataset as per same sequence of steps before
    3. Product
    Have a dataset which gives you list of manufacturers. It should return atleast one field which would be the distinct manufacturer from your table. 
    ie like
    SELECT ProductName
    FROM ProductTable m
    WHERE ProductId = @ProductId
    assuming Manufacturer field has unique values. map @ProductId query parameter to SSRS parameter ProductId you created above
    In report go to parameter properties for ProductName parameter and map the parameter to dataset as per same sequence of steps before
    Now if you run the report the values for Manufacturer and ProductName keeps on changing based on value you chose for productid parameter
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • All the columns of an alv grid report are not downloading in excel in 1 lin

    Hi All,
    I have some 60 columns in my alv grid report and user can download the report using list->export->localfile->spreadsheet.
    What the issue is that all the columns are not downloading in one line, instead they split in two rows.
    Please help.
    Regards,
    Neha Patel

    hi,
    just use this procedure it will solve your problem:
    Firstly export  the data to memory using the FM LIST_FROM_MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = t_listobject
    EXCEPTIONS
    not_found = 1
    OTHERS = 2.
    IF sy-subrc 0.
    MESSAGE e000(su) WITH text-001.
    ENDIF.
    then i converted it into ASCII using LIST_TO_ASCI,
    CALL FUNCTION 'LIST_TO_ASCI'
    TABLES
    listasci = t_xlstab
    listobject = t_listobject
    EXCEPTIONS
    empty_list = 1
    list_index_invalid = 2
    OTHERS = 3.
    IF sy-subrc NE 0.
    MESSAGE e003(yuksdbfzs).
    ENDIF.
    This gives the data in ASCII format separated by '|' and the header has '-', dashes. If you use this internal table directly without any proccesing in SO_NEW_DOCUMENT_ATT_SEND_API1, then you will not get a good excel sheet attachment. To overcome this limitation, i used cl_abap_char_utilities=>newline and cl_abap_char_utilities=>horizontal_tab to add horizontal and vertical tabs to the internal table, replacing all occurences of '|' with
    cl_abap_char_utilities=>horizontal_tab.
    Set the doc_type as 'XLS', create the body and header using the packing_list and pass the data to be downloaded to SO_NEW_DOCUMENT_ATT_SEND_API1 as contents_bin.
    This will create an excel attachment.
    Sample code for formatting the data for the attachment in excel format.
    u2022     Format the data for excel file download
    LOOP AT t_xlstab INTO wa_xlstab .
    DESCRIBE TABLE t_xlstab LINES lw_cnt.
    CLEAR lw_sytabix.
    lw_sytabix = sy-tabix.
    u2022     If not new line then replace '|' by tabs
    IF NOT wa_xlstab EQ cl_abap_char_utilities=>newline.
    REPLACE ALL OCCURRENCES OF '|' IN wa_xlstab
    WITH cl_abap_char_utilities=>horizontal_tab.
    MODIFY t_xlstab FROM wa_xlstab .
    CLEAR wa_xlstab.
    wa_xlstab = cl_abap_char_utilities=>newline.
    IF lw_cnt NE 0 .
    lw_sytabix = lw_sytabix + 1.
    u2022     Insert new line for the excel data
    INSERT wa_xlstab INTO t_xlstab INDEX lw_sytabix.
    lw_cnt = lw_cnt - 1.
    ENDIF.
    CLEAR wa_xlstab.
    ENDIF.
    ENDLOOP.
    Sample code for creating attachment and sending mail:
    FORM send_mail .
    u2022     Define the attachment format
    lw_doc_type = 'XLS'.
    u2022     Create the document which is to be sent
    lwa_doc_chng-obj_name = 'List'.
    lwa_doc_chng-obj_descr = w_subject. "Subject
    lwa_doc_chng-obj_langu = sy-langu.
    u2022     Fill the document data and get size of message
    LOOP AT t_message.
    lt_objtxt = t_message-line.
    APPEND lt_objtxt.
    ENDLOOP.
    DESCRIBE TABLE lt_objtxt LINES lw_tab_lines.
    IF lw_tab_lines GT 0.
    READ TABLE lt_objtxt INDEX lw_tab_lines.
    lwa_doc_chng-doc_size = ( lw_tab_lines - 1 ) * 255 + STRLEN( lt_objtxt ).
    lwa_doc_chng-obj_langu = sy-langu.
    lwa_doc_chng-sensitivty = 'F'.
    ELSE.
    lwa_doc_chng-doc_size = 0.
    ENDIF.
    u2022     Fill Packing List For the body of e-mail
    lt_packing_list-head_start = 1.
    lt_packing_list-head_num = 0.
    lt_packing_list-body_start = 1.
    lt_packing_list-body_num = lw_tab_lines.
    lt_packing_list-doc_type = 'RAW'.
    APPEND lt_packing_list.
    u2022     Create the attachment (the list itself)
    DESCRIBE TABLE t_xlstab LINES lw_tab_lines.
    u2022     Fill the fields of the packing_list for creating the attachment:
    lt_packing_list-transf_bin = 'X'.
    lt_packing_list-head_start = 1.
    lt_packing_list-head_num = 0.
    lt_packing_list-body_start = 1.
    lt_packing_list-body_num = lw_tab_lines.
    lt_packing_list-doc_type = lw_doc_type.
    lt_packing_list-obj_name = 'Attach'.
    lt_packing_list-obj_descr = w_docdesc.
    lt_packing_list-doc_size = lw_tab_lines * 255.
    APPEND lt_packing_list.
    u2022     Fill the mail recipient list
    lt_reclist-rec_type = 'U'.
    LOOP AT t_recipient_list.
    lt_reclist-receiver = t_recipient_list-address.
    APPEND lt_reclist.
    ENDLOOP.
    u2022     Finally send E-Mail
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = lwa_doc_chng
    put_in_outbox = 'X'
    commit_work = 'X'
    IMPORTING
    sent_to_all = lw_sent_to_all
    TABLES
    packing_list = lt_packing_list
    object_header = lt_objhead
    contents_bin = t_xlstab
    contents_txt = lt_objtxt
    receivers = lt_reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8.
    Hope it will help you
    Regards
    Rahul sharma

  • Using the same data field on a report

    Post Author: Lukey1972
    CA Forum: General
    Hi can anyone help me please? New to crystal reports and I have added the same Data field on a report being and I need to filter these one for Credits and the other for Debits. When I use Select Expert it effects both columns. I know that there is a logical way of doing this but being new have yet to be able to find it. Please help.

    Post Author: DHBelgium
    CA Forum: General
    Hi there,
    you can put a block filter on the data saying ex facturation is equal to c or to d leaving you only with credit or debit amounts.
    Are you using webi?
    Greetz,
    David

  • How to use the column names generated from Dynamic SQL

    Hi,
    I have a problem with Dynamic SQL.
    I have written an SQL which will dynamically generate the Select statement with from and where clause in it.
    But that select statement when executed will get me hundreds of rows and i want to insert each row separately into one more table.
    For that i have used a ref cursor to open and insert the table.
    In the select list the column names will also be as follows: COLUMN1, COLUMN2, COLUMN3,....COLUMNn
    Please find below the sample code:
    TYPE ref_csr IS REF CURSOR;
    insert_csr ref_csr;
    v_select VARCHAR2 (4000) := NULL;
    v_table VARCHAR2 (4000) := NULL;
    v_where VARCHAR2 (4000) := NULL;
    v_ins_tab VARCHAR2 (4000) := NULL;
    v_insert VARCHAR2 (4000) := NULL;
    v_ins_query VARCHAR2 (4000) := NULL;
    OPEN insert_csr FOR CASE
    WHEN v_where IS NOT NULL
    THEN 'SELECT '
    || v_select
    || ' FROM '
    || v_table
    || v_where
    || ';'
    ELSE 'SELECT ' || v_select || ' FROM ' || v_table || ';'
    END;
    LOOP
    v_ins_query :=
    'INSERT INTO '
    || v_ins_tab
    || '('
    || v_insert
    || ') VALUES ('
    || How to fetch the column names here
    || ');';
    EXECUTE IMMEDIATE v_ins_query;
    END LOOP;
    Please help me out with the above problem.
    Edited by: kumar0828 on Feb 7, 2013 10:40 PM
    Edited by: kumar0828 on Feb 7, 2013 10:42 PM

    >
    I Built the statement as required but i need the column list because the first column value of each row should be inserted into one more table.
    So i was asking how to fetch the column list in a ref cursor so that value can be inserted in one more table.
    >
    Then add a RETURNING INTO clause to the query to have Oracle return the first column values into a collection.
    See the PL/SQL Language doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/returninginto_clause.htm#sthref2307

Maybe you are looking for

  • How do I stop syncing voice memos to iTunes on Windows?

    I want to delete my voice memos on my Windows computer (to free up disk space), but leave the voice memos intact on my iPod. How can I accomplish this? (iTunes says that when I delete from my computer, the memos will also be deleted from my iPod, whi

  • Getting field  and table

    hai all Is there any easy method to find the table name and field name from short description for a particular field? (i had only short description of a particular field..i need field name and table name ) kindly help rewards will be given for useful

  • Have I had a hard drive failure on a new Powerbook G4?

    Help!!!!!!!!!!!!!!! I bought my laptop for Christmas and came home today to a blue screen. I tried to restart and get a white screen with an apple and a beeping noise. Then it goes to just a blue screen and that's it??????? What do I do? Please help.

  • Why are my bookmarks blocked

    For several days, "my bookmarks" are not being displayed in my Firefox home page. There is a message displayed in a small window indicating possible causes, however: I do not use Norton Firewall or any other Norton product Javascript is enabled I use

  • BO webservices client to generate & fax a report

    Hi,    I am very much new to SAP world. In our current project there is a need to kick off a report generation by passing a report Name / ID, and some input parameters to pull the data to report.   This report has to be eventually emailed  / faxed. I