Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SMP 3.0 Device Registration issue

Hello,

We followed these steps for deployment of hybrid application in smp 3.0 server, we are getting some error.Please find attachment for detailed error analysis.

Step 1:installed JDK, and set it to environment variable

Step 2 : installed apache ant, and set it to environment variable

Step 3: installed node.js, and set it to environment variable

Step 4: installed cordova, And set it to environment variable

Step 5: installed ADT Plugins in Ecllipse

Step 6: In Management cockpit

           a) Create new application- given ID, Name, and Type of application (Hybrid).

           b) On selecting application  specified Back-End Point and Authentication

           c) Go to  APP SPECIFIC SETTINGS then upload that Myapp zip.

           d) Deployed it.

Step 7: Now,in Command Prompt 

           a) cordova create <foldername>  <application id>  <AppName>

           b) cd <foldername>

           c) cordova platform add android

           d)cordova –d plugin C:\SAP\MobileSDK3\KapselSDK\plugins\logon

           e) Downloaded register.html from SCN and replaced with index.html in WWW folder and   generated apk.

           f) We are getting error while opening apk on mobile device that is “SAP is not defined” .

Step 8: Created one folder that is Myapp/android/.

            This android folder contains www folder and config.xml file

Step 9: Now compressed Myapp folder.

Step 10: In Management cockpit

        a) Create new application- given ID, Name, and Type of application (Hybrid).

        b) On selecting application  specified Back-End Point and Authentication

        c) Go to  APP SPECIFIC SETTINGS then upload that Myapp zip.

        d) Deployed it.

      

Step 11:  Opened this link on https://host:port/Admin/kapsel/jaxrs/KapselApp/app-id.

        a) Got the logon screen.

        b) After specifying User name & Password, its showing error sap is not defined.

issue1.PNG (16827 B)
Former Member
replied

All the steps are mentioned here Registering using the Logon Plugin

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question