Elements of Main window and is Main window compulsory in
Sap script ?

Answer Posted / rudra vikram

Main window will created by system by default when we create a
sap-script

In sap scripts we have 4 different types of windows

1) MAIN --- To display the Internal table data.
(i.e, continues text)
2) CONST---To display the fixed data.
(i.e, constant data)
3) VAR---To display the Variable data.
(i.e, data which changes time to time / data which changes dinamically)
4) GRAP---Grid screen (for logos and pictures)



By the above four types of windows we can came to conclusion that we need main window only for printing the data from internal table.
The need of main window in the PAGE WINDOWS is depends on our requirement,If at all we need to display the continuous data from the internal table we need MAIN WINDOW.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you define a field without a data element?

641


What is the difference between field-group header and other field groups? : abap modularization

657


Does the external program run in the same sap luw as the caller, or in a separate one?

739


Explain badi in abap.

674


1. If I send 5 entries of table from one system to another system, if the only 4 entries there in the target system what I have to do? 2. If I send the customer master IDOC from one SAP system to another system, if one field is missing in target table what is the steps? 3. If I want to access the 4th row 3rd column in the hashed table how to do it? 4. Whether there is any other statement than MODIFY statement to modify the content of internal table?

1515






Difference between sy-tabix and sy-index?

908


What are the various types of selection screen event?

658


What are system fields for secondary lists?

698


When the get cursor command used in interactive lists?

710


What are the difference between pool tables and transparent tables?

717


What is the difference between a structure and a table?

619


What is a modification assistant?

677


How do u set up background jobs in SAP? What r the steps? What are the event driven batch jobs?

736


​​Can multiple abap systems connect to abap database?

694


Sales Order Information Report that lists information like sales order no, Item no, material no, Quantity, Quantity unit, Net value, Currency,Sub Total, Grand Total. plz mention the detail coding Tahnks, Rahul

1796