cancel
Showing results for 
Search instead for 
Did you mean: 

AFM (Application Function Modeler) - SAP HANA SPS 06 - Issue with AFM

former_member184871
Contributor
0 Kudos

Hi All,

I am using SAP HANA SPS 06, on this I am trying to use Application Function Modeler - which is an additional feature in XS for using PAL using modeling features.

I have completed the prerequisite as mentioned in the following videos:

  1. AFM: Getting Started with the Application Funct... | SAP HANA
  2. AFM: Authorizations | SAP HANA
  3. AFM:  Kmeans analysis | SAP HANA

In 3rd Video there is a file "kmeans.aflpmml" is created and when the instructor double clicks on that a window opens in HANA studio and on the right hand side we can see the "Functions List" - please refer the image below - from the video

But In my case - after following all the steps from the video I am not able to see the same " Functions List" please refer to the image below:

Please help - how I can get all the "Function - List" as shown in figure 1.

Regards

Kumar Mayuresh.

Accepted Solutions (1)

Accepted Solutions (1)

henrique_pinto
Active Contributor
0 Kudos

Hi Kumar,

there isn't much I could tell you to try, apart from opening an OSS message.

One last thing I'd try, tho, is to uninstall HANA Studio and reinstall it from scratch.

I've had similar problems (missing params/strange behavior) when updating Studio.

Best,

Henrique.

former_member184871
Contributor
0 Kudos

Hi Henrique

I will try re-installing SAP HANA Studio from scratch on my system - (Which is Windows 8 64Bit - Windows 8 might be a problem), also I will try on a fresh Virtual Windows 7 64 Bit system - If nothing works out I will open an OSS Message.

Regards

Kumar.

henrique_pinto
Active Contributor
0 Kudos

Windows 8 might definitely be an issue.

Well, maybe not win8 itself, but the Java VM for win8.

former_member184871
Contributor
0 Kudos

I will definitely check and Update in a day or two.

Regards

Kumar. 

former_member184871
Contributor
0 Kudos

Its same story with windows 7 also I am not able to see the predefined functions as shown in the video.

Any help or suggestion are welcomed.

Regards

Kumar.

henrique_pinto
Active Contributor
0 Kudos

Did you open OSS?

former_member184871
Contributor
0 Kudos

My S-User ID doesn't have authorization to open an OSS ...!!

Any suggestions ??

0 Kudos

Please try to activate the Script Server and then try again.

You may find the corresponding error information in the HANA studio's "Error log" view.

Thanks  lot.

Jimmy

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Just to add to Jimmy's post.  See SAP note 1650957 for how to start the script server.

Cheers,

Rich Heilman

Answers (2)

Answers (2)

former_member184871
Contributor
0 Kudos

Hi Jimmy/ Rich / Henrique

Thank you all for the help. After re-starting the script server again its working fine.

Regards

Kumar

henrique_pinto
Active Contributor
0 Kudos

Have you installed the AFL package and created the AFL Wrapper procedure in your environment?

Also, make sure you have the AFL__SYS_AFLPAL_EXECUTE and AFL__SYS_AFL_AFLBFL_EXECUTE roles in your user; they need to be granted by the SYSTEM user.

I haven't used AFM yet, but I'd also refer to the item 6.6 Developing Procedures Using Application Functions in the HANA Developer Guide.

Best,

Henrique.

former_member184871
Contributor
0 Kudos

Hi Henrique


AFL Package and AFL Wrapper procedure are present in my environment.

I have also assigned AFL__AFLPAL_EXECUTE and AFL__SYS_AFLBFL_EXECUTE roles to the respective user.

As per HANA Developer guide and the instructions in video I have followed all the steps but, its not working out.

Can you please assist in more details. Looks like I am missing something in-between ...!!

Regards

Kumar.