BW-BPS Excel OWC hierarchy display

I have created a layout that uses hierarchy with the excel display. in transaction BPS0, the layout displayed in excel shows the hierarchy using the outline feature of excel as expected.
However, when this layout is deployed on the web using the excel OWC, the hiererchy levels show up but the outline feature of the excel is not available - so I am unable to collapse hierarchy levels. Is this standard behavior? Is there a way to do this?
Note: It works ok with the ALV display but we want to use excel OWC.
Message was edited by:
        Alvin Joseph

hi...for hierarchies, use a web item called 'Hierarchy list' and give the respective infoobject in it.

Similar Messages

  • Microsoft Fix interferes with BPS Excel OWC

    Dear Experts,
    we had just rolled ou a MS security fix
    http://www.microsoft.com/technet/security/advisory/973472.mspx
    which deactivates some parts og ERxcel OWC.
    As a consequence, BPS Excel layouts don't work anymore.
    Has anybody already found some information on this? (a SAP note?)
    Or is there already a workaround or something like that?
    Best regards
    Gregor

    Hi Madhu,
    very interesting. Which one of the workarounds did you use?
    There are 4 described in the MS Note at http://www.microsoft.com/technet/security/advisory/973472.mspx
    1) Prevent Office Web Components Library from running in Internet Explorer
    2) Unregister the Office Web Components Library
    3) Restrict Web sites to only your trusted Web sites
    4) Set Internet and Local intranet security zone settings to "High" to prompt before running ActiveX controls in these zones
    The information I have on this meanwhile via a SAP Customer Note is, that
    - YES excel BPS layouts dont work with the MS Workaround Fix
    - SAP is waiting for MS to fix the underlying vulnerability which would make the workaround obsolete
    Best regards
    Gregor

  • Texts on bps web (excel OWC)

    Hello gurus.
    I have a bps web based (excel owc).
    SAP Gui is defined on english, but web is defined as portuguese. How can I redefine as english?
    I have the problem with texts, i define them in english but it doesn´t appear on web...
    Thks.
    Vitor
    P.S. Points will be regarded.

    Hi Vitor,
    I am not sure, I don´t know URL possibilities that much.
    If there is already any parameter in the url showing a language, then just try to change it.
    If not, you can probably just put one at the end of the URL should be something like language=EN.
    regards
    Cornelia

  • Javascripting in Excel OWC in WIB

    Hi all,
    Anyone out there know how to return a range value of an item in an embedded excel layout?
    Javascript in HTML layouts uses methods (e.g. getElementById, search etc) to find items in the HTML layouts, but how would one do the equivalent to find say an account number and return the range values of where it sits in the excel layout?
    Any wise ideas fellow earthlings...?
    Thanks,
    Rael

    Hi,
    Here's a java script in which i am populating the value of a field (row, column) and also changing the width and height of display.
    <script language="jscript">
    onload=function () {
      var layout_id = "LAYOUT_LAY001";
      var maxrow = 11
      layout_sheet = getBpsExcel( layout_id );
      if (layout_sheet && layout_sheet.ActiveSheet)
    { // Excel OWC available
        // set the properties of the component
        layout_sheet.style.height = 1000;
        layout_sheet.style.width = 1000;
        layout_sheet.Cells(1,1).value = "Anand Jain";
    //get the maximum row for which the data has been entered
    for (i=11; i<100; i++) {
    if (layout_sheet.Cells(i,1).value !=null)
    { maxrow++;}
    else {break;}
    if (layout_sheet.Cells(i,1).value !="")
    { maxrow++;}
    else {break;}
    alert (maxrow);
    alert (layout_sheet.Cells(i,1).value) }
    layout_sheet.Columns.AutoFit();
    layout_sheet.Cells(maxrow,1).value = "This is the last line";}
      function getBpsExcel( layout_id )
          var layout_sheet = document.all( layout_id );
          var classIds = ["CLSID:0002E559-0000-0000-C000-000000000046",  // 2003
                          "CLSID:0002E551-0000-0000-C000-000000000046",  // XP(2002)
                          "CLSID:0002E510-0000-0000-C000-000000000046"]; // 2000
          // if Excel OWC NOT available => try OCX from another known office version
          var defClassId = layout_sheet.classid;
          for (i = 0; !layout_sheet.ActiveSheet && i < classIds.length; i++) {
            if (classIds<i> == defClassId) continue; // skip default
            // remove the irrelevant object
            layout_sheet.removeNode();
            // create new object & set size attributes
            layout_sheet = document.createElement("OBJECT");
            layout_sheet.style.height = "0";
            layout_sheet.style.width = "0";
            // append to dom and activate OCX
            var layout_div = document.all( layout_id + "-div" );
            layout_sheet = layout_div.appendChild(layout_sheet);
            layout_sheet.classid = classIds<i>;
            layout_sheet.id = layout_id;
          } // loop over OCX classes
          if (layout_sheet.ActiveSheet) { // Excel OWC available
            // send the office version to the backend
            document.all(layout_id + "-class").value = layout_sheet.classid;
            layout_sheet.ActiveSheet.Protection.Enabled = false;
            // For input handling of excel we need to submit
            // the decimal separator from regional settings on the client
            // Take sample values from the OWC
            var cellValue;
            var cell = layout_sheet.cells(1,1);
            var oldFormat = cell.NumberFormat;
            cell.NumberFormat  = "#,##0.0";
            bpsClipboardStore();
            cell.ParseText("1.5", "t");
            cellValue = getBpsCell(cell);
            if (cellValue == "") { // clipboard failed, get system setting
              cellValue = new  Number(1.5 ).toLocaleString();
            document.all("bps-float_number").value = cellValue;
            cell.ParseText("1000", "t");
            cellValue = getBpsCell(cell);
            if (cellValue == "") { // clipboard failed, get system setting
              cellValue = new Number(1000).toLocaleString();
            document.all("bps-thousand_number").value = cellValue;
            bpsClipboardRestore();
            cell.NumberFormat = oldFormat;
            cell.clear();
          return layout_sheet;
    </script>

  • WebI issue with hierarchy display and aggregation

    Trying to wrangle what looks like a defect in WebI's handling of hierarchy display and aggregation. We just completed an update cycle and are running BOBJ 4.1 SP4.
    The hierarchy is a standard FM Commitment Item hierarchy in which both the nodes and leaves are Commitment Items (i.e. it uses InfoObject nodes, not text nodes). An example of one of these nodes looks like this in BW:
    Cmmt_Item A - Node
        Cmmt_Item B - Leaf
        Cmmt_Item C - Leaf
    Let's pretend Commitment Item A has $50 posted to it, B has $20 and C has $30. Analysis for OLAP handles this by adding a virtual leaf line to distinguish postings that are on the parent node like so:
    Cmmt_Item A - Node       $100
        Cmmt_Item A - Leaf    $50
        Cmmt_Item B - Leaf    $20
        Cmmt_Item C - Leaf    $30
    So you see both the total for the node ($100) and a line for each Commitment Items with KFs posted to them. Our users like this. They can easily see the aggregation and the breakdown.
    WebI, on the other hand, will display it like this:
    Cmmt_Item A - Node       $150
        Cmmt_Item B - Leaf    $20
        Cmmt_Item C - Leaf    $30
    It doesn't create a separate line for the value of the parent node, but it does add it's value into the aggregate. Twice. Modifying the table with the 'avoid duplicate row aggregation' checkbox yields output like this:
    Cmmt_Item A - Node       $100
    Cmmt_Item A - Node        $50
        Cmmt_Item B - Leaf    $20
        Cmmt_Item C - Leaf    $30
    We're about halfway there. While the top row now shows the correct aggregation and it creates a new line to show the distinct amount on the parent node, that new line appears on the same level as the parent. It's no longer clear that there's an aggregate and a breakdown. And attempting to expand or contract a node will now crash the report with one of those 'Error 16' messages.
    Has anyone encountered this issue with hierarchies in WebI? This report was built from scratch in 4.1, so I'm not sure if this affects older versions or not. Or if it would affect any hierarchy that uses InfoObject nodes instead of text nodes.

    Without a fix, the simplest workaround I can think of would be to restructure the hierarchy. It can't use postable nodes, so Cmmt_Item A  - Node from my example would need to be converted into a text node and the postable characteristic added as a child on the same level as the B and C leaves.
    This looks like it would affect anyone using hierarchies with postable nodes in a WebI report.
    Another oddity in WebI's behavior here - even though the postable nodes show incorrect sums the sum at the root node is correct. So extending my examples from the original post:
    Root Node                    $100
        Cmmt_Item A - Node       $150
            Cmmt_Item B - Leaf    $20
            Cmmt_Item C - Leaf    $30

  • Error in BO Webi using Authorization analysis in Bex with hierarchy display

    Hi Experts ,
    When we run the WEBI report created on bex query which has 0comp_code restricted with characteristic variable  of processing type Authorization and Not ready for input.
    The hierarchy display is active in Bex (as we want to see L01, L02.... in webi)
    The authorization analysis is working perfectly when I test in Bex analyser (at any drill down level).
    But in BO webi, I get below error
    The database error text is: The supplied XML is not valid. [char name & Level].
    I dont get this error when I deactivate hierarchy display in Bex.
    Also I dont get this error for user ids having 0BI_ALL
    Please help me to resolve this.
    Thanks
    Savio

    Hi Atul,
    You can achieve this by dragging these two fields in the filter bar section of the webi. then apply variables on these fields.
    hope it helps
    Regards,
    Rathy

  • Download to excel from alv display

    Hi,
    How to download to excel from alv display.I am using object oriented abap for using alv.If i click export->spreadsheet i am getting fatal error and if i export->local file->spreadsheet i am getting only the column names and heading but no contents.Can anyone tell me how to overcome this problem.
    Regards,
    Sowmya.

    Hi Sowmya,
    Just put break point near FM reuse_alv_grid_display and check if internal table which is used to display output is popullated or not.
    Regards Sachin.

  • BEx Hierarchy Display

    In a report we are using orgunit hierarchy and we have another field in the report Manager name (manager of the orgunit).  Currently at the top level of the hierarchy all managers are displayed for every node under it. Example
    Level 1
    Org 1----Manager 3
    Manager 2
    Manager 1
    Level 2
    Org 2-----Manager 2
    Manager 1
    Level 3
    Org 3----Manager 1
    Is there a way to only display Manager 3 for Org 1 and Manager 2 for Org 2? We thought about compounding orgunit with manager but we could run into an issue with time dependency.  Any other suggestions without removing the hierarchy display?

    Not sure if this fits your situation or not, but look in orgunit and see if there is a manager in there already (if not you can customize it and add it in).  Then you can display the orgunit on your report and then also display the orgunit's manager attribute.
    You are displaying the manager and orgunit from transaction data.  This manager could be the employee's manager, cost center manager, orgunit manager, etc... 
    Brian

  • Hierarchial display alv

    hi friendz
    i am new to abap.i tried executing the hierarchial display alv, but i did not get the output.though i got the field names in the output but there are no contents displayed.i am including the code here.please help me out.
    rg
    sandeep
    REPORT  ZVV_ALV_HIERARCHIAL .
    *--type pools
    TYPE-POOLS: slis.
    *--tables declaration
    TABLES: SFLIGHT,SPFLI.
    *--types declaration
    DATA: BEGIN OF i_SFLIGHT OCCURS 0,
          CARRID LIKE SFLIGHT-CARRID,
          CONNID LIKE SFLIGHT-CONNID,
          FLDATE LIKE SFLIGHT-FLDATE,
           END OF i_SFLIGHT.
    DATA: BEGIN OF i_SPFLI OCCURS 0,
          CARRID LIKE SPFLI-CARRID,
          CONNID LIKE SPFLI-CONNID,
         AIRPFROM LIKE SPFLI-AIRPFROM,
         AIRPTO LIKE SPFLI-AIRPTO,
           DISTANCE LIKE SPFLI-DISTANCE,
          END OF i_SPFLI.
    *--variables
    DATA: i_repid LIKE sy-repid.
    i_repid = sy-repid.
    DATA: i_field TYPE  slis_t_fieldcat_alv.
    DATA: G_TABNAME_HEADER TYPE SLIS_TABNAME.
    DATA: G_TABNAME_ITEM TYPE SLIS_TABNAME.
    DATA: G_KEYINFO TYPE SLIS_KEYINFO_ALV.
    *--select options
    SELECT-OPTIONS :  S_CARRID FOR SFLIGHT-CARRID .
    *--initialosation
    INITIALIZATION.
    *--selection screen on
    AT SELECTION-SCREEN .
    *--start of selection
    START-OF-SELECTION.
      SELECT CARRID
             CONNID
             FLDATE
             FROM SFLIGHT INTO TABLE i_SFLIGHT
             WHERE CARRID IN S_CARRID.
    IF NOT i_SFLIGHT IS INITIAL.
        SELECT CARRID
               CONNID
               DISTANCE
               INTO TABLE i_SPFLI FROM SPFLI
               FOR ALL ENTRIES IN I_SFLIGHT
               WHERE CARRID = i_SFLIGHT-CARRID.
      ENDIF.
      PERFORM fill_fieldcatalog1.
      PERFORM fill_fieldcatalog2.
      PERFORM HIERARCHY_ALV.
    PERFORM alv_events.
    G_KEYINFO-header01 = 'CARRID'.
    G_KEYINFO-item01   = 'CONNID'.
    G_TABNAME_HEADER = 'I_SFLIGHT'.
    G_TABNAME_ITEM  = 'I_SPFLI'.
    *&      Form  fill_fieldcatalog
    FORM fill_fieldcatalog1 .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
                       i_program_name               = i_repid
                       i_internal_tabname           = 'I_SFLIGHT'
                      i_structure_name             = EKPO
                     I_CLIENT_NEVER_DISPLAY       = 'X'
                       i_inclname                   = i_repid
                     I_BYPASSING_BUFFER           = 'X'
                     I_BUFFER_ACTIVE              = ''
        CHANGING
                       ct_fieldcat                  = i_field
                   EXCEPTIONS
                     INCONSISTENT_INTERFACE       = 1
                     PROGRAM_ERROR                = 2
                     OTHERS                       = 3
      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.                    " fill_fieldcatalog
    *&      Form  fill_fieldcatalog2
    form fill_fieldcatalog2 .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
                       i_program_name               = i_repid
                       i_internal_tabname           = 'I_SPFLI'
                      i_structure_name             = EKPO
                     I_CLIENT_NEVER_DISPLAY       = 'X'
                      i_inclname                   = i_repid
                     I_BYPASSING_BUFFER           = 'X'
                     I_BUFFER_ACTIVE              = ''
        CHANGING
                       ct_fieldcat                  = i_field
                   EXCEPTIONS
                     INCONSISTENT_INTERFACE       = 1
                     PROGRAM_ERROR                = 2
                     OTHERS                       = 3
      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.                    " fill_fieldcatalog2
    *&      Form  HIERARCHY_ALV
    form HIERARCHY_ALV .
                   CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
                     EXPORTING
                     I_INTERFACE_CHECK              = ' '
                      I_CALLBACK_PROGRAM             = I_REPID
                     I_CALLBACK_PF_STATUS_SET       = ' '
                     I_CALLBACK_USER_COMMAND        = ' '
                     IS_LAYOUT                      =
                      IT_FIELDCAT                    = I_FIELD
                     IT_EXCLUDING                   =
                     IT_SPECIAL_GROUPS              =
                     IT_SORT                        =
                     IT_FILTER                      =
                     IS_SEL_HIDE                    =
                     I_SCREEN_START_COLUMN          = 0
                     I_SCREEN_START_LINE            = 0
                     I_SCREEN_END_COLUMN            = 0
                     I_SCREEN_END_LINE              = 0
                     I_DEFAULT                      = 'X'
                      I_SAVE                         = 'A '
                     IS_VARIANT                     =
                     IT_EVENTS                      = I_EVENTS
                     IT_EVENT_EXIT                  =
                       i_tabname_header               = G_TABNAME_HEADER
                       i_tabname_item                 = G_TABNAME_ITEM
                     I_STRUCTURE_NAME_HEADER        =
                     I_STRUCTURE_NAME_ITEM          =
                       is_keyinfo                     = G_KEYINFO
                     IS_PRINT                       =
                     IS_REPREP_ID                   =
                     I_BYPASSING_BUFFER             =
                     I_BUFFER_ACTIVE                =
                   IMPORTING
                     E_EXIT_CAUSED_BY_CALLER        =
                     ES_EXIT_CAUSED_BY_USER         =
                     tables
                       t_outtab_header                = I_SFLIGHT
                       t_outtab_item                  = I_SPFLI
                   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.
    endform.                    " HIERARCHY_ALV

    The program works fine if there is no data in the I_SPFLI. But if the table I_SPFLI is populated it shows an error like 'Unable to interpret "AA " as a number' where AA is the CARRID.
    If the header01 is changed to CONNID the program works well. Here is the program.
    TYPE-POOLS: slis.
    *--tables declaration
    TABLES: SFLIGHT,SPFLI.
    *--types declaration
    DATA: BEGIN OF i_SFLIGHT OCCURS 0,
    CARRID LIKE SFLIGHT-CARRID,
    CONNID LIKE SFLIGHT-CONNID,
    FLDATE LIKE SFLIGHT-FLDATE,
    END OF i_SFLIGHT.
    DATA: BEGIN OF i_SPFLI OCCURS 0,
    CARRID LIKE SPFLI-CARRID,
    CONNID LIKE SPFLI-CONNID,
    * AIRPFROM LIKE SPFLI-AIRPFROM,
    * AIRPTO LIKE SPFLI-AIRPTO,
    DISTANCE LIKE SPFLI-DISTANCE,
    END OF i_SPFLI.
    *--variables
    DATA: i_repid LIKE sy-repid.
    i_repid = sy-repid.
    DATA: i_field TYPE slis_t_fieldcat_alv.
    DATA: i_field2 TYPE slis_t_fieldcat_alv.
    DATA: G_TABNAME_HEADER TYPE SLIS_TABNAME.
    DATA: G_TABNAME_ITEM TYPE SLIS_TABNAME.
    DATA: G_KEYINFO TYPE SLIS_KEYINFO_ALV.
    *--select options
    SELECT-OPTIONS : S_CARRID FOR SFLIGHT-CARRID .
    *--initialosation
    INITIALIZATION.
    *--selection screen on
    AT SELECTION-SCREEN .
    *--start of selection
    START-OF-SELECTION.
    SELECT CARRID
    CONNID
    FLDATE
    FROM SFLIGHT INTO TABLE i_SFLIGHT
    WHERE CARRID IN S_CARRID.
    IF i_SFLIGHT[] IS NOT INITIAL.
    SELECT CARRID
    CONNID
    DISTANCE
    INTO TABLE i_SPFLI FROM SPFLI
    FOR ALL ENTRIES IN I_SFLIGHT
    WHERE CARRID = i_SFLIGHT-CARRID.
    IF sy-subrc NE 0.
      MESSAGE e001(z538msg).
    ENDIF.
    ENDIF.
    PERFORM fill_fieldcatalog1.
    PERFORM fill_fieldcatalog2.
    PERFORM HIERARCHY_ALV.
    * PERFORM alv_events.
    G_KEYINFO-header01 = 'CARRID'.
    G_KEYINFO-item01 = 'CONNID'.
    G_TABNAME_HEADER = 'I_SFLIGHT'.
    G_TABNAME_ITEM = 'I_SPFLI'.
    *& Form fill_fieldcatalog
    FORM fill_fieldcatalog1 .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = i_repid
    i_internal_tabname = 'I_SFLIGHT'
    * i_structure_name = EKPO
    * I_CLIENT_NEVER_DISPLAY = 'X'
    i_inclname = i_repid
    * I_BYPASSING_BUFFER = 'X'
    * I_BUFFER_ACTIVE = ''
    CHANGING
    ct_fieldcat = i_field
    * EXCEPTIONS
    * INCONSISTENT_INTERFACE = 1
    * PROGRAM_ERROR = 2
    * OTHERS = 3
    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. " fill_fieldcatalog
    *& Form fill_fieldcatalog2
    form fill_fieldcatalog2 .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = i_repid
    i_internal_tabname = 'I_SPFLI'
    * i_structure_name = EKPO
    * I_CLIENT_NEVER_DISPLAY = 'X'
    i_inclname = i_repid
    * I_BYPASSING_BUFFER = 'X'
    * I_BUFFER_ACTIVE = ''
    CHANGING
    ct_fieldcat = i_field
    * EXCEPTIONS
    * INCONSISTENT_INTERFACE = 1
    * PROGRAM_ERROR = 2
    * OTHERS = 3
    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. " fill_fieldcatalog2
    *& Form HIERARCHY_ALV
    form HIERARCHY_ALV .
    <b>*G_KEYINFO-header01 = 'CARRID'.</b>
    <b>G_KEYINFO-header01 = 'CONNID'.</b>
    G_KEYINFO-item01 = 'CONNID'.
    G_TABNAME_HEADER = 'I_SFLIGHT'.
    G_TABNAME_ITEM = 'I_SPFLI'.
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
    * I_INTERFACE_CHECK = ' '
    I_CALLBACK_PROGRAM = I_REPID
    * I_CALLBACK_PF_STATUS_SET = ' '
    * I_CALLBACK_USER_COMMAND = ' '
    * IS_LAYOUT =
    IT_FIELDCAT = I_FIELD
    * IT_EXCLUDING =
    * IT_SPECIAL_GROUPS =
    * IT_SORT =
    * IT_FILTER =
    * IS_SEL_HIDE =
    * I_SCREEN_START_COLUMN = 0
    * I_SCREEN_START_LINE = 0
    * I_SCREEN_END_COLUMN = 0
    * I_SCREEN_END_LINE = 0
    * I_DEFAULT = 'X'
    I_SAVE = 'A'
    * IS_VARIANT =
    * IT_EVENTS = I_EVENTS
    * IT_EVENT_EXIT =
    i_tabname_header = G_TABNAME_HEADER
    i_tabname_item = G_TABNAME_ITEM
    * I_STRUCTURE_NAME_HEADER =
    * I_STRUCTURE_NAME_ITEM =
    is_keyinfo = G_KEYINFO
    * IS_PRINT =
    * IS_REPREP_ID =
    * I_BYPASSING_BUFFER =
    * I_BUFFER_ACTIVE =
    * IMPORTING
    * E_EXIT_CAUSED_BY_CALLER =
    * ES_EXIT_CAUSED_BY_USER =
    tables
    t_outtab_header = I_SFLIGHT
    t_outtab_item = I_SPFLI
    * 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.
    endform. " HIERARCHY_ALV

  • Erro in Hierarchy Display in Crystal Report 2008

    HI Experts,
    I have connected MDX Query with Crystal Reports 2008. In my MDX Query, I took G/L Account as an Info-object Hierarchy in which there are more than 10 nodes and each nodes having G/L accounts range. When i tried to create  a crystal report from MDX query, in G/L account field i am not getting hierarchy but all G/L accounts comes together.
    How to get hierarchy of an infoobject in crystal report ?
    Regards,
    Rishit Kamdar

    HI,
    to get or find an answer/solution about your question/problem?
    I planning also to use Hierarchy Display in CR. And it is very interessting for me to know if that is working.
    Thanks
    Andreas

  • Validate mandatory field in BPS Excel layout

    Hi Sdner
    In my BPS Excel layout i want to have some characteristic as mandatory.If i don't put any value for them system will put a # by default which i don't want. system should prompt a error message that particular field is mandatory and enter some value. I can check this thru planning function(FOX) but the problem is all characteristics in that row will greyed out after function execution and hence can't be changed by user.
    Does somebdy know if there is any workaround to solve this ?
    Thanks
    Tripple k

    Hi Tarun
    Use XL macros to validate data in a column.
    When macro executes it first unprotect the worksheet,then we have our custom code for validation and error message, after that it is followed by a  protect sheet command.
    My Prob is that if error is there in any field raised by macro, user should be able to edit those fields but as we are protecting our worksheet in macro, editing is not possible.
    I can't unprotect the worksheet because then user can change anything.
    +Use a read function module on planning layout. While you are in layout change mode use lbexit_fm as a transaction code. You can read data from planning layout and write validation code and error message in ABAP function module.+_
    I  used this Tcode and FM, but they are ment to read Non SAP area of Excel sheet. The actual layout(Data Record)(SAP Area) which we want to read is not coming in internal table while executing FM.
    On Execution it is saying that reading and writing on SAP protected data is not allowed.
    If you have done any of these workaround then can you please put some more lights on this ?
    Thanks
    Tripple k

  • Upload excel file and display content in sapui5 table

    hi:all
       how to upload  excel files and display its contents in the view of sapui5  table ,then  'create ' these data into the abap database using odataservice.
         Do you have any solutions ? I appreciate for your help.

    Two possible way come to mind.
    1. ADF DI (desktop integration): sorry, don't know enough about it to give a how to :-(
    2. POI (http://poi.apache.org/) : open source project to read and write excel file with java. Using POI you can open the .xsl file, read it's contents and display it as af:table. For this you need to read the xsl into a data structure (this can be a temporary db table or a list of POJOs) and build a data control out of it. This you can drop on a page as table.
    Timo
    Edited by: Timo Hahn on 15.02.2010 13:59

  • Using mime objects in bps excel layouts

    Does anyone know how to user mime objects in bps excel based layouts?  I know you can insert 'pictures' but I don't see a link to the mime repository like you have in the web interface builder.
    Thanks
    Tim

    Hi Charles,
    There are two How to documents available on SDN, to work on the MIME objects and the procedure for the same.
    How to Add a Logo into the MIME Repository
    How to Add a Cascading Style Sheet into the MIME Repository
    Refer to the below links to access the same.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to add a logo into the mime repository.doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how to add a cascading style sheet into the mime repository.doc
    Hope it helps

  • Modeling BPS excel layout

    Hello,
    Could anybody explain me, how can i insert into BPS excel layout excel and Visual Basic functionality (buttons, graphics, formulas)?
    All my worksheet's rows are locked.
    Could you send me docs about SEM BPS modeling?
    Thanks in advance.
    Best Regards,
    Arunas Stonys

    Hello Arunas,
    you can make your changes on the third screen of the layout builder; if you save the planning layout these changes will be saved in the Excel template of the planning layout.
    Usually (dependind on the changes) it may be more convenient to download a copy of the master template and implement your changes there. Then you can checking the Excel file as an Excel template for the planning layout, e.g. with report UPP_LAYOUT_CHECKIN, cf. note 428092.
    Be careful with data in the Excel template: In the 'SAP area' the Excel templates contains no data (the dummy data
    you see in the third screen of the layout builder will be cleared when you save the layout). Data in the SAP area will be overwritten at run time with transaction data, but the size of the SAP area (e.g. the number of used rows) of course depends on the transaction data.
    Regards,
    Gregor

  • Deleting lines in SEM-BPS Excel Layout

    Within our BPS excel layout, if a user selects a line and deletes it, it only deletes the planned values in the key figures.  It doesn't completely remove the line from the layout unless the user restarts the layout.  We've tried checking and resumming, but these do not remove the line.  Is there a way to delete a line and have it completely disappear without having to restart the layout?

    Hi Lee,
    you wrote:
    If you select and delete, that line will disappear.
    Does this happens even after characteristic values are protected?
    Afte a line has been entered in BPS layout,
    I can delete the entire line provided I've not executed any planning funciton / saved into cube. (at this point, characteristics are not protected)
    If I do execute any planning funciton / saved into planning cube, at this point I doubt if one should be able to delete the entire line (both characteristics & key figures) (at this point, characteristics are protected & doesn't allow to delete the same manually)
    at this point, to delete the line including protected characteristics, we will have to use delete funciton.
    if am wrong, I'm also interested to know your solution.

Maybe you are looking for