SAP CALL PROCEDURES INTERN



Get Example source ABAP code based on a different SAP table
  



Internal Procedure Calls
All procedures which are defined in the same ABAP program and are visible from the calling position can be called internally.
In each ABAP program, and within a class, the visible methods of the class or visible methods of other local classes of the same program can be called. The calling of methods is the only procedure call which is recommended for the internal modularization.
In a function pool, a function module provided for external users can also be called internally.
In every ABAP program that still contains subroutines, these can also still be called internally. Subroutines are an obsolete form of internal modularization and should be replaced by methods if possible.
The required program is always already loaded for internal calls.



Example ABAP Coding

Internal program call of method meth1 of a local class from the event block START-OF-SELECTION and the call of meth2 from meth1.
ABEXA 00848
ABAP_EXAMPLE_END