ABAPCHECK_PROCESSING_BLOCKS - CHECK PROCESSING BLOCKS

RFUMSV00 - Advance Return for Tax on Sales/Purchases   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

CHECK - processing_block

Short Reference



Syntax

CHECK log_exp.

Effect

If the CHECK statement is located outside aloop and log_exp is false, the statement terminates the current processing block. You can specify anylogicalexpression for log_exp.

After the processing block is exited, the runtime environment proceeds in the same way as when theprocessingblock is exited in the normal way (with the exception of the event block LOAD-OF-PROGRAM and thereportingevent block GET). In particular, the output parameters of procedures are passed on to the bound actual parameters.

  • You cannot exit the LOAD-OF-PROGRAM event block using CHECK.
  • After the reporting event block GET is exited using CHECK, subordinate nodes in the hierarchical structure of the linkedlogicaldatabase are no longer processed. The logical database reads the next line of the current node or next higher node, if it has reached the end of the hierarchy level.

Notes

  • In a procedure (method, function module, subroutine), CHECK log_exp functions outside a loop in the same way as:
IF NOT log_exp.
  RETURN.
ENDIF.

  • We recommend that you only use CHECK log_exp within loops (see CHECKloop) and that you replace it with the control structure above outside of loops.
  • A further variant of the statement CHECK for exiting processing blocks is CHECKSELECT-OPTIONS that can only be used in GET event blocks for logical databases.







Fill RESBD Structure from EBP Component Structure   General Material Data  
This documentation is copyright by SAP AG.


Length: 3043 Date: 20120518 Time: 203426     triton ( 109 ms )