320 likes | 344 Views
GuiXT Demo Scripts. Explanation of the demo scripts and installation guide.
E N D
GuiXTDemo Scripts Explanation of the demo scripts and installation guide Demo Scripts Synactive GmbH www.synactive.com
Synactive provides a file "demoscripts.zip" with demo GuiXT scripts. You can find the link to the zip file and the installation guide at the end of this presentation.The presentation describes the content of the demo application showing typical examples from the GuiXT scripts. Demo Scripts Synactive GmbH www.synactive.com
User menuThe starting point of our demo scripts is the following user menu which we display instead of the "Easy Access" menu. The user can switch between the Easy Access menu and the GuiXT menu via a pushbutton. Demo Scripts Synactive GmbH www.synactive.com
User menu Script detailWe use the commands Box, InputField and Pushbutton Demo Scripts Synactive GmbH www.synactive.com
User menu: Graphic elementsWe have structured the mask layout by inserting vertical texts. Demo Scripts Synactive GmbH www.synactive.com
QuickinfoAs a quick info about the customer, we present a table of contact persons. The address (in green) is output as dynamic text. Demo Scripts Synactive GmbH www.synactive.com
QuickinfoScriptdetailThe definition of tables is very easy in GuiXT. Demo Scripts Synactive GmbH www.synactive.com
Displaying sales dataThe "Sales data" pushbutton calls up the transaction VD03, whereby the initial screen is processed automatically. Demo Scripts Synactive GmbH www.synactive.com
Sales data Script detailAutomatic processing of the VD03 entry screen by a GuiXT script Demo Scripts Synactive GmbH www.synactive.com
Displaying Google MapsThe "Show on map" button embeds a browser control into the screen and passes the customer address to Google Maps. Demo Scripts Synactive GmbH www.synactive.com
Displaying Google Maps Script detailTo display the browser control with Google Maps we use the "GuiXT Controls" component. Demo Scripts Synactive GmbH www.synactive.com
Calling up transaction VA01The user can already select the order type in the menu screen; we then skip the initial screen of VA01. Demo Scripts Synactive GmbH www.synactive.com
Calling up transaction VA01 Script detailSame technique as for the sales data: Call up a standard transaction and process the initial screen automatically Demo Scripts Synactive GmbH www.synactive.com
Layout change in VA01As an example of a small layout change, we extend the address fields in the order header and add texts in the two pushbuttons Standard With GuiXT Demo Scripts Synactive GmbH www.synactive.com
Layout change in VA01 ScriptdetailField extension via FieldSize command.Moving and changing the two pushbuttons. Demo Scripts Synactive GmbH www.synactive.com
Layout change in VA01 (2)Extension of the payment terms text.New positions for the Incoterms so that the search help icon does not hide the entry field. Standard With GuiXT Demo Scripts Synactive GmbH www.synactive.com
Stock overviewThe "Stock overview" pushbutton calls up a standard SAP function Demo Scripts Synactive GmbH www.synactive.com
Stock overviewScriptdetailFirst we check whether a material number has been entered. Then we call up transaction MMBE; we set the selection parameters and display the stock overview. Demo Scripts Synactive GmbH www.synactive.com
Change material dataIn this single-screen transaction created with GuiXT, the user can quickly and easily change the relevant material. The data is read and stored using the standard transactions MM02 and V-43 in the background. Demo Scripts Synactive GmbH www.synactive.com
Change material dataScriptdetailThose entry fields which have long texts are defined by the statements InputField and Text. By specifying the –dynamiclabel option we link the field label to the SAP Repository, so that the language dependent label from the SAP repository will be shown when the user logs on in French for example. Demo Scripts Synactive GmbH www.synactive.com
Change material data: Search helpThe SAP standard search help is also available for the GuiXT input fields through the repository reference techname="MVKE-VKORG". Demo Scripts Synactive GmbH www.synactive.com
Change material data: UpdatingThe database is updated via transactions MM02 and V-43 (price). This ensures that all SAP input checks and the updating of the data are performed correctly. Script detail Demo Scripts Synactive GmbH www.synactive.com
Purchasing dataWe show the availability per plant and further purchasing data in a GuiXT table. Demo Scripts Synactive GmbH www.synactive.com
PuchasingdataScriptdetailReading article data via an SAP BAPI Display thedata in a table Demo Scripts Synactive GmbH www.synactive.com
Special demoexamplesYou can use the "Demo examples" pushbutton to open a menu with further small sample applications, each of which introduces a particular technique Demo Scripts Synactive GmbH www.synactive.com
Embed the Visio viewerDisplay a diagram using the Microsoft Visio Viewer. You can interact with the embedded control, for example, load a .vsd file by calling VB.NET or VBScript. Demo Scripts Synactive GmbH www.synactive.com
Display BarcodeWe call a VB.NET function that generates the barcode via .NET library functions. Demo Scripts Synactive GmbH www.synactive.com
Search a transaction by its textSearch for SAP transactions via text search (transaction title). Display the matching transactions as drop-down list and offer a pushbutton to start the selected transaction. Demo Scripts Synactive GmbH www.synactive.com
Installing the demo scripts • http://synactive.com/download/demoscripts.zipDownload and unzip to a folder on your PC, e.g. C: \ demoscripts • Make the following entries in the GuiXT Profile: c:\demoscripts c:\demoscripts\vb c:\demoscripts\vbs\demo.vbs Demo Scripts Synactive GmbH www.synactive.com
Installing the demo scripts (2) • Request a trial license for the components "InputAssistant" and "GuiXT Controls“ at synactive.com • Add the function module /guixt/dbselect in your SAP test system:http://synactive.com/docu_e/doc_guixtdbselect.html • To try out the search help, create the program ZGUIXTF4: http://synactive.com/docu_e/matchcode.html • To try out the VISIO embedding, install the Microsoft VISIO Viewer on your PC:https://www.microsoft.com/en-en/download/details.aspx?id=51188 Demo Scripts Synactive GmbH www.synactive.com