SAP_Q_B2

Preview:

Citation preview

  • 7/30/2019 SAP_Q_B2

    1/11

    302 of 644

    Collect

    Select * into Table ITAB from dbtab.

    Append

    Insert ITAB

    Read Table ITAB

    303 of 644

    SY-LISTI

    SY-TABIX

    SY-LSIND

    SY-INDEX304 of 644

    (More than one answer is correct)

    Desktop Shortcuts

    Custom Developed Programs

    SET/GET Parameters

    Variant Transactions

    Operating System Scripts

    305 of 644

    Data: st_mytab like mytab.

    Perform write_lines using st_mytab.

    Form write_lines using rec.

    Write: / rec-field1, rec-field2.

    Endform.

    Rec needs to be defined LIKE mytab in the FORM

    The formal parameter 'rec' ahould be referenced by value

    The prefix REC is not needed

    Rec needs to be defined globally as a DATA object

    306 of 644

    narrowing cast

  • 7/30/2019 SAP_Q_B2

    2/11

    dynamic referencing

    widening cast

    up cast

    307 of 644

    (More than one answer is correct)

    Can set their own GUI status

    You can also specify the subscreens dynamically at runtime.

    have their own OK_CODE

    Multiple subscreens are possible in a single screen.

    Can set their own titlebar

    308 of 644

    (More than one answer is correct)

    Read Line 3 of Next Page

    DO. Read Line SY-INDEX. ENDDO.

    Read Current Line of Table ITAB

    Read Line 3 of Current Page

    309 of 644

    (More than one answer is correct)

    The invoking module pool still retains control of execution

    The CALL SCREEN xxx statement is possible

    Enables processing of ok_code functions

    Enables execution of interactive reporting events

    Data available in the dialog program must be passed to the list

    310 of 644

    Report ABC

    Data: ..

    Start-of-Selection.

    Perform Form A.

    End-of-Selection.

    Form A.

    Loop at inttab.

    ...

    Exit.

    Endloop.

    Endform.

  • 7/30/2019 SAP_Q_B2

    3/11

    Exits the Start-of-Selection Event

    Exits the Program

    Exits the Loop

    Exits the Form

    311 of 644

    for graphic symbols on screens and lists

    for re-assigning field types

    for referencing multiple fields at the same time

    for referencing an address of a field

    312 of 644

    Transaction Text

    Program

    Screen Number

    Authorization Object

    313 of 644

    type

    check table

    data element

    table field

    table

    314 of 644

    C

    C++

    Cobol

    VB

    ABAP

    315 of 644

    implementation

    definition

    attributes

    method

  • 7/30/2019 SAP_Q_B2

    4/11

    316 of 644

    BREAK-POINT.

    MESSAGE E101.

    SUBMIT RSCA101X.

    MESSAGE I101.

    317 of 644

    Call Function 'MYFUNCTION'

    exporting

    e1 = p1

    importing

    i1 = p2

    Program is suspended

    Runtime error

    Message occurs

    Program continues

    318 of 644

    FZ

    Y or Z

    Y_ or Z_

    F

    319 of 644

    a presentation, application and database server

    Multiple application servers

    work processes only

    dispatcher, work processes, and services

    320 of 644

    LDB

    Program

    Joined Tables

    Sequential Data Set

    Search Help

  • 7/30/2019 SAP_Q_B2

    5/11

    321 of 644

    Modifications to the SAP Standard

    Enhancements to the SAP Standard

    Customizing

    Append Structures

    322 of 644

    By Value

    By Changing

    By Reference

    323 of 644

    (More than one answer is correct)

    Select Lists

    Statistics

    Ranked lists

    Summary

    Basic lists

    324 of 644

    Begin of Frame, End of Frame

    Begin of Selection, End of Selection

    Begin of Box, End of Box

    Begin of Block, End of Block

    325 of 644

    process after input.

    10 module exit at exit-command.

    module back.

    20 field a module check_field_a.

    30 field b module check_field_b.

    40 chain.

    field: a, b, c.

    module check_field_abc.

    endchain.

    50 chain.

  • 7/30/2019 SAP_Q_B2

    6/11

    field: c, d.

    module check_field_cd.

  • 7/30/2019 SAP_Q_B2

    7/11

    2. High-priority (V1) update-task function modules.

    3. Low-priority (V2) update-task function modules.

    1, 2, 3

    3, 2, 1

    2, 3, 1

    331 of 644

    When calling a static method, the class name is required

    When calling a static method, the class name can be omitted

    Private methods can not call public methods

    When calling an instance method, the => operator is still required

    332 of 644

    CARRIER CONNECTION FLIGHTDATE

    10 AA FFF Jan 2

    20 AA FFF Jan 3

    30 DL FFF Jan 5

    30

    NO rows will cause a break

    All rows will cause a break

    20

    333 of 644

    The filter value is passed to the method as an export parameter

    There is no need to pass to the method as a parameter

    The filter value is passed to the method as an import parameter

    The filter value gets passed as a reference variable

    334 of 644

    Data: ZFIELDA(5) type c value 'ABCDE'.

    ZFIELDB(4) type c.

    ZFIELDA = XX.

    Clear ZFIELDA.

    ZFIELDB = ZFIELDA.

    ABCD

    Spaces

    BCDE

    ABCDE

    335 of 644

  • 7/30/2019 SAP_Q_B2

    8/11

    To the previous screen

    To the initial screen of the transaction

    To where the transaction was called

    To the Cancel area

    336 of 644

    a class can implement any number of interfaces

    interfaces contain their own implementation part

    the user is protected from the actual implementations

    interfaces describe the point of contact of a class

    337 of 644

    1 for every release

    maximum of 1

    Determined by Basis group - this is a configurable item

    minimum of 1

    338 of 644

    (More than one answer is correct)

    Parameters

    Selection-Screen

    Tables

    Data

    Class

    339 of 644

    At the end of an interactive processing block

    At the beginning of an interactive processing block

    When you programatically increment it

    340 of 644

    ZXG99F01

    ZXG99E01

  • 7/30/2019 SAP_Q_B2

    9/11

    ZXG99L01

    ZXG99U01

    341 of 644

    SE24

    SE18

    SE80

    SE19

    342 of 644

    Internet

    Presentation

    Application

    Database

    343 of 644

    Any Primary Key Fields and Any Secondary Key Fields

    The Foreign Key Dependancies

    The Primary Key Fields

    Any Primary Key Fields

    344 of 644

    10 get spfli.

    20 * Processing of SPFLI records

    30 write: spfli-carrid, spfli-connid.

    40 counter = counter + 1.

    60 if counter > 1.

    70 Exit.

    80 endif.

    90 write:/ No more processing for this Carrier'.

    100 get sflight.

    110 write: sflight-fldate, spfli-price.

    120 end-of-selection.

    130 write: / text-002, text-003.

    120

    100

    Exits the Program

    80

    130

    345 of 644

  • 7/30/2019 SAP_Q_B2

    10/11

    Tables

    ABAP/4 memory

    SAP Memory

    346 of 644

    process after input.

    10 module exit at exit-command.

    module back.

    20 field a module check_field_a.

    30 field b module check_field_b.

    40 chain.

    field: a, b, c.

    module check_field_abc.

    endchain.

    50 chain.field: c, d.

    module check_field_cd. name.

    course_price = lcl_course=>price.

    course_name = name

    course_price = lcl_course->price.

  • 7/30/2019 SAP_Q_B2

    11/11

    course_name = course1->name.

    348 of 644

    (More than one answer is correct)

    Events can be triggered with the Trigger Event command

    Methods must be registered to an event in order to be called when the event istriggered

    An event is defined in the Implementation of a Class

    Event Triggering using Raise Event can be issued in a method

    349 of 644

    Fields of the Authority-check are optional

    The Authority-check object must be in your profile

    If you do not want to carry out a check for a field, it must contain the value

    "DUMMY"

    350 of 644

    Super class and subclass both point to an instance of the same class type

    Super class method is called from the subclass

    Casting a super class to a subclass when superclass does not point to an

    instance of the subclass type

    Subclass reference variable correpsonds to the superclass reference variable

    351 of 644

    PERFORM READ_RECORDS_FROM_FILE.

    ..

    ..

    FORM READ_RECORDS_FROM_FILE.

    READ DATASET ABC INTO REC.

    IF SY-SUBRC = 0. EXIT. ENDIF.

    DO.

    READ DATASET ABC INTO REC.

    IF SY-SUBRC = 0. EXIT. ENDIF.

    ENDDO.

    ENDFORM.

    1

    2

    11

    0

    10