2014 Aug 15 2:03 PM
Good morning Gurus.
The functional wants that I change a message text.
But this message occurs within a standard function probably placed by exit or enhacement ...etc I need know where to change the message.
To search the message I use the RPR_ABAP_SOURCE_SCAN.
In field 'String searched for' i put the current message `In saturday bla bla bla'
in field Program Name I put *
After 4 hours he DON ' T FIND ANYTHING.
1-i SEARCH CORRECTLY FOR THE MESSAGE?
2-EXIST OTHER WAY TO DISCOVER WHERE IS THE MESSAGE?
3-IF THE MESSAGE IS IN TEXT-0* ,CAN i USE THE RPR_ABAP_SOURCE_SCAN TO FIND IT?
I,m working with HR portal the user do the process in Internet portal and comunicate with sap by rfc.
I debuged but I don´t find in standard.
Please help me.
Thanks.
2014 Aug 18 5:56 AM
Hi,
Assuming all the calls occours within the same package (PBAS) I found those (quite quick):
Try to break point there.
I have to ask our HR consultant but could it be that HR use its own message table .
Regards.
Good morning Gurus.
The functional wants that I change a message text.
But this message occurs within a standard function probably placed by exit or enhacement ...etc I need know where to change the message.
To search the message I use the RPR_ABAP_SOURCE_SCAN.
In field 'String searched for' i put the current message `In saturday bla bla bla'
in field Program Name I put *
After 4 hours he DON ' T FIND ANYTHING.
1-i SEARCH CORRECTLY FOR THE MESSAGE?
2-EXIST OTHER WAY TO DISCOVER WHERE IS THE MESSAGE?
3-IF THE MESSAGE IS IN TEXT-0* ,CAN i USE THE RPR_ABAP_SOURCE_SCAN TO FIND IT?
I,m working with HR portal the user do the process in Internet portal and comunicate with sap by rfc.
I debuged but I don´t find in standard.
Please help me.
Thanks.
2014 Aug 15 2:14 PM
Texts may be stored in tables, text elements, OTR. Translatable texts are most likely not stored in programs.
2014 Aug 15 3:18 PM
The text is in my language I think that it can is in program like hardoce but I don´n Find.
2014 Aug 15 3:06 PM
You can search the text in table T100 to get message class. Then you can do a where-used list for that text number or use code scanning.
2014 Aug 15 3:16 PM
Manish I searched in T100 but dont find.
Can it is in program like a hardcode?
How can I find ?
Thanks.
2014 Aug 15 3:18 PM
If it is hardcoded in a program then RPR_ABAP_SOURCE_SCAN will find it.
2014 Aug 15 3:20 PM
It is possible that message is having parameter.
For example, "Document 12345 posted." would be in T100 as "Document & posted", and program would pass the number at run time. T100 is just one of many possibilities.
2014 Aug 15 3:32 PM
2014 Aug 16 8:34 AM
2014 Aug 16 8:40 AM
Hi,
Thanks.
I know that but I was too lazy to search for the table .
Regards .
ST05 ?
2014 Aug 16 8:56 AM
ST05 won't give anything as there is no select query involved.
2014 Aug 16 9:41 AM
Hi,
I am not happy .
So a program that loops on TRDIR and do READ TEXTPOOL for each ?
Regards.
2014 Aug 16 9:51 AM
Yes. I used to maintain an excel file having program texts and message class texts for all custom objects. It was helpful in support environment. File was updated on weekly basis.
2014 Aug 16 10:02 AM
2014 Aug 16 10:04 AM
2014 Aug 16 11:59 AM
No I haven't written about it because my approach was not end-user friendly (involves regex and Notepad++).
There is this Mass Download tool which allows you to download all types of codes arranged nicely in folders and sub-folders.
It was taking too much time in our environment because of overhead of opening and closing every file on presentation server. I took inspiration from that tool to download few big files (one each for class, report, function module etc ) compressed in zip format. The combined files had sort of xml tags as marker to distinguish one object from another. Something like <name>ZTEST</name><code>report...data...</code><name>ZTEST2</name><code>...
The uncompressed source codes size was ~200MB and I used Notepad++ or GVim to perform search for hard-coded text or code snippet of particular pattern.
2014 Aug 16 2:19 PM
Wow !!!!
Those people are good....
Many thanks for the link .
Regards.
2014 Aug 15 3:36 PM
2014 Aug 15 7:41 PM
Hi guys
Please see attached
My message is in SY-MSGV1 and is 'Férias não podem começar aos Sábados'
But it occurs after pass by :
CALL DIALOG 'HR_MAINTAIN_MASTER_DATA' USING BDCDATA MODE 'N'
EXPORTING
PSPAR
PROPOSED_VALUES
LUW_MODE
PS
PSINFO
PREFTAB
IMPORTING
PS
PSINFO
PREFTAB
PSPAR
PROPOSED_VALUES
MODIFIED_KEYS.
and next he uses:
GET PARAMETER ID 'P_RP_INFOTYP_MESSAGE' "XDPK004796
FIELD RP_INFOTYP_MESSAGE.
the function is HR_MAINTAIN_MASTERDATA.
2014 Aug 15 8:08 PM
2014 Aug 15 8:40 PM
2014 Aug 15 9:20 PM
HI
How can I filter it in RPR_ABAP_SOURCE_SCAN?
Because is very slow.
2014 Aug 16 6:49 AM
Hi,
Use can use debug. Use the "break on statement"
Using your info I managed to find this: (but it is just clearing)
I did not use debug(regular find function of se80)
Regards
2014 Aug 17 2:47 PM
thanks Eitan I find but I dont understan where he do the logic to return the message in set parameter
he uses the call dialog but in debug i don 't find where he do the logico to return the message .
2014 Aug 17 3:00 PM
Hi,
You need to break on all the "SET" .
Hopefully one of them will put something into P_RP_INFOTYP_MESSAGE .
This is the theory based on your debug.
Regards.
2014 Sep 03 10:32 PM
2014 Aug 18 5:56 AM
Hi,
Assuming all the calls occours within the same package (PBAS) I found those (quite quick):
Try to break point there.
I have to ask our HR consultant but could it be that HR use its own message table .
Regards.