11-18-2015 10:01 AM
Hello experts,
Could you please let us know how to find a hard coded string in text elements of all ABAP programs .
Is there any standard program for the same ?
Note : find hard coded string in Text elements only (Not in abap program logic code)
Thanks in Advance .
Regards,
Balaji
11-18-2015 10:12 AM
11-18-2015 10:57 AM
Hi Kripa,
RS38M - is not table name , its structure name
could you please explain me bit clearly .
Thanks,
Balaji
11-18-2015 10:13 AM
Hi Balaji,
you can use the READ TEXTPOOL keyword for this requirement once or for several languages.
Regards,
Klaus
11-18-2015 11:53 AM
Hi Klaus Babl,
Thanks for your quick turn around..
is there any alternate solution (or) Is there any standard program for the same ?
Note : we dont have option to write a program.
Regards,
Balaji
11-18-2015 12:07 PM
Hi Balaji,
I can't find any standard program, function module or class method for that purpose.
So I think that a custom scan program will be the only possible solution for this issue.
So why can't you create a report on your DEV system and transport it to your TEST system. And why can't you create a local report on your test system. If it is really required, you should get the authority for it. But I would prefer the first way (create on DEV and transport to TEST).
Regards,
Klaus
11-18-2015 10:22 AM
Hi Balaji,
The text symbols are stored in the table REPOTEXT but in RAW format.
You can use the statement READ TEXTPOOL to read text symbol by passing the program name
READ TEXTPOOL <PROGRAM> INTO TEXTS LANGUAGE <LANGU>.
You can write a custom program to fetch the text symbols of the required program.
Thanks,
Karthikeyan
11-18-2015 11:00 AM
Hi Karthikeyan,
thanks for your reply..
i cant able to write test program , because we need this in Test environment(not in development).
i cant move code to test box.
So , Could you please let us know alternate solution for the same.
Regards,
Balaji
11-18-2015 1:00 PM
Hi Karthikeyan,
READ TEXTPOOL <PROGRAM> INTO TEXTS LANGUAGE <LANGU>.
could you please tell me what is the declaration type for TEXTS , if you have any sample code please share it as well .
Regards,
Balaji
11-18-2015 2:09 PM
Hi Balaji,
You may refer the function module : READ_TEXTELEMENT_FROM_REPORT
Thanks,
Karthikeyan
11-19-2015 5:46 AM
Hi Balaji,
the structure of the internal table is TEXTPOOL. You can use a SAP standard table type like
or create an own internal one of type SORTED TABLE or STANDARD TABLE using structure TEXTPOOL.
Regards
Klaus
11-19-2015 6:15 AM
11-19-2015 6:52 AM
Any text element in your test system will be in your dev system. It must have started in your dev system. Therefore you can write the program in your dev system and run it there and get the right results.
If you absolutely must search the test system, you must transport the code. Repeatedly asking for an alternative won't change that, because there isn't one.
Do not ask other people to provide you with the code.
Thread locked.
11-18-2015 10:33 AM