sapdev logo background
sapdev logo sapdev logo
Comments

SAP OO OBS TABLES 1 documentation, setup help and example usage



Return to SAP documentation index


INCLUDE
ARTICLE

No Definition of Interface Parameters with TABLES

In ABAP Objects the construct TABLES for defining formal parameters is not allowed in procedures . The only procedures allowed in ABAP Objects are methods.

  • In ABAP Objects, the following statement causes an error message:


  • METHODS meth TABLES p1.
  • Correct syntax:


  • METHODS meth CHANGING p1 LIKE itab.

  • Reason:


  • Internal tables are passed like all data objects as IMPORTING , EXPORTING , CHANGING , or RETURNING parameters.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    OO_OBS_SY_SUBRC_1
    OO_OBS_TABLES_WA_1




    comments powered by Disqus