SAP ABAP - Continue 语句 简述 CONTINUE 语句用于循环的语句块中,以立即无条件终止单个循环传递。一旦执行了 CONTINUE 语句,当前处理块中剩余语句的执行就会停止,并处理下一个循环。 continue 语句的语法是 - CONTINUE. 复制 框图 例子 Report YH_SEP_15. DO 5 TIMES. IF SY-INDEX = 3. CONTINUE. ENDIF...
Effect The statementCONTINUEcan only be used inloops. If it is used, the current loop pass is exited immediately and the program flow is continued with the next loop pass. Example Exits a loop pass usingCONTINUEif the loop indexsy-indexis an odd number. ...
EXIT will completely go out of the LOOP statement or DO statement Thanks Naren Reply Former Member 2007 Nov 01 5:55 AM 0 Kudos 5,679 SAP Managed Tags: ABAP Development Hi Check these links: http://www.howforge.com/difference-between-continue-check-and-exit-statement-in-abap-4...
The point of solve the problem is place certain statements following with commit into standalone report, that you can call with SUBMIT command, passing value from ABAP memory or via select-option, as explained in documentation for SUBMIT STATEMENT. The trick of this solution is that calling new...
SAP Managed Tags: ABAP Development Hi Experts, I am having the following requirements. 1) I have design the selection screen by using Select-options statement. In that i have to initialize both low and high values. I don't know how to write and where to write the code for the same...
SAP Managed Tags: ABAP Development Hi, Your processing will stop only if the statement MESSAGE ... with TYPE 'E' is executed. NO matter what FM you use with in the loop all set SY_SUBRC and return message text using SYSTEM parameters SY-MSGID, SY-MSGNO, SY_MSGV1, SY_MSGV2, SY...
SAP Managed Tags: ABAP Development Hi For check, we use it check <condition>, only if the condition is true, the following logic will be processed, or it will exit the current processing block. For exit, usually we can use it in a loop. It means exit the loop statement, go to ...