SAP HANA Expert Script in BW Transformation

Dear All,
Please can anyone share some resource (as well as the sample codes) around Hana Expert Script in BW Transformation (Trx Code: RSA1).
Many thanks,
Sen

Nanda,
Check if generated transformation corresponds to inTab and outTab structures (you can find inTab and outTab fields as commented lines at the beginning of transformation. Also you can try to drop and regenerate this transformation with the same script. Or try to paste your statement in the following manner:
outTab =
SELECT
     "/BIC/ZOI_EBELN",
     RECORDMODE,
     "/BIC/ZEPMPNL"
FROM
     :inTab;
What is an "error line" this time?
Best regards,
Andrew
P.S.
You can ask your customer to provide you an install package of HANA Studio as it's usage included in  BW on HANA license.
Message was edited by: Andrew Eliseev

Similar Messages

  • STRING_AGG function in SAP HANA SQL Script

    Hi,
    We have HANA Revision 7.3.
    STRING_AGG function seems to work when we just execute the query without assinging it to the value.
    However as soon as we assign it to a value in a stored procedure or scripted Calcuation view, it fails.
    Any ideas?
    Thanks,
    Hyun

    Lars,
    My apologies.
    Here are 3 screen shots. Two are error message generated
    when using STRING_AGG in a Calculation View, one is it running successfully in
    SQL window when it is not assigned to output variable.
    Thanks,
    Hyun

  • HANA Expert SQL Script RSDHA383 error

    Hello Experts.
    My scenario assumes to load data from source to target with reading attributes in HANA Expert SQL Script and storing them into target object.
    (e.g. I have 0PLANT in Source and in target I store 0PLANT with it attributes: SALESORG,RF_STORETY, DISTR_CHAIN etc)
    So, when I'm trying to start loading the error occurs
    Saving ended with errors
    S:RSDHA:383 /BIC/Z* --some target infoobject name
    Exception CX_RSDHA_MSG logged
    Experimentaly I've found that this error occurs when the Source and Target have different structures.
    I've modeled two DSO and try next cases:
    The first case is when these DSO's have the similar structures. Target fields filled by HANA Expert Script. In this case everything is alright and no error occurs.
    The second case is when I add new field(attribute of any source characteristic) to the target DSO(of course I make changes in my script for this new field). In these case I got an error:
    Saving ended with errors
    S:RSDHA:383 /BIC/Z* --added infoobject name
    Exception CX_RSDHA_MSG logged
    The same error occurs when I'm trying to load data from DataSource based on OpenDSO.
    Does anybody know why it happens?
    Thanks for any help.
    Best regards,
    Alex.

    Hello.
    I've discovered some interesting things:
    1) if target has no KeyFigures, you're able to have a different structures of inTab and outTab. So you can move data as you wish.
    2) if target KeyFigures are subset of source KeyFigures (the same InfoObjects or the same field names "/BIC/ZKFIG"), you can also have a different srtructures of inTab and outTab.
    So there is some workaround with namings. The only question is how to add new KeyFigures and calculate them through Expert HANA Script.
    Best regards,
    Andrew
    Edit:
    If target attributes are subset of source and follow the same order as source, you can make a transformation. If they have different order, you'll get that error.

  • What is SAP HANA DXC ???

    Hi SAP HANA Experts,
    Can anyone you tell me what is SAP HANA DXC ???
    Is it a Add-On Or inbuilt software component available with SAP HANA DB Package Itself
    Do we need to download the SAP HANA DXC individually ???
    What is the path of the DXC Software component in SMP to view it

    Hello guy,
    The SAP HANA Direct Extractor Connection (DXC) is a means for providing out-of-the-box foundational data models to SAP HANA, which are based on SAP Business Suite entities. (No add-on need to be installed). DXC is also a data acquisition method for SAP HANA. With DXC, SAP Business Content DataSource Extractors are available to deliver data directly to SAP HANA
    Refer to:
    http://help.sap.com/hana/sap_hana_direct_extractor_connection_implementation_guide_en.pdf
    1665602 - Setup & Config: SAP HANA Direct Extractor Connection (DXC)
    Regards,
    Ning Tong

  • Which Vmware Version is supported by SAP HANA ???

    Hi SAP HANA Experts,
    We knew that now a days SAP HANA is supporting Vmware also to install it...
    Can anyone provide which Vmware version is supported by SAP HANA for PRD & NON PRD Setup's

    Hi,
    SAP HANA Virtualized Central Note https://service.sap.com/sap/support/notes/1788665
    SAP HANA Virtualized Overview ppt http://www.saphana.com/docs/DOC-3334
    SAP HANA Guidelines for VMware http://www.saphana.com/docs/DOC-4192
    VMware Best Practices for SAP HANA http://vmware.com/go/sap-hana
    Thanks & Regards,
    Kumar

  • How to Download SAP HANA " R " Open Source software ???

    Hi SAP HANA Experts,
    I had read that it is the open source software from SAP AG.....
    I want to download the SAP HANA " R " Software, Can anyone of you please provide me the link to download it.

    Hello Sekhar,
    As mentioned in SAP HANA R Integration Guide, To compile R, download the R (version 2.15) source package from the R Project for Statistical Computing website.
    R: The R Project for Statistical Computing
    Regards,
    Ning Tong

  • Scripts to start stop SAP HANA

    Hi Everyone,
    I need to call the script to stop and start sap hana via API. Does any one knows about any API that can be used to do this. I am aware of CLI but I need some API like REST API or XS which will help to do the os level triggering.
    Thanks,
    Amogh Jadhav

    Rodrigo,
    esse espaço é de HANA em Portugues.
    Por favor, refaça a pergunta em Português e/ou pergunte no espaço de HANA em inglês:
    SAP HANA and In-Memory Computing
    Vou bloquear essa thread agora.
    Abs,
    Henrique.

  • Dimensional Modeling on SAP Hana

    Hello,
    I am a newbie on SAP hana, so need help from experts / gurus.
    Imagine the following Scenario ---> Oracle ERP is the source System and we want to build a Analytic Solution on Hana. Also assume that tables can be replicated into SAP Hana
    Questions
    1)For any kind of reporting / Analytics? Should we build a traditional Datawarehouse on Hana with all the features found in a star schema like surrogate keys, conformed facts and dimensions etc? or  use only attribute views / analytical views provided as default and build datawarehouse model on top of this? In the second case, do we still need surrogate keys or how can we merge slowly changing dimensions?
    2)Where can be push the transformation logic? Into ETL tool or use Hana provided sql script? and also where do we do this transformation, outiside hana where we do all transformations and load only data into normolized format? or within hana using scripts?
    3) In any case is dimensional modeling really required on Hana? if not how can we map business process and do analysis on them? is it by means of only the views provided by Hana?
    Your help is much appreciated.
    Thanks!

    Hi Rajiv,
    I'm no expert either and am just beginning to learn HANA, but here are my thoughts (community, please correct me if I am mistaken.):
    1. HANA leverages existing data modeling theories, such as the entity relationship model. This model is simply a way of organizing tables in a way that makes sense for reporting. For example, the star schema, optimized for analytical reporting. The HANA view is similar to a universe, it allows the end user to connect to it from their BI tool. In the background, the modeler still needs to pull in tables, create joins, leverage primary and foreign keys, etc. So in short, traditional modeling practices and theories still come into play.
    2.  If extracting and transforming data using SAP's Data Services, the transformation of data will happen in HANA, using the Data Quality Management GUI.
    Just as a side note, HANA has 3 methods of extracting
    data:
    Data Services
    SAP Replication
    Server
    SAP Landscape
    Transformation
    3. Yes, dimensional modeling is still required. At the end of the day, HANA is still a database. We
    haven’t changed the theory of data modeling, it still needs to happen, our approach is just different.
    Hope that helps.
    Kyle

  • SAP HANA modelling Standalone

    Hello Experts,
    We are in the process of HANA Standalone implementation and design studio as reporting tool. When I am modeling, I did not figure out answers to some of the below questions .Below are the questions. Experts, please help.
    Best way of modeling: The SAP HANA LIVE is completely built on calculation view; there are no Attribute and Analytical views. I have got different answer why there is only Calculation view and there are no Alaytic view and Attribute views. We are in SP7 latest version. This is a brand new HANA in top of non-SAP (DB2 source).  What is the best way to model this scenario, meaning, can we model everything in the Calculation view’s like SAP HANA live or do you suggest using the standard attribute, analytical and calculation views to do the data model. Is SAP moving away from AV & AT to only calculation Views to simply the modeling approach?
    Reporting: We are using the design studio as front end tool. Just for example, if we assume that we are
    Using the BW, we bring all the data in to BW from different sources, build the cubes and use the bex query. Here in bex query we will be using the restricted key figures, calculated key figures calculations etc. From the reporting wise, we have the same requirements, calculations, RKF, CKF,Sum, Avg etc. if we are Using the design studio on top of standalone HANA, where do I need to implement all these calculations? Is it in different views?  (From reporting perspective, if it’s BW system, I would have done all the calculations in BEx.)
    Universe: If we are doing all the calculations in SAP HANA like RKF. CKF and other calculations , what is the point in having additional layer of universe , because the reporting compnets cam access the queries directly on views .In one of our POC , we found that the using universe affect performance.
    Real time reporting: Our overall objective is to give a real time or close to real time reporting requirements, how data services can help, meaning I can schedule the data loads every 3 or 5 min to pull the data from source. If I am using the Data services, how soon I can get the data in HANA, I know it depends on the no of records and the transformations in between the systems & network speed. Assuming that I will schele the job every 2 min and it will take another 5 min to process the Data services job , is it fair to say the my information will be available on the BOBJ tools with in 10 min from the creation of the records.
    Are there any new ETL capabilities included in SP7, I see some additional features included in SP7. Is some of the concepts discussed are still valid, because in SP7 we have star join concept.
    Thanks
    Magge

    magge kris wrote:
    Hello Experts,
    We are in the process of HANA Standalone implementation and design studio as reporting tool. When I am modeling, I did not figure out answers to some of the below questions .Below are the questions. Experts, please help.
    Best way of modeling: The SAP HANA LIVE is completely built on calculation view; there are no Attribute and Analytical views. I have got different answer why there is only Calculation view and there are no Alaytic view and Attribute views. We are in SP7 latest version. This is a brand new HANA in top of non-SAP (DB2 source).  What is the best way to model this scenario, meaning, can we model everything in the Calculation view’s like SAP HANA live or do you suggest using the standard attribute, analytical and calculation views to do the data model. Is SAP moving away from AV & AT to only calculation Views to simply the modeling approach?
    >> I haven't read any "official" guidance to move away from typical modeling approach, so I'd say stick with the usual approach- AT, then AV, then CA views. I was told that the reason for different approach with HANA Live was to simplify development for mass production of solutions.
    Reporting: We are using the design studio as front end tool. Just for example, if we assume that we are
    Using the BW, we bring all the data in to BW from different sources, build the cubes and use the bex query. Here in bex query we will be using the restricted key figures, calculated key figures calculations etc. From the reporting wise, we have the same requirements, calculations, RKF, CKF,Sum, Avg etc. if we are Using the design studio on top of standalone HANA, where do I need to implement all these calculations? Is it in different views?  (From reporting perspective, if it’s BW system, I would have done all the calculations in BEx.)
    >> I'm not a BW guy, but from a HANA perspective - implement them where they make the most sense. In some cases, this is obvious - restricted columns are only available in Analytic Views. Hard to provide more complex advice here - it depends on your scenario(s). Review your training materials, review SCN posts and you should start to develop a better idea of where to model particular requirements. (Most of the time in typical BI scenarios, requirements map nicely to straightforward modeling approaches such as Attribute/Analytic/Calculations Views. However, some situations such as slowly-changing dimensions, certain kinds of calculations (i.e. calc before aggregation with BODS as source - where calculation should be done in ETL logic) etc can be more complex. If you have specific scenarios that you're unsure about, post them here on SCN.
    Universe: If we are doing all the calculations in SAP HANA like RKF. CKF and other calculations , what is the point in having additional layer of universe , because the reporting compnets cam access the queries directly on views .In one of our POC , we found that the using universe affect performance.
    >>> Depends on what you're doing. Universe generates SQL just like front-end tools, so bad performance implies bad modeling. Generally speaking - universes *can* create more autonomous reporting architecture. But if your scenario doesn't require it - then by all means, avoid the additional layer if there's no added value.
    Real time reporting: Our overall objective is to give a real time or close to real time reporting requirements, how data services can help, meaning I can schedule the data loads every 3 or 5 min to pull the data from source. If I am using the Data services, how soon I can get the data in HANA, I know it depends on the no of records and the transformations in between the systems & network speed. Assuming that I will schele the job every 2 min and it will take another 5 min to process the Data services job , is it fair to say the my information will be available on the BOBJ tools with in 10 min from the creation of the records.
    Are there any new ETL capabilities included in SP7, I see some additional features included in SP7. Is some of the concepts discussed are still valid, because in SP7 we have star join concept.
    >>> Not exactly sure what your question here is. Your limits on BODS are the same as with any other target system - doesn't depend on HANA. The second the record(s) are committed to HANA, they are available. They may be in delta storage, but they're available. You just need to work out how often to schedule BODS - and if your jobs are taking 5 minutes to run, but you're scheduling executions every 2 minutes, you're going to run into problems...
    Thanks
    Magge

  • SAP HANA: IMPORT/EXPORT Views

    We can Import/export tables using hdbsql CLI.
    But Is there any way by which we can export/import Views(attribute,analytic,calculation) using hdbsql CLI.
    I raised above question some days back
    SAP HANA: IMPORT/EXPORT Views | SCN
    Also while checking on internet I found another link for the same issue:
    http://scn.sap.com/thread/2141404
    And from experts answers, I came to conclusion that Import/Export Views(Attribute/Analytic/Calculation views)in SAP HANA is not possible through hdbsql CLI/ SQL commands.Now Is there a way where I can confirm this from SAP HANA program management guys?

    Lars,
    Thanks for the explanation.
    What I am trying to achieve is to create an automate script which should export all tables and views for a schema and again import tables and views in a different schema.
    table part is done, But stuck in view part.
    I tried the below command and was able to export the calculation view which I created in Content and exists as
    _SYS_BIC-->Package(same name as schema where all the tables are stored) --> View Name.
    Command used was:
    EXPORT  "<Schema_Name>"."<Package_Name>/<View_Name>"  INTO '<path>'
    Now I have 2 ques :
    1) I am not sure how to import this exported view. I tried below command but it failed:
    IMPORT  "<Schema_Name>"."<Package_Name>/<View_Name>"  FROM '<path>'
    2) Not sure how to export and import all the views.
    I did IMPORT SCAN of the path as well and found below entries for the exported view in the mentioned path:
    SCHEMA_NAME, OBJECT_NAME, OBJECT_TYPE, EXISTS
    "_SYS_BIC", "<Packagename>/CalculationViewName>", "VIEW", 1
    "_SYS_BIC", "<Packagename>/AnalyticViewName>", "VIEW", 1
    "_SYS_BIC", "<Packagename>/CalculationViewName>/olap", "VIEW", 1
    "_SYS_BIC", "vwTile1ALLData", "VIEW", 1
    Any Inputs would definitely help. Thanks.

  • Query about ABAP future in SAP HANA

    Hello Experts,
    I have read many articles and SDN post about SAP HANA but does not get clear answer.
    I am having 7 years of experience of SAP ABAP and wanted to learn ABAP in SAP HANA.
    I learn that SAP HANA is having its own language also as SQL script in earlier release but would this be using also in current and future.
    So would learning of SQL script give more advantage and how can i get started learning ABAP in SAP HANA.
    Thanks
    SHiv

    Dear Shivshanker,
    for ABAP for SAP HANA see http://scn.sap.com/docs/DOC-29357.
    In addition there are some nice blogs by Thomas Jung. You can use, for example,http://scn.sap.com/community/in-memory-business-data-management/blog/2012/04/11/test as entry.
    ABAP and SAP HANA | SAP HANA
    and also  Rapid Deployment of SAP Solutions in open.sap.com
    Best of luck...
    Regards,
    Abbas.

  • Creating Logic and modeling for SAP BW datasource in SAP HANA views and SLT

    Hi to all,
    I have small question.
    We have BW system and SAP ECC as source system and to get data from SAP ECC source system we are using SAP ECC Standard data source.
    Now we required to, create modeling in SAP HANA by use of HANA View and get data from SAP ECC source table via SLT.
    So we can replicate same modeling,as we done in SAP BW system.
    But  my question is that, as SAP ECC standard data source hit multiple table and do run-time calculation, before sending to SAP BI.
    How we can derives such calculation and logic, in our HANA studio, because as we know in SLT data transformation can be done in limited way also
    in view we can not drive such logic via SQL script ?.
    Is there any way we can do such modeling and logic in SAP HANA ?
    or
    is there any standard document for this type of case, which we can use ?
    Note: We don't want to use SAP DS or DXC for data loading to HANA, as  we want it in more real time.
    Regards
    Pavneet Rana

    Thanks for reply,
    As SLT is based on ABAP, so we can write complex logic in it.
    But if we talk about SAP ECC standard data source, they have complex logic, based on multiple table.
    So we need to write code from scratch in SLT to derive same result. but it will be huge time consuming , and required good ABAP skills, also it will lead to bug in code.
    Also it will reduce the real time performance of SLT, due to complex logic.
    Second option is procedure via SQL script, which is again huge effort in term if logic and can lead to error/bug in logic.
    Does we have any other way or architecture to do this is very simple way, with high performance and less error issue.
    Regards
    Pavneet Rana

  • 30 days HANA trial: can I recreate VM for "SAP HANA Studio" in cloudshare?

    Dear experts,
    got the VM's for the 30 days trial both up and running.
    Is it possible to recreate the VM's  mentioned below to start from scratch again ?
    a. SAP HANA SPS5 server
    Installed: SAP HANA SPS5 server
    OS: SUSE Enterprise 11 SP1 64 bit
    OS: Linux
    State: Running
    b. SAP HANA Studio
    Installed:
    • SAP HANA studio
    • SAP HANA client
    • Office Professional Plus 2010 SP1
    • Visio 2010 Premium Edition
    OS: Windows 7 Pro x64 SP1 
    OS: Windows
    State: Running

    Thanks for reply,
    As SLT is based on ABAP, so we can write complex logic in it.
    But if we talk about SAP ECC standard data source, they have complex logic, based on multiple table.
    So we need to write code from scratch in SLT to derive same result. but it will be huge time consuming , and required good ABAP skills, also it will lead to bug in code.
    Also it will reduce the real time performance of SLT, due to complex logic.
    Second option is procedure via SQL script, which is again huge effort in term if logic and can lead to error/bug in logic.
    Does we have any other way or architecture to do this is very simple way, with high performance and less error issue.
    Regards
    Pavneet Rana

  • New SAP HANA course released

    Course:  TZH300 u2013 SAP HANA Implementation and Modeling course released on SAP HANA 1.0, SP03 (https://training.sap.com/us/en/course/tzh300-sap-hana-implementation-and-modeling-classroom-096-us-en/)
    Schedule:
    February 20-21: North America virtual but more events are planned based on demand
    Registration:   Contact SAP Education North America Customer Interaction Center at 1-888-777-1727
    Course Goals: (1) Replicate data using SAP Landscape Transformation (SLT) and (2) Implement information models in SAP HANA
    Target Audience: Data Modeling Consultants
    Release: SAP HANA 1.0, SP03
    Content:
    Trigger-based replication with SAP Landscape Transformation (SLT)
    Approaching SAP HANA Modeling
    Connecting tables
    Advanced Modeling features
         Hierarchies
         Restricted & Calculated Measures
         Filter Operations and Variables
         Currency conversion
    Introduction to SQL script and Script based Calculation Views
    Processing Information Models
    Managing Modeling Content
    SAP HANA User Management and Privileges.
    IMPORTANT NOTE:  Soon, weu2019ll have two more HANA courses, TZBWHA for customers running BW on HANA and TZH200 for consultants who are responsible for installation and administration of HANA. More on those as we get closer.

    Hi and thanks for your answer.
    I'm not looking for specifics BAPI but for all...I search a technical document of HANA with all the changements in BAPI.
    I've to write a document about that for my boss and I found nothing on the web...
    Thanks again,
    Regards,
    Lionel
    (I'm french and I don't speak english very well so scuse me )

  • Transport SAP HANA/BWA Index to Target

    Dear Experts,
    I have created SAP HANA/BWA index using t-code RSDDB in DEV system using BEx query. now i want to transport the BWA index to TEST system, but I don't know how?
    Already I have transported the BEx query to TEST system.
    Please help me to how we will transport the SAP HANA/BWA index to TEST system.
    Thanks,
    Regards,
    Karuppiah N

    Hi Karuppiah,
    I am not sure it is possible to transport BWA Index
    Analytic Indexes are not integrated in the BW repository and therefore cannot be transported.
    "Analytic indexes can be created and filled with (transformed) data quickly. They are intended for ad-hoc scenarios. They can also be created as InfoProviders without reference to InfoObjects. They are therefore not integrated into the metadata repository and cannot be transported. "
    Reference: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/209f3aec-09d9-3110-339c-c127409aee06?QuickLink=index&…
    Regards,
    V Srinivasan

Maybe you are looking for

  • Reports performanec at dashboard????????

    Hi All: There is one problem that is bout performance of report in dashboard. When I run report in BI answer than it takes records fast but when same report is to be run in Dashboard then it takes some time. Can any body know its reason. Thanks ALi

  • Won't Restore, Error 29. What Now?

    This is a phone which I don't know the history of. It was given to me today to see if I can get it going. So far, when attempting to restore it, I get "Error 29". I believe OS4 was installed prior to this issue but I'm not sure. Here's the details. T

  • Problem adding video content

    Hi, I am using Acrobat 8 on Windows XP. I am trying to link a video that has been uploaded to our server to a page in my PDF that I want to post online. I have tried several different files, but keep getting the same error message: "Cannot create the

  • How to execute sets of DDL Statements in 1 command?

    Hi All, I've been trying to look for a way to run a set of DDL statements. I normally have text files with DDL Statements on it. So what I do is load the contents of this text file into a Textbox and then set the Textbox.Text as the CommandText of my

  • Network Architecture Question for ya...

    At home we have quite the network. 12 active wireless IP's and 4 ethernet. So, here's the question, in two parts: 1) Is it true that, say you have 10 wireless devices connected to a wireless .11n router, 9 of them .11n and 1 of them .11g, and the who