Ansicht
Dokumentation

ABENPREDICATIVE_METHOD_CALL_ABEXA - PREDICATIVE METHOD CALL ABEXA

ABENPREDICATIVE_METHOD_CALL_ABEXA - PREDICATIVE METHOD CALL ABEXA

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

- Predicative Method Calls

This example demonstrates predicative method calls.

Source Code

Execute

Description

The functional method IS_PRODUCTION_SYSTEM of the class CL_ABAP_DEMO_SERVICES is called predicatively in a control statement IF to ensure that the current system is not a production system. The method called is a predicate method.

The functional method GET_SPFLI of the class CL_DEMO_SPFLI is then called predicatively once in a control statement IF and once in a conditional expression COND. In this case, it is not a predicate method. The relational expressions are true or false, depending on whether the internal table returned is empty or filled.






BAL_S_LOG - Application Log: Log header data   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1694 Date: 20240504 Time: 213342     sap01-206 ( 27 ms )