Prev Next

SAP / SAP Beginner (0 to 2 yrs) Interview questions

What is a structure in ABAP?

A structure groups several related fields of potentially different types together under one name — similar to a struct in C or a plain data class in other languages — commonly used to represent one row's worth of data, such as a single customer record with fields for ID, name, and address.

DATA: BEGIN OF ls_customer,
        kunnr TYPE kunnr,
        name1 TYPE name1_gp,
        land1 TYPE land1,
      END OF ls_customer.

ls_customer-kunnr = '0000001234'.
ls_customer-name1 = 'Acme Corp'.

Structures are frequently defined to mirror a database table's row layout, and they're what an internal table actually holds many of — you can think of an internal table as a list of structures, each structure representing one row's worth of data.

What does a structure group together in ABAP?
How does a structure relate to an internal table?

More Related questions...

What is SAP? What does ERP stand for and what is its purpose? What are the different SAP modules? What is SAP R/3? What is SAP S/4HANA? What is a client in SAP terminology? What is a transaction code (T-code) in SAP? What is the SAP GUI? What is the 3-tier architecture in SAP? What is the presentation layer in SAP's 3-tier architecture? What is the application layer in SAP's 3-tier architecture? What is the database layer in SAP's 3-tier architecture? What are the advantages of a 3-tier architecture? What is a work process in the SAP application server? What is ABAP? What is the difference between ABAP and ABAP Objects? What are the data types in ABAP? What is an internal table in ABAP? What is a structure in ABAP? What is a work area in ABAP? What is the difference between an internal table and a database table? What are the types of internal tables in ABAP? What is a function module in ABAP? What is a BAPI? What is a report program in ABAP? What is a module pool program in ABAP? What are events in ABAP reporting (e.g., START-OF-SELECTION)? What is a selection screen in ABAP? What is Open SQL in ABAP? What is the difference between Open SQL and Native SQL? How do you retrieve data from a database table using Open SQL? What is the SELECT-OPTIONS statement used for? What is a foreign key in SAP table definitions? What is a check table in SAP? What is the difference between a transparent table and a pooled table? What is a data dictionary (DDIC) in SAP? What is the ABAP debugger used for? How do you set a breakpoint in ABAP? What is the difference between a session breakpoint and a watchpoint? What is an external (dynamic) breakpoint in ABAP debugging? How do you inspect variable values during debugging in ABAP? What is the difference between a static breakpoint (BREAK-POINT statement) and a dynamic breakpoint? What is the Waterfall model in software project methodology? What is Agile methodology? What is the difference between Waterfall and Agile approaches? What is a sprint in Agile methodology? What is SAP ASAP methodology? What are the typical phases of a Waterfall-based SAP implementation project?
Show more question and Answers...


Comments & Discussions