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

Type S program - how do I find our where this program is called from ?

Former Member
0 Likes
1,225

Hi,

Let me start by saying that I am not an ABAPper.

I have a 'Z' program of type 'S' and I need to find out where it is called from.

When we perform a post goods issue from an outpound delivery this subroutine updates a bespoke table for pallets.

We have two types of pallets, it updates for just one type not both and I want to check the logic.

Is there a way to find where this subroutine code is called from?

I tried to debug it by setting a breakpoint but it did not enter the code.

Any help welcome.

Regards

I ran a trace and I can see the program/routine being called but I cant see where it is called from

Can I find out from the trace exactely where th eprogram is being called from?

6 REPLIES 6
Read only

Former Member
0 Likes
1,076

Hi,

go to se38 and enter zprogram of type S and pressCTRLSHIFTF3 whre used list to see where program is called.

Prabhudas

Read only

0 Likes
1,076

I have already tried this but i get the message

Program ZSD050 not found in selected search area

Read only

0 Likes
1,076

I ran a trace and I can see the program/routine being called but I cant see where it is called from

Can I find out from the trace exactely where th eprogram is being called from?

Read only

0 Likes
1,076

Hi,

Try to execute the Post Goods issue in Transaction SE30, then click on Analyse, Select ABAP clcik on details, it will give you all the Programs, Performs called, from the you can easily identify from which Include the Zprogram is being called.

Regards

Bala Krishna

Read only

0 Likes
1,076

Hi, I tried that and I can see the program etc.. but it still does not tell me where it is called from.

Antway I have managed to find the bug so ne longer need to determine the calling probram.

Thanks for all your help

Read only

0 Likes
1,076

Goto table CROSS and give your include program name ZSD050. That should give the Main Program name