Quantcast
Channel: Answers for "Doubt in sap concept."
Viewing all articles
Browse latest Browse all 2

Answer by Satish Kumar Balasubramanian

0
0

Hello MAHARSHI PADAMATINTI,

One issue that we face in control break statements is in between the AT... ENDAT, We can't process the values in the loop. The values of the work area of loop will hold value like ***** etc... In the AT... ENDAT block. Thats the reason we have to declare a variable inside AT... ENDAT block and we have to process the values of the loop outside the AT... ENDAT block .

Another one is you have to be very careful with the choice of the field you select for control break statements. In case you select the third field in the loop then the processing of control break statements will happen for the combination of first three fields and it will not consider only the third field for processing.

Another requisite is these statements should only be used inside a loop.

All the above are just precautions we should follow while dealing with control break statements. I don't see them as a drawback. We have different statements to deal different scenarios. Based on Your requirements you should decide.

Below link can give you a better understanding!

CONTROL BREAK STATEMENTS

Regards!


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images