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

T-code for Program SAPLATP2

Former Member
0 Likes
1,669

Dear Experts,

I was solving load on expensive SQL Statements. And i got to know that the program name is LATP2FR1. when searched i found that the main program for this is SAPLATP2 in that we have LATP2F0R. in that Include Program LATP2FR1.

I just wanted to know the Standard T-code, Triggering this program.

Thanks,

Arati

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,338

Hi Arati,

Place a break point in the program LATP2FR1 and in the debugger check the call stack.

I think you must be able to get the calling program.

Hope this helps.

Cheers,

Ravi.

8 REPLIES 8
Read only

Former Member
0 Likes
1,338

SAPLATP2 is not a program rather a function pool. And the same is not assigned to any transactions. To check you can follow the process below -

Go to SE38 and perform an where used list on SAPLATP2.

Best Regards

Abhinab

Read only

0 Likes
1,338

Hi Abhinab,

Thanks for your reply.

I went to se38 and checked but i am not getting any t-codes or programs associated with it.

The problem is, in order to reduce the load, we need to trigger the program once.

And i dont know the t-code.

Kindly help.

Thanks and Regards,

Arati

Read only

0 Likes
1,338

Include LATP2FR1 mentioned by you refers to database read on reservation. So you may try looking on the tocdes below -

MB21

MB25

MBVR

MB23

MB24

The above tcodes are just pointers and your include may be used from a wide range.
Best Regards
Abhinab
Read only

0 Likes
1,338

Hi Abhinab,

Thanks for your reply. i will trigger these t-codes.

Regards,

Arati

Read only

former_member188827
Active Contributor
0 Likes
1,338

the include which you have mentioned contains access to view "ATP_RESB" which is related to reservations.

Read only

Former Member
0 Likes
1,339

Hi Arati,

Place a break point in the program LATP2FR1 and in the debugger check the call stack.

I think you must be able to get the calling program.

Hope this helps.

Cheers,

Ravi.

Read only

0 Likes
1,338

HI Ravi,

As per your suggestion, i will place break point in LATP2FR1. can you please explain how to call stack.

Regards,

Arati

Read only

0 Likes
1,338

Go to Desktop2  in New debugger. You can see the call stack in the right side of the debugger.

Abhinab