Sunteți pe pagina 1din 6

26/04/2016

Tips,ExperienceandLessonsLearnedfrommulti...|SCN

GettingStarted Newsletters

Hi,pallavi

LogOut

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Tips,ExperienceandLessonsLearnedfrom
multipleHANAprojects(TELL@HANA
PART3)

Store

SearchtheCommunity

42points

Communications

Actions

Create

Version11

createdbyprabhithprabhakaranon26Apr201515:27,lastmodifiedbyprabhithprabhakaranon31Mar201611:42

Share

Tweet

Like

HelloAll,

ItsbeensometimethatIhavebeenworkinginHANAandrelatedareaslikeSLT,Lumira,Fioriandsoon.
Sothoughtofsharingsometopicshere,whichwouldbehandy.

Disclaimer:
1)ThisseriesisexclusivelyforBeginnersinHANAandallthoseHANAexpertshere,pleaseexcuseme
2)ThesearesomeSolutions/Observationsthatwehavefoundhandyinourprojectsandamquitesuretherewouldbe
multiplewaystoderivethesameresult.
3)Theseseriesofdocumentsarecollaborativeinnature.Sopleasefeelfreetoeditthedocuments,whereverrequired!

4)AllthepointsmentionedhereisobservedonHANAsystemswhoserevisionis>=82.
Part1ofthisseriescanbefoundhere>
projects(TELL@HANAPART1)
Part2ofthisseriescanbefoundhere>
projects(TELL@HANAPART2)
Part4ofthisseriescanbefoundhere>

Tips,ExperienceandLessonsLearnedfrommultipleHANA
Tips,ExperienceandLessonsLearnedfrommultipleHANA
http://scn.sap.com/docs/DOC65343

22)RelatedtoHANA
UseCase:WehaveatableAinHANAunderSchemaA.Wewereaskedtocreatethesimilartablestructureina
differentschemaB.
Solution:HANAGeneratedSQLcanbeoneofthesolution.
GototheTablethatyouwanttorecreateunderanotherschema:
SchemaATable>RightClick>OpenDefinition
Innextscreenyouwillfindtheentiretabledefinition.
RightClickonthespaceandcopytheExportSQLcontentandpasteitinSQLconsoleunderSchemaB.

23)RelatedtoHANA
UseCase:Wewereaskedtoprovidethetotalcountofrecordsinatable.
Solution:2Differentstepsthatcanbeusedare:

http://scn.sap.com/docs/DOC63707

1/6

26/04/2016

Tips,ExperienceandLessonsLearnedfrommulti...|SCN

24)RelatedtoHANA
UseCase:WeareloggedintoanHANAinstanceinstudioasuserAandinbetweenwehadtologintothesame
instanceusingadifferentuser:
Solution:

25)RelatedtoHANA/SDA
UseCase:WehaveaTableAandaviewiscreatedontopofthattableAinaHANAInstance(SayHAS)
NowwewanttocreatethesameviewonanotherHANAInstance(HAT),butthecorrespondingtableAisnot
available.
Solution:SDA(Smartdataaccess)wasthesolutionthatweimplemented
GototheTargetHANAInstance(HAT)andcreateaSDAconnectionontheSourceHANAinstance(HAS)

Oncetheconnectionissuccessfullyestablished,allthetablesinSourceInstance(HAS)wouldbeseenintheTarget
HANAinstance(HAT)
IdentifytherequiredtableA>RightClick>'AddasVirtualtable'andsavethesameundertherequiredSchema

NowsincetheTargetHANAinstance(HAT)containstherequiredtableA,wewouldbeabletocreatetheviewontopof
that.

26)RelatedtoHANA/SDA
UseCase:AfterdoingthestepsmentionedinStep23,wecreatedtheHANAviewintheSDAtargetsystem,activated
itandtriedtoPreviewthedata.
ButunfortunatelyitwentintothefollowingAuthorizationrelatederror.

http://scn.sap.com/docs/DOC63707

2/6

26/04/2016

Tips,ExperienceandLessonsLearnedfrommulti...|SCN

PS:HereSTMissourceHANAinstanceforSDAanderrorclearlymentionsthatsystemisfacingissueswhileopening
theremotedatabase.
Solution:Thetable'VOICEOFCUSTOMER'isavailableunderSchema'S1'inthesourceHANAinstance'STM'.
WeaddedtheSchemaS1underObjectPrivilagesofuserSDA_Connect

ThatresolvedourauthorizationissueandwewereabletopreviewtheoutputoftheviewintheSDAtarget(HAT)

27)RelatedtoHANA/SQL
UseCase:WewereaskedifthereisamethodtoshowthetotalsasaSeperateRowundertheDataset.
ThiswasforaconfigurationstepinaconnectedGRCsystem.IdealCustomerusecaseneedstobecheckedupon...

Solution:ROLLUPcommandinHANAcanbeleveragedhere:

AfteraddingtheROLLUPcommand:

28)RelatedtoHANALive:
UseCase:Formeetingacustomerrequirement,wehadtojoin2HANALiveViews.
Observation:IncaseifthealreadyexistingHANALiveViewshavePrompts,thatmightnotbeappearingwhenyou
dragthesametoaProjectionorAggregationnode.Inthatcase,youcanaddthesamepromptsmanuallyandmapthe
HANALivepromptswiththeonethatyouhavecreatedusingthefollowingoption.

http://scn.sap.com/docs/DOC63707

3/6

26/04/2016

Tips,ExperienceandLessonsLearnedfrommulti...|SCN

29)RelatedtoHANA:
UseCase:WehadarequirementtoshowthecurrentdateasthedefaultvalueinHANAInputParameter.
Solution:WecanuseaExpressionlikethefollowing:
NOTE:20150525formatseemstobeworkingonlywithBOAnalysisofficetool.

30)RelatedtoHANA
UseCase:TherewasatablealreadycreatedinHANAhavingaspecificcolumnwithdatatypeNVARCHAR(10).The
sametablewasconsumedinaAttributeandfurtherinaCalculationview.Weweregivenafreshexcelsheetfor
uploadingtothetablebutthevaluescontainedinthenewexcelsheetforthatcolumnhadmanyentrieswhoselength
isaround25.

Solution:Truncatetable"<Schema_Name>"."<Table_Name>".
AlterTable"<Schema_Name>"."<Table_Name>"Alter("<Field_Name>"NVARCHAR(30)).

31)RelatedtoHANA
UseCase:WehadsomeInformationviewsinSystemLocal>bw2hanapackage.
Unfortunatleywheneverwetrytodoadatapreviewoftheview,itgoesintothefollowingerror:

http://scn.sap.com/docs/DOC63707

4/6

26/04/2016

Tips,ExperienceandLessonsLearnedfrommulti...|SCN

Solution:
Wehadcheckedforalltypesofauthorizationrelatedpoints.especiallytheonesmentionedinthefollowingnote:
SAPNote:1761917ExecutingoractivatinganAnalyticObjectfailswith"userisnotauthorized"or"invalidatedview"

Finally,relaizedthatmostoftheviewstherewerehavingApplyPrivilegesoptionas'SQLAnalyticPrivileges'.
WechangedtheprivilegetoBlankandthepreviewviewoptionstartedworking...

32)RelatedtoHANA:
UseCase:Overacourseoftime,wehadfoundamistakeandhadtochangethePrimarykeyofatable.
Before:

Solution:
ALTERTABLE"ZDBR_44093_STUD_MGT"."SURVEY2"DROPPRIMARYKEY

AfterSQL:

33)RelatedtoLumira:
UseCase:WeweregettingissuesinLumira(likethescreenshotbelow).

Solution:
WheneveryoupublishaLumiradatasettoHANAServer(Inmycase,LumiraandHanaareonsamebox),thedataset
gets
collectedunderthefollowingpathintheformofaHANAcalculationview>HANASystem>Contents>
sap(Package)>bi>content
Youcansearchtherestoftheactualpathfromtheabovescreen
Inmycase:3002393>6b40aaedad1041808200bcfc5365709b>HANAcalculationview

http://scn.sap.com/docs/DOC63707

5/6

26/04/2016

Tips,ExperienceandLessonsLearnedfrommulti...|SCN

Nowclickontheviewandredeploy

NowtheLumirareportwillbeshown.

Hopethisdocumentwouldbehandy!
Willkeepaddingmoretipshere....

BR
Prabhith

1812Views

Tags:none

AverageUserRating

MyRating:

(6ratings)

Share

Tweet

Like

0Comments
Therearenocommentsonthisdocument.

SiteIndex
Privacy

ContactUs
TermsofUse

http://scn.sap.com/docs/DOC63707

SAPHelpPortal
LegalDisclosure

Copyright

FollowSCN

6/6

S-ar putea să vă placă și