SAP ABAP Online Test Questions

42 Questions | Total Attempts: 10019

SettingsSettingsSettings
Please wait...
SAP ABAP Online Test Questions

SAP ABAP was intended to be used by SAP customers. It is designed to help customers better prepare custom reports and interface ABAP programming. The SAP ABAP Quiz below is perfect for testing out what you know so far about the topic. Give it a try and see just how prepared you are to sit for the upcoming exam. All the best!


Questions and Answers
  • 1. 
    What is the system field for the current Page Number?
    • A. 

      SY-PAGENO

    • B. 

      SY-PAGNUM

    • C. 

      SY-PAGNO

    • D. 

      SY-PAGNU

  • 2. 
    The message types are one of the following:
    • A. 

      A

    • B. 

      S

    • C. 

      W

    • D. 

      All the above

  • 3. 
    Selection screen entries referring to data dictionary objects have certain checks in-built in them. Additional checks can be written using event
    • A. 

      AT LINE-SELECTION

    • B. 

      AT SCREEN-SELECTION

    • C. 

      AT SELECTION-SCREEN

    • D. 

      AT SELECTION- SCREEN ON CHECK

  • 4. 
    Colors can be associated with the report fields using one of the following commands
    • A. 

      Set color on

    • B. 

      Format colors on

    • C. 

      Format color on

    • D. 

      Formats color on

  • 5. 
    How can you suppress the default title of a list?
    • A. 

      By defining a TOP-OF-PAGE event in the program and using it to display something else.

    • B. 

      By choosing System -- List -- List header and entering your own title

    • C. 

      By using the NO STANDARD PAGE HEADING addition in the REPORT statement

    • D. 

      By entering a title in the text elements of the program.

  • 6. 
    Page headers for a secondary list should be coded in which event?
    • A. 

      TOP-OF-PAGE.

    • B. 

      START-OF-SELECTION.

    • C. 

      TOP-OF-PAGE DURING LINE-SELECTION

    • D. 

      AT USER-COMMAND

  • 7. 
    Which line in the following code contains a syntax error? Report abc  message-id ZP. Message Id 'ZP' type 'E' number 012. Message e013(ZP). Message e013 with '123'.  
    • A. 

      First Line

    • B. 

      Second Line

    • C. 

      Third Line

    • D. 

      Fourth Line

  • 8. 
    Which of the following is not a Message type?
    • A. 

      A – Abbend

    • B. 

      C - Continue

    • C. 

      E – Error

    • D. 

      I – Information

  • 9. 
    An internal table icode contains the following entries: Field1 Field2 -------------- John 12345 Alice 23478 Sam 54321 john 50000 DATA: BEGIN OF ICODE OCCURS 0, FIELD1(5), FIELD2(5), END OF ICODE. READ TABLE ICODE WITH KEY FIELD1 = 'John' BINARY SEARCH.       Why does executing the above code return a sy-subrc of 4?
    • A. 

      Icode-field2 must be a numeric field.

    • B. 

      The internal table has an incorrect structure.

    • C. 

      Both internal table fields must be used in the search.

    • D. 

      The internal table must be sorted first.

  • 10. 
    What is the default mode for passing actual parameters in a Perform?
    • A. 

      By Value

    • B. 

      By Reference

    • C. 

      By Changing

    • D. 

      By Value and Return

  • 11. 
    T-Code for Message Class Creation ?
    • A. 

      SE19

    • B. 

      SE91

    • C. 

      SM91

    • D. 

      SE10

  • 12. 
    T100 Table has the following Structure?
    • A. 

      Message Text

    • B. 

      Language Key

    • C. 

      Message number

    • D. 

      All the above

  • 13. 
    Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list report, what event is processed when the button is clicked?
    • A. 

      AT USER-COMMAND.

    • B. 

      AT PFn.

    • C. 

      AT SELECTION-SCREEN.

    • D. 

      END-OF-SELECTION.

  • 14. 
    When you create Function Group By default which includes will Create?
    • A. 

      INCLUDE LTOP.

    • B. 

      INCLUDE TOP.

    • C. 

      INCLUDE LF

    • D. 

      None of these

  • 15. 
    Which of the Following Fields are NOT for BDCDATA Structure?
    • A. 

      PROGRAM

    • B. 

      FINAME

    • C. 

      DYNPRO

    • D. 

      FVAL

  • 16. 
    Which Function Modules is Used In Hierarchical ALV Report Display?
    • A. 

      REUSE_ALV_HIERESEQ_LIST_DISPLAY

    • B. 

      REUSE_ALV_HIERESEQ_LIST-DISPLAY

    • C. 

      REUSE_ALV_HIERSEQ_LIST_DISPLAY

    • D. 

      REUSE_ALV-HIERSEQ_LIST_DISPLAY

  • 17. 
    T-Code for uploading the ALV LOGO?
    • A. 

      OEAR

    • B. 

      EAOR

    • C. 

      OAER

    • D. 

      QAOR

  • 18. 
    How to Declare the Static Variables in OOABAP?
    • A. 

      DATA-CLASS

    • B. 

      CLASS_DATA

    • C. 

      DATA STATIC

    • D. 

      CLASS-DATA

  • 19. 
    Which of the following functional Modules are optional For SAPScript?
    • A. 

      OPEN_FORM

    • B. 

      START_FORM

    • C. 

      CLOSE_FORM

    • D. 

      WRITE_FORM

  • 20. 
    What is the default mode for passing actual parameters in a Perform?
    • A. 

      By Value

    • B. 

      By Reference

    • C. 

      By Changing

    • D. 

      By Value and Return

  • 21. 
    Assuming a pushbutton with function code 'FUNC' is available in the toolbar of a list report, what event is processed when the button is clicked?
    • A. 

      AT USER-COMMAND.

    • B. 

      AT PFn.

    • C. 

      AT SELECTION-SCREEN.

    • D. 

      END-OF-SELECTION.

  • 22. 
    Which is the mandatory to input field for Dialogue Programming / Module Pool design?
    • A. 

      LABEL

    • B. 

      ALPHA

    • C. 

      FCTCODE

    • D. 

      KEYFIELD

  • 23. 
    What is the Purpose of REUSE_ALV_COMMENTARY_WRITE Function Module?
    • A. 

      Display the Fields

    • B. 

      Display the Headers

    • C. 

      Logo and Header

    • D. 

      Header and Footer

  • 24. 
    Which type pool is used for ALV Type-pools?
    • A. 

      SY-SLIS

    • B. 

      TYP-SLIS

    • C. 

      SILS

    • D. 

      SLIS

  • 25. 
    What table is used to store the control records for IDOC?
    • A. 

      EDIDD

    • B. 

      EDIDC

    • C. 

      EDIDL

    • D. 

      EDIDS

Back to Top Back to top