06-09-2011 12:40 PM
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
06-09-2011 12:46 PM
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.
06-09-2011 12:46 PM
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.
06-09-2011 1:19 PM
Hi,
It is like this on both the programs .
parameters : p_matnr like mara-matnr .
Thnks,
Prem
06-09-2011 1:41 PM
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.
06-09-2011 1:54 PM
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
06-09-2011 1:44 PM
In SE38, click 'Goto' then 'Text Elements' then 'Selection Texts' and maintain there.
06-09-2011 1:55 PM
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
06-09-2011 2:03 PM
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
06-09-2011 2:03 PM
Hi.,
You can try with selection screen comment
hope this helps u.,
Thanks & Regards,
Kiran
06-09-2011 2:06 PM
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!
06-09-2011 2:15 PM
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.
06-09-2011 2:23 PM
Delete the selection text and activate. It should come back with the parameter. Click the dictionary box and activate again.
Rob
06-09-2011 2:42 PM
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
06-13-2011 8:52 AM
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.
06-09-2011 2:59 PM
Hi Prem.
Check the language please. If you use multi-languages do not forget the translation.
Regards,
Caner.
06-13-2011 12:27 PM
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.
06-16-2011 7:26 AM
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
06-13-2011 11:33 AM
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