, , onto the page to see how they render. 3.3 Click on the added elements to inspect their attributes in the right panel. For example, set the src of a element to point to a local or online video file. 3.4 Activate and preview the application to see the HTML5 elements in action. This demonstrates how NAD allows building mobile apps using the">, , onto the page to see how they render. 3.3 Click on the added elements to inspect their attributes in the right panel. For example, set the src of a element to point to a local or online video file. 3.4 Activate and preview the application to see the HTML5 elements in action. This demonstrates how NAD allows building mobile apps using the"> Nothing Special » Address: [go: up one dir, main page] Include Form Remove Scripts Accept Cookies Show Images Show Referer Rotate13 Base64 Strip Meta Strip Title Session Cookies Open navigation menuClose suggestionsSearchSearchenChange LanguageUploadLoading...User Settingsclose menuWelcome to Scribd!UploadRead for freeFAQ and supportLanguage (EN)Sign in0 ratings0% found this document useful (0 votes)220 viewsNeptune Getting Started GuideUploaded byJuan Carlos Flores AI-enhanced Here are the key steps from the exercise: 3.1 Open the application from the previous exercise. Go to the components tab and expand the HTML5 library. This library contains common HTML5 elements that can be dragged onto the page. 3.2 Drag some HTML5 elements like <video>, <audio>, <canvas> onto the page to see how they render. 3.3 Click on the added elements to inspect their attributes in the right panel. For example, set the src of a <video> element to point to a local or online video file. 3.4 Activate and preview the application to see the HTML5 elements in action. This demonstrates how NAD allows building mobile apps using theCopyright:© All Rights ReservedAvailable FormatsDownload as PDF, TXT or read online from ScribdDownloadSaveSave Neptune Getting Started Guide For Later0%0% found this document useful, undefined0%, undefinedEmbedSharePrintReportNeptune Getting Started GuideUploaded byJuan Carlos Flores 0 ratings0% found this document useful (0 votes)220 views73 pagesAI-enhanced descriptionDocument Informationclick to expand document information Here are the key steps from the exercise: 3.1 Open the application from the previous exercise. Go to the components tab and expand the HTML5 library. This library contains common HTML5 elements that can be dragged onto the page. 3.2 Drag some HTML5 elements like <video>, <audio>, <canvas> onto the page to see how they render. 3.3 Click on the added elements to inspect their attributes in the right panel. For example, set the src of a <video> element to point to a local or online video file. 3.4 Activate and preview the application to see the HTML5 elements in action. This demonstrates how NAD allows building mobile apps using theOriginal Description: Neptune Getting Started GuideCopyright© © All Rights ReservedAvailable FormatsPDF, TXT or read online from ScribdShare this documentShare or Embed DocumentSharing OptionsShare on Facebook, opens a new windowFacebookShare on Twitter, opens a new windowTwitterShare on LinkedIn, opens a new windowLinkedInShare with Email, opens mail clientEmailCopy linkCopy linkDid you find this document useful?0%0% found this document useful, Mark this document as useful0%0% found this document not useful, Mark this document as not usefulIs this content inappropriate?Report Here are the key steps from the exercise: 3.1 Open the application from the previous exercise. Go to the components tab and expand the HTML5 library. This library contains common HTML5 elements that can be dragged onto the page. 3.2 Drag some HTML5 elements like <video>, <audio>, <canvas> onto the page to see how they render. 3.3 Click on the added elements to inspect their attributes in the right panel. For example, set the src of a <video> element to point to a local or online video file. 3.4 Activate and preview the application to see the HTML5 elements in action. This demonstrates how NAD allows building mobile apps using theCopyright:© All Rights ReservedAvailable FormatsDownload as PDF, TXT or read online from ScribdDownload nowDownload as pdf or txtSaveSave Neptune Getting Started Guide For Later0 ratings0% found this document useful (0 votes)220 views73 pagesNeptune Getting Started GuideUploaded byJuan Carlos Flores AI-enhanced description Here are the key steps from the exercise: 3.1 Open the application from the previous exercise. Go to the components tab and expand the HTML5 library. This library contains common HTML5 elements that can be dragged onto the page. 3.2 Drag some HTML5 elements like <video>, <audio>, <canvas> onto the page to see how they render. 3.3 Click on the added elements to inspect their attributes in the right panel. For example, set the src of a <video> element to point to a local or online video file. 3.4 Activate and preview the application to see the HTML5 elements in action. This demonstrates how NAD allows building mobile apps using theCopyright:© All Rights ReservedAvailable FormatsDownload as PDF, TXT or read online from ScribdSaveSave Neptune Getting Started Guide For Later0%0% found this document useful, undefined0%, undefinedEmbedSharePrintReportDownload nowDownload as pdf or txtJump to Page You are on page 1of 73Search inside document FullscreenGETTING STARTED GUIDEGetting started guideNeptune Application Designer (NAD) is an HTML5 IDE residing as anABAP Add-on on any Netweaver ABAP SAP systems (ERP, CRM, BW,SOLMAN, etc.) This guide aims make developers capable ofindependently develop complete mobile solutions.Table of ContentsGetting started guide .......................................................................................................................................1Table of Contents .............................................................................................................................................3Components .....................................................................................................................................................5Introduction......................................................................................................................................................6NAD SERVER .....................................................................................................................................................7Overview of the NAD work area.......................................................................................................................8Exercise 1: Building a home page .....................................................................................................................9jQuery Mobile.................................................................................................................................................14Exercise 2: Basic functionality of NAD ...........................................................................................................16HTML5 ............................................................................................................................................................20Exercise 3 using HTML5 library in NAD ..........................................................................................................21Exercise 4: Create an application class ...........................................................................................................26Exercise 5: Creating a form in the designer ...................................................................................................29NAD Application Flow.....................................................................................................................................33Exercise 6: Create a results page ....................................................................................................................34Neptune Plugins .............................................................................................................................................40Exercise 7: Dataloop .......................................................................................................................................41Exercise 8: Show a details page ......................................................................................................................54Neptune server API ........................................................................................................................................59jQuery Mobile - Form Gallery .........................................................................................................................60Exercise 9: Form Fields Show Bookings .......................................................................................................61ComponentsIntroductionOverall architecture:The solution consists of an application server and an application designer.<server>:<port>/neptune/stateless/<application><server>:<port>/neptune/stateful/<application>6NAD SERVERNeptune Application Server (NAS) handlesRESTful services) through the ICF frameworkin SAP. The Neptune interface gets theseservices(request and response) through theOnSubmit, OnResponse and OnRequestmethods. From here you can customize theindividual application through a customerclass and have access to all SAP data andfunctions of the system NAD is installed on.Solutions that are created can be run online in the browser, offline in the browser or exported toPhonegap for hybrid solutions.Overview of the NAD work areaThe work area is accessed through SAP GUIand contains known functionality such asactivation, editing, version control, etc.Navigating between the various functionalareas through tabs (application, components,css, etc.) generic functions can be reachedthrough the drop-down menus (application,resources, and preview) as well as in thetaskbar with icons for the change mode, openthe application, version check, newapplication, etc.Exercise 1: Building a home page1.11.2Add transaction/neptune/designer in the SAP menuas a favoriteAs NAD is an ABAP add-on and is not a common zprogram, the SAP GUI will not understand thetransaction (Because it starts with /n). optionallycreate a Z transaction that is running the program ifyou do not want to use favorite.Start the designer and press the create applicationbutton.Neptune Software has attempted to keep thefunctionality of the designer as identical to standardSAP dialog functionality as possible so that thesolution will easily be adapted by SAP developers.1.3Give your application a name, description and titlebefore savingNote that one can also select to save as a CodeSnippet (we'll review this later).1.4As the NAD is an ABAP tool you will now add theapplication to a transport requestWe believe there is a huge advantage using standardSAP transport framework. It is both familiar todevelopers and administrators.101.5Go to the components tab -> right-click HTML5document > click code-snippets-> click jqmboilerplate *1Code-snippes can be created in the same way asapplications and is an excellent way to ensure quickcoding or identical theme/branding for the application.Activate the application and select preview (Desktop1.6 stateless)There are both stateless and stateful previews fordifferent devices: Phone, tablet and desktop. Statefulcashes sessions in the server side memoryJqm boilerplate er standard jquery mobile sideoppsett111.7This is pure HTML5 not very impressiveRight click and select "view page source" to see thehtml5 markup.1.8Go to the application tab and select the jQuery andjQuery mobile pluginsImportant: Use jQuery 1.6.4 an jquery mobile 1.0121.9Activate and preview as in step 1.6This looks a bit better.We will soon make more advanced applications. But first abit about jQuery mobile13jQuery Mobile14jQuery has long been one of the most popular javascript libraries for developing RIA Web pages.Since jQuery primarily was designed for desktop browsers it doesn't have good support formobile web apps.jQuery Mobile is a new project. It is a framework built on top of jQuery that handles the userinterface on all popular mobile devices.For more information go to http://www.jquerymobile.com or use the resources dropdown menufrom within the NAD.15Exercise 2: Basic functionality of NAD2.1Open the application from exercise 1 and go to thecomponents. Expand the object tree and click ontxtHeading.Look at the component area and the tabs to the rightof the tree. Here is information related to this specificitem.2.2Note that there is language support for html5elements either through custom texts or via the"data binding" to dictionary objects.Since we have not yet built or connected to any ABAPclass, data binding will not work yet.162.3Click on the header element in the tree and selectthe attributes tab the HTML5 attributes as well asjquery mobile data attributes.Notice that the header is selected for data-role in thedrop-down menu (highlighted in yellow).Review the other elements and see that it is data-role= "page", "content", "footer".This is essential in jQuery mobile and provides a lot offree functionality and styling.Note that there are online help on many of these.172.4Return to txtHeading the item and select the styletab.Add a new font-family and font-size (e.g. 200px sothat we notice the difference) enable applicationand select preview.Note that this is only for styling of individual items many times it pays to style on the class or id so thatyou don't have to do the same thing every time182.5Click the header again, select the style tab and pressthe custom button.Add background: orange; Save and activate, thenpreview.The same custom functionality is also provided forattributes.2.6This was not beautiful Delete the last changes so that we can work on theapplication later.19HTML5HTML5 (HyperText Markup Language 5) is the fifth revision of the HTML standard, the standardused to structure and present content on the WWW (World Wide Web). The HTML standard wasconceived in 1990 and the previous revision (HTML4) came in 1997. HTML5 is a standard that isstill under development. W3C (World Wide Web Consortium) are hoping for that specification tobe completed in 2014.Nevertheless, the HTML5 started to become very widespread. This is possible because most ofthe major browsers today support a lot of HTML5 and especially on mobile devices. In addition,Adobe is moving towards HTML5 (they have now a jQuery mobile plugin for Dreamweaver) andMicrosoft supports no plugins (including its own Silverlight) in the new IE10 for windows 8, whichalso has extensive HTML5 support. There was great debate among developers about flash vs.HTML5 and Silverlight only a few months ago this debate no longer exist (with a fewexceptions).The last and perhaps the main reason is that one can get almost equivalent native functionalityon most mobile OS by using HTML5. Write once, run anywhere20Exercise 3 using HTML5 library in NAD3.1Go back to the application and navigate to theFolder List in the library tree.Select an Unsorted List (UL), drag this over to thecontent item in the object window and accept toadd it under this. Give it a name e.g. Menu.Building of HTML5 documents is done by using thedrag/drop method. Look at the various HTML5elements contained in the library. In addition to thestandard you can use Add Custom Code for customjavascript/HTML5 markup.There are also Plugins with custom functionality (wewill talk about these later).213.2Let's use a little JQM power.Select the UL you've added and go to the attributes.Add data-divide-theme, data-inset, data-role(listview) and data-theme.We will build a menu for our application.3.3Add a List Item (LI) under the UL.Set data-role to list-divider and insert a HEADER (H3)under this. Give your menu a name.Preview if you want to look at the result (use stateless andbe sure to activate the code first).223.4Add a new LI under the previous (select "no thankyou" so that it remains at the same level).Add a hyperlink (href) under this Label and writeConnections in the label field.We are going to use the Flight database because it existsin all SAP systems that have an ABAP stack.3.5Now we need to create a new page.Collapse the page div and right click on it. Click thecode snippets and add a new Boilerplate.Since the name of the page in our solution is the same asthe ID attribute, it must be unique in order for us to beable to navigate. Give the first page DIV the name Startand the other connections.233.6Select menuItem1 from the home page and add#connections in the href attribute.Preview and test the connections link (Tip: Testdifferent transition effects)JQM uses # and id on the pages to load these in andout of the DOM (Document Object Model).3.7Add a "back" href in the header on the connectionspage.243.8Add # Start in the href attribute and add datadirection data-icon and data transition.Test the solution and try out different icons.We have now created a navigable application. Next we'llreview the posting of Forms but first we need some serverlogic.25Exercise 4: Create an application class4.1We will now create an application class to handledata to and from the server.Go to transaction SE24 and give the class a namee.g. zcl_kurs01. Press create.4.2Leave all the properties default and select atransport.Go to the interface tab andadd/NEPTUNE/IF_NAD_SERVER.264.3Activate the class and select the methods tab.Make sure you have the three methods shown inthe picture.4.4Add internal table IT_SPFLI and global variableGV_CARRID.Set both as public and type them to SPFLI_TAB andS_CARR_ID.274.5Go to the Methods tab. Add method SEARCH_CONN, setit to private and click activate. Double-click the methodand add the following code:select *from spfliinto table it_spfliwhere carrid eq gv_carrid.4.6In the HANDLE_ON_SUBMIT method add the following:case event_id.when 'SEARCH_CONN'.call method search_conn( ).endcase.Activate the class. This is all the server coding that isneeded to access backend data from the application.28Exercise 5: Creating a form in the designer5.1Return to the designer.Select your application and add the class you havecreated in Application Class field in the applicationtab.5.2Add a FORM element to the header in theconnections page.Drag the content div into this one. Give the form aname.Any element that is located inside a form can beaccessed by the server when we submit.295.3Drag a div container under content and selectfieldcontain as data-roleFieldcontain provides positioning of the items within.5.4Drag a data select from Plugins and add this underAirline. Give it a name.305.5Press the button for datasource binding and selectGV_CARRID.The application class is now available to the designer.Now the server will also understand that the selectedid in this select is gv_carrid and can be used in thesearch_conn method we created.5.6Add value table and field as well as the label fieldSCARR CARRID CARRNAMEValue field is used by the server as id and the Labelfield is displayed to the user.315.7Go to the attributes tab and set the data-nativemenu to false.Activate and run the preview.Feel free to test the difference between navtivemenu false and true. Test it on a tablet orsmartphone as well.32NAD Application FlowFlow with form submitUsing form submit, all data is available in theApplication class. The OnSubmit method is used toretrieve data from the form, and perform the desiredtasks in SAP backend.Flow with Anchor/hrefNo data is transferred to the next application.Use the KEY fields for transfer of data.33Exercise 6: Create a results page6.1Press the "new application" button, and give it aname: e.g. conResultAdd your application class in the application tab, aswell as jQuery and jQuery plugins mobile. (1.6.4 and1.0)6.2Find the Data List plugin and move this over to thecontent div.346.36.4Select IT_SPFLI as datasource binding.Click select fields and then add some fields.356.56.6Add JQM attributes to the list: Data-divider-theme,data-filter, data-inset, data-role (listview) anddata-themePreview and look at the results page366.7Go back to the first application.Add a DIV and a Button.6.8Give the button a name and a label and addSEARCH_CONN in the Event ID field.This refers to the method that was created in theapplication class.376.96.10In the attributes tab, chose submit as type, a dataicon and a theme.For the form element select the general tab.Select the result application you have created asaction.386.11Activate and test the application.Try out different "airlines" and look at the results.6.12Add a back button in the conresult page so thatyou can navigate back.Type #connections in href field (this is the page idof the previous page)Congratulations you have now created your firstsimple app.39Neptune PluginsIn the application you just created, already Data Select and DataList plugins where used.In the next task the Data Loop plugin, which is a very powerfulcomponent, will be used. This makes it possible to loop on aninternal table and add all desired HTML5 elements for each row.40Exercise 7: Dataloop7.1Add a new menu item in the first application.Right-click on the LI element of menuItem1 and pasteit in the same level7.2Give it a new name and change the href to #connections2.Add two headers in the href.417.3Give the first header an attribute: class = ui-liheading and the other ui-li-descDo the same with the first menu item. Add somelabels.7.4It should look something like this.427.5Copy the entire connections page and put it directlybelow the previous one.Give it a new name: connections27.6Set the href to #connections2.Preview and make sure the navigation works.You can look at the url in the browser and see thepage-id that you are on.437.7Press the button class builder ". Edit the class andgo to the attributes tab. Add the following:GV_CARRID2 - S_CARR_IDIT_SPFLI2 - /NEPTUNE/SPFLI_TABWA_SPFLI2 - /NEPTUNE/SPFLI7.8Add method SEARCH_CONN2 and add theparameter SERVER type ref to and associated type/NEPTUNE/CL_NAD_SERVER447.9Add the following code to the method:* Get CARRID from server cacheif gv_carrid2 is initial.call method server->api_parameter_getexportingname= 'Carrid2'changingvalue = gv_carrid2.endif.* Get dataselect *from spfliinto corresponding fields of table it_spfli2where carrid eq gv_carrid2.* Build key for every row - used by HREF to detailsloop at it_spfli2 into wa_spfli2.concatenate wa_spfli2-carrid':'wa_spfli2-connidinto wa_spfli2-key.modify it_spfli2 from wa_spfli2 index sy-tabix.endloop.457.10Open the application CONRESULT and select copy.Copy this to CONRESULT27.11Delete The List item that is located below thecontent DI.467.12Drag a UL (Unsorted List) and put it in theContent DIV.Give this data-role listview, a list-divider-theme,set inset to true and select a theme.7.13Add two List Item elements.Give these role list-divider and add a header underthe first and give this a Label: eg. Connections2.477.14Right click on the second LI element and choosecode snippets-> JQM 4 Column Grid.Add this item inside the LI.7.15Add a text element in each block.Give these the following texts: ID, Depart. , Arriv.487.167.17Preview and see that it looks similar to the picture.Finally, we'll add a data loop plugin.Add this at the same level as the LI elements, andchoose IT_SPFLI2 as the data source.Everything we add under this component will berepeated for each row in the table.497.18Add a LI and a HREF (Hyperlink).Bind the KEY field on the HREF element to theIT_SPFLI2 KEY.Now you understand why we built a new tablecontaining the KEY item in the customer class. Asthere is no unique field in the original table.7.19Add a 4 grid code snippet UNDER href element.Add one text item under each of these.Bind the text to IT_SPFLI2 fields: Carrid Connid Cityfrom Cityto507.20Go to the application class and open the onSubmitmethod. Add the following code:when 'SEARCH_CONN2'.call method search_conn2( server ).if gv_carrid2 ne space.* Set this when using href into the applicationto save selected gv_carrid2call method server->api_parameter_setexportingname= 'Carrid2'value = gv_carrid2.endif.7.21Go back to the first application.Change the Action in the form element to theother menu item. (CONRESULT2 e.g.)517.22Change the Event ID of the menu item 2 toSEARCH_CONN27.23Set an external breakpoint and debug through thesearch_conn2 method so that you can see how thisworks.527.24The result should look like this.We will now build a details page and use the keyfield to retrieve details for a single connection.53Exercise 8: Show a details page8.1Go to the application class and Add the methodGET_DETAIL.8.2Add parameters SERVER and KEY Type Ref to/NEPTUNE/CL_NAD_SERVER and Type STRING.548.3Add internal table IT_SFLIGHT in the attributes tab.Type it FLIGHTTAB.8.4Create a new application (conDetail).Add JQM and JQ plugins and add application classZCL_KURS01.558.5Add a JQM Boilerplate and a hyperlink in theheader for Back functionality.Add Nav.to App Conresult28.6Add a DATA LIST under content and bind this totable IT_SFLIGHT.568.7Select some fields you want to view.Add some data attributes: data-role = listview..list-divider-theme etc.8.9Add the following code in the GET_DETAIL method, andactivate.data: lv_carrid type string,lv_connid type string.split key at ':' into lv_carridlv_connid.select *from sflightinto table it_sflightwhere carrid eq lv_carridand connid eq lv_connid.578.10Add the following to the onRequest method:* Navigation to Detail pageif applid eq 'CONDETAIL'.call method get_detail( key= keyserver = server ).endif.if applid eq 'CONRESULT2'.call method search_conn2( server ).endif.8.11Go to the start application and preview.You will now be able to navigate to the details page.58Neptune server APINeptune Application Server provides the developer with our own API for easy developmentand access to data from the HTML5 Document.This documentation will be updated for every new release for Neptune Application Designer.http://neptune-software.com/products-3/docs-neptune-api/59jQuery Mobile - Form Galleryhttp://jquerymobile.com/demos/1.0/docs/forms/forms-all.html60Exercise 9: Form Fields Show Bookings9.1Create a new application.Name it NADBOOKING. And add JQN and JQ plugins.9.2Use a Boilerplate JQM and add back button in theheader with navigate to App: NADKURS.619.39.4Add a DIV with data-role fieldcontainAdd a DATA SELECT and choose SCARR, CARRIDand CARRNAMECheck the box Select Mulitple.Set DATA_NATIVE_MENU to false in the attributes.Preview and see that you can select multiple rows.Note that you are not using Binding because hereyou can choose multiple we need to use aNeptune API on the server side to access theselected data.629.5Add the following attributes in the applicationclass:IT_SBOOKPublicGV_BOOKIDPublicGV_SBOOKPublicGV_BOOK_HEADER9.6TypeTypeTypePublicTY_BOOKINGSS_BOOK_IDSBOOKTypeSTRINGReturn to the Booking application and add theRADIOBUTTON code-snippet below divAirline.639.79.8Bind all input fields to the CV_SBOOK-CLASSGive the choices names: Firstclass, Businessclassand Economyclass.Set the default values to F, C and Y.Note that the Input ID and Label ID must be thesame.649.10It should now look something like this.Feel free to try different themes to change theappearance of the page(s).9.11Add a new div and one Select element.Give this the data-role slider.659.12Select two option elements.Name these smoker_yes and smoker_no. Givesmoker_yes the option Value X.Sure, this is an old data table 9.13Add a new div and a button.Set this to type = submitWe will now prepare the server.669.14Create a new method SEARCH_BOOK. Add theserver as a parameter and enter the following code(make sure the KEY is matching the name you gavein the Designer):data: ir_smokerir_classir_carridtype range of s_smoker,type range of s_class,type range of s_carrid.data: wa_sbooklv_countlv_amounttype sbook,type i,type string.* Get Smokercall method server->api_selection_get_multipleexportingkey= 'Smoker'changingrange = ir_smoker.* Get Classcall method server->api_selection_get_multipleexportingkey= 'flightClass'changingrange = ir_class.* Get Carridcall method server->api_selection_get_multipleexportingkey= 'selCarridBook'changingrange = ir_carrid.* Get Data - Max 1000 rowsselect *from sbook67into table it_sbookup to 1000 rowswhere carridin ir_carridand smokerin ir_smokerand classin ir_class.* Sortingsort it_sbook by passname.delete it_sbook where passname is initial.* Make Description fieldloop at it_sbook into wa_sbook.lv_amount = wa_sbook-loccuram.concatenate wa_sbook-carrid'-'lv_amountinto wa_sbook-passform separated by space.modify it_sbook from wa_sbook index sy-tabix.endloop.* Header - to display number of passengersdescribe table it_sbook lines lv_count.gv_book_header = lv_count.concatenate 'Passengers ('gv_book_header')'into gv_book_header separated by space.689.15Add GET_SEL_SCREEN_DATA method and addthe SERVER as a parameter. Add the followingcode:data: ir_classwa_classtype range of s_class,like line of ir_class.* Get Classcall method server->api_selection_get_multipleexportingkey= 'flightClass'changingrange = ir_class.read table ir_class into wa_class index 1.gv_sbook-class = wa_class-low.9.16Add code to the Handle_on_submit andHandle_on_request (Customize your applid,method, etc.).Handle_on_submit:when 'SEARCH_BOOK'.call method search_book( server ).Handle_on_request:* Get data to selection screenif applid eq 'NADBOOKING'.call method get_sel_screen_data( server ).endif.699.17Create a results page (e.g. NADBOOKRESULT)Build a UL with a Header LI and IT_SBOOK table ina Dataloop.Bind fields from this to the H3 elements under thedataloop.9.18Bind the Header in the list to GV_BOOK_HEADERHere we will show how you can use dynamic textfrom the server side.709.19Add the content div in the booking applicationunder a form and select the result page as formaction.Add SEARCH_BOOK as EVENT_ID on the submitbutton.9.20Test the booking application.The result should look something like after you setup the attributes.Now that we have more data check out the filterfeature of JQM lists. This is very fast, even on longlists.719.21Go to the start page. Copy LI from menuItem2.remove the HREF attribute. Instead use "nav toapplication" and bind the booking application.Change the Header and Desc.9.22Congratulations, you now have a workingapplication.7273You might also likeJS21 P000Document44 pagesJS21 P000Courtney 'Jackworld' Jack83% (6)Smooth Transition To ABAP For Cloud Development (Ch... - SAP CommunityDocument78 pagesSmooth Transition To ABAP For Cloud Development (Ch... - SAP CommunityARPITA BISWASNo ratings yet17 Best ChatGPT Prompts For Seo by Anna York 1714573800Document46 pages17 Best ChatGPT Prompts For Seo by Anna York 1714573800daniel100% (1)Customer Onboarding and Origination PDFDocument16 pagesCustomer Onboarding and Origination PDFgraycellNo ratings yetLab Report 2Document13 pagesLab Report 2Augustine JR Robert33% (3)Tips For Improved Short Dump Analysis in ST22Document8 pagesTips For Improved Short Dump Analysis in ST22Devender ReddyNo ratings yetCustom ActiveX Control in SAP GUIDocument17 pagesCustom ActiveX Control in SAP GUIDr. Kerem KoseogluNo ratings yetCalling A Web Dynpro Application From Another Web Dynpro ApplicationDocument13 pagesCalling A Web Dynpro Application From Another Web Dynpro Applicationingerr_ashNo ratings yetSAP NetWeaver Identity Management Third Edition From EverandSAP NetWeaver Identity Management Third EditionGerardus BlokdykNo ratings yetTIBCO Software The Ultimate Step-By-Step Guide From EverandTIBCO Software The Ultimate Step-By-Step GuideGerardus BlokdykNo ratings yetAb1001 - R/3 Overview & Architecture - V1.0: India Sap Coe, Slide 1Document42 pagesAb1001 - R/3 Overview & Architecture - V1.0: India Sap Coe, Slide 1Sreedhar KonduruNo ratings yetWorking With Web Services From ABAP PDFDocument16 pagesWorking With Web Services From ABAP PDFcolosoderada100% (1)Class3 Notes & Diagram Attachments SAP Ui5 Fiori Odata CDS CourseDocument5 pagesClass3 Notes & Diagram Attachments SAP Ui5 Fiori Odata CDS Courseanuradha agrawalNo ratings yetAbap Program Tips v3Document157 pagesAbap Program Tips v3Roberto MartínezNo ratings yetTop 10 ABAP DumpsDocument7 pagesTop 10 ABAP DumpsSiva CheniNo ratings yetSAP Interactive Forms by Adobe FAQDocument3 pagesSAP Interactive Forms by Adobe FAQKrishna MurthyNo ratings yetAn SAP Consultant - ABAP - Infotype Record Creation - HR - INFOTYPE - OPERATIONDocument2 pagesAn SAP Consultant - ABAP - Infotype Record Creation - HR - INFOTYPE - OPERATIONarunNo ratings yetManual SmartformsDocument40 pagesManual SmartformsRosa María Islas MontielNo ratings yetClass1 Notes & Diagram Attachments For SAP Ui5 Fiori OData CDS CourseDocument5 pagesClass1 Notes & Diagram Attachments For SAP Ui5 Fiori OData CDS Courseanuradha agrawalNo ratings yetWebdynpro ResumeDocument4 pagesWebdynpro ResumePradeep SatwarkarNo ratings yetUseful Resources and DocumentationDocument2 pagesUseful Resources and DocumentationsanjusivanNo ratings yetAbap CDSDocument41 pagesAbap CDSnavabhattNo ratings yetDemonstrating Concept of Component UsageDocument12 pagesDemonstrating Concept of Component UsageVaibhav SinghaniaNo ratings yetAn Insider's Guide To Writing Robust, Understandable, Maintainable, State-Of-The-Art ABAP ProgramsDocument27 pagesAn Insider's Guide To Writing Robust, Understandable, Maintainable, State-Of-The-Art ABAP ProgramsSaranya ShanmugamNo ratings yetUnderstanding SAP CRM WebclientDocument6 pagesUnderstanding SAP CRM Webclienty_q_li9489No ratings yetopenSAP Hanasql2 Week 3 All SlidesDocument120 pagesopenSAP Hanasql2 Week 3 All SlidesAlexander FilatovNo ratings yetIntroduction To Sap: Kaavian SystemsDocument26 pagesIntroduction To Sap: Kaavian SystemsbarathNo ratings yetXI Tutorials PDFDocument135 pagesXI Tutorials PDFtatialbernazNo ratings yetDisplay ABAP Web Dynpro As An SAP Portal IviewDocument5 pagesDisplay ABAP Web Dynpro As An SAP Portal IviewThandile FikeniNo ratings yetCustom Sorter and Filter in Sapui5 TableDocument6 pagesCustom Sorter and Filter in Sapui5 TableBikash Bhanu RoyNo ratings yetHR AbapDocument1 pageHR Abapsudi864867% (3)Taw12 3-3Document13 pagesTaw12 3-3api-3771991100% (3)Kapsel DevelopmentDocument135 pagesKapsel Developmentsumit.ml8871No ratings yetSap Abap Erpexams PDFDocument6 pagesSap Abap Erpexams PDFvivianNo ratings yetOoabap QuestionsDocument69 pagesOoabap QuestionsDiptimayeeGuptaNo ratings yetLMDB-Landscape Management DatabaseDocument8 pagesLMDB-Landscape Management Databaseasomuncu1886No ratings yetWhat Is Model-View-Controller MVC Architecture in Web Dynpro ABAP?Document19 pagesWhat Is Model-View-Controller MVC Architecture in Web Dynpro ABAP?sridhar7474No ratings yetABAP Programming NASADocument80 pagesABAP Programming NASAవంశీ యుNo ratings yetSAP-Substitute For WorkflowDocument4 pagesSAP-Substitute For Workflowsaifrahman1234No ratings yetSAP TestingDocument3 pagesSAP TestingBhanu PrakashNo ratings yetSap Ui5 With Local Json ModelDocument14 pagesSap Ui5 With Local Json ModelAntonioLeitesNo ratings yetUser Experience Strategy Thru SAP FioriDocument9 pagesUser Experience Strategy Thru SAP FioriSumeet SharmaNo ratings yetSolution Browser ExportDocument619 pagesSolution Browser ExporthimanshuptlNo ratings yetABAP Chapter 3: Open SQL Internal TableDocument101 pagesABAP Chapter 3: Open SQL Internal TableArun Varshney (MULAYAM)No ratings yetBridge Design PatternDocument21 pagesBridge Design PatternRashika SinghNo ratings yetUpdate On The SAP GUI Family: PublicDocument34 pagesUpdate On The SAP GUI Family: PublicariosenoNo ratings yetMaster The Five Remote Function CallDocument25 pagesMaster The Five Remote Function Callntesla2009No ratings yetUltimate Guide To Webclient Ui: Sap CRMDocument14 pagesUltimate Guide To Webclient Ui: Sap CRMvinnieattackNo ratings yetSAP ExercisesDocument31 pagesSAP ExercisesMuraliNo ratings yetWhat Is Sap Ale Bapi IdocDocument2 pagesWhat Is Sap Ale Bapi IdocpraveennbsNo ratings yetIntroduction To Business Object Processing Framework (BOPF)Document8 pagesIntroduction To Business Object Processing Framework (BOPF)Alex PegoriniNo ratings yetOops Abap IbmDocument123 pagesOops Abap IbmArivChandNo ratings yetABAP Best Practices - Code InspectorDocument3 pagesABAP Best Practices - Code InspectorinturimadhavaraoNo ratings yetSAP IS U A Complete Guide - 2020 Edition From EverandSAP IS U A Complete Guide - 2020 EditionGerardus BlokdykNo ratings yetSAP NetWeaver Portal A Clear and Concise Reference From EverandSAP NetWeaver Portal A Clear and Concise ReferenceGerardus BlokdykNo ratings yetSAP MDG M A Complete Guide - 2020 Edition From EverandSAP MDG M A Complete Guide - 2020 EditionGerardus BlokdykNo ratings yetCustom Fiori Applications in SAP HANA: Design, Develop, and Deploy Fiori Applications for the Enterprise From EverandCustom Fiori Applications in SAP HANA: Design, Develop, and Deploy Fiori Applications for the EnterpriseSergio GuerreroNo ratings yetSAP S/4HANA Embedded Analytics: Experiences in the Field From EverandSAP S/4HANA Embedded Analytics: Experiences in the FieldFreek KeijzerNo ratings yetSAP NetWeaver Third Edition From EverandSAP NetWeaver Third EditionGerardus BlokdykNo ratings yetSAP XI Exchange Infrastructure From EverandSAP XI Exchange InfrastructureequitypressRating: 1 out of 5 stars1/5 (3)SAP MDG-C Standard Requirements From EverandSAP MDG-C Standard RequirementsGerardus BlokdykNo ratings yetBusiness Application Programming Interface BAPI Standard Requirements From EverandBusiness Application Programming Interface BAPI Standard RequirementsGerardus BlokdykNo ratings yetSAP NetWeaver Process Integration A Complete Guide - 2019 Edition From EverandSAP NetWeaver Process Integration A Complete Guide - 2019 EditionGerardus BlokdykRating: 1 out of 5 stars1/5 (1)Backup And Recovery A Complete Guide - 2021 Edition From EverandBackup And Recovery A Complete Guide - 2021 EditionGerardus BlokdykNo ratings yetIbm Jre For Centos PlusDocument2 pagesIbm Jre For Centos PlusJuan Carlos FloresNo ratings yetCreate Save For System Copy TransportDocument4 pagesCreate Save For System Copy TransportJuan Carlos Flores100% (1)Determining Table Size and GrowthDocument4 pagesDetermining Table Size and GrowthJuan Carlos FloresNo ratings yetScript Completo de CheckDocument3 pagesScript Completo de CheckJuan Carlos FloresNo ratings yetLSMW and DXWB in 46bDocument7 pagesLSMW and DXWB in 46bJuan Carlos FloresNo ratings yetBf-Tu Mapping Ehp 2-6 F Erp 6 v6Document41 pagesBf-Tu Mapping Ehp 2-6 F Erp 6 v6Juan Carlos FloresNo ratings yetEWA ActivationDocument32 pagesEWA Activationmanjeet.batheNo ratings yetIntegration of BW in SAP EPDocument20 pagesIntegration of BW in SAP EPJuan Carlos FloresNo ratings yetFX 4CR User Manual V1.6Document11 pagesFX 4CR User Manual V1.6Daz EastNo ratings yetTMF663 Shopping Cart API REST Specification R17.0.1Document36 pagesTMF663 Shopping Cart API REST Specification R17.0.1griseldahNo ratings yetDepartment of Electrical Engineering Indian Institute of Technology, Roorkee Roorkee EEN-112: Electrical Science Tutorial Sheet - 04Document2 pagesDepartment of Electrical Engineering Indian Institute of Technology, Roorkee Roorkee EEN-112: Electrical Science Tutorial Sheet - 04Kumar ShivamNo ratings yetSLB - Sucker-Rod-Pump-Surface-Units-CatalogDocument48 pagesSLB - Sucker-Rod-Pump-Surface-Units-CatalogoscarNo ratings yetStorage Area Network EngineerDocument100 pagesStorage Area Network Engineerakbisoi1100% (2)FBII Compass ManualDocument104 pagesFBII Compass ManualCarlos Enrique Huertas FigueroaNo ratings yetMql4 OmegaTrend-v7Document64 pagesMql4 OmegaTrend-v7Herry ArruanpituNo ratings yetCJ411 - Manual de Peças de ReposiçãoDocument16 pagesCJ411 - Manual de Peças de ReposiçãoR&M serviços100% (1)Java Networking: Multiple Choice Question & AnswersDocument54 pagesJava Networking: Multiple Choice Question & Answersnaaz_pinuNo ratings yetFull CVDocument14 pagesFull CVRohit JangraNo ratings yetForfend Analysis Indicates 1 in 5 Emails Could be ScamsDocument4 pagesForfend Analysis Indicates 1 in 5 Emails Could be ScamsPR.comNo ratings yetCMP2008 L1Document20 pagesCMP2008 L1Ulas GulerNo ratings yetCatalog AY DYDocument48 pagesCatalog AY DYfajria saputraNo ratings yetREVISION SHEET - 2 - GRADE1 - IT - AnserkeyDocument2 pagesREVISION SHEET - 2 - GRADE1 - IT - AnserkeyNishu JNo ratings yetOMA ReadingDocument2 pagesOMA Readingmohamed abdelmoniemNo ratings yetCaleb Tracy: Wright State University, Fairborn, OhioDocument2 pagesCaleb Tracy: Wright State University, Fairborn, OhioCaleb TracyNo ratings yetPDTA - Hydraulic Torque Wrench - Hangzhou Penad Machinery Co.,LtdDocument5 pagesPDTA - Hydraulic Torque Wrench - Hangzhou Penad Machinery Co.,LtdQS BMDSNo ratings yetPass General 2gja708398 en Ag23Document12 pagesPass General 2gja708398 en Ag23Samir EyfanNo ratings yet26-37 Ld6600aDocument10 pages26-37 Ld6600aAnonymous h80fVWNo ratings yetSolar Energy PQ AnalysisDocument5 pagesSolar Energy PQ AnalysisABHINAV SAURAVNo ratings yetSample Report Assignment MGT269Document19 pagesSample Report Assignment MGT269Nik Muhammad Amirul Hasif B jusohNo ratings yetFour-Channel Universal Analog Input Using The MAX11270: Hardware SpecificationDocument8 pagesFour-Channel Universal Analog Input Using The MAX11270: Hardware SpecificationcutoNo ratings yetRamya Kolluru Phone: (314) 384-2261Document6 pagesRamya Kolluru Phone: (314) 384-2261Kritika Shukla100% (1)Are You Looking For .: WWW - Promining.inDocument27 pagesAre You Looking For .: WWW - Promining.inANKIT DEOGADENo ratings yetData Warehousing and Data MiningDocument6 pagesData Warehousing and Data Miningsachin singhNo ratings yetJ - 3RMOBVEDH Stock Overview (New) - Limitations: SymptomDocument2 pagesJ - 3RMOBVEDH Stock Overview (New) - Limitations: SymptomAshok MohanNo ratings yetDocumentsComputersInternet & Web
Welcome to Scribd!
Neptune Getting Started Guide
AI-enhanced
AI-enhanced description
Table of ContentsGetting started guide .......................................................................................................................................1Table of Contents .............................................................................................................................................3Components .....................................................................................................................................................5Introduction......................................................................................................................................................6NAD SERVER .....................................................................................................................................................7Overview of the NAD work area.......................................................................................................................8Exercise 1: Building a home page .....................................................................................................................9jQuery Mobile.................................................................................................................................................14Exercise 2: Basic functionality of NAD ...........................................................................................................16HTML5 ............................................................................................................................................................20Exercise 3 using HTML5 library in NAD ..........................................................................................................21Exercise 4: Create an application class ...........................................................................................................26Exercise 5: Creating a form in the designer ...................................................................................................29NAD Application Flow.....................................................................................................................................33
Components
IntroductionOverall architecture:
NAD SERVER
1.2
1.3
1.4
10
1.5
1.6 stateless)
11
1.7
1.8
12
1.9
13
jQuery Mobile
14
jQuery has long been one of the most popular javascript libraries for developing RIA Web pages.Since jQuery primarily was designed for desktop browsers it doesn't have good support formobile web apps.jQuery Mobile is a new project. It is a framework built on top of jQuery that handles the userinterface on all popular mobile devices.
15
2.2
16
2.3
17
2.4
18
2.5
Click the header again, select the style tab and pressthe custom button.Add background: orange; Save and activate, thenpreview.The same custom functionality is also provided forattributes.
2.6
19
HTML5HTML5 (HyperText Markup Language 5) is the fifth revision of the HTML standard, the standardused to structure and present content on the WWW (World Wide Web). The HTML standard wasconceived in 1990 and the previous revision (HTML4) came in 1997. HTML5 is a standard that isstill under development. W3C (World Wide Web Consortium) are hoping for that specification tobe completed in 2014.Nevertheless, the HTML5 started to become very widespread. This is possible because most ofthe major browsers today support a lot of HTML5 and especially on mobile devices. In addition,Adobe is moving towards HTML5 (they have now a jQuery mobile plugin for Dreamweaver) andMicrosoft supports no plugins (including its own Silverlight) in the new IE10 for windows 8, whichalso has extensive HTML5 support. There was great debate among developers about flash vs.HTML5 and Silverlight only a few months ago this debate no longer exist (with a fewexceptions).The last and perhaps the main reason is that one can get almost equivalent native functionalityon most mobile OS by using HTML5. Write once, run anywhere
20
21
3.2
3.3
22
3.4
3.5
23
3.6
3.7
24
3.8
Add # Start in the href attribute and add datadirection data-icon and data transition.Test the solution and try out different icons.We have now created a navigable application. Next we'llreview the posting of Forms but first we need some serverlogic.
25
4.2
26
4.3
4.4
27
4.5
4.6
case event_id.when 'SEARCH_CONN'.call method search_conn( ).endcase.Activate the class. This is all the server coding that isneeded to access backend data from the application.
28
5.2
29
5.3
5.4
30
5.5
5.6
31
5.7
32
33
6.2
Find the Data List plugin and move this over to thecontent div.
34
6.3
6.4
35
6.5
6.6
36
6.7
6.8
37
6.9
6.10
38
6.11
6.12
39
Neptune PluginsIn the application you just created, already Data Select and DataList plugins where used.In the next task the Data Loop plugin, which is a very powerfulcomponent, will be used. This makes it possible to loop on aninternal table and add all desired HTML5 elements for each row.
40
Exercise 7: Dataloop7.1
7.2
41
7.3
Give the first header an attribute: class = ui-liheading and the other ui-li-descDo the same with the first menu item. Add somelabels.
7.4
42
7.5
7.6
43
7.7
Press the button class builder ". Edit the class andgo to the attributes tab. Add the following:GV_CARRID2 - S_CARR_IDIT_SPFLI2 - /NEPTUNE/SPFLI_TABWA_SPFLI2 - /NEPTUNE/SPFLI
7.8
44
7.9
45
7.10
7.11
46
7.12
7.13
47
7.14
7.15
48
7.16
7.17
49
7.18
7.19
50
7.20
7.21
51
7.22
7.23
52
7.24
53
8.2
54
8.3
8.4
55
8.5
8.6
56
8.7
8.9
57
8.10
8.11
58
59
60
9.2
61
9.3
9.4
62
9.5
PublicGV_BOOKIDPublicGV_SBOOKPublicGV_BOOK_HEADER
9.6
TypeTypeTypePublic
TY_BOOKINGSS_BOOK_IDSBOOKTypeSTRING
63
9.7
9.8
64
9.10
9.11
65
9.12
9.13
66
9.14
data: wa_sbooklv_countlv_amount
type sbook,type i,type string.
* Get Smokercall method server->api_selection_get_multipleexportingkey= 'Smoker'changingrange = ir_smoker.* Get Classcall method server->api_selection_get_multipleexportingkey= 'flightClass'changingrange = ir_class.* Get Carridcall method server->api_selection_get_multipleexportingkey= 'selCarridBook'changingrange = ir_carrid.* Get Data - Max 1000 rowsselect *from sbook
67
68
9.15
* Get Classcall method server->api_selection_get_multipleexportingkey= 'flightClass'changingrange = ir_class.read table ir_class into wa_class index 1.gv_sbook-class = wa_class-low.
9.16
69
9.17
9.18
70
9.19
9.20
71
9.21
9.22
72
73