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

How to determine all program names used in program.

Former Member
0 Kudos
1,722

Hello, dear experts . I have several questions.

1.How  can I determine all packages where some SAP module's (ex. PM)  objects situated. - maybe there is some special table etc.

2. How can I determine programs used inside another program.

For example: IW36 transaction code fixed to standart SAP program (function group) SAPLCOIH.

But in the next screen it use another program in this case SAPLCOMK as subscreen Photo attached. I want to find out all of programs which call first program.

ABAP way is preferable.

Thank you in advance.  

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Kudos
1,328

Rufat, if any standard texts are missing a translation (or it is incorrect) then the proper route is to enter an incident with SAP. This would solve the issue not just for you but for all other SAP customers that might be affected. SAP does issue the notes to correct the translations, but they might not know an issue exists if no one tells them.

Also, as pointed out, if this has been answered then kindly close the discussion (see this blog).

12 REPLIES 12
Read only

0 Kudos
1,328
Read only

Former Member
0 Kudos
1,328

For your second question.

1. Go to SE38

2. Enter the program name

3. Select UTILITIES -> INTERNAL PROGRAM ENVIRONMENT or F9

4. Select the ones you need and execute.

5. You will get a result of all the program/FM etc used in the your program based on your selection.

hope this helps

Thanks,

Vikram.M

Read only

Jelena_Perfiljeva
Active Contributor
0 Kudos
1,328

Why do you need this?

Read only

0 Kudos
1,328

My requirement is that I need to collect all screen fields and text elements used in transaction code for ex. (IW36) for future translation into national language. Some transactions uses programs which use screens from another program as showed above. So I need collect all related programs inside some tcode. Actually it is possible to collect them manually but I want to find better solution.

Unfortunately above solutions does not help me.

Thank you in advance.

Read only

0 Kudos
1,328

The standard text elements are translated by SAP into the SAP-supported languages. So you can just go back and report "mission accomplished".

If you're talking about customizations / enhancements then you'll likely find them in some Z* package or in the designated user exits. Google '<transaction> user exit site:sap.com', it's not a rocket science. I've also heard ANST may be used to identify enhancements, but am not sure. Google it.

Or even easier way - just run the transactions/screens and see which elements are missing translation. Unless you stuffed the system with custom ABAP (which you shouldn't do really), there will be likely only a few (or even none) missing a translation. You'll do UAT anyway and it'll take you just a couple of days to update translation. It's much less time than you'd end up investing in a wild goose change.

I suspect whoever gave you this assignment actually just wanted to get rid of you for a while (like they sent that lady for a training in '9 to 5' movie).

Read only

0 Kudos
1,328

Hi Rufat,

You can yous below FM, which returns screen attribute with respect to Program Name and Screen.

RS_SCRP_GET_SCREEN_INFOS

To get Program and screen information of any of existing T-Code, you can user TSTC table.

Regards,

Praveer.

Read only

0 Kudos
1,328
Jelena,  thank you for your reply. 

Actually, my task is not so trivial it may seem.

The standard text elements are translated by SAP into the SAP-supported languages. So you can just go back and report "mission accomplished".

In my case (language - Azerbaijani) not all standard text elements are translated correctly. Even majority of them are still in English. So I need collect all of them and gave them to interpreter as text file(or excel) I already solved this problem using 'RPY_DYNPRO_READ'  FM for reading all text elements and translate theirs data elements using LXE_OBJ_TEXT_PAIR_READ. 








Read only

0 Kudos
1,328

Rufat,

If you solved your problem, please close this thread oks?

BR,

Raphael Pacheco.


Read only

former_member206650
Active Participant
0 Kudos
1,328

Hi Rufat,

you can also try ABAP workbench SE80 repository browser to get the FM,Screens and other technical objects related to a particular program.

vishnu

Read only

0 Kudos
1,328

Ok, you need the call stack, could you try to use this function:

data: i_callstack  type  sys_callst,

      w_callstack type  SYS_CALLS.

call function 'SYSTEM_CALLSTACK'

    importing

      et_callstack = i_callstack.

Read only

Jelena_Perfiljeva
Active Contributor
0 Kudos
1,329

Rufat, if any standard texts are missing a translation (or it is incorrect) then the proper route is to enter an incident with SAP. This would solve the issue not just for you but for all other SAP customers that might be affected. SAP does issue the notes to correct the translations, but they might not know an issue exists if no one tells them.

Also, as pointed out, if this has been answered then kindly close the discussion (see this blog).

Read only

0 Kudos
1,328

Hi Jelena. Thank you for your comment. I will ask about it our Basis team.

Now I'm going to close this topic.

Thanks everybody for help. I really appreciate it.

Regards, Rufat.