A list is generally used to output mass data. It can be output on either the screen or a printer.
List may contain colors, symbols and icons as well as text.
There is a standard GUI status for lists. Lists may also have a header and up to four lines of column headers. These are independent program objects, and are translatable.
You can also program interactive lists, which allow users to select lines or particular values. A selection triggers further processing. This might, for example, generate a further list containing a detail list.
You fill the corresponding basic list buffer with WRITE statements at PBO or PAI. You can create your own list and column headers by programming a TOP-OF-PAGE event. This event will be triggered whenever a new page is created in the list buffer (NEW-PAGE).
You can direct the output directly to the spool with the NEW-PAGE PRINT ON statement.
To create interactive lists on screens, you can use the list events AT LINE-SELECTION, AT USER-COMMAND, TOP-OF-PAGE, END-OF-PAGE and TOP_OF_PAGE DURING LINESELECTION.
There is no common list buffer outside of a CALL level.
The list display is processed at the end of the screen in which LEAVE TO LIST-PROCESSING was programmed at PBO or PAI.
To direct the output to the spool, use the NEW-PAGE PRINT ON statement, but not LEAVE TO LIST-PROCESSING.
To create a list that is displayed on a screen, use the ABAP statement LEAVE TO LISTPROCESSING.
This sets a switch that ensures that the contents of the list buffer are output once
the current screen has been processed. The SET PF-STATUS SPACE statement ensures that the list is displayed with the standard GUI status for lists.
Once the screen has been fully processed and LEAVE TO LIST- PROCESSING was executed, the list is displayed on list screen 120 (screen for a basis program).
You can also use the following form: LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0. SET PF-STATUS SPACE. WRITE ... LEAVE SCREEN.
When the system exits list processing (user presses F3, or ABAP statement LEAVE LISTPROCESSING), the system carries on processing the program with the screen following the one from which the list processing was started. You can override this by using the AND RETURN TO SCREEN
You can update databases either using ABAP's Open SQL commands, or with the database-specific commands of your database's Native SQL command set.
You can access ABAP cluster databases using special ABAP commands.
You can access the data in database tables using the Open SQL commands. The command set includes operations of the Data Manipulation Language (DML). The Data Definition Language (DDL) operations are not available in Open SQL, as these functions are performed by the ABAP Dictionary.
Native SQL commands allow you to carry out both DML and DDL operations.
The commands for ABAP cluster databases enable operations to be carried out on the data in the cluster databases. The tables themselves are created in the ABAP Dictionary as transparent tables.
For general information on cluster tables, refer to the course appendix.
For further information on Native and Open SQL, see the ABAP Editor Keyword documentation for the term SQL.
Each time you access the database using Open SQL, the database interface of each work process (application server) converts this to a database-specific command. For this reason, the ABAP programs themselves are independent of the database used and can be transferred to other system platforms (with a different database system) without additional programming requirements.
SAP database tables can be buffered at the application server level. The aims of buffering are to
Reduce the time needed to access data with read accesses. Data on the application server can be accessed more quickly than data on the database.
Reduce the load on the database. Reading the data from application server buffers reduces the number of database accesses.
The buffered tables are accessed exclusively via database interface mechanisms.
Database accesses with Native SQL enable database-specific commands to be used. This requires a detailed knowledge of the syntax in question. Programs that use Native SQL commands need additional programming after they are transported to different system environments (different database systems), since the syntax of the SQL commands generally varies from one database to the next.
The target quantity can be limited on the database using all the Open SQL commands discussed here.
One or more rows can be processed with a SQL command. Each command also provides the option of specifying the table name dynamically.
In addition to this, each type of operation has a syntax variant, which can be used to change individual fields in a row.
With masked field selections (WHERE
Saturday, March 15, 2008
LISTS IN SCREEN PROGRAMMING IN SAP
Labels:
MODULE POOL PROGRAMMING IN SAP
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(300)
-
▼
March
(84)
- BADI
- WHAT IS THE DIFFERENCE BETWEEN BADI'S AND USER EXI...
- Performance and scalability in SAP?
- What is the relationship between ALE and middlewar...
- . Why does SAP uses ALE instead of database replic...
- Which kind of interfaces do ALE business processes...
- Synchronous vs. asynchronous links in SAP?
- Which ALE services are available and what do they do?
- Which ALE business processes are available in SAP?
- What is the relationship between ALE and Middlewar...
- When should ALE be used?
- What are the benefits of ALE In SAP?
- What is ALE In SAP?
- INTERNAL TABLES IN ABAP
- BUFFERING IN SAP ABAP
- LOCKS IN SAP ABAP
- INTRODUCITON TO SCREEN PROGRAMMINGN SAP
- SCREEN ELEMENTS FOR OUTPUT IN SAP
- SCREEN ELEMENTS FOR INPUT AND OUTPUT IN SAP
- SUBSCREEN TABSTRIPS IN SAP
- SCREEN ELEMENTS ANDTABLE CONTROLS:
- CONTEXT MENUS ON SCREENS IN SAP
- LISTS IN SCREEN PROGRAMMING IN SAP
- What is an add-on project in sap?
- What is a function module exit in sap?
- What is a screen exit in sap?
- What are the various types of customer exits ?
- when do you opt for modification in sap?
- What are the advantages of enhancements IN SAP?
- What are the disadvantages of modification ?
- What is SSCR ?
- What is customer development ?
- What are the different types of enhancements ?
- Why do you need enhancements ?
- What is customizing ?
- What are the different ways in which you can make ...
- What are user exits?What is involved in writing th...
- RFC In R/3
- SAP ON SCRIPTS1
- ACCESSING BAPI USING VB PPT FREE DOWNLOAD
- ABAP VALIDATIONS PPT
- ABAP WORK BENCH PPT FREE DOWNLOADS
- Working with eCATT (Extended Computer Aided Test T...
- MM01 Upload using BAPI
- How can I Increase WebDAV Performance?
- The process of uploading data with a CATT
- CATT
- Can I also execute work items with external progra...
- Can I set deadlines for the latest processing of w...
- How can users be automatically notified that new w...
- What does the substitute rule system look like in ...
- What options do I have as a user to configure the ...
- What is the Workflow basic Customizing?
- How do you debug a background workflow process?
- How do I transport workflow definitions and agent ...
- What is the difference of between an e-mail and a ...
- How are the responsible agents determined?
- How is an event triggered from the application and...
- What is a work item (important terms)?
- What is a workflow? What is a single-step task?
- How can I make sure that user's access their tasks...
- How do I trigger a workflow with an e-mail?
- How can I configure the workflow so that when the ...
- How can I configure the workflow so that different...
- How do I send reports?
- How do I send really complex mails from the workflow?
- How do I send a complex text from the workflow?
- How do I send a standard text as an e-mail from wo...
- What is the difference between sending a mail to a...
- What differences are there between a work item and...
- How can I get the workflow initiator information i...
- What is Wf-XML used for?
- What open interfaces are supported in sap?
- How are workflows triggered in sap?
- How can I check the status of a workflow in sap
- What deadlines can be monitored? in sap
- What happens when a deadline is missed?
- How do I choose who to distribute the tasks to? in...
- What workflow reporting is available and is it use...
- How are users notified about their work pending? i...
- What do customers say are the strengths of SAP Web...
- What are typical costs saved by workflow? in sap
- How do I calculate the cost saved by workflow? in sap
- How do I convince my company to use workflow? in sap
-
▼
March
(84)
No comments:
Post a Comment