11-27-2007 10:34 AM
Hi,
I have copied SAP query generated program into Z Program
in this program I am adding the new field in selection screen but when I add selection text element it is giving errors and not getting activated.
program is working fine but selection text element it is not taking.
Please help me in this.
Thanks in advance.
Joseph
11-27-2007 10:38 AM
hi Joseph,
what is the error you get when you activate the selection text?
ec
11-27-2007 10:43 AM
Hi,
I got the following information.
Text elements contain errors. Please correct them
Regards,
Joseph
11-27-2007 10:49 AM
11-27-2007 10:54 AM
Hi Joseph,
When you add a Input field which is typed with a data element ex: structure field
then there is no need to define the selection text for that Input filed. It will automatically take it from the Dictionary
ex: PARAMETERS pa_carr TYPE spfli-carrid.
Could please provide the entire CODE and give the steps that you are exactly following while defining the selection texts.
Thanks
Ravi
11-27-2007 11:04 AM
Hi
select-options SP$00001 for VBAK-VBELN memory id AUN.
select-options SP$00002 for VBAP-POSNR memory id APO.
select-options SP$00003 for VBAP-MATNR memory id MAT.
select-options SP$00004 for VBAK-AUDAT.
select-options SP$00005 for VBAK-ERNAM.
select-options SP$00006 for VBAK-KUNNR memory id VAG.
select-options SP$00007 for VBAK-AUGRU.
select-options SP$00008 for MBEW-BWKEY memory id BWK.
select-options SP$00009 for VBAK-AUART memory id AAT.
select-options SPRODUCT for VBAP-PRODH . "Changes by Joseph
If u see in the last line I want to display as Product Hierarchy
so I am going for selection text element
11-27-2007 11:14 AM
Hi,
I am following as usual method how we add it in the normal report I followed the same procedure in the report it did not give any errors but here it is not accepting
11-27-2007 11:25 AM
Hi
In the 'Selection texts' give the field Name as SPRODUCT and give the field Text as Product Hierarchy and don't check the Dictionary check box.
Save and activate.
This's what the procedure that i've followed now.. I'm able active it with, without errors.
Note: Also make sure there is no problem with remaining Text elements like 'List Headers' and 'text symbols'. If any of the text elements have the problem then you can't active it.It'll give the same error message.
Thanks
Ravi
12-05-2007 2:38 PM
Hi ALL,
I only resolved this issue most of the people given different resolutions but it could not solve this issue. Because it is SAP generated so we have to go to screen 1000 and change text and activate the screen as well as program .
this is procedure for SAP querris to add selection field.
If you have any querris contact me
Regards,
Joseph
08-10-2016 8:16 AM
Hi All,
I found the correct solution for this problem.
Just we need to selection text screen-> utilities->adjust->give selection text again and save.
Problem will be solved.
Thanks.