What are control break statements?
Answers were Sorted based on User's Feedback
Answer / naveen kumar guduri
I think this is not the correct answer
control break statements in abap r
1. AT NEW f.
2. AT END OF f.
3. AT FIRST.
4. AT LAST.
these r with internal tables.....
| Is This Answer Correct ? | 146 Yes | 8 No |
Answer / priya
control break statements are of 4 types:
AT FIRST
AT NEW
AT END
AT LAST
| Is This Answer Correct ? | 112 Yes | 6 No |
Answer / priya
AT FIRST---->this is used for system field heading in
ABAP program.
AT NEW------>this is used to display the fields.
AT END------>this is used for row-wise calculation i.e,
sub-total.
AT LAST----->this is used for calculation of grand total.
these are the control statements used.
hope this is right.
| Is This Answer Correct ? | 92 Yes | 9 No |
Answer / srikanth
AT First ===> Triggers in the first loop operation.
At New ===> Triggers when ever new field value changes at
first.
At End Of ===> Triggers at the end of every field value.
At Last ===> Triggers in the last loop operation
| Is This Answer Correct ? | 47 Yes | 6 No |
Answer / mani
Priya answer is absolutely right , I faced this question in
TCS Hyd.
| Is This Answer Correct ? | 28 Yes | 5 No |
Answer / pria
one more control break statement is there that is 'ON
CHANGE OF'.
can anybody tell the difference between ON CHANGE OF and AT
NEW OF ?
| Is This Answer Correct ? | 20 Yes | 5 No |
Answer / arjun manglekar
Belo are some more diff. between AT NEW and ON CHANGE OF
statement..
1) AT NEW checks all the values above it ..where as
ON CHANGE OF cheks only that particular value
2) AT NEW can be used in only LOOP..ENDLOOP where as
ON CAHNGE OF can be used in any looping ...e.g
LOOP..ENDLOOP, DO..ENDDO, WHILE..ENDWHILE etc.
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / raktim bhattacharjee
1. AT NEW.
2. AT LAST.
3. AT FIRST.
4. AT END OF.
5. ON CHANGE OF.
| Is This Answer Correct ? | 10 Yes | 2 No |
Control break statements are
1. At First
2. At Last
3. At New
4. At End of
And all these statements work only between Loop and Endloop.
Example:
F1 F2 F3
1 A B
1 B C
2 C A
3 D E
here F1, F2 and F3 are the three fields
if we apply the At New statement between these three fields
then the output would be
1 b c
2 c a
3 d e
| Is This Answer Correct ? | 10 Yes | 5 No |
Answer / sandeep joshi
@ Priya.
According to my one experience you can only use 'AT NEW'
with only the table's fields in which you are looping
whereas 'ON CHANGE OF' can be used with any data element
inside any table's loop.
Second 'ON CHANGE OF' is obsolete but as of my experience
'AT NEW' doesn't provide the same functionality.
| Is This Answer Correct ? | 13 Yes | 9 No |
What are logical databases? What are the advantages of logical databases?
What is locking ?
What take most time in SAP Script programming?
What does the insert statement in extract datasets do? : abap modularization
Can we create internal table in smart forms or scripts?if yes where and how?
In BDC, data transfer is done success in foreground mode but if we done the same in background mode it shows errors. What is the reason?
What is difference between dependent and independent data?
What is the relationship existing between the various data elements? : abap data dictionary
In module pool, when table controls are used the command that is written in both PBO and PAI is
how can u hilight perticular row in popwindow in report programming?please any one can tell me?
what technology used at presentation layer for displaying GUI to SAP user ? and where those files were put?
Which objects are independent transport objects?
SAP Basis (1262)
SAP ABAP (3939)
SAPScript (236)
SAP SD (Sales & Distribution) (2717)
SAP MM (Material Management) (912)
SAP QM (Quality Management) (99)
SAP PP (Production Planning) (523)
SAP PM (Plant Maintenance) (252)
SAP PS (Project Systems) (138)
SAP FI-CO (Financial Accounting & Controlling) (2766)
SAP HR (Human Resource Management) (1180)
SAP CRM (Customer Relationship Management) (432)
SAP SRM (Supplier Relationship Management) (132)
SAP APO (Advanced Planner Optimizer) (92)
SAP BW (Business Warehouse) (896)
SAP Business Workflow (72)
SAP Security (597)
SAP Interfaces (74)
SAP Netweaver (282)
SAP ALE IDocs (163)
SAP Business One (110)
SAP BO BOBJ (Business Objects) (388)
SAP CPS (Central Process Scheduling) (14)
SAP GTS (Global Trade Services) (21)
SAP Hybris (132)
SAP HANA (700)
SAP PI (Process Integration) (113)
SAP PO (Process Orchestration) (25)
SAP BI (Business Intelligence) (174)
SAP BPC (Business Planning and Consolidation) (38)
SAP BODS (Business Objects Data Services) (49)
SAP BODI (Business Objects Data Integrator) (26)
SAP Ariba (9)
SAP Fiori (45)
SAP EWM (Extended Warehouse Management) (58)
Sap R/3 (150)
SAP FSCM Financial Supply Chain Management (101)
SAP WM (Warehouse Management) (31)
SAP GRC (Governance Risk and Compliance) (64)
SAP MDM (Master Data Management) (0)
SAP MRS (Multi Resource Scheduling) (0)
SAP ESS MSS (Employee Manager Self Service) (13)
SAP CS (Customer Service) (0)
SAP TRM (Treasury and Risk Management) (0)
SAP Web Dynpro ABAP (198)
SAP IBP (Integrated Business Planning) (0)
SAP OO-ABAP (Object Oriented ABAP) (70)
SAP S/4 HANA Finance (Simple Finance) (143)
SAP FS-CD (Collections and Disbursements) (0)
SAP PLM (Product Lifecycle Management) (0)
SAP SuccessFactors (33)
SAP Vistex (0)
SAP ISR (IS Retail) (28)
SAP IdM (Identity Management) (0)
SAP IM (Investment Management) (0)
SAP UI5 (59)
SAP SCM (Supply Chain Management) (51)
SAP XI (Exchange Infrastructure) (49)
SAP Cloud Platform (34)
SAP Testing (89)
SAP SolMan (Solution Manager) (63)
SAP MaxDB (116)
SAP GUI (15)
SAP AllOther (329)