We can Validate Selection Screen With the Help of the Following Events, the Event Follows the Same hierachy. AT SELECTION-SCREEN ON AT SELECTION-SCREEN ON BLOCK AT SELECTION-SCREEN OUTPUT AT SELECTION-SCREEN.
If buffering is allowed for a table in the ABAP Dictionary, the SELECT statement always reads the data from the buffer in the database interface of the current application server. To read data directly from the database table instead of from the buffer, use the following: SELECT... FROM *lt;tables> BYPASSING BUFFER. .. This addition guarantees that the data you read is the most up to date. However, as a rule, only data that does not change frequently should be buffered, and using the buffer where appropriate improves performance. You should therefore only use this option where really necessary.
vbak-auart, "ORDER TYPE vbak-audat, "DOCUMENT DATE vbak-kunnr, "CUSTOMER vbak-bstnk, "PURCHASEORDERNO vbak-submi, "collective no vbrp-posnr, "ITEM vbrp-matnr, "MATERIAL NUMBER vbrp-arktx, "DESCRIPTION vbrp-fkimg, "ORDER QTY vbrp-vkbur, "SALESOFFICE vbrp-aubel, "SALES DOCUMENT vbrk-netwr, "NETPRICE vbrk-vbeln, "BILLINGDOCNO vbrk-knumv, "DOC.CONDITION kna1-name1, "CUSTOMERNAME vbrp-werks, "PLANT vbrk-kunrg, "PAYER kna1-name1, "PAYER NAME vbpa-kunnr, "EMPLOYEENO vbrk-netwr, "DISCOUNT vbrk-netwr,"NETAMT vbrk-netwr,"INVAMT vbrk-fkart, "billing type vbrk-netwr, "CST konv-kbetr, "CST PER vbrk-netwr, "LST konv-kbetr, "LST PER vbrk-netwr, "ED konv-kbetr, "ED PER vbrk-netwr, "Ecs konv-kbetr, "Ecs PER vbrk-netwr, "SURCHARGE vbrk-fkdat, "BILLINGDATE kna1-name1, "EMPLOYEENAME vbak-bstdk, "PODATE likp-bolnr, "Bill Of Lading likp-traty, "Means of Transport Type likp-traid, "Means of Transport ID vbpa-kunnr, "Bill To Party kna1-name1, "Bill To Party Name vbrk-netwr, "Net Amount Basic Amount - Discount How to assign multiple transaction codes in a session method to BDC_Insert function module? Call function ' BDC_Insert' exporting tr. code = ' enter tr.code1 here' table = 'give an internal table related totr.code1 here' call function 'BDC_INSERT' exporting tr.code = ' enter 2nd tr code' tables = ' 2nd internal table'
Events keywords in Reports are For Classical Reports,
2. At line-selection
5. At user-command
8.At Pfn For Interactive Reports,
10. Top-of-page during line selection For LDB (Logical DataBase) Reports, 11. get 11.put 12. get table
Select Single * from and select Upto 1 rows At new - on change of difference: In case if you want calculate sub totals for same values in a field you can use the atnew statement.ie: For example in a table sflight, there are 2 fields carrid ( airline id) and seatsmax( seat available). In case if you want calculate the total number of seats available for each carrrid you can sort the table first and using the at new and sum you can claculate the total seats for each carrid. Atnew will be triggered whenever there is a change in the carrid and the total seats will be returned for each carrid. In the same scenario if you use onchange of it will not return the total seats for each carrid, instead it will return the total seat count for the entire table( ie: for all the carrids in the table. Another diffrence is atnew can be used only between loop and end loop whereas on change of can also be used in select- endselect , do -enddo. Another diffrence is while using atnew in case if you code any write statements between atnew and end at the value for the numeric fields will be returned as 0 and that of no numeric fields will be returned as *(asteriks). But in on change of the orginal values will be returned. Select single * and select upto 1 row diffrence. The select single * from stmt selects only one row form the database table and puts it in to the work area(internal table). The select upto n(where n stands for a integer number) rows stmt selects all the rows from the database table but writes only the specified number of rows specified by the n into the internal table. If its given as upto 1 rows only 1 row is written in to the internal table.
Select appropriate Question to view its more answers in this category of
Do you find any Answer incorrect or incomplete? Please e-mail us or
place your comment and mention the number of question or if you have correct answer then
open the appropriate question by clicking on question and then place your answer in comment
regarding particular question in this category "SAP Reports Interview Questions and Answers" To ensure quality,
each change is checked by our team, before it enters the main website
database. If you desire so, the changes will be credited to your name.