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: 

Program RGGBS000 , subroutine

Former Member
0 Kudos

Hello All,

For my requirement i need to copy the program RGGBS000 into a zRGGBS000 and then declare a specific exit till this part i have done!!!

Problem is how do i create a subroutine here ?

I guess the other subroutine are been called dynamically

how do i call my subroutine say example form u201 using var.

Please let me know about ths .

regards

bhanu

2 REPLIES 2

former_member181995
Active Contributor
0 Kudos

if you want to some calculation than you may call static subroutine also.but be aware the sequence of these routine so place your defined routine at rignt place.

and i dont think so these exit are calling dynamically.

do changes like this.and proceed with coding indide this subroutine.

begin of insertion                                          "wms092357
  exits-name  = 'U201'."your subroutine
  exits-param = c_exit_param_field.
  exits-title = text-201. "new text for your 201 routine            "Cons. transaction type
  APPEND exits.                       "from xref1/2

Former Member
0 Kudos