Skip to Content
-5
Aug 08, 2023 at 01:28 PM

Convert perform subroutine into method using oops concepts in SAP ABAP.

120 Views Last edit Aug 08, 2023 at 08:49 AM 3 rev

Greetings Abapers,

Need to translate-procedural subroutine call using internal table into method call using oops concepts.

Sample statement -

PERFORM f_test_subroutine TABLE lt_table .

------------------------------------------------------------------------

FORM f_test_subroutine TABLES tab1 like gt_test.

ENDFORM.

------------------------------------------------------------------------

Please provide definition and implementation of class as well.

Thanks in advance :)