Tips, Experience and Lessons Learned From Multi..HANA_1

Embed Size (px)

Citation preview

  • 8/17/2019 Tips, Experience and Lessons Learned From Multi..HANA_1

    1/8

    26/04/2016 Tips, Experience and Lessons Learned from multi... | SCN

    http://scn.sap.com/docs/DOC-63695 1/8

    Getting Started Newsletters Store 

    Products   Services & Support About SCN Downloads

    Industries   Training & Education Partnership Developer Center  

    Lin es of Business   University Alliances Events & Webinars Innovation

    42 pointsHi, pal lavi Log O ut   Search the Community

     Activ ity Communications Actions

    Browse   Create

    0   Tweet

    created by prabhith prabhakaran  on 21-Apr-2015 18:11, last modified by prabhith prabhakaran on 31-Mar-2016 11:41

    Hello All,

     Its been some time that I have been working in HANA and related areas like SLT, Lumira, Fiori and so on.

    So thought of sharing some topics here, which would be handy.

     Disclaimer :

    1) This series is exclusively for Beginners in HANA and all th ose HANA experts here, please excuse me

    2) These are some Solutions/Observations that we have found h andy in our projects and am quite sure there would bemultiple ways to derive the same result.

    3) These series of documents are collaborative in nature. So please feel free to edit the documents,wherever required!

    4) All the points mentioned here were observed in HANA system with revisions >= 82.

     Part 2 of this series can be found here --> Tips, Experience and Lessons Learned from multiple HANA

    projects(TELL @ HANA - PART 2)

    Part 3 of this series can be found here --> Tips, Experience and Lessons Learned from multiple HANA

    projects(TELL @ H ANA - PART 3)

    Part 4 of this series can be found here --> http://scn.sap.com/docs/DOC-65343

     

    1) Related to HANA:

     Use Case: We have a table in a HANA schema and we were asked if there is  any option to find a where used list

    where the table has been used.

    Table Name: STKO.

    Solution: Go to schema SYS.

    There you will find a view named OBJECT_DEPENDENCIES.

    You will get the dependent information in that view.

     In SQL Terms: SELECT * FROM "SYS"."OBJECT_DEPENDENCIES" where BASE_OBJECT_NAME = 'STKO'

     --> Following is another way to see the 'Where-Used List':

     In HANA Studio Left Navigator Pane > Catalog > Any Schema > Tables folder > Context Menu (Right click on the

    table), select option ' Open Defenition'

    Then in the right hand side, below the editor pane along side properties tab you see the tab ' Where-Used List '

    Tips, Experience and Lessons Learned frommultiple HANA projects(TELL @ HANA -PART 1)

    Share   6 0Like

    Version 9

    http://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-691860/Open+Def.jpghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-691860/Open+Def.jpghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-691860/Open+Def.jpghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689545/PIC1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689545/PIC1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689545/PIC1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689545/PIC1.JPGhttp://scn.sap.com/docs/DOC-63707http://scn.sap.com/docs/DOC-63704http://scn.sap.com/people/prabhith.prabhakaranhttp://scn.sap.com/contenthttp://scn.sap.com/welcomehttp://scn.sap.com/people/pallavi.khttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689545/PIC1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689545/PIC1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689545/PIC1.JPGhttp://scn.sap.com/docs/DOC-63695/diff?secondVersionNumber=9http://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-691860/Open+Def.jpghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689545/PIC1.JPGhttp://scn.sap.com/docs/DOC-65343http://scn.sap.com/docs/DOC-63707http://scn.sap.com/docs/DOC-63704http://scn.sap.com/people/prabhith.prabhakaranhttp://scn.sap.com/people/prabhith.prabhakaranhttps://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-63695&ref_src=twsrc%5Etfw&text=Tips%2C%20Experience%20and%20Lessons%20Learned%20from%20multiple%20HANA%20projects(TE...&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-63695&via=SAPCommNethttp://scn.sap.com/contenthttp://scn.sap.com/actionshttp://scn.sap.com/communicationshttp://scn.sap.com/activityhttp://scn.sap.com/logout.jspahttps://accounts.sap.com/universalui/profile/1dx?spId=https://scn.sap.comhttp://scn.sap.com/people/pallavi.khttp://scn.sap.com/community/uachttp://scn.sap.com/community/developer-centerhttp://scn.sap.com/community/downloadshttp://scn.sap.com/welcomehttps://www.sapstore.com/?url_id=banner-US-2015-SCN-HeadLinkhttp://scn.sap.com/community/newslettershttp://scn.sap.com/community/getting-started

  • 8/17/2019 Tips, Experience and Lessons Learned From Multi..HANA_1

    2/8

    26/04/2016 Tips, Experience and Lessons Learned from multi... | SCN

    http://scn.sap.com/docs/DOC-63695 2/8

     2) Related to HANA/SLT:

     Use Case: We have a new SLT configuration enabled for a source system.

    Which all tables would be created automatically under the target schema defined in the configuration?

     Observation: We have created a Non-SAP configuration in SLT and MII_SQl was the configuration name provided in

    SLT.

    Now in H ANA side, you will see that the schema MII_SQL has the following tables by default.

     3) Related to HANA:

    Use Case: We have a HANA Information View. We want to know the Number of records available in the output.

     Solution: HANA Information View --> Semantics --> Data p review --> Show Log --> Generated SQL.

     

    Copy the “SYS_BIC”.sap.hba.ZDBR44364/CV_FMIFIIT (My calculation view for this documement purpose)

    Now write a SQl command.

     

    4) Related to HAN A:

    Use Case: We need to connect to a HANA cloud system. How to do that.

    http://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689563/Pivc4.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689562/Pic3.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689561/PIC2.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-691861/Where-Used+List.jpg

  • 8/17/2019 Tips, Experience and Lessons Learned From Multi..HANA_1

    3/8

    26/04/2016 Tips, Experience and Lessons Learned from multi... | SCN

    http://scn.sap.com/docs/DOC-63695 3/8

     Solution: Initially when we see the HANA studio, we will see the following:

     Now C lick, Install New Software

      Add https://tools.hana.ondemand.com/kepler 

     Once it is installed, you will now see the option to add the Cloud System in HANA Studio.

     

    While connecting to the cloud system, you might encounter the following error:

     

     Access the fol lowin g p ath(Preferen ces) a nd make the re quire d ch ange s in the H TTP and HTTPS line items.

    http://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689569/p9.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689568/p8.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689567/p7.pnghttps://tools.hana.ondemand.com/keplerhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689473/p6.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689564/p5.png

  • 8/17/2019 Tips, Experience and Lessons Learned From Multi..HANA_1

    4/8

    26/04/2016 Tips, Experience and Lessons Learned from multi... | SCN

    http://scn.sap.com/docs/DOC-63695 4/8

     

    Some times, you might get a following error message.

    This happens when the service is temporary down and you should be able to connect to the HANA cloud system after 

    some time. So please try back after some time.

     

    Sometimes, you might ge t the following e rror:

    The work around that we had done to overcome this issue was to Reinstall the Kepler components again into the

    Eclipse/ HANA Studio.

     5) Related to HANA:

     Use Case: We have created a Information View, but it failed to activate with the following error message:

     Solution: Execute the SQL command

    GRANT Select on Schema to _SYS_REPO with GRANT option.

    Once this SQL is executed, the model validation would be successful.

     

    6) Related to Lumira:

     Use Case: Lumira hangs during loading at the following screen.

     

    http://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689570/p10.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-729799/Untitled.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689571/p1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689572/P1.JPG

  • 8/17/2019 Tips, Experience and Lessons Learned From Multi..HANA_1

    5/8

    26/04/2016 Tips, Experience and Lessons Learned from multi... | SCN

    http://scn.sap.com/docs/DOC-63695 5/8

     

    Solution: This happens sometimes due to issue in user profiles.

    Go to C Drive: Users --> Find User --> Delete the .sapvi file and try loading Lumira again.

     

    7) Related to HANA:

     Use Case: Using the option 'SAVE AS DELIMITED TEXT FILE'(Comma Delimiter), I had to export a table which had

    columns containing values like the following,

    Disclaimer: In Real time, this should not have happened as the ID with comma separation doesn't look that good.

     If you observe closely, the 'CMPLID' column values itself is comma separated and when the same was

    exported, it was creating a new column after the comma separation in CSV file (the alignment of the columns

    were going wrong)

     

    Solution: During the Export of the table from HANA, I had used the option 'SAVE AS HTML FILE'.

     Now once we got that HTML File, it was fed into a Third Party Solution ' http://www.convertcsv.com/html-table-to-csv.htm'

    The HTML file was converted to CSV using that.

     

    This can further be loaded back to HANA without any issues.

     

    8) Related to HANA /SLT

     Use Case: Some tables were missing in the Data Provisioning Option in HANA studio, in case of a Non-SAP source

    system scenario where the SLT configuration is already up and running since a long time.

     Solution: This needs a little more explanation and the same has been published here in SDN few days ago.

    Please find the link below:

    http://scn.sap.com/docs/DOC-63399

     

    http://scn.sap.com/docs/DOC-63399http://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689701/P1.JPGhttp://www.convertcsv.com/html-table-to-csv.htmhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689700/P1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689699/P1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689591/Capture65.JPG

  • 8/17/2019 Tips, Experience and Lessons Learned From Multi..HANA_1

    6/8

    26/04/2016 Tips, Experience and Lessons Learned from multi... | SCN

    http://scn.sap.com/docs/DOC-63695 6/8

     9) Related to HANA:

     Use Case: You were performing lot of steps in HANA studio and in between you want to perform an activity whose link

    is available only in 'Quick Launch Screen', but it is not seen in UI.

     Solution: You Can go to the following option to 'Reset Perspective'

     Or else, the following option can be used to get only the 'QUICK VIEW' screen.

     

    10) Related to HANA

     Use Case: SAP has delivered new DU's (Say for Manufacturing OEE) and you have been asked to import the latest

    DU content to your HANA system.

     Solution: Log into service.sap.com.

    Click on SAP Support Portal.

    Click on Software DownloadsClick on Support Packages and Patches

    Click on A-Z Alphabetical List and select H

    It will take you to a screen like below:

    Download the MANUFACTURING CONTENT to your desktop. It will a ZIP File. There will be a .TGZ file (Not LANG_.TGZ File) inside that and it needs to be imported into your system using the

    following option.

     

    Once the Delivery Unit is successfully imported, you can check for the same in the 'DELIVERY UNITS' link in Quick

    Launch in HANA Studio.

     

    http://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689705/p1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689702/P1.JPGhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689704/P1.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-689703/P1.png

  • 8/17/2019 Tips, Experience and Lessons Learned From Multi..HANA_1

    7/8

    26/04/2016 Tips, Experience and Lessons Learned from multi... | SCN

    http://scn.sap.com/docs/DOC-63695 7/8

     Average User Rating

    (7 ratings)

    My Rating:

    0   Tweet

     11) Related to HANA:

    Use Case  : While trying to connect Join_1 and Projection, I was getting the following warning (Comapartment

    Changes). We tried all options to connect both the nodes, but system was not allowing us to do so.

    Solution: Finally, we had to close the Whole View and relaunch it again. After doing that, we were able to join the

    nodes.

     12) Related to HANA:

    Use Cas e: For a POC/DEMO, We had to Generate huge n umber of Test Data/records (at the order of more than 1

    Billion) into HANA Schema Tables.

    Main catch here was that the whole activity was not just generating junk data but some meaningful data with some

    conditions.

     Solution:

    2 Tools were available to fulfil our requirement.

    1) DEXTOR --> You can get more details in this video:

    https://sap.emea.pgiconnect.com/p7mdn240kw9/?launcher=false&fcsContent=true&pbMode=normal

     2) HANA Data Generator:

    http://scn.sap.com/docs/DOC-42320

     Eventually we used the 2nd option, but there are some limitations and at times you find not get the expected results,but

    yes it is indeed a very nice tool

     Sample screen where we had given some conditions:

     NOTE: Please note that it was not working in JAVA 8 version and I had to uninstall 8 and install 6 for making the tool

    work

     

    Hope this document would be handy!

     BR

    Prabhith-

    2699 Views

    Products: sap_hana, sap_lumira Topics: in-memory_business_data_management  Tags: hana, in-memory,

    in_memory_business_data_management , slt, in_memory_computing , hana-experience , slt_issue, hana;studio;attribute, hana-studio,

    slt_replication, hana1, slt_to_hana, hana_overview

    Share   6   0Like

    6 Comments

    http://scn.sap.com/community/hana-in-memory/tags#/?tags=hana_overviewhttp://scn.sap.com/community/hana-in-memory/tags#/?tags=slt_to_hanahttp://scn.sap.com/community/hana-in-memory/tags#/?tags=hana1http://scn.sap.com/community/hana-in-memory/tags#/?tags=slt_replicationhttp://scn.sap.com/community/hana-in-memory/tags#/?tags=hana-studiohttp://scn.sap.com/community/hana-in-memory/tags#/?tags=hana%3Bstudio%3Battributehttp://scn.sap.com/community/hana-in-memory/tags#/?tags=slt_issuehttp://scn.sap.com/community/hana-in-memory/tags#/?tags=hana-experiencehttp://scn.sap.com/community/hana-in-memory/tags#/?tags=in_memory_computinghttp://scn.sap.com/community/hana-in-memory/tags#/?tags=slthttp://scn.sap.com/community/hana-in-memory/tags#/?tags=in_memory_business_data_managementhttp://scn.sap.com/community/hana-in-memory/tags#/?tags=in-memoryhttp://scn.sap.com/community/hana-in-memory/tags#/?tags=hanahttp://scn.sap.com/community/hana-in-memory/tags#/?tags=in-memory_business_data_managementhttp://scn.sap.com/community/hana-in-memory/tags#/?tags=sap_lumirahttp://scn.sap.com/community/hana-in-memory/tags#/?tags=sap_hanahttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-718002/Capture1.JPGhttp://scn.sap.com/docs/DOC-42320https://sap.emea.pgiconnect.com/p7mdn240kw9/?launcher=false&fcsContent=true&pbMode=normalhttp://scn.sap.com/servlet/JiveServlet/showImage/102-63695-9-718003/Capture1.JPGhttps://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-63695&ref_src=twsrc%5Etfw&text=Tips%2C%20Experience%20and%20Lessons%20Learned%20from%20multiple%20HANA%20projects(TE...&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fdocs%2FDOC-63695&via=SAPCommNet

  • 8/17/2019 Tips, Experience and Lessons Learned From Multi..HANA_1

    8/8

    26/04/2016 Tips, Experience and Lessons Learned from multi... | SCN

    http://scn.sap.com/docs/DOC-63695 8/8

    Follow SCNSit e Ind ex Con tact Us SAP Help Po rtal

    Privacy Ter ms of Use Legal Disclosure Copyright

    Like (0)

    Vijay Chandra.R  26-May-2015 11:15

    Hi Prabhith,

    Regarding 2nd point:

    You are saying that SLT is configured at Non SAP system.

    Where will you configure DMIS server to Non SAP source systems and pull data till HANA DB.

     BR,

    Vijay

    Like (0)

    prabhith prabhakaran 27-May-2015 02:01 (in response to Vijay Chandra.R)

    Hello Vijay,

     In our case, SLT is a separate box which connects to Non SAP source and HANA Target.

     BR

    Prabhith

    Like (0)

    Pavan Kumar K R 28-May-2015 22:06

    Hey Nice document. Few points will be really handy.

     Error message is not getting displayed clearly in Point-5. Better to upload again or post the error 

    message.

     

    Keep up the Good Work Prabhith

    Like (0)

     Amrithpal K 19-Jul-2015 19:53

    Nice Document, Prabhith..

     Keep adding more points to this TELL @ HANA Series.

     Thanks,

     Amrith...

    Like (0)

     Abani Pattanayak 03-Dec-2015 17:28

    Good work prabhith prabhakaran.

    Like (0)

    Martin Roehr  31-Mar-2016 14:17

    Dear Prabhith,

     great blog. I'll keep on following.

     Best regards

     Martin

    http://scn.sap.com/people/martin.roehrhttp://scn.sap.com/people/prabhith.prabhakaranhttp://scn.sap.com/people/abaniphttp://scn.sap.com/people/amrithhttp://scn.sap.com/people/kr.pavankumarhttp://scn.sap.com/people/prabhith.prabhakaranhttp://scn.sap.com/people/vijay.rhttp://www.sap.com/corporate-en/our-company/legal/copyright/index.epxhttp://www.sap.com/corporate-en/our-company/legal/impressum.epxhttps://accounts.sap.com/ui/public/viewTextResource?scenario=SCN&spId=504efd8ee4b0555c3c17b94e&resourceType=RESOURCE_TERMS_OF_USE&version=1&spDisplayName=SAP%20Community%20Network&locale=enhttps://accounts.sap.com/ui/public/viewTextResource?scenario=SCN&spId=504efd8ee4b0555c3c17b94e&resourceType=RESOURCE_PRIVACYPOLICY&version=1&spDisplayName=SAP%20Community%20Networkhttp://help.sap.com/http://scn.sap.com/docs/DOC-18476http://scn.sap.com/docs/DOC-19361http://spr.ly/SCNgoogleplushttp://bit.ly/SCNyouThttp://bit.ly/SCNFBhttp://bit.ly/SCNTwR