Application Development 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: 

TRDIR name to TADIR name conversion

former_member737583
Participant
0 Kudos
288

I want to read some data from TADIR, when I have a name of program / include / finction group / module etc from TRDIR.

I know that is an easy way to find TRDIR name when we have TADIR name with function FUNCTION_INCLUDE_CONCATENATE, but i need function which change name in another direction (form TRDIR to TADIR)

Regards

1 ACCEPTED SOLUTION

Lakshmant1
Active Contributor
0 Kudos
91

Hi Tom,

Check FM TR_TRANSFORM_TRDIR_TO_TADIR

Hope this helps.

Thanks

Lakshman

5 REPLIES 5

Former Member
0 Kudos
91

FUNCTION_INCLUDE_SPLIT

0 Kudos
91

FUNCTION_INCLUDE_INFO

0 Kudos
91

FUNCTION_INCLUDE_SPLIT is for function groups only

FUNCTION_INCLUDE_INFO don't return class names

Maybe i try to precize my question:

When I create class pool for example: ZTSY_TEST_CLASS_11, SAP write 2 information: first into TADIR second in TRDIR.

in first table this class pool name is: ZTSY_TEST_CLASS_11

in second: ZTSY_TEST_CLASS_11============CP

Analogical when is creating module pools and so one.

So i have only the ZTSY_TEST_CLASS_11============CP

name and i need have ZTSY_TEST_CLASS_11 because i need sone data form TADIR. I know that i can recognize type of program (usin TRDIR SUBC field) and than i can cut suffix but i dont want to do this myself (if SAP change something in name convention, my program stop working).

Message was edited by: Tomasz Suchanek

Message was edited by: Tomasz Suchanek

Lakshmant1
Active Contributor
0 Kudos
92

Hi Tom,

Check FM TR_TRANSFORM_TRDIR_TO_TADIR

Hope this helps.

Thanks

Lakshman

0 Kudos
91

That was that I was looking for.

Big thx

P.S. Your hope is great