HANA SQL for BPC cubes

I have been looking for getting start help/ideas on how to push BPC BADI logic down to HANA SQL. Not really sure where is the right place my question. Which forum should I focus on?  Not much help in BPC forum on this subject.
~Dilkins

Hi Dilkins,
Any responses?
thanks

Similar Messages

  • Open Hub For BPC Cubes

    Hi Gurus,
    I have an issue about the open hubs for BPC cubes. I have a need to take my transactional data from my BPC cube to a table.So  I want to create an open hub on my BPC planning cube.
    But when i create the open hub on BPC cube, it doesn't read the package. So, data cannot be read. But the open hubs work on my BW cubes.
    Is there anything i should do different for BPC cubes ? How can i make the open hub work?
    Thanks in advance..
    Fatih

    Hi Fatih,
    Glad you got this working, but a word of warning: As far as I am aware, customer SAP BW development linked to objects in the BPC namespace is not supported. It may very well work, but BPC may also delete and recreate BW objects at any time and without warning, which can leave you in a situation in your production environment that is very difficult to recover from without manual modification of the production BW environment.
    The recommended way to export data from BPC NW into a flat table is to use the BPC data manager Export package. You may want to try this option and see if you can meet your requirements this way.
    Ethan

  • DBIF_REPO_SQL_ERROR while trying to activate ENVIRONMENTSHELL for BPC 10.0 NW on HANA

    Hi experts,
    I'm getting this short dump "DBIF_REPO_SQL_ERROR" while trying to activate the ENVIRONMENTSHELL(UJS_ACTIVATE_CONTENT) for BPC 10.0 NW on Hana database :
    Category                  Resource Shortage
    Runtime Errors         DBIF_REPO_SQL_ERROR
    Short Text
        SQL error "-10760" while accessing program "CX_SY_OPEN_SQL_DB=============CP" part "LOAD".
    What happened?
        Database error text: "Memory allocation failed."
    Error analysis
        Database error text: Memory allocation failed.
        Triggering SQL statement:  "CX_SY_OPEN_SQL_DB=============CP        "
    System environment
        SAP Release..... 740
        SAP Basis level 0005
        Application server... vSAPPRD
        Network address...... 172.16.10.230
        Operating system... Windows NT
        Release.............. 6.2
        Hardware type....... 4x AMD64 Level
        Character length..... 16 Bits
        Pointer length........ 64 Bits
        Work process number... 9
        Shortdump setting. full
        Database server... hana-prd
        Database type..... HDB
        Database name..... PRD
        Database user ID SAPPRD
       Terminal.......... Maha-HP
        Character set C
        SAP kernel....... 741
        Created on....... Mar 21 2014 17:31:58
        Created at....... NT 6.0 6002 x86 MS VC++ 16.00
        Database version SQLDBC 1.00.60.0379371
        Patch level....... 26
        Patch text.......
        Database............. HDB 1.0
       SAP database version. 741
       Operating system... Windows NT 5.1, Windows NT 5.2, Windows NT 6.0, Windows NT
       6.1, Windows NT 6.2, Windows NT 6.3
       Memory consumption
       Roll.... 0
       EM...... 44600400
       Heap.... 0
       Page.... 49152
       MM used. 33089488
       MM free. 4949248
    The program interrupted was SAPLSADB
    Thanks
    Maha

    Hi Maha,
    Please check the versions of:
    HANA server
    HANA client (on HANA server)
    HANA client (on the PAS)
    SAP Kernel (both the generic and HDB specific files)
    The versions between them should be in sync.
    My issue with the error: " CX_SY_OPEN_SQL_DB=============CP        " is resolved by applying the latest SAP Kernel 7.41 Patches which is currently patch level 43.
    Good luck!
    Regards,
    Mike

  • The sql collation for bpc

    Hi everyone,
    I am installing bpc 7.0 based on sql server 2008. However, the database is also working for ERP and ERP must use the collation
    "SQL_Latin1_General_CP850_BIN2". According to my experience, the collation of database for bpc is always "SQL_Latin1_General_CP1_CI_AS". who knows if bpc must use "SQL_Latin1_General_CP1_CI_AS"? Actually, I meet an error "can access 'master' database..." while installing. Thank you.

    I have set up a new instance including a new database engine and a new analysis server and used the correct collation. However, after I install bpc, I check the log file, it is like the following
    Installation Status
         Diagnostics: Done
         Create AppServer Database: Done
         Create Sample Database: Done
         Create Sample OLAP Database: Done
         Setup Management console: Done
         Starting BPC Send Governor Service: Error
         Starting BPC Insight Service: SKIP
    Then I check the new analysis server, there isn't the apshell cube. However why the log is "Create Sample OLAP Database: Done", and why "Starting BPC Send Governor Service: Error"?

  • SQL Server 2008 on the Web/App server for BPC 7.0

    In a multi-server environment (DB/OLAP on a 64-bit platform, Web/App on a 32-bit platform), is it necessary to have SQL Server on the Web/App server if Reporting Services is not used?  Could you explain why SQL Server is needed on this server if Reporting Services is not used?

    Hi
    Reporting Service is a requirement for BPC. If it is not deployed on App Server, it can be deployed elsewhere but is required.
    Other SQL related things that go on App Server include:
    Reporting Services
    Shared Features
           Client Tools Connectivity
           Management Tools - Complete
           Business Intelligence Development Studio
           Integration Services
           Client Tools Backward Compatibility
    Microsoft SQL Server 2005 Backward Compatibility Components from Microsoft SQL Server 2008 Feature Pack
    Reporting Services/Integration Service requires SQL license(s). Standard ediiton of these can be used if you are not performing Load Balanced deployement.
    Regards
    Shaam

  • MDX Support for BPC on BW on HANA

    Hi All,
    I have the following queries on MDX support for BPC on BW on HANA -
    1. What is the current state of Dimension Member formulas (or MDX) with BPC on HANA. Are they natively being evaluated within HANA?
    2. Does BPC on HANA support the same MDX features and functionalities that BPC on any other database would ? Are there any limitations here ?
    Please advise. Thanks.

    Saurabh Diwakar,
    Does note 1714013 gives insight to any of your questions?
    BR
    Prabhith

  • Reporting off BPC Cube in HANA using BOBJ Tools

    Hi,
    I have a customer who is on BPC NW on HANA. Customer has BPC cube exposed in HANA, We need to do some reporting on that BPC HANA views with the ability to drill down to the hierarchies. Is there a BOBJ tool which would allow the cutomer to:
    1) Drill down on the G/L level
    2) Mobile compatible
    3) Have access to BPC built in logic/metadata
    Thanks,
    Mike

    Hi Mike,
    I found the following presentation,
    SAP Product Road Map SAP BusinessObjects Design Studio
    Road Map Revision: June 9, 2014
    https://websmp102.sap-ag.de/~sapidb/011000358700000390622012D.pdf
    SAP BusinessObjects Design Studio 1.3 HANA-only deployment
    Support HANA-only deployment
    Design Studio applications saved in HANA Repository
    Design Studio runtime is moved to browser, No Java stack as deployment platform is needed
    Using firefly instead of BICs at Design Studio runtime
    Require HANA 1.0 revision SPS8 (revision 80)
    I think there are some limitations like hierarchies not supported, please check.
    Regards,
    Raj.

  • How connect to the BI to BPC Cubes in 7.5 ms version

    Dear Experts,
    Thanks for watching this thread.
    How to load the Data from SAP-BI to BPC MS7.5 version.I heard in BPC ms7.5 we have  Some add ons,through we can Connect the Directly SAP-BI Cubes,no need of Flat files and Openhub services.
    Could you please tell me for BPC ms Sql knowledge is Mandatory.
    Waiting for your valuable suggestions.
    Regards,
    Srinivasan.

    Hi,
    You can try looking at the below link from MSDN:
    http://msdn.microsoft.com/en-us/library/dd299430%28v=sql.100%29.aspx
    Hope this helps.

  • Using HANA SQL Functions in select list of CDS Views

    Dear Expert,
    Kindly please let me know if we can use the HANA SQL Function (Ex: ADD_DAYS, SECONDS_BETWEEN) in the select list of CDS Views?
    If I create a CDS like below I get error that timestamp is not supported.
    For Example:
    @AbapCatalog.sqlViewName: 'ZMR_H_CA'
    @EndUserText.label: 'CAG A'
    define view viewname
    with parameters start_ts:abap.dec( 15, 0 ) , end_ts:abap.dec( 15, 0 )
    as select from table {
    key resource_key,
    TO_TIMESTAMP(begtstmp) as start_tmp,
    TO_TIMESTAMP(begtstmp) as end_tmp
    where
    (begtstmp > $parameters.start_ts or endtstmp > $parameters.start_ts )
    and
    (begtstmp < $parameters.end_ts or endtstmp < $parameters.end_ts )
    Thanks,
    Giri

    Hi Giri,
    the list of provided features can be found in the ABAP Language Documentation (F1 in the CDS View).
    As CDS in ABAP is abstracted from the database layer, the database features are not directly accessible. That means, you cannot use any HANA or MaxDB feature available. So the answer to your question is no. The reason for this is, that ABAP CDS views can be created on all SAP-supported databases, hence, we can only provide those features, supported by all databases.
    Having said this, there are some exception, e.g. the CDS views with input parameters, which are not supported by all databases. In these cases, you'd have to additionally use the utility class CL_ABAP_DBFEATURES (see http://scn.sap.com/community/abap/blog/2014/10/10/abap-news-for-740-sp08--abap-core-data-services-cds) for more details.
    Best,
      Jasmin

  • Questions in HANA Sql

    Hi Team,
    I have some questions as under:
         1)how can i use a dynamic tables/fields in the Cursor definition :
                   say for eg.., Delcare Cursor Cur_1(dyn_field1 varchar(10), dyn_field2 varchar(10), dyn_table varchar(15)
                                   for select <dyn_field1> <dyn_field2>... <dyn_fieldn> from <dyn_table> ? as it is not acceptable in the Cursor definition to use as:
                                   for select :dyn_field1 :dyn_field2 from :dyn_table ? as it is not acceptable in the Cursor definition to use a Colon(:) before them..
         2)how to processing the records fetched from a table type:
                   say for eg.., if I got a set of records from another procedure that contained a set of records(of a table type)
                                     how to Loop at the records and check for the fields inside them... say I got table that has 5 records and each with 3 fields in it...
                                       after I receive them in the calling procedure, how can Loop at them and check for conditions on the fields... Just like how the
                                       processing will be done in ABAP... Loop at itab into wa_tab.... check the conditions on the fields and Endloop.. ?
         3)how to check for dynamic fields while looping in the Cursor records...
                   say for eg.., if I got 10 records from a stored procedure and I am not aware of the names of the fields in the cursor records
                                       if the code is like: I fetched all the fields from a table which has been derived out of another Cursor...
                                       For tab1 as Cursor_1 do
                                                 tab1 has a field called Hana_table and this changes for every cursor loop...
                                                 I defined a Cursor_2 as Select * from tab1.hana_table...
                                                 Now in the Cursor loop of tab2.... For tab2 as Cursor_2 do
                                                      how do I know which fields are there in the Cursor_2 and to process them? 
         4)how to use Local and Global Internal tables in HANA sql and what is its impact on the HANA tables ?
    Please provide answers on the above points as they are very much need for my current development.
    Thanks in advance for your inputs.
    Regards,
    Vishnu                   

    hi Lars,
    thanks for your inputs...
    I am very much new to HANA and Sql - just 1.5 months into these areas...
    well my requirement is as under:
              I was given a task to check the differences in the loaded tables in HANA...
    1)there is a table(say tab_1) which has 3 fields(say field1, field2 and field3) and field1 refers to a HANA table and field2 and field3 refer to the fields in that HANA table...
    2)now I need to read all the records of the table tab_1 and for every record of tab_1, I need to take the HANA table(field1) and get the entries against the fields 2 and 3... this referred HANA table can have multiple records....
    3)now I have to check other fields say field4 and field5( of the table tab_1) with that of each and every record obtained against the HANA table entries of the Step(2)...
    4)if for any one record of Step(2) matches with the field values of field2 and field3(of tab_1), I need to do some INSERTION into a table...
    Dynamic things are:
    a)the HANA table might change for each record of records of table tab_1
    b)the fields in the HANA table get changed.. need compare field2 with first field of HANA table and field3 with the 2nd record of HANA table...
    for this requirement I resorted to Cursors as I am not aware of any other Sql result sets that can be useful in my requirement...
    I used the following logic:
          For tab1 as cursor_1(fetched fields 1 to 5)
              For tab2 as cursor_2(fetched the fields -> from HANA table of cursor_1-hana_table)
                   Now I created a Local temporary table using EXEC statement as under:
                  va_sql := 'INSERT INTO #hana_table select "' || tab2.field1 || '" as field1'  || ' ' ||
                    '"' || tab2.field2 || '" as field2 ' || 'from ' || :va_hana_table;
                  exec (:va_sql);
             the Stored procedure was successful, how to read the values present in #hana_table?
         I am getting an error:
         invalid table name:  Could not find table/view #hana_table in schema SYSTEM
         if I use as under:
         for tab3 as "#hana_table" do
         end for;
         the error is:
         identifier must be declared
    I hope the requirement is clear to you... please provide your valuable suggestions...
    Regards,
    Vishnu

  • Exporting R3 tables into Flat Files for BPC

    Dear BPC experts,
    I understand currently the way for BPC to extract data from R3 is via flat files. I have the following queries:
    1) What exactly are the T codes and steps required to export R3 tables into flat files (without going through the OpenHub in BI7)? Can this process be automated?
    2) Is Data Manager of BPC equivalent to SSIS (Integration Services) of SQL Server?
    Please advise. Thanks!!
    SJ

    Hi Soong Jeng,
    I would take a look at the existing BI Extractors for the answer to Q1, I am working on finishing up a HTG regarding this. Look for it very soon.
    Here is the code to dump out data from a BI Extractor directly from ERP.
    You need dev permissions in your ERP system and access to an app server folder. ...Good Luck
    *& Report  Z_EXTRACTOR_TO_FILE                                         *
    report  z_extractor_to_file                     .
    type-pools:
      rsaot.
    parameters:
      p_osrce type roosource-oltpsource,
      p_filnm type rlgrap-filename,
      p_maxsz type rsiodynp4-maxsize default 100,
      p_maxfc type rsiodynp4-calls default 10,
      p_updmd type rsiodynp4-updmode default 'F'.
    data:
      l_lines_read type sy-tabix,
      ls_select type rsselect,
      lt_select type table of rsselect,
      ls_field type rsfieldsel,
      lt_field type table of rsfieldsel,
      l_quiet type rois-genflag value 'X',
      l_readonly type rsiodynp4-readonly value 'X',
      l_desc_type type char1 value 'M',
      lr_data type ref to data,
      lt_oltpsource type rsaot_s_osource,
      l_req_no type rsiodynp4-requnr,
      l_debugmode type rsiodynp4-debugmode,
      l_genmode type rois-genflag,
      l_columns type i,
      l_temp_char type char40,
      l_filename    like rlgrap-filename,
      wa_x030l      like x030l,
      tb_dfies      type standard table of dfies,
      wa_dfies      type dfies,
      begin of tb_flditab occurs 0,
    *   field description
        fldname(40)  type c,
      end of tb_flditab,
      ls_flditab like line of tb_flditab,
      l_file type string.
    field-symbols:
      <lt_data> type standard table,
      <ls_data> type any,
      <ls_field> type any.
    call function 'RSA1_SINGLE_OLTPSOURCE_GET'
      exporting
        i_oltpsource   = p_osrce
      importing
        e_s_oltpsource = lt_oltpsource
      exceptions
        no_authority   = 1
        not_exist      = 2
        inconsistent   = 3
        others         = 4.
    if sy-subrc <> 0.
    * ERROR
    endif.
    create data lr_data type standard table of (lt_oltpsource-exstruct).
    assign lr_data->* to <lt_data>.
    call function 'RSFH_GET_DATA_SIMPLE'
      exporting
        i_requnr                     = l_req_no
        i_osource                    = p_osrce
        i_maxsize                    = p_maxsz
        i_maxfetch                   = p_maxfc
        i_updmode                    = p_updmd
        i_debugmode                  = l_debugmode
        i_abapmemory                 = l_genmode
        i_quiet                      = l_quiet
        i_read_only                  = l_readonly
      importing
        e_lines_read                 = l_lines_read
      tables
        i_t_select                   = lt_select
        i_t_field                    = lt_field
        e_t_data                     = <lt_data>
      exceptions
        generation_error             = 1
        interface_table_error        = 2
        metadata_error               = 3
        error_passed_to_mess_handler = 4
        no_authority                 = 5
        others                       = 6.
    * get table/structure field info
    call function 'GET_FIELDTAB'
      exporting
        langu               = sy-langu
        only                = space
        tabname             = lt_oltpsource-exstruct
        withtext            = 'X'
      importing
        header              = wa_x030l
      tables
        fieldtab            = tb_dfies
      exceptions
        internal_error      = 01
        no_texts_found      = 02
        table_has_no_fields = 03
        table_not_activ     = 04.
    * check result
    case sy-subrc.
      when 0.
    *      copy fieldnames
        loop at tb_dfies into wa_dfies.
          case l_desc_type.
            when 'F'.
              tb_flditab-fldname = wa_dfies-fieldname.
            when 'S'.
              tb_flditab-fldname = wa_dfies-scrtext_s.
            when 'M'.
              tb_flditab-fldname = wa_dfies-scrtext_m.
            when 'L'.
              tb_flditab-fldname = wa_dfies-scrtext_l.
            when others.
    *         use fieldname
              tb_flditab-fldname = wa_dfies-fieldname.
          endcase.
          append tb_flditab.
    *        clear variables
          clear: wa_dfies.
        endloop.
      when others.
        message id sy-msgid type sy-msgty number sy-msgno
        with  sy-subrc raising error_get_dictionary_info.
    endcase.
    describe table tb_flditab lines l_columns.
    " MOVE DATA TO THE APPLICATION SERVER
    open dataset p_filnm for output in text mode encoding utf-8
      with windows linefeed.
    data i type i.
    loop at <lt_data> assigning <ls_data>.
      loop at tb_flditab into ls_flditab.
        i = sy-tabix.
        assign component i of structure <ls_data> to <ls_field>.
        l_temp_char = <ls_field>.
        if i eq 1.
          l_file = l_temp_char.
        else.
          concatenate l_file ',' l_temp_char  into l_file.
        endif.
      endloop.
      transfer l_file to p_filnm.
      clear l_file.
    endloop.
    close dataset p_filnm.
    Cheers,
    Scott
    Edited by: Jeffrey Holdeman on May 25, 2010 4:44 PM
    Added  markup to improve readability
    Edited by: Jeffrey Holdeman on May 25, 2010 4:47 PM

  • What are the required/recommended Antivirus exceptions for BPC ????

    I need to provide and implement a definitive list of required Antivirus exceptions for BPC (both Web and SQL servers).  We currently run v5.1 but I would also like to know if anything is different for v7, although I don't see why it would be.
    However, I only seem to have vague references to exception lists (e.g. BPC Log Files or SQL database files)
    So I find myself wondering what the rest of the BPC community do in this resepct ???
    If you could let me know what exceptions are generally made (or even better, if you have an actual list of recommended exceptions), I would be extremely grateful.
    Thanks
    Craig

    Do not real-time scan SAP BPC server program directories.
      Do not real-time scan SQL Server and Analysis Services server
    program directories.
      Do not real-time scan the SQL Server and Analysis Services data
    directories.
      Do not real-time scan log files, temp folders and backup
    directories.
      Monitoring of network traffic should be specific to file type where
    possible
      Ensure the SAP BPC XLA and DLL files are not scanned real-time
    (these files are located in the BPC program files directory)
      The OutlookSoft folder within the My Documents folder that stores
    application and personal files can be scanned but is likely to
    impact the performance of dimension downloads and the retrieval
    of documents from these directories (wizards, process selector
    menus, etc).
    Regards
    Sorin Radulescu

  • Use cases for the SAP HANA Appliance for SAP FI-Accts.Payable

    Hello SAP HANA friends:
    Are there any compelling use cases for the SAP HANA Appliance for SAP FI-AP Accounts Payable module?
    CO-PA and CRM have many immediate use cases, but I'm looking for the use case for Accounts Payable,
    either from a cash flow perspective or performance.
    Any and all comments are appreciated.
    Regards,
    Joe Gonzales
    856 912 1136

    Hi,
    In SQL console please execute below query .
    GRANT SELECT ON SCHEMA <schema Name> TO "_SYS_REPO";
    BR
    Sumeet

  • S&OP on Hana, IBP and BPC

    Hi All,
    can some one please help me in understanding the difference between S&OP on HANA, IBP and BPC and how they are differentiated from SAP APO?
    Thanks in advance.
    Thanks,
    Kishore

    Story started around 2012 with S&OP Hana until version 3.0. Following marketing definition and Gartner group vocabulary, this application has now change its name to IBP S&OP 4.0. Nothing changes within S&OP except improvements with 4.0.
    IBP is a new family of application in SCM under Hana
    BCP belongs to analytic family, not much appropriate for SCM Concern.
    APO is the previous APS of SAP that is still supported until 2025. Say a new customer needs SCM advance planning, better going IBP nowaday but nothing wrong with APO neither
    Daniel

  • Is there a way to enable delta for BPC transaction loads ?

    Hi,
    I am using Data Management package methodology to load data from BI to BPC.
    Created Transformation file, created Data management package to download the data from Infoprovider and run the package to load the data from BI cube to BPC application.
    everytime i run the package all the data from Infoprovider is read and will feed the application.So is there a way to delta enable the load from BI cube ?
    does this method work for volumes ? what is the best practice for BPC NW to load the transaction data from BI to BPC.
    thoughts appreciated.
    Regards

    Hi,
    Thanks for the information.Your blog is really a savior.
    I have followed the steps for automating the DM package.I have created prompt file based on the log file generated from the successful run of the package and i have entered all the required fields in UJD_TEST_PACKAGE programe along with Answer prompt file and i ran the package then some of the records were rejected with error "No authorization for members()on dimension()" and in the detaile log i saw "Cannot access the member (ACTUAL) of dimension (C_CATEGORY)" as the rejected records.
    Other hand if i run the package directly in excel client > Run Data management package then the package runs succesfully without any errors.
    I have checked the authorizations in Admin Client and i have full Member Access profile.Also checked C_Category is not a secured dimension.
    what it has to do with C_CATEGORY dimension??
    do we need any special authorisations while we run through the program? even in BI i have sap_all profile.
    Pls help.

Maybe you are looking for