No title in columns in ALV when processed in background

Hi All
I researched the forum but I did not find the answer, so I am posting the question.
I created an ALV using 'REUSE_ALV_GRID_DISPLAY' .
It is working fine in foreground, but in background there is only one mistake: the title of the columns does not appear. 
Below the fm :
form z_display_alv_grid .
  call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
      i_callback_program    = v_repid
      i_grid_title                  = v_lvc_title
      is_layout                    = v_layout
      it_fieldcat                   = t_fieldcat[]
      is_print                      = la_print
      i_save                       = 'A'
    tables
      t_outtab                     = [] is a dynamic table: (it's working fine)
Create a new Table
  call method cl_alv_table_create=>create_dynamic_table
    exporting
      it_fieldcatalog = it_fieldcat
    importing
      ep_table        = new_table.
Create a new Line with the same structure of the table.
  assign new_table->* to .
Could you please help me out with this issue?
Thanks in advance.
João Gaia

Thanks for your prompt response.
I replaced the fm  "REUSE_ALV_GRID_DISPLAY"  by the fm "REUSE_ALV_LIST_DISPLAY"  and surprise! Now the columns titles don't appear
in foreground also. 
Then I took a look at table t_fieldcat[] and I noticed that I was filling up the field "SELTEXT_S"  , but I was filling up the field  "DDICTXT" with 'L'.  So I changed 'L' by 'S' ...and it is working!
After this I removed the fm  'REUSE_ALV_LIST_DISPLAY'  and I am using "REUSE_ALV_GRID_DISPLAY" in foreground and background and it is working fine!
I would like to say thank you for your help, because with your tip I  realized where the error was.
Thanks in advance.
João Gaia

Similar Messages

  • Detect selected row/column in ALV when clicking my button

    Hello,
    I use the cl_salv_table to display my ALV. I have implemented some double click events an so one. But now I like to be able detect u201Cselected  row and coll when I press a button I my Application toolbar.
    How do I get the selected row/column when pressing my button?
    Regards,
    Kenneth

    Give this a try:
    class lcl_disp_code definition.
      public section.
        methods: disp_code
                   for event double_click
                   of cl_gui_alv_grid
                   importing es_row_no
                             e_column.
    endclass.                    "lcl_disp_code DEFINITION
    *       CLASS lcl_disp_code IMPLEMENTATION
    class lcl_disp_code implementation.
      method disp_code.
        perform restrict_data
          using es_row_no-row_id.
      endmethod.                    "on_double_click
    endclass.                    "lcl_disp_code IMPLEMENTATION
    Rob

  • Reg no of columns in alv

    Hi,
         Am displaying 113 columns in alv, when i export to excelsheet only 99 columns are exported remaining are not exported. plz tell how to export all the columns.
    tanks,
    vino.

    Hi Vino,
    The process for downloading into excel with correct columns can be done in many ways
    I suggest you to read the following and then go about for a trial and error and in case you find difficulty revert back
    After generating a report, it is possible to export it into Microsoft Excel and/or Microsoft Word using three different options. Each of these options saves the file in a slightly different format. Before using any of these options, you have to set the macro security in your Office products to medium.
    Within your Office program, follow the menu path Tools > Macro > Security. Select the Medium security setting. Then click the Trusted Sources tab and ensure all the check boxes are selected. Click OK to save the changes. For the best results, ensure your Office program is closed before performing any of the following actions.
    Save to Local File
    Using this export option will retain all of the formatting that you may have done to the report in SAP, such
    as moving columns, setting filters and sorts, etc., but will not retain any of the color or font formatting in
    SAP, unless you choose the HTML option.
    1. Click (Local file). The Save list in file... box will open.
    2. Choose the desired file type in which to save the file.
    u2022 unconverted - tab-delimited file not associated with a program
    u2022 Spreadsheet - Microsoft Excel file
    u2022 Rich text format - Microsoft Word file
    u2022 HTML format - HTML file. This option adds some formatting, which will make it display
    similiar to the report in SAP.
    3. Click (Continue). The Transfer DAT to a Local File box will open.
    4. The default location in which to save the file is your "SAPWorkDir" folder. Click (Search) to
    choose another location.
    5. Enter your file name at the end of the path and use the proper extension associated with the file
    type you chose in step 2.
    u2022 unconverted - none
    u2022 Spreadsheet - .xls
    u2022 Rich text format - .rtf
    u2022 HTML format - .html
    6. Click . The message "XXX Bytes transferred" will display, indicating that your file was
    successful exported.
    Exporting to Microsoft Excel
    Using this export option will not retain any of the formatting that you applied in SAP, such as moving
    columns, setting filters and sorts, etc. However, it does add a colored background and heading and
    retains the proper column width.
    1. Click (Spreadsheet...). An Information box will open advising you that any formatting you have
    applied in SAP will not be exported with the data.
    2. Click (Continue). The Export list object to XXL box will open.
    3. Choose Table and click (Continue).
    4. Click (Continue) again.
    5. Excel will open with the report displayed. You can now format the report and save it as necessary.
    6. In SAP, an Information box opens stating that you should save the data in the spreadsheet. As
    soon as you click (Continue), the report in Excel closes, so be sure you have saved it if
    necessary before doing so.
    Opening Microsoft Excel within SAP
    This export option will actually open Microsoft Excel within SAP, allowing you to use any of the formatting
    or calculation features available in Excel along with the SAP tools. However, modifying the data in the
    Excel spreadsheet within SAP will not change the actual data in SAP itself.
    1. Click (Change layout...). The Change layout box will open.
    2. Click the View tab.
    3. Choose the Excel option.
    4. Click on sap_om.xls in the Template list that displays on the right side of the box.
    5. Click (Transfer).
    6. Microsoft Excel will open in the window where the report data was displayed. You can now use all
    of the options within Microsoft Excel and SAP to format and manipulate the data as necessary.
    7. To save the file, follow the Excel menu path File > Save Copy As.
    8. To close Excel, click (Change layout...), click the View tab, choose the Grid option, and click
    (Transfer).
    Exporting to Microsoft Word
    Using this option will not retain any of the formatting that you applied in SAP, such as moving columns,
    setting filters and sorts, etc., and it will export the data in a table within Word.
    1. Click (Word Processing...). The Word Processor Settings box will open.
    2. Choose the Create Document option and select Include Colors and/or Start MS Word if desired.
    3. Click (Continue). The Transfer RTF to a Local File box will open.
    4. The default location in which to save the file is your "SAPWorkDir" folder. Click (Search) to
    choose another location.
    5. Enter the file name at the end of the path and add the extension .rtf.
    6. Click .
    7. If you chose the option to have Word open, it will now open with the data displayed.
    Thanks in advance
    Sikanth.p

  • How can i suppress columns in ALV ?? Will reward points.

    Hello Gurus, how can i suppress column in ALV when i`m using the transparent table:
    CALL METHOD grid->set_table_for_first_display
          EXPORTING
            i_structure_name = 'ZIANEXE'
            is_layout        = wa_layout
            is_variant       = wa_variant
            i_save           = 'U'
            IT_TOOLBAR_EXCLUDING = LT_EXCLUDE
          CHANGING
            it_outtab        = itab[]
            it_fieldcatalog  = fieldcat.
    Please help.

    in the fieldcatalog you are providing there is a field NO_OUT use this.
    Loop over internal table and check fieldname. If fieldname = column you want to hide, NO_OUT = 'X'.
    Edited by: Micky Oestreich on May 8, 2008 12:06 PM

  • ALV List only 80 Columns when runinning as background job

    Hello Guys,
    I have a Problem with an ALV List.
    We use the FM REUSE_ALV_HIERSEQ_LIST_DISPLAY for a Document Journal.
    When I run it in foreground it works fine. But when I view the spool in background the list makes a break at excactly 80 signs, but the line size should be about 120.
    In the report the Line-Size is set correctly, even the print parameters seem to be ok. We are running it with X_65_255.
    I saw that there are some SAP Notes to this topic, but on our release (SAP_BASIS 700) the notes are already implemented.
    Has anyone a solution to this topic?
    Thanks and regards
    Roland

    Try this.
    [ALV List only 80 Columns when running in background job|https://forums.sdn.sap.com/click.jspa?searchID=25735042&messageID=5686003]

  • BPM11g How to customize the title column of a BPM process instance?

    Hi, everyone.
    In the process track panel of Workspace there is a table with process instances in it.
    Users shall look into this panel and find information about their processes.
    One of the columns of this table is named "title" and the content of this column is like "instance #" + process instance number + process type name.
    This title is of little use to end users while they are trying to find a certain business process.
    I want to customize this column so I can put some key business word in the content but I do not know how.
    Anyone can help? Thank you.
    Edited by: Matt Wang on Apr 19, 2011 10:32 PM

    Hi Matt
    1. For Flex Fields, please see the below link. Basically you login into bpm/workspace as Adminstrator and then you can do this.
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_worklist.htm#CHDFDHGD (Latest version 11.1.1.4)
    http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_worklist.htm#CHDFDHGD (Older version 11.1.1.1)
    2. As admin user only you can create a new custom view, by clicking + icon on left side. For this new View, you can define the name, columns you want to show in this new view, any particular sort order etc etc. Then you can set some privleges also for this new View. After this, this View should now be visible for all the normal regular uses (non admin user). I guess there may be a way to make these custom views as the default views also for a specific user or role. I have not explored this though.
    In the above links see the section: Section 30.3, "Customizing the Task List Page"
    3. In EM Console, we may not be able to do any customizations. But if your intention is to search for list of tasks with specific criteria, in EM console itself for your process, on right side, there should be a tab like Intances. There you can specify your search criteria and Search. I am not aware of how to show the data in the Name column for the instances listed.
    Thanks
    Ravi Jegga

  • To increase dynamically columns in ALV report

    hi everyone,
    Could any one give me a sample code ,to increase columns in ALV report output dynamically as record increase, i need to increase columns so that i can keep all the years data of a particular project in one row

    Please refer to the code piece
    *& Report  ZTEST_DYNAMIC_ALV
    REPORT  ztest_dynamic_alv.
    DATA: gt_fcat TYPE lvc_t_fcat,
          gw_grid TYPE REF TO cl_gui_alv_grid.
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-s01.
    PARAMETERS: p_number TYPE i.
    SELECTION-SCREEN : END OF BLOCK b1.
    ** Start of Selection
    START-OF-SELECTION.
    *1) Create Base Catalog
      PERFORM sub_create_base_catalog.
    *2) Add additional fields
      PERFORM sub_fill_addtional.
    *3) Display output data.
      PERFORM sub_display_output.
    *&      Form  SUB_CREATE_BASE_CATALOG
    *       Create Base catalog for display
    FORM sub_create_base_catalog .
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = 'ZSTRCT'
        CHANGING
          ct_fieldcat            = gt_fcat
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    ENDFORM.                    " SUB_CREATE_BASE_CATALOG
    *&      Form  SUB_FILL_ADDTIONAL
    *       text
    FORM sub_fill_addtional .
      DATA: lw_fcat  TYPE lvc_s_fcat,
            lw_from  TYPE i,
            lw_data  TYPE REF TO data,
            lw_fname TYPE stfna,
            lw_index(2) TYPE n.
      FIELD-SYMBOLS: <l_output> TYPE table.
      DESCRIBE TABLE gt_fcat LINES lw_from.
      DO p_number TIMES.
        lw_from = lw_from + 1.
        lw_index = sy-index.
        CONCATENATE 'DYNA' lw_index INTO lw_fname SEPARATED BY '-'.
        lw_fcat-col_pos = lw_from.
        lw_fcat-fieldname = lw_fname.
        lw_fcat-tabname = '1'.
       lw_fcat-scrtext_l = lw_fcat-scrtext_m = lw_fcat-scrtext_s = lw_fname.
        APPEND lw_fcat TO gt_fcat.
        CLEAR lw_fcat.
      ENDDO.
    ** Convert gt_fcat to internal table.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog           = gt_fcat
        IMPORTING
          ep_table                  = lw_data
        EXCEPTIONS
          generate_subpool_dir_full = 1
          OTHERS                    = 2.
      IF sy-subrc = 0.
    ** Create the internal table form field catalog.
        ASSIGN lw_data->* TO <l_output>.
    ** display the ALV data.
        CREATE OBJECT gw_grid
          EXPORTING
            i_parent          = cl_gui_container=>screen0
          EXCEPTIONS
            error_cntl_create = 1
            error_cntl_init   = 2
            error_cntl_link   = 3
            error_dp_create   = 4
            OTHERS            = 5.
        IF sy-subrc = 0.
          CALL METHOD gw_grid->set_table_for_first_display
            CHANGING
              it_outtab                     = <l_output>
              it_fieldcatalog               = gt_fcat
            EXCEPTIONS
              invalid_parameter_combination = 1
              program_error                 = 2
              too_many_lines                = 3
              OTHERS                        = 4.
          IF sy-subrc = 0.
            MESSAGE s000(zrak) WITH p_number 'DISPLAYED DYNAMICALLY'.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " SUB_FILL_ADDTIONAL
    *&      Form  SUB_DISPLAY_OUTPUT
    *       text
    FORM sub_display_output .
      CALL SCREEN '9001'.
    ENDFORM.                    " SUB_DISPLAY_OUTPUT
    *&      Module  STATUS_9001  OUTPUT
    *       text
    MODULE status_9001 OUTPUT.
      SET PF-STATUS ' '.
      SET TITLEBAR 'MAIN00'.
    ENDMODULE.                 " STATUS_9001  OUTPUT
    *&      Module  USER_COMMAND_9001  INPUT
    *       text
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK' OR
             'CANC' OR
             '%EX'.
          SET SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT

  • Hiding empty columns in ALV

    Hi all,
    I want to hide some columns in ALV which are empty on display when calling
    cl_gui_alv_grid->set_table_for_first_display
    That is to say the internaltable will contain empty columns.
    I know that using the "no_out" attribute of field catalog we can hide columns.
    But the question is how to find these columns which are empty - should I have to loop through the itab to find it out OR
    Can we set it in ALV LAYOUT or field catalog attributes so that it wont display empty columns.
    any help is appreciated....
    Thanks
    P
    Edited by: pazzuzu on Mar 12, 2010 5:14 PM

    Hi,
    If i understood your question correctly,
    The you can try this
    TYPE-POOLS:slis,abap.
    TYPES:BEGIN OF ty,
          f1 TYPE c,
          f2 TYPE c,
          f3 TYPE c,
          f4 TYPE c,
          END OF ty.
    DATA:it TYPE TABLE OF ty,
         wa TYPE ty,
         wa_field TYPE slis_fieldcat_alv,
         i_fieldcat TYPE TABLE OF slis_fieldcat_alv,
         i_details TYPE abap_compdescr_tab,
         wa_comp TYPE abap_compdescr,
         ref_descr TYPE REF TO cl_abap_structdescr,
         lv_field TYPE abap_compname.
    FIELD-SYMBOLS:<fs>,
                  <fs1>.
    ref_descr ?= cl_abap_typedescr=>describe_by_data( wa ).
    i_details[] = ref_descr->components[].
    wa-f1 = 'A'.
    wa-f3 = 'C'.
    APPEND wa TO it.
    wa-f1 = 'X'.
    wa-f3 = 'Y'.
    APPEND wa TO it.
    if it[] is not initial.
    LOOP AT i_details INTO wa_comp.
      ASSIGN wa_comp-name TO <fs>.
      SORT it BY (<fs>) DESCENDING.
      CONCATENATE 'WA' '-' <fs> INTO lv_field .
      ASSIGN (lv_field) TO <fs1>.
        READ TABLE it INTO wa INDEX 1 transporting (<fs>).
      IF sy-subrc = 0 AND <fs1> IS NOT INITIAL.
        wa_field-fieldname = wa_comp-name.
        wa_field-seltext_m = wa_comp-name.
        APPEND wa_field TO i_fieldcat.
      ENDIF.
    ENDLOOP.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program = sy-repid
        it_fieldcat        = i_fieldcat[]
      TABLES
        t_outtab           = it[].
    endif.

  • Error for the fact table while processing the cube - attribute key cannot be found when processing

    Please help as I am new to SSAS and this is urgent requirement. This is a MOLAP cube and below is the error that I am receiving when processing the cube. The cube is set to Prrocess Full. Several similar errors are popped up for various dimensions.
    "Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'Fact_Table', Column: 'ID', Value: '1'. The attribute is 'Id'. Errors in the OLAP storage engine: The attribute key was converted to an unknown member because
    the attribute key was not found. Attribute Id of Dimension: 17 - Ves - PoC Cont from Database: DB, Cube: IPNCube, Measure Group: iSrvy, Partition: Partition1, Record: 1."
    Thanks in advance.

    Thanks for the recommendations David.
    It will be really great if you can clear some of my doubts:
    To my information, all the dimensions need to be processed first and then the fact table will be processed.
    So if the ID's are not present in the dimension tables, then it should not be present in the Fact table either.
    Here we found null values in the dimension table and the ID's were present in the Fact table. What might be the reasons causing such situation?
    Also how frequently the cube needs to be processed? Currently the ETL which processes the cube, is scheduled in a SQL Job Agent on hourly basis everyday. 
    Is there any possibilty that the cube might be under processing state and the SQL job for the next run getting executed trying to access and process the cube while it was still processing?

  • Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: performance_fact

    Hi
    We are using SSAS 2008 r2 and have a cube on our data warehouse, this has been running fine for quite a while now.
    However it failed yesterday with the error message:
    Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 
    'Performance_Fact', Column: 'accountexternalId', Value: '9474'. The attribute is 'External Id'."
    Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation." 
    An error occurred while processing the '2011' partition of the 'Fact' measure group for the 'DB' cube from the DB database.
    Please can someone help me to resolve the error, I don't understand what it means.
    Thanks

    Hello,
    The error means that you have a key in the fact data which don't exist in the related dimension. Ensure that the dimension is also processed so that it contains all used keys.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • A duplicate attribute key has been found when processing

    Hi
    When I process one of my dimensions it fails and I get the following error:
    Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'Customers', Column: 'DisplayName', Value: 'Stephen Grant'. The attribute is 'Display Name'.
    I don't know if this is significant, but the attribute to which it is making reference was added through BIDS 2008 (the cube was originally created with BIDS 2005). 
    There are no duplicates of 'Stephen Grant' in the DisplayName column. Not that it should matter if there were as this attribute has a cardinality of Many, with an rigid attribute relationship directly to the dimension's key attribute. The Key column for the Display Name attribute simply refers back to the same (DisplayName) column in the table.
    If I delete this record, or even just update the DisplayName field from 'Stephen Grant' to something else, the dimension processes just fine. I can't work out what it is about this record that is stopping the dimension from being able to process.
    Can anyone help me figure out what's going on?
    Julia.
    P.S. I am using SSAS 2008 on Windows Server 2008

    Hello there,
    Does anybody has the complete resolution for duplicate entries data. I am showing the data below .
    RegionName
    BranchName
    LoanOfficerFullName
    PRIME - TEAM NORTHEASTERN
    CALIFORNIA
    ALONA  HAYES
    PRIME - TEAM WESTERN
    RENO-DAMONTE RANCH
    VINCENT LOTITO
    PRIME - TEAM WARTON
    NEWARK (Chicago)
    CHRISTOPHER CLIFTON
    PRIME - TEAM WARTON
    GRAND HAVEN (West Michigan)
    SEAN  FOLEY
    PRIME - TEAM SALMANS
    LAWTON (Amarillo)
    THOMAS  STEARNS
    PRIME - TEAM BARTON
    CALIFORNIA
    ALONA  HAYES
    PRIME - TEAM ROBINSON
    LAS VEGAS
    ANGELA DEATON
    PRIME - TEAM ROBINSON
    LAS VEGAS
    HERMAN  VANDER VELDT
    PRIME - TEAM ROBINSON
    LAS VEGAS
    DAWN ROBINSON
    PRIME - TEAM ROBINSON
    LAS VEGAS
    MICHAEL  BIRK
     Here i have the Hierachies in order LoanOfficerFullName-->BranchName-->RegionName. Loan Officer is the lowest level. I had created another column and make that unique entries so that I could make the unique column as the Key and the hierachies i have linked with the key column value. The issue
    is that i am getting the expected result in OLAP  from data side. But the data is not getting aggregated like Team Barton is coming twice though for the Dimension I make IsAggregatable property to True. If anybody can help me I will aprecciate. If any other clarification need I can provide.

  • Errors in the OLAP storage engine: The attribute key cannot be found when processing

    this is the absolute worst error message in all of computing.  I despise it.  Here is my situation.
    SSAS 2008 R2.
    I have one dimension.  I have not even built my cube yet.  only a dimension.  I am trying to process it.  I can process it when I only have a single attribute, they key.  it is a composite key.  When I add a new attribute (integer),
    I get the error message.  There are no null values.  There are no blanks as its an integer. 
    The attribute key cannot be found where?  I'm processing the dimension you idiot.  there is not even a cube yet in order for any key to be found or not.

    Hi Baracus,
    According to your description, you get the error "Errors in the OLAP storage engine: The attribute key cannot be found when processing" when processing your cube, right?
    Generally, the detail error message should like
    Table: 'dbo_FactSales', Column: 'ProductID', Value: '1111'. The attribute is 'Product ID'
    The above error explains that the fact table named "FactSales" contains column ProductID with value "1111" but the same  ProductID  is not present in your dimension table. There is a primary key - foreign key relationship exist
    between the ProductID column of dimension table and fact table named "FactSales" and cube is unable to find ProductID with value 1111 in the dimension table.
    At this time, what we need to do is to check either your dimension and fact table contains the value mentioned in the error message (  Value: '1111' in the above example). Here are some links about troubleshoot this issue, please see:
    http://www.businessintelligence-solutions.com/ssas-typical-error-attribute-key-processing/
    http://www.youtube.com/watch?v=5O7IAjvtAF4
    If this is not what you want, please provide us more information about you issue, so that we can make further analysis.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Errors in the OLAP storage engine: A duplicate attribute key has been found when processing

    Hi dear MSDN Community,
    I am facing a problem while processing a cube with a customer hierarchy as follows:
    Global Account --> Main Customer --> Master Customer --> Customer
    The data comes from a flatted parent child table, that is, I create an extra column for every level of the hierarchy in the customer view. If a level is empty, then the value is filled with the previous value. Then I can use the property:
    HideMemberIf = OnlyChildWithParentName for the intermediate levels (Main and Master Customer)
    HideMemberIf = ParentName For the leafs (Customer)
    HideMemberIf = never for the root (Global Account)
    Consider this example:
    Then, for the root level I am using as the key the fields in yellow in order to avoid duplicates. However, I am getting the error message "Errors in the OLAP storage engine: A duplicate attribute key has been found when processing" while processing.
    I analyzed the query that SSAS issues to the server (select distinct ....) and I think it should work but it is still failing.
    I had similar problems with the intermediate levels but I was able to solve it using a similar procedure.
    Any help will be appreciated.
    Kind Regards.

    When are you having this error? While processing the dimension or during cube processing?
    http://blog.oraylis.de/2013/08/a-duplicate-attribute-key-has-been-found-during-processing-revisited/
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Errors in OLAP storage engine when processing application

    Hi
    After changing a logic in the application, we processed the application but it did not complete successfully due to the following error:
    Error message:: CreateOLAPCubeForApplication:CreateCube:Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'dbo_tblFactQuality', Column: 'QACCOUNT', Value: '%ACCOUNTS%'. The attribute is 'QAccount_ID1'.
    When trying other applications they showed errors with reference to the measure group, e.g.:
    Error message:: Errors in the metadata manager. No dimension relationships exist within the 'Ownership' measure group.
    Thanks for your help.
    Melanie

    Hi,
    This kind of error will come when you have some invalid member defined in your fact table. you can use the following SQL query to check it.
    select * from tblfact"yourapplication" where "dimension" not in (select id from mbr"dimension" where calc = 'N')
    The same query needs to be run in wbtable and fac2 table.
    These selection should return 0 records.
    If it is returning something then you have to delete these records (replace "select * "with delete).
    You can run this for all the applications and all the dimensions. However, I believe, you can check in your Quality application and the QACCOUNT dimension.
    You can see for which dimension, there is an invalid member. This member might be getting created through one of your script logics.
    Hope this helps.

  • Want to display more than 300 charcters in a column using ALV grid display

    Hi Guru's,
    I am trying to display more than 500 charcters in a column using alv grid display but it in the output it is showing only 128 characters. Can you help me to display all the characters in particular column Or is there any limitation in maximum of no of charcters for a column?
    Thanks,
    Radha.

    Hi Paurl,
    Define a work area say
    wa_layout type slis_layout_alv.
    then fill this work area as
    wa_layout-zebra = X
    wa_layout-colwidth_optimize = X.
    wa_layout-max_linesize = 300.
    Then in FM 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    is_layout = wa_layout
    etc.
    you provided this for the field which is displayed in alv grid will have more than 128 characters.
    from this code i want,how it refers to particular field.
    when i mentioned field catalog-OUTPUTLEN = '300'.
    it is not displayed the field morethan 128 characters.
    it only displays 128 characters.
    please provide me clear and breif information with suitable code.
    i am trying what your sending but it is not displayed more than 128 characters.
    if you don't mind please spend for me some time for this and
    give me clear and breif information with suitable code.
    Thanks & Regards,
    Radhakrishna.

Maybe you are looking for

  • How do I extend a wireless network from one Airport Express to another?

    I have an Airport Express in my living room, wired into my router and it's currently outputting a wifi signal. I just got another Airport Express, and I've plugged it into my kitchen. How do I use Airport Extreme Admin Utility to see the other Airpor

  • CallableStatement fails with named parameters

    A mystery. Very confusing. I have MSSQL. I use CallableStatement. When I set SP's paramters by index, e.g. setInt(1, 1), the call succeeds. However if I use named parameter approach, the call fails with exception "Error: [SQLException] Parameter '@pM

  • How to use cl_gui_alv_grid to print an alv?

    Hi, How to use the class 'cl_gui_alv_grid' to ? thnx in advance

  • MSI 990FXA-GD80 (MS-7640) Raid issues

    I'm trying to reinstall my windows 7 64 bit on my MSI 990FXA-GD80 (MS-7640) in raid mode. When I'm in the installer and try to add the raid drivers it lists my controller but then BSODs right after loading the driver and yes I used the driver from th

  • Disabling 'Delete Prior' function

    Hi -- I'm curious if there's a way to disable the 'Delete Prior' function.  It is physically very close to the 'Mark Prior Read' 'button' which I use frequently and I am afraid of deleting all of my prior emails again.  It happened once by accident a