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: 

Selection tet -description not getting displayed

former_member182337
Participant
0 Kudos

Hi,

In abap program, the text for the selection text is not getting displayed. For ex. for field p_matnr which is nothing but mara-matnr, the text name Material number is not getting displayed and instead it shows p_matnr on the selection screen. I have activated the dictionary check box on the selection texts still it is not working. The strange part is the same Selection text 'P_MATNR' displays the text correctly in another report but on this report even if i uncheck and check the dictionary check box it does not display. Has soneone faced this before?

Thanks,

Prem

1 ACCEPTED SOLUTION

Former Member
0 Kudos

On your selection screen, p_matnr is probably not typed correctly. Do you have:

parameters: p_matnr type matnr; or

select-options so_matnr for mara-matnr.

17 REPLIES 17

Former Member
0 Kudos

On your selection screen, p_matnr is probably not typed correctly. Do you have:

parameters: p_matnr type matnr; or

select-options so_matnr for mara-matnr.

0 Kudos

Hi,

It is like this on both the programs .

parameters : p_matnr like mara-matnr .

Thnks,

Prem

Former Member
0 Kudos

Create a mini report comprising of the following lines:


TABLES mara.

PARAMETERS: p_matnr TYPE matnr.
PARAMETERS: p_matnr1 like mara-matnr.
SELECT-OPTIONS so_matnr FOR mara-matnr.

Run it and see if the problem persists. If it does, then the problem is not in your report. Check DataDictionary settings, etc.

If the result is ciorrect, then you know that your report is at fault. You should then be able to localise the cause of the problem.

0 Kudos

Hi,

The problem persist but is there some solution for it? I am sure that my proram is not at fault but my cleint will not accept the report if the texts do not appear. Is there some settings or notes which i can refer?

Thanks,

Prem

former_member201275
Active Contributor
0 Kudos

In SE38, click 'Goto' then 'Text Elements' then 'Selection Texts' and maintain there.

0 Kudos

Hi,

I can maintain the texts manually but then am not supposed to as the Client guidelines does not permit the same for standard field names.

Thanks,

Prem

0 Kudos

Follow those steps:

1. Call SE38 and open your program in Edit mode

2. Click "Goto" --> "Text Elements" --> "Selection Texts"

3. Mark the last column ("Dictionary re.") of your selection texts.

4. Activate it

Regards,

Diogo

0 Kudos

Hi.,

You can try with selection screen comment

hope this helps u.,

Thanks & Regards,

Kiran

0 Kudos

Have you:

1. created p_matnr type matnr as your selection screen.

2. activated your program.

3. gone to Text Element->Selection Texts

4. checked the Dictionary checkbox for P_matnr choice.

5. Activated your text choice ON THE TEXT SCREEN

If so, when executing you will see a screen that says Material and an input field.

If this is not working please post your selection screen coding!

0 Kudos

Hi,

SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.

PARAMETERS : P_MATNR LIKE MARA-MATNR.

SELECTION-SCREEN END OF BLOCK 1.

This is the code. Please provide some solution.

0 Kudos

Delete the selection text and activate. It should come back with the parameter. Click the dictionary box and activate again.

Rob

0 Kudos

Hi.,

Try this.,

SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) c1 .
PARAMETERS : P_MATNR LIKE MARA-MATNR.
SELECTION-SCREEN END OF LINE.


SELECTION-SCREEN END OF BLOCK 1.


INITIALIZATION.
c1 = 'Material Number:'.

hope this helps u.,

Thanks & Regards,

Kiran

0 Kudos

Is MARA is included in tables statement?

If not included in tables statement, please do that and check.

in addition, you can directly go for a direct declaration as below.

PARAMETERS : P_MATNR TYPE MATNR.

caner_genis
Explorer
0 Kudos

Hi Prem.

Check the language please. If you use multi-languages do not forget the translation.

Regards,

Caner.

0 Kudos

Hi Prem,

I am totally agree with Mr. Caner Solution.

I also face similar problem in last week. It due to multi-languages. You have to translate in default language or you logon languae.

Goto -> Text Elements-> select text.

After display text

Goto-> Translation. it display the pop on box. Convert in to default.

0 Kudos

Thanks for all your suggestions. Unfortunately, the issue is not fixed yet. I do not understand how multi-languauge login could cause a problem as the field i am referring to is a standard field(MARA-MATNR). So the translation should definetely exist in all the languages.Anyways, we have decided to raise it to SAP. Will inform once SAP replies back.

Thanks,

Prem

Former Member
0 Kudos

IN SE38,Open your Program In Change Mode,then Click "Goto" In Menu Bar ,Then "Text Elements" then "Selection Texts" and Maintain p_matnr As Material Number There.

Other Wise Mark the Last Column ''Dictionary Ref " Of your selection Texts against P_MATNR rather than maintaining Any Text There it will Pick up the Text name from the table.

Regards,

SD