cancel
Showing results for 
Search instead for 
Did you mean: 

ERecruit Web Dynrpor ABAP - "HRRCF_C_PW_VIA_EMAIL_UI"

former_member184386
Active Participant
0 Kudos

Hi gurus,

In this application (HRRCF_C_PW_VIA_EMAIL_UI), the user can enter his/her user name and email address to request for a new password.

If the user name and emaill address do not match, the user will receive an error message on the page saying that "User namde and email address do not match".

We want to change this error message to something else, do you know how this can be accomplished?

In the layout of this WDA, I see that there's a MessageArea:MESSAGEAREA, but no idea where the actual messages are located.

Any idea?

Thanks

Ri

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ricky,

The Online Text Repository (OTR) is a central storage location for texts, and services for editing and administering these texts. It first appeared with Business Server Pages in SAP 6.10.

Texts are cross-client workbench objects.

They can be maintained via SOTR_EDIT transaction, and from transactions of workbench object using OTR, which comprise:

ABAP Object Class (exception texts)

Web Dynpro elements (Application, Component, etc.)

They can be translated via SE63_OTR transaction.

They are stored in tables SOTR_HEAD and SOTR_TEXT.

Here are a few function modules to access them:

SOTR_GET_TEXTS_WITH_KEYS

SOTR_GET_CONCEPT

SOTR_DELETE_CONCEPT

SOTR_OBJECT_GET_OBJECTS

SOTR_OBJECT_GET_OBJECTS

SOTR_CREATE_CONCEPT

How to change the text that is being displayed?

Click on GOTO-> Online TEXT Repository Browser

All OTR objects will be grouped based on the package in which it is saved. Here we have saved it as local objects. Hence the objects under $TMP in screen shots below are created for all UI elements.

Also, each OTR object will have an alias name which is <package name>/<OTR_Object_name>.

Maintain Translations

- GO to SOTR_EDIT Transaction

- Enter ALIAS name and click on Display

- Since we created the OTR object with English as login language. In below screen use the same languageInternationalization in WebDynpro ABAP Applications

In next screen, select Edit-> Context->Change Click on OK, the fields will now be editable.

former_member184386
Active Participant
0 Kudos

Hi there,

Thanks for your reply, I think what I wanted to know is how you pass the text to the message area in this particular WebDynrpro application (HRRCF_C_PW_VIA_EMAIL_UI).

Thanks again,

Ricky

former_member184386
Active Participant
0 Kudos

It's using message class HRRCF0002 (se91) .