Sappress Developing Sap Applications

Embed Size (px)

Citation preview

  • 8/6/2019 Sappress Developing Sap Applications

    1/28

    Bonn Boston

    Armin Lorenz, Dr. Gunther Schppe, Felix Consbruch,

    Daniel Knapp, Frank Sonnenberg

    Developing SAP Applications

    with Adobe Flex

  • 8/6/2019 Sappress Developing Sap Applications

    2/28

    Contents at a Glance

    1 Introduction ......................................................... 11

    2 Adobe Flex in the SAP Environment .............. 15

    3 Getting Started with Adobe Flex Builder ...... 37

    4 MXML ................................................................... 51

    5 ActionScript ......................................................... 85

    6 ActionScript Extensions .................................... 127

    7 Developing a Sample Application ................... 155

    8 Enhancements and Outlook ............................. 267

    A ActionScript Files of the SampleApplication ........................................................... 281

  • 8/6/2019 Sappress Developing Sap Applications

    3/28

    7

    Contents

    1 Introduction ............................................................. 11

    2 Adobe Flex in the SAP Environment ........................ 15

    2.1 Developing Business Applications ............................... 15

    2.2 Rich Internet Applications .......................................... 18

    2.2.1 Structure ........................................................ 18

    2.2.2 Advantages .................................................... 19

    2.2.3 Limits ............................................................. 202.3 Adobe Flex ................................................................. 22

    2.3.1 Components of a Flex Application .................. 22

    2.3.2 Flex Product Family ........................................ 24

    2.3.3 Additional Benefits for SAP Systems

    due to Flex Applications ................................. 29

    2.4 Summary .................................................................... 35

    3 Getting Started with Adobe Flex Builder ................ 37

    3.1 Adobe Flex Builder ..................................................... 373.1.1 Creating a Project ........................................... 38

    3.1.2 Using the First Flex Component ..................... 42

    3.1.3 Testing Flex Applications ................................ 44

    3.2 Flex Files .................................................................... 46

    3.3 Flex Samples Explorer ................................................. 48

    4 MXML ...................................................................... 51

    4.1 Syntax ........................................................................ 52

    4.2 Layout Components ................................................... 544.2.1 Canvas ........................................................... 54

    4.2.2 Panel ............................................................. 55

    4.2.3 Grid ............................................................... 56

    4.2.4 Tile ................................................................ 57

    4.2.5 HBox and VBox .............................................. 59

    4.2.6 HDividedBox and VDividedBox ...................... 59

    4.3 Navigation Components ............................................. 60

    4.3.1 Accordion ...................................................... 61

    4.3.2 ViewStack ...................................................... 624.3.3 TabNavigator ................................................. 63

  • 8/6/2019 Sappress Developing Sap Applications

    4/28

    Contents

    8

    4.3.4 Tree .............................................................. 64

    4.3.5 TabBar and LinkBar ....................................... 66

    4.3.6 Additional Navigation Components ............... 68

    4.4 Control Components .................................................. 68

    4.4.1 Button ........................................................... 69

    4.4.2 TextInput ...................................................... 70

    4.4.3 Label ............................................................. 71

    4.4.4 TextArea ....................................................... 71

    4.4.5 Text ............................................................... 72

    4.4.6 CheckBox ...................................................... 73

    4.4.7 RadioButton and RadioButtonGroup ............. 74

    4.4.8 List ................................................................ 754.4.9 ComboBox .................................................... 77

    4.4.10 Image ............................................................ 78

    4.4.11 DateChooser and DateField ........................... 79

    4.4.12 DataGrid ....................................................... 81

    5 ActionScript .............................................................. 85

    5.1 Syntax ........................................................................ 86

    5.1.1 Comments ..................................................... 86

    5.1.2 Case Sensitivity .............................................. 885.1.3 Blanks ........................................................... 89

    5.1.4 Dot Syntax .................................................... 89

    5.1.5 Curly Brackets ............................................... 90

    5.1.6 Semicolons .................................................... 91

    5.1.7 Parentheses ................................................... 91

    5.1.8 Keywords ...................................................... 92

    5.1.9 Constants ...................................................... 92

    5.2 Data Types ................................................................. 93

    5.2.1 String ............................................................ 945.2.2 Numbers ....................................................... 98

    5.2.3 Boolean ......................................................... 101

    5.2.4 Objects ......................................................... 101

    5.2.5 Null and Undefined ....................................... 102

    5.3 Variables .................................................................... 103

    5.3.1 Naming Variables .......................................... 103

    5.3.2 Declaring Variables ........................................ 104

    5.3.3 Dynamic Variable Names ............................... 105

    5.3.4 Types of Variables ......................................... 105

    5.3.5 Initial Values of Variables .............................. 1075.3.6 Converting Data Types .................................. 108

  • 8/6/2019 Sappress Developing Sap Applications

    5/28

    Contents

    9

    5.4 Operators ................................................................... 112

    5.4.1 Basic Calculating Operations .......................... 113

    5.4.2 Ranking Order and Associativity ..................... 113

    5.4.3 Primary Operators .......................................... 114

    5.4.4 Postfix Operators ........................................... 114

    5.4.5 Unary Operators ............................................ 114

    5.4.6 Bit Operators ................................................. 115

    5.4.7 Relational Operators ...................................... 115

    5.4.8 Logical Operators ........................................... 116

    5.4.9 Assignment Operators .................................... 116

    5.5 Control Structures ....................................................... 117

    5.6 Loops ......................................................................... 1185.7 Arrays ......................................................................... 120

    5.7.1 Indexed Arrays ............................................... 120

    5.7.2 Associative Arrays .......................................... 121

    5.7.3 Multidimensional Arrays ................................ 122

    5.7.4 Functions ....................................................... 122

    5.8 Objects and Classes .................................................... 123

    5.8.1 Class Definition .............................................. 123

    5.8.2 Class Methods ................................................ 124

    5.8.3 Interfaces ....................................................... 125

    6 ActionScript Extensions ........................................... 127

    6.1 Audio and Video Objects ............................................ 127

    6.1.1 Audio Files ..................................................... 128

    6.1.2 Video Files ..................................................... 132

    6.2 Date Objects and Timer Objects ................................. 137

    6.2.1 Date Objects .................................................. 137

    6.2.2 Timer Objects ................................................ 142

    6.3 Mathematical Functions ............................................. 1446.4 Keyboard Events ......................................................... 146

    6.5 Text Fields and Text Formats ...................................... 148

    6.6 Other ActionScript Packages ....................................... 153

    7 Developing a Sample Application ............................ 155

    7.1 Concept ...................................................................... 155

    7.1.1 General Requirements of the Application ....... 155

    7.1.2 Specific Requirements of the Application ....... 157

    7.1.3 Data Model .................................................... 158

  • 8/6/2019 Sappress Developing Sap Applications

    6/28

    Contents

    10

    7.1.4 Defining the Interface .................................... 160

    7.1.5 Application Layout ........................................ 163

    7.2 Developing in the SAP Environment .......................... 163

    7.2.1 Creating the Basic Structure ........................... 164

    7.2.2 Implementing the Data Model ...................... 165

    7.2.3 Developing the Function Modules ................. 170

    7.2.4 BSP Application and XML Files ...................... 184

    7.2.5 Final Tests ..................................................... 203

    7.3 Developing Using Adobe Flex .................................... 213

    7.3.1 Project Structure of the Application Front

    End ............................................................... 213

    7.3.2 Basic Structure of the Frontend ..................... 2197.3.3 Developing the Planning Component ............ 222

    7.3.4 Time-recording Component ........................... 239

    7.3.5 Developing the Reporting Component .......... 246

    7.3.6 Login Area ..................................................... 256

    7.4 Integration into SAP NetWeaver Portal ...................... 260

    7.5 Final Remarks ............................................................ 264

    8 Enhancements and Outlook ..................................... 267

    8.1 Offline Applications ................................................... 2678.2 Push Data Services ..................................................... 269

    8.3 Dynamization of Screens ............................................ 271

    8.4 Integrating Multiple Back-end Systems ...................... 272

    8.5 Integrated Deployment Options in SAP NetWeaver ... 273

    8.5.1 SAP NetWeaver Visual Composer .................. 274

    8.5.2 SAP Analytics ................................................ 276

    8.6 Summary and Perspective .......................................... 277

    Appendix ........................................................................ 281A ActionScript Files of the Sample Application ......................... 281

    The Authors ................................................................................. 291

    Index ........................................................................................... 293

  • 8/6/2019 Sappress Developing Sap Applications

    7/28

    213

    Developing Using Adobe Flex 7.3

    7.3 Developing Using Adobe Flex

    This section describes the necessary developments in the Adobe Flex

    environment, including the creation of the basic structure (project

    files and creating components), design of the application, develop-

    ment of the Planning and Time-Recording components, and the

    reporting analysis using Flex charts. The section concludes with a

    final test.

    AdvantageDevelopment in Adobe Flex Builder can be conducted outside of the

    SAP environment, provided the interface has been defined. This is a

    decisive advantage over traditional BSP applications that presenttheir data on the basis of HTML.

    7.3.1 Project Structure of the Application Front End

    We will develop the front end of the planning and time-recording

    tool in Adobe Flex Builder 2. Once you have started Flex Builder, you

    can use a very powerful Eclipse-based development environment.

    Project filesIn the first step, we must define the necessary files for our project.

    The project contains the Flex project, including the MXML applica-

    tion, the associated MXML components, and the ActionScript files

    that are to contain the application logic.

    You can start Adobe Flex Builder from the Windows Start menu.

    Usually it is installed in Start Programs Adobe Adobe FlexBuilder. Once you have successfully started Adobe Flex Builder, you

    can create a new project via the following menu path: File New

    Flex Project (see Figure 7.50).

    Note

    Appendix A contains the complete code listings of the files described in

    this chapter. You can also download these listings from the web site that

    accompanies this book on http://www.sap-press.com.

  • 8/6/2019 Sappress Developing Sap Applications

    8/28

    214

    Developing a Sample Application7

    Selecting theFlex server

    A dialog opens in which you can make the necessary settings for theproject (see Figure 7.51). In the first step, you must select the Flex

    server on which you want to create the application.

    Figure 7.50 Creating the Flex Project

    Figure 7.51 Selecting the Flex Server

  • 8/6/2019 Sappress Developing Sap Applications

    9/28

  • 8/6/2019 Sappress Developing Sap Applications

    10/28

    216

    Developing a Sample Application7

    ActionScript folder Having created the project, you can now begin developing. But first

    we'll create some more files in order to define the basic structure ofthe application.

    Figure 7.53 Assigning a Project Name

    Figure 7.54 Creating Directories

  • 8/6/2019 Sappress Developing Sap Applications

    11/28

    217

    Developing Using Adobe Flex 7.3

    Right-click on the project name and selectNewFolder from the con-

    text menu to create a new folder (see Figure 7.55). We create the

    folder as for our project. This folder is supposed to contain the

    ActionScript files.

    Creating theMXML files

    The src directory that we defined during creation of the project

    already contains the file Z_DZT_BOOK.mxml, which is the main page of

    the application. The main pageand only the main pagecontains

    the tag including the associated namespace decla-

    ration.

    Because our application will consist of several sub-sections it makes

    sense to separate those sub-sections into individual MXML compo-

    nents. We will now create the following files one after the other.

    plan.mxml

    report.mxml

    tabcontrol.mxml

    tr.mxml

    To do that, you must right-click on the src button and selectMXML

    Component. The project directory should now look like the one

    shown in Figure 7.56.

    Figure 7.55 Creating a New Folder

  • 8/6/2019 Sappress Developing Sap Applications

    12/28

    218

    Developing a Sample Application7

    ActionScript files The as directory in which we want to store the ActionScript files is

    defined in a similar manner. For our application, you need the fol-

    lowing files.

    application.as

    plan.as

    global.as

    report.as

    tr.as

    The final project directory has the structure shown in Figure 7.57.

    Figure 7.56 Created MXML Files

    Figure 7.57 Project Directory After Creating the Files

  • 8/6/2019 Sappress Developing Sap Applications

    13/28

    219

    Developing Using Adobe Flex 7.3

    7.3.2 Basic Structure of the Frontend

    TabstripsWe want to implement the functionality of the sample applicationusing tabstrips. That is to say, we will display the Planning, Time

    Recording, and Reportingfunctions in separate tabs. Tabstrips pro-

    vide a very useful technique for displaying many pieces of informa-

    tion clearly on one page.

    The main page is divided into the login section and the tabstrips that

    are stored in the file tabcontrol.mxml. Figure 7.58 shows the logical

    structure of the file.

    You can implement this rough structure in MXML, as shown in List-

    ing 7.31. To include this source text in the application, change from

    the Design view into the Source view.

    Figure 7.58 Logical Structure of Files

    Z_DZT_BOOK.mxml

    tabcontrol.mxml

    report.mxml

    ze.mxml

    dispo.mxml

  • 8/6/2019 Sappress Developing Sap Applications

    14/28

  • 8/6/2019 Sappress Developing Sap Applications

    15/28

    221

    Developing Using Adobe Flex 7.3

    well as the label defined in the tabcontrol.mxml file (Planning Man-

    ager).

    Listing 7.33 shows the complete file tabcontrol.mxml. The file con-

    tains a short script section that can receive data from the main appli-

    cation and distribute this data across the components. We'll describe

    this process in more detail later in this chapter.

    [Bindable]

    public var tab_persno:String;

    [Bindable]

    public var tab_url_plan:String;

    Figure 7.59 File tabcontrol.mxml in Design Mode of Flex Builder

  • 8/6/2019 Sappress Developing Sap Applications

    16/28

    222

    Developing a Sample Application7

    [Bindable]

    public var tab_url_tr:String;

    ]]>

    Listing 7.33 File tabcontrol.mxml

    Now that you have defined the basic structure of the application, you

    can use it for your further development work.

    7.3.3 Developing the Planning Component

    Both the planning and time-recording components are referred to as

    recording components. This section describes step by step how you

    can present the planning component and integrate it with the backend, while Section 7.3.4 describes the same procedure for the time-

    recording component.

    Structure ofthe planning

    component

    We want to structure the planning component in such a way that you

    can enter planning data on the left-hand side and display the data on

    the right-hand side. Our goal is to design the layout of the planning

    component so that it looks like the one shown in Figure 7.60.

  • 8/6/2019 Sappress Developing Sap Applications

    17/28

    223

    Developing Using Adobe Flex 7.3

    Layoutcomponents

    As a rule, Flex positions individual components below each other

    when they are integrated into the layout. To avoid this, you must

    encapsulate components in layout areas: and .

    The HBox component groups elements at the horizontal level, while

    the VBox component groups them at a vertical level.

    As you can see in Figure 7.60, the planning component is divided

    into two areas: the area on the left is used to enter data, while the

    area on the right outputs data. Both areas are separated by a

    tag.

    The necessary fields for data entry are the Planning Entries label, the

    input fields, and the Submit button, all of which must be displayed

    one above the other. For this purpose, the elements on the left must

    be subdivided in a tag. The same holds true for the right-

    hand side that consists of the month, a table, and two buttons. List-

    ing 7.34 shows the structure with these layout elements.

    Figure 7.60 Layout of the Planning Component

  • 8/6/2019 Sappress Developing Sap Applications

    18/28

    224

    Developing a Sample Application7

    Listing 7.34 Layout Elements of File plan.mxml

    Left-Hand Side of the Planning Component

    You can now add functional elements to the two sides. Once you

    have defined the function module for adding planning data (see Sec-

    tion 7.2.3), the personnel number, date, and activity are required.

    The personnel number is defined during the login process so that the

    user only needs to select a date and an activity.

    For this purpose, Flex provides a simple technique to integrate the

    so-calledform elements: the tag. The tag is sub-divided into separate tags that contain the actual ele-

    ments. This enables a structured distribution of the components.

    The following are required for the planning component.

    The component is used to list the activities as a

    drop-down list.

    The component provides a convenient way to

    integrate a date.

    The component will present the Submit of the plan-

    ning component.

    Listing 7.35 shows the tag of the planning component.

  • 8/6/2019 Sappress Developing Sap Applications

    19/28

    225

    Developing Using Adobe Flex 7.3

    Listing 7.35 Form Elements of the Planning Component

    FormItem ActivityThe first FormItem element is used to display the activity and con-

    tains the corresponding label. The required property indicates

    whether the item is a mandatory field.

    The FormItem element itself contains the ComboBox that is supposed

    to display the activities. The activities originate in the back end and

    are transferred to the front end using the data.xml file. The dataPro-vider property is responsible for filling the ComboBox with data. This

    property will be described in greater detail later on in this chapter.

    It is important that you set the labelField property in order to indi-

    cate which element of the XML structure you want to display.

    FormItem DateThe second FormItem element displays the date and is also assigned

    the required property. The FormItem is also assigned the tag as a child, and this in turn is assigned an ID and a label-

    Function. labelFunction enables you to format a date according to

    your requirements prior to displaying it. The df_convert() function

    is implemented later in the global.as file.

    The DateField is a component that consists of an input field and a

    button that resembles a small calendar. If you click on this button, a

    calendar opens that facilitates the entry of the date (see Figure 7.61).

    Note

    The required property is merely a display variant and displays a red

    asterisk (*) next to the field. It does not check whether the field was actu-

    ally filled with data.

  • 8/6/2019 Sappress Developing Sap Applications

    20/28

    226

    Developing a Sample Application7

    FormItem Button To transfer the user entries to the back end, you need a button. This

    button is integrated using the third FormItem element, and it con-

    tains the tag. You can assign to this tag an eventin this

    case it is the system eventclickthat anticipates a function being

    processed. The add_planning() function that this event receives will

    become part of the file plan.as.

    The planning code defined in this way has the layout shown in Fig-

    ure 7.62.

    Right-Hand Side of the Planning Component

    Integrating tables The right-hand side of the planning component is used to display the

    user entries in a table that covers one month. In Flex, you can inte-grate tables using the tag. Usually, the tables are auto-

    matically assigned the table headers.

    Two buttons are created that enable forward and backward naviga-

    tion between the individual months, as shown in Figure 7.63.

    As mentioned earlier in this chapter, the elements are encapsulated

    in a tag in order to position them one above the other.

    However, the VBox element contains other HBox elements for a hori-

    zontal display of the month and the two buttons.

    Figure 7.61 Easy Input in the DateField

    Figure 7.62 Layout of the Form Tag

  • 8/6/2019 Sappress Developing Sap Applications

    21/28

  • 8/6/2019 Sappress Developing Sap Applications

    22/28

    228

    Developing a Sample Application7

    You can correct the column names using the tag that

    contains the child elements . The tags are

    assigned the properties headerText (column name) and dataField

    (displayed element). The column names are defined as follows: Date,

    Activity, and Closed.Forward/Back-ward buttons

    The two buttons that are supposed to enable the navigation between

    the months are encapsulated in a element that is assigned

    the attribute horizontalGap, which indicates the spacing between

    the individual elements of the HBox.

    Both buttons are assigned the click event, including a correspond-

    ing function. The button_click function receives the month that is

    currently being processed as well as the direction in which the user

    wants to navigate.

    Implementing the Logic

    Now that you have implemented the layout elements of the applica-

    tion, you can assign logic to them. To enable the adding, reading out,

    and display of planning data and activities, you must fill the data-

    Provider of each corresponding component with data. You can do

    that using ActionScript functions (implemented in global.as and

    plan.as) and the element.

    IntegratingXML files

    To integrate an XML file that is located on the server, you need the

    tag. Because three different XML files must be

    processed in the planning component, you must integrate three tags correspondingly:

  • 8/6/2019 Sappress Developing Sap Applications

    23/28

    293

    Index

    A

    ABAP Objects 87 Absence types 165

    Access rights

    Definition 269 Accordion 61

    ActionScript 22, 85, 127

    ActionScript class 47

    Creation 47ActionScript files 47, 213, 217, 218

    ActionScript interface 48

    ActionScript packages 153

    ActionScript Virtual Machine 23

    Activity table 159

    Adobe ColdFusion 38Adobe Flex 11, 15, 20, 22, 35, 87, 275

    Documentation 14Product family 24

    Adobe Flex Builder 25, 26, 27, 37, 86,

    213

    Design mode 40, 44Source mode 40, 44

    Adobe Flex Charting Components 25

    Adobe Flex Data Services 28

    Adobe Flex Framework 25

    Adobe Labs 265

    ALV grids 86 Analyses 158

    Application 40, 52, 220

    Application logic 85

    Application tests 203

    Arrays 93, 120, 249Associative 121

    Generating 91Indexed 120Multidimensional 122

    Assignment operators 116 Associativity 113

    Attributes 53, 101

    Audio files 128

    B

    Back-end systems

    Integration 272Backslash 98

    Backspace 97

    Bar chart 250

    Basic calculating operations 113

    Bit operators 115

    Blanks 89Block grouping 90

    Boolean 93, 101, 107

    Brackets

    Curly 90BSP application 163, 184, 185, 233

    BSP extensions 16Bubbling phase 147

    Business applications 15

    Business intelligence 274

    Business intelligence patterns 274

    Business Server Pages 15, 16, 22, 87

    Button 69, 224, 226, 241ButtonBar 68

    C

    Canvas 54, 62, 63, 220, 234

    Carriage return 97Cascading stylesheets 17, 24

    Case sensitivity 88

    Casting 109

    Boolean 110

    String 111CHAR12 165

    CHAR6 236

    Charts components 42

    CheckBox 73

    Class definition 123

    Class methods 124Classes 123

    ColdFusion Flash Remoting Service 215

    ColumnChart 248, 250, 251

    Columns 228

    ColumnSeries 251

  • 8/6/2019 Sappress Developing Sap Applications

    24/28

    294

    Index

    ComboBox 77, 224, 248

    ComboBox component 225, 234, 240,254

    Comment 86

    Compilation 44, 107Components 42

    CONCATENATE 95

    Constants 92

    Constructor 124

    Container components 54

    Control 68Control structures 117

    Controller 19

    Controls components 42Conversion 108

    Explicit 108Implicit 108

    Custom components 42

    Customizing 156, 272

    Customizing table 159, 167

    D

    Dashboard application 25

    Data binding 227, 229, 237Data elements 158

    Creation 166Data model 158Data service architecture 215

    Data transfer volume 156

    Data types 93

    Database tables 166

    DataGrid 81, 82, 226

    DataGrid component 234DataGridColumn 228

    DataProvider 65, 66, 76, 77, 225, 240,

    244, 255

    Creation 231Date 137, 141

    Methods 140Properties 137

    Date output 141

    DateChooser 79

    DateField 79, 80, 224, 240

    DateField component 225, 238

    DateFormatter 140, 141, 238DATS data type 238

    DDIC objects 169Deblocking filter 133

    Decimal place 110

    Declaration 104Development environment 22, 276

    DHTML 16, 275

    Display of data 23Dot syntax 89

    For methods 90For properties 89

    Do-while loop 120

    Drag-and-drop 17, 20, 25, 126Drilldown effects 24

    Dynamization 271

    E

    Eclipse 22, 37, 213ECMA standard 85

    ECMA-262 88

    Employee self-service 277

    Enterprise services 25

    Escape sequence 97, 98

    Event handler 60Event listener object 126

    F

    Flash Player 11, 17, 51

    Flash plug-in 21

    Flex applications 11, 18, 272Compiling 260Components 22Testing 44

    Flex component

    Use 42Flex Data Services 29, 215Flex development environment

    Download 14Flex file types 46

    Flex files 46

    Flex Message Services 29Flex project 213

    Flex Samples Explorer 48

    Flex server 214

    Floating point number 110

    FLV files 132For loop 118

    For-in loop 119

    Form 224, 240, 256Form elements 224

  • 8/6/2019 Sappress Developing Sap Applications

    25/28

    295

    Index

    Form fields 237

    FormHeading 257FormItem 224, 225, 240

    Function modules 170

    Functions 93, 122Future viability 276

    G

    Grid 56GridItem 56, 57

    GridRow 56, 57

    H

    HBox 59, 223, 227, 239

    HDividedBox 59Help 86

    Hoisting 107

    HorizontalAxis 251

    HTML 267

    Disadvantages 16HTMLB 16HTTP service 54, 228, 231, 234, 238,

    242, 244, 246, 255

    I

    Identifier 92IEventDispatcher 126

    Image 78

    Initial values 107

    Instance methods 125

    Int 107Interface definition 268

    Interfaces 125

    Internal 124

    Internet Transaction Server 16

    iView

    Creation 262Testing 264

    J

    Java 86

    Java Virtual Machine 17

    K

    KeyboardEvent 146

    Properties 146Keywords 92

    L

    Label 53, 71, 220

    LabelField 225LabelFunction 225

    Layout components 42, 54, 223

    Leading zeros 97

    Legend 248, 251Line feed 97

    Line separator 89

    LinkBar 66, 67List 75, 76, 147

    LiveDocs 252, 265

    Login 183, 211

    Look and feel 17

    Loops 118

    M

    Maintainability 53

    Manager desktop 35

    Math 144

    Mathematical constants 144Static methods 145

    Math.abs 99

    Math.acos 99

    Math.asin 99

    Math.atan 99 Math.atan2 99

    Math.ceil 99

    Math.cos 99

    Math.exp 99

    Math.floor 99

    Math.log 99 Math.max 99

    Math.min 99

    Math.pow 99

    Math.random 99

    Math.round 99

    Math.sin 99 Math.sqrt 99

    Math.tan 99 MenuBar 68

  • 8/6/2019 Sappress Developing Sap Applications

    26/28

    296

    Index

    Method 101

    Concat() 95Static 125 Microsoft Visual SourceSafe 22

    Microsoft Visual Studio 22 Mini SAP system 14

    Model 19

    Model-driven approach 274

    MODIFY 171

    MODIFY ... FROM TABLE 177

    Modules 53 Month-end closing 157

    MovieClip 93

    MP3 fileLoading 131

    Multilingual support 271 MVC model 19, 164

    MXML 22, 51, 85

    Application 46, 213Components 46, 213, 217Documentation 54File 52

    Naming conventions 52

    Syntax 52

    MXML tagCharacteristics 53

    N

    Namespace 220

    Naming conventions 156

    Navigation components 60

    Navigators 42

    NetStream 134Not declared 108

    Null 102

    Number 93, 98, 107

    O

    Objects 101, 107, 123, 144, 249

    Generating 90Offline applications 31, 267

    Offline data

    Definition 268Offline data volume

    Definition 268

    On2 VP6 Codec 133

    OnInitialization 187, 189, 191, 193,

    195, 197, 198, 201Online check

    Definition 268On-message format 23Operators 112

    Logical 116Primary 114

    P

    Page attributes 187, 189, 198

    Panel 42, 55

    Parentheses 91Planning 31

    Planning table 159Postfix operators 114

    Presentation logic 18

    Private 124

    Process monitor 32

    Processing sequence 91

    Project

    Creating 38Property settings 42

    Protected 124Prototype 124

    PSP elements 165

    Public 124Push data services 269

    Q

    Quotation marks 94

    Double 97Single 98

    R

    RadioButton 74, 75

    RadioButtonGroup 74, 75Ranking order 113

    Recording components 222

    Relational operators 115

    Remote Procedure Calls 28

    Reporting structure 159, 169

    Required 225Rich client 267

    Rich Internet Applications 11, 18, 267Advantages 19

  • 8/6/2019 Sappress Developing Sap Applications

    27/28

    297

    Index

    Limits 20

    Structure 18RPC services 28

    S

    Sales board 34

    SAP Analytics 26, 273, 276

    SAP Code Inspector 156

    SAP Developer Network 14SAP GUI 15, 21, 270

    SAP NetWeaver 15, 29, 35, 274

    Integration of Adobe Flex 29

    SAP NetWeaver 2004s 11, 17, 29SAP NetWeaver Portal 29, 260, 277

    Content Administration 262SAP NetWeaver Visual Composer 26,

    29, 30, 274

    SAP Web Application Server 16

    SAP Workflow 32

    Script 54, 229, 242

    Security settings

    Definition 268Semicolon 91

    Send() 234Series 251

    Server technologies 38, 276

    Shared objects 269Shockwave Flash 23

    SICF service 186

    Small Web Format 23

    Socket connection 270

    Sorenson Spark Codec 133

    Sound 128, 129

    Events 129Methods 129Properties 129

    SoundChannel 128, 130

    Properties 130SoundLoaderContext 128SoundMixer 128

    SoundTransform 128, 130

    Properties 130Statement end 91

    Static 124

    String 93, 94, 107String processing 95

    String.charAt 96String.charCodeAt 96

    String.indexOf 96

    String.lastIndexOf 96String.length 97

    String.slice 96

    String.split 96String.substr 96

    String.substring 96

    String.toLowerCase 97

    String.toUpperCase 97

    Style 54Syntax 86

    System Landscape Directory 263

    T

    TabBar 66, 67TabNavigator 63, 220

    Tabs 163

    Tabstrip component 220

    Tabstrips 163

    Tabulator 89, 97

    Text 72TextArea 71

    TextField 149

    Methods 151Properties 150

    TextFormat 152

    TextInput 70, 147, 240TextInput fields 248, 250, 256

    Thin client 267

    Tile 57, 58

    Time recording 31

    Time recording table 159

    Timer 142

    Events 142Methods 142Properties 142

    ToggleButtonBar 68

    Tooltip 250

    Tracking monitor 32Transaction SCIF 186

    Transaction SE80 164, 233

    Tree 64, 65

    Tree structures 65

    U

    Uint 107Unary operators 114

  • 8/6/2019 Sappress Developing Sap Applications

    28/28

    298

    Index

    Undefined 93, 102

    Usability 156, 271UserDefinedNamespace 124

    V

    Variable names

    Dynamic 105Variable types 105

    Variables 103

    Global 106

    Local 105VBox 59, 223, 226, 239

    VDividedBox 59Vector Markup Language 24

    Video 128, 132

    Methods 134

    Properties 133Video files 132

    VideoStream 136

    View 19

    ViewStack 62, 63

    W

    Web Dynpro 15, 17, 37, 275

    Web service 54

    While loop 119WYSIWYG 37, 40

    X

    XML 52, 65XML documents 271

    XML files 184

    Structure 204

    XML interface 160

    Z

    ZDZTB_001 159ZDZTB_002 159

    ZDZTB_003 159

    ZDZTB_004 159