Application Development and Automation 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: 
Read only

external subroutines

Former Member
0 Likes
780

hi all

how do we call external subroutines

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
764

Hi there

Doesn't the F1 key work on your system -- or is this what we have to expect from "Off shored Abap factories".

Try PERFORM (XXXX) in PROGRAM (YYYY).

You guys should really do a little bit more self help before posting.

Also this is the UI Forum --not an appropriate forum for your post.

Next time PLEASE USE F1 BEFORE POSING and then CHOOSE THE CORRECT FORUM FOR YOUR POST.

Cheers

jimbo

hi all

how do we call external subroutines

4 REPLIES 4
Read only

Former Member
0 Likes
765

Hi there

Doesn't the F1 key work on your system -- or is this what we have to expect from "Off shored Abap factories".

Try PERFORM (XXXX) in PROGRAM (YYYY).

You guys should really do a little bit more self help before posting.

Also this is the UI Forum --not an appropriate forum for your post.

Next time PLEASE USE F1 BEFORE POSING and then CHOOSE THE CORRECT FORUM FOR YOUR POST.

Cheers

jimbo

Read only

Former Member
0 Likes
764

Hi,

First Program :

parameters x type vbak-vbeln.

perform sub(znava) USING X.

In second program..

form sub USING x.

select vbeln ernam netwr from vbak into table itab where vbeln = x.

loop at itab.

write : wa-a,wa-b,wa-c.

endloop.

endform.

Pls. reward if useful...

Read only

Former Member
0 Likes
764

Hi,

Try PERFORM abcd in PROGRAM def if found.

Read only

Former Member
0 Likes
764

Hi,

External subroutines can be called like this.

perform <subroutine> in program <subroutine program name>.

or you include the subroutine program name in the program.

and call the routine with perform statement.

regards,

kamala.