Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to call subroutines defined in ABAP program with type S

Former Member
0 Kudos

how to call subroutines defined in ABAP program with type S? can you give an example?

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

Normal executable program,

REPORT  ZTEST_MAIN.

perform sub1 in program ztest_sub.
"you can call using in program addition 

Subroutine pool program

PROGRAM  ZTEST_SUB.

form sub1.


endform.

2 REPLIES 2

Former Member

former_member188685
Active Contributor
0 Kudos

Normal executable program,

REPORT  ZTEST_MAIN.

perform sub1 in program ztest_sub.
"you can call using in program addition 

Subroutine pool program

PROGRAM  ZTEST_SUB.

form sub1.


endform.