control break statements in ABAP?

Answer Posted / rv karthikeyan

Hi this is karthikeyan


control break statement: It is used to control the data flow inside the loop,for example if we need to add some functionality at run time for example subtotal for every new value triggered or sub heading,we use control break statement,now we see the types of control break statement.

at first: when the loop start first this at first will trigger,that when the loop starts the control goes to the at first statement and executed all the function inside it.

at new: when the first occurrence of the new value found this at new will trigger,used for the sub heading or page break purpose.

at end: when the last occurrence of the new value found this at end will trigger,used mainly for sub total purpose.

at last: when the last record in the loop over this at last will trigger used for grand total purpose.

Hope u got idea...

Regards
RV Karthikeyan.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have 3 transactions,where the output of one transaction is input of another and output of 2nd transaction is input of 3rd transaction.i have one flat file with all data for the 3 transaction.if the 3rd transaction failed can we rollback the remaining 2 transactions or not.Is this possible in BDC,How/

2021


PLEASE HELP ANYONE ON THIS ISSUE,is there any problem with this function module :RHPQ_T77BX_ADD_QUALIS_OF_DPLAN. IT IS TRIGGERING BEFORE COMPLETION OF THE DEVELOPMENT PLAN but it has to trigger after compltion of development plan..this issue raised in my project..so reply urgently..thanks in advance..

1906


How do you activate a function exit?

752


What is an update task?

785


What is the tcode to create indexes?

781


Explain how do you use structures in the abap programs?

736


Setting up a BDC program where you find information from?

869


What are the different types of the variable in the sap abap?

776


Find the scenario and give the result: a, b, c are employees, where a, b will get basic, hra, da. C gets basic and da. How to group for the allowances? : sap abap hr

853


Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subarc after perform?

777


Can we create a gui status in a program from the object browser?

795


How can we create callable modules of program code within one abap/4 program?

818


What is the significance of technical settings (specified while creating a table in the data dictionary) ?

778


What are the events used for logical database?

777


If I forgot some command in sap script e.g.: Suppress zero display – how to do find it?

753