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

Error message

Former Member
0 Likes
594

Subroutine TRANSFER_DOWN not found in Programs (possibly dynamic calls!)

any suggestions?

Thanx!

maja

5 REPLIES 5
Read only

Former Member
0 Likes
566

Hi,

subroutine is called at runtime

perform test(ztest).

ztest is program name

regards

Amole

Read only

Former Member
0 Likes
566

you can do something like this :

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

By this way you can track the error whether the subroutine is available or not.

Read only

Former Member
0 Likes
566

hi,

the TRANSFER_DOWN is called from different program not present program which you are using currently..

it is called by perform TRANSFER_DOWN in ,<ur curr prog name> using variables.

Regards

Ashok P.

Read only

Former Member
0 Likes
566

HI,

this is a Dynamic call, we write this like

<b>PERFORM form(Prog Name).</b> if this not called then the runtime error will, it won't give you an error while you check Syntax, bu it will give you runtime error.

Runtime error will be like ''<b>PERFORM_NOT_FOUND : The subroutine specified was not found. </b>

To avoid this check the below statments:

1) Parameter passing to the external subroutine is the same as in variation 1.

2) Parameter passing can be implemented by using a common data area.

3) Nested calls are possible, even with several external subroutines from different programs.

4) If you call a subroutine of a program prog , the system loads the program prog

Regards

Sudheer

Read only

0 Likes
566

hi,

The program is calling a subroutine that is not in the program. if you are using..PERFORM form(prog) and if it is throwing the runtime error "PERFORM_NOT_FOUND : The subroutine specified was not found." then use the addition ... "<b>IF FOUND</b> ".

Effect

Calls the specified subroutine only if it already exists. Otherwise, the statement is ignored.

If the program specified is not available or incorrect, a runtime error is output.

The only way of determining whether the specified routine existed (in an available program) is by writing your own program (e.g. by setting a flag that is passed to the subroutine).

check out the link.

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/perform.htm

Regards,

Richa.