OAF Export button fetching data in one column - view object using union all

Dear All,
Export button showing data in one column from  view object,
View object is based on mulitple queries with union all ,
Please let me know the solution for this issue.
Thanks
Maheswara Raju

Maheswara Raju,
As per my understanding you are not able to export all the View Attribute using export Button. Only the attribute which is used with the item/region will get exported.
There are few work around in case if you want to export the column without showing on OAF Page. Let me know.
Cheers
Gyan

Similar Messages

  • How can I Move data from one column to another in my access table?

    I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
    I understand how to drop a column or add a column, how do I transfer data from one column to another.
    Here is my trial code:
    <cfquery name="qQueryChangeColumnName" datasource="#dsn#">
      ALTER TABLE leaderboard
      UPDATE leaderboard SET  points2 = points3
    </cfquery>
    Unfortunately, I get the following error:
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
    How can I transfer my data with the alter table method?

    I looked up the Access SQL reference (which is probably a
    good place to start when having issues with Access SQL), and
    it suggests you probably need a WHERE clause in there.
    I agree the documentation is a good place to start. But you should not need a WHERE clause here.
    Too few parameters. Expected 1.
    If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message..

  • Conversion puts all data in one column

    conversion puts all data in one column on excel

    ok i created my own function
    CREATE OR REPLACE TYPE t_varchar2_tab AS TABLE OF VARCHAR2(4000);
    CREATE OR REPLACE FUNCTION tab_to_string (p_varchar2_tab IN t_varchar2_tab,
    p_delimiter IN VARCHAR2 DEFAULT ',') RETURN VARCHAR2 IS
    l_string VARCHAR2(32767);
    BEGIN
    FOR i IN p_varchar2_tab.FIRST .. p_varchar2_tab.LAST LOOP
    IF i != p_varchar2_tab.FIRST THEN
    l_string := l_string || p_delimiter;
    END IF;
    l_string := l_string || p_varchar2_tab(i);
    END LOOP;
    RETURN l_string;
    END tab_to_string;

  • How to copy data from one column to other column

    hi,
    can any one tell me how to copy data of  one column to other column for some specific data
    example
    productno  ocalyear        actualsales  prevplansales   currentplansales
    p001       2007                  100              120                   
    p002       2007                   90               100
    p003       2007                  120              130
    p004       2007                  140              120
    p005       2007                  150              150
    i want to copy data of p001 and p002 from prevplansales to current plansales
    productno  ocalyear        actualsales  prevplansales   currentplansales
    p001       2007                  100              120              120     
    p002       2007                   90               100              100
    p003       2007                  120              130
    p004       2007                  140              120
    p005       2007                  150              150
    is it possible to do?
    please suggest me.
    i will assign points

    Hi,
    I think the needed techniques are already described in the documentation, e.g. in
    http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
    or
    http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
    The main techiques used in the above example to bind the filter of the planning function to selected (marked) objects in the analysis item or to drop down boxes (or both). These techniques are used in the above examples.
    Regards,
    Gregor

  • Hi experts, how to use open sql to read data from one " maintenance view"?

    i want to use this part of data within report ,so how to use open sql statement to read data from one " maintenance view"?

    Hi
    You can't use OPEN SQl statements to fetch data from maintenance view
    You have to use only Database views
    see the different types of views and the difference
    The followings are different types of views:
    - Database View (SE11)
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - Help View ( SE54)
    Help views are used to output additional information when the online help system is called.
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
    - Projection View
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    - Maintenance View ( SE54 )
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Please have a look at below link. It will help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
    for more detailed info look on:
    http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
    Reward points for useful Answers
    Regards
    Anji

  • When I sort by date added in Column View in Finder, how can I make the most recent files appear at the top of the list?(Mavericks)

    In 10.8, when I sorted Finder by date added or date created in column view, the most recent files would appear at the top of the list. Currently, this happens as it should in every single view mode EXCEPT column view (which is pretty much the only view I ever use). Currently, I have a folder with over 2000 files in it that date back to 2011, so now I have to scroll for like ten minutes just te get to files that were most recently added. Who in their right mind would want to sort by last modified with the oldest result listed FIRST? Ridiculous. I can't figure this out. Any help?

    Thanks for the reply leroydouglas! Unfurtunately this doesn't cause the column to be ordered correctly either. After selecting this option, the files seem to be ordered by label, and the most recently added file is somewhere in the middle of the list. I'd like it to be at the top, and have other files/folders descend in retrochronological order by their add date.
    Any other input from the community would be greatly appreciated, even if it's just confirming that this is/is not expected behavior. I'd be super bummed to find out that this IS expected behavior, as it's really counterintuitive and extremely inconvenient.
    Thanks again!

  • Problems with data import to Static view object... Need help...

    Hi! I have problem when I import data to my Static View object from *.csv.
    I followed tutorial - http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcquerying.htm#CEGCGFCA
    Lets take a look to Figure 5-14 Sample Data Ready to Import from CSV Flat File. There are 3 columns. For Example in column C I have only lines. Bun in A and B column I have all 5 lines. I want to import data from one CSV file. So when I imported data and have some empty fields in column C. When I create SelectOneChoice object in my form, and run it, then it takes also empty fields as choices in my SelectOneChoice object. It is when I create Select one choice from column C Why it is so? And what to do?
    Waiting for response from anyone...
    Best regards!

    HI! Can someone give me opinion on my problem?
    Best regards

  • How to upload data into SAP BW Info Objects using SAP XI

    Hi,
    I need to upload master and hierarchy data into SAP BW Info Objects using SAP XI as EAI.
    Can anyone suggest me the best solution to do it.
    Thanks in Advance,
    Volker.

    Hi! Have you not checked the BW-XI Integration document? It is available on the main page of the SDN section for XI. Almost all the steps for the integration are there...

  • Help with lists and Numbers - how can I separate data from one column?

    I have a series of data entries that have two or three pieces of information listed in one column (it was a list copied from the Internet). My data is in this form all in one column (ie Column A):
    XXXX -- YYYY, ZZZZ
    I want to be able to easily split that data into three columns (A, B, and C) without having to go through and manually separate all of the entries? I'd ideally like to have XXXX in one column, the '--' removed, YYYY in another column, and ZZZZ in a third column, like this:
    Column A Column B Column C
    ====== ====== ======
    XXXX YYYY ZZZZ
    Is this possible? Any help is appreciated.

    BlooGoo
    Open or paste your material in your favorite texteditor. TextEdit will suffice but there are better applications. Make sure your material is consistent, especially that there are no stray characters or extra spaces studded in the text. You can do this by using the clean up routine as described below.
    1. Copy the set of characters you want to replace. In this case " -- " Note that there are spaces on each side of the dashes and you want to get rid of those.
    2. Open the *Find and Replace* dialogue:
    +Menu > Edit > Find > Find…+ (or command f)
    Paste the " -- " into the Find: field, then type a comma in the Replace: field or
    Copy and paste a tab from the document or
    Click on the Advanced button and enter a tab using the Insert… button that appears.
    3. Click *Replace All.*
    Repeat as necessary. If it doesn't seem to work, copy and paste the bits that stick, usually there is something not visibly different but different as far as the computer iust concerned.
    When you are finished save the results as a comma or tab delimited delimited .txt file and reopen it in Numbers.
    Peter

  • Fetching data from one internal table and populating into other table

    hi
    i am working on a report program.
    here,i have my data in a internal table(having only one field) i.e. only one column in the table.
    now i want to populate this data into other internal internal table that has 13fields i.e. 13 columns.
    so could anyone let me know how can i work on this.
    i am looping the internal table with one field into a work area from there i am not able to proceed ahead.
    thanks in advance

    hi
    i would like to clear one point here i.e. my internal table into which i want to populate data is a dynamic internal table....so i cant give the fieldnames here..
    here i am pasting the code..so that u may get some idea...
    "generating dynamic internal table :
    ref_descr ?= cl_abap_typedescr=>describe_by_data( it_itab ).
    it_details[] = ref_descr->components[].
    loop at it_details into wa_comp.
    cnt = cnt + 1.
    wa_fcat-col_pos = cnt.
    wa_fcat-fieldname = wa_comp-name.
    append wa_fcat to t_fcat.
    endloop.
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
      EXPORTING
        I_STYLE_TABLE             =
        IT_FIELDCATALOG           = t_fcat
        I_LENGTH_IN_BYTE          =
      IMPORTING
       EP_TABLE                  = lo_table
        E_STYLE_FNAME             =
      EXCEPTIONS
        GENERATE_SUBPOOL_DIR_FULL = 1
        others                    = 2
    so lo_table is my dynamic internal table.
    ASSIGN lo_table->* TO <f_tab>.
    using the GUI_UPLOAD i have uploaded the data file(separated by semicolon)  from presentation server and its in the table itab.
    with the following logic i am capturing the data in between the semicolon's.
    LOOP AT itab INTO wa_itab.
    find all occurrences of c_semicolon in wsg_string results result_tab.
    loop at result_tab into wa_reslt.
    if sy-tabix = 1.
    str1 = wsg_string+0(wa_reslt-offset).
    wa_prev_offset  = wa_reslt-offset.
    wa_prev_offset = wa_prev_offset + 1.
    clear str1.
      else.
       count = wa_reslt-offset - wa_prev_offset.
       count = count.
    str2 = wsg_string+wa_prev_offset(count).
    clear str2.
    wa_prev_offset  = wa_reslt-offset.
    wa_prev_offset = wa_prev_offset + 1.
    enddo.
    endif.
    endloop.
    data is there in the fields str1 and str2.now i want to populate this data into dynamic internal table row-wise.
    could anyone suggest me how can i do this

  • Download file format(different length data on one column)

    Hi all,
    i am just writing a report to download the delivery data to a file.the file have 3 columns.the length of the column data in every row varies.
    let my file structure is like
    first line of my file contains,
    delivery no(22),delivery date(8),delivery type(5)
    2nd line of the file contains,
    shipper num(48),customer PO num(20),material num(15)
    In the first column of this file contains delivery number(length-22)& shipper number(length-48).but the length of both the data will be different i.e i have to assign the length of delivery num as 22 & length of shipper num as 48.but they will appear in one column. how it will be possible.
    is there any command to make the file format like this?
    ur help is highly appreaciated.it's urgent.
    Regards
    pabitra

    whatever record you will populate(i mean it may be either delivery no or shipment no etc..)define your internal table with the highest length(in this case 48).
    as both values are CHARacters, there is no problem even if you populate Delivery no(of 10 chars) to 48 char field.
    spaces will be truncated.
    data:begin of itab,
    col1<b>(48) type c</b>,
    col2,
    col3,
    end of itab.
    *--when you are populating Delivery no:
    ITAB-COL1+0(10) = V_DELIVERYNO.
    CONDENSE ITAB-COL1+0(10) NO-GAPS.
    *--when you are populating SHIPMENT no:
    ITAB-COL1+0(48) = V_shipment.
    CONDENSE ITAB-COL1+0(48) NO-GAPS.
    i guess,there wont be any problems,if you use this logic.
    Regards
    srikanth

  • Export button rendering properly in one instance but not in the other

    Hi
    I have added a back button and an Export button in my custom OAF Report page's PageButton Bar region. The buttons are rendering properly in my DEV instance. When i deployed my code to TEST instance i found that the Export button is not rendering properly instead it is displaying like a button in a Visual Basic Application.
    Can anyone point this out like Why this is happening ? Is it an instance issue ? If it is the case what am i supposed to do ?
    Thanks,
    Praveen

    Hi,
    without knowing anything about the implementation, just judging by the description you give, its hard to tell what's wrong. I suggest to compare the two instance in which it works and in which it doesn't work to tell the difference.
    Frank

  • Need to display 2 dates in one column in Report

    Hi All,
            I have two date chars, 'Begin date'  (4/1/2007 ) & 'End date' (10/1/2011 ) in two different coulums & I need to display them in one column like 4/1/2007 - 10/1/2011, which would specify period i.e 'Begin date' to 'End date'. Can anyone please let me know how I could do this in Query designer?
    Thanks!!

    as per ur issue it seems u want tod isplay the date start and end in the header area
    this can be acheived using Text variables.
    u can create 2 text variables whose value is either user entry and whose reference char is Calday
    lets say ur user enters 2 date ,one as start date and another as end date.
    so u can create a variable A & B whose reference characteristics is 0calday
    now in query designer u select in column description where u wish to display date.
    then in description side u will see a icon
    if u click it u will be able to include text variabel in description
    now here create 2 variables x & y
    variable x
    replacement path variable
    reference char---0calday
    replacement path tab....
    variable is replaced by variable
    now select ur variable A.
    similarly create variable y
    theni n description u can include variable and put like this...
    variablex----variable y
    this should solve ur issue

  • Taking data from one column and spread it out into multiple columns

    I have a table that I wish to take the multiple values out of one column and stick each into its own column..
    The data looks like this:
    subscriber id benefit plan
    12345 Med
    12345 Drg
    98765 Med
    98765 Drg
    I want it to look like:
    subscriber_id pc_med
    12345
    select distinct subscriber_id,
    (select grp07_benefit_plan from martin_7265_anoc
    where grp07_benefit_plan_type = 'MEDICAL ') pc_med,
    (select grp07_benefit_plan from martin_7265_anoc
    where grp07_benefit_plan_type = 'DRUG ') pc_drg
    from martin_7265_anoc

    user12296489 wrote:
    I have a table that I wish to take the multiple values out of one column and stick each into its own column..Multiple values in a single column is a violation of relational design. Makes it very difficult to implement data integrity. And there is the inevitable complexity and performance knock when trying to extract distinct values from the single column.
    Thus your attempt at fixing it is hopefully a permanent solution and not a a hack trying to make a broken db design to work?
    As Daniel said, it is very hard to make any sense of the example you have posted. But this is not the first time here that a poster wants to extract multiple values from a string column - so the basic principles of how to do it, remains the same.
    You need to have a means to identify each distinct value. This is usually done by identifying the separator character used between values. Such as a space or a comma.
    If the values are fixed length, then you can use sub-strings with explicit positions and lengths to extract the values from the string.
    The typical case is the former, which means you need to tokenise (split) the string. There are a number of ways to do this. I posted an example in {message:id=1807978} that shows how to do it via a PL/SQL function. There are numerous other ways, such as using SQL only. If you search for a keywords like "+splitting string+", it should turn up these examples.

  • Fetching data from one BI server to another

    Hi All,
    We have BCS environment on top of BI. We have a request from Client to refresh the BCS data in our quality box (copy of BCS production data). Data wasn't refreshed to our Quality system regularly from SAP Quality and hence we thought of complete BI Production copy to our Quality box.
    Since the above strategy is time consuming,we have been contemplating on other options and have stumbled upon SAP blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/21489. [original link is broken] [original link is broken] [original link is broken]
    The blog talks about pulling data from one BI server to another. As BCS is such a fragile environment, wanted to take an opinion on whether you all see any concerns with the approach.
    Regards,
    Vivek Das Gupta

    Hi,
    W have done the system copy from production to QA system and only faced authorization issues  and also we follwed the same blog and as mentioned in the blog dont forget below points before going ahead for the system copy.
    switch the source Real Time Infocube (in MBP) if you want to copy all latest productive data, that is to say including those which were contained in the open request.
    For data consistency reasons and to avoid any risk of error, the loading process is executed in Full.
    If you planning to copy only a part of the source data records,  set filters in the infopackages.
    Hope it going help you
    Thanks

Maybe you are looking for