Error in search help AEN_TREX_SIMPLE and AEN_TREX_ADVANCED
Hi.
i've created and activated the index for business object ECM in SES_ADMIN.
It was fully indexed.
When i search on TREX side it seems that the index is okay.
But when i try to search in CC03 with the TREX search help i get no results from TREX.
The report COM_SE_SEARCH_TEST shows me results, but the report COM_SE_SEARCH_TEST
show me nothing.
Am i missing something ?
Thanks.
Sebastian
The difference is that the test program COM_SE_SEARCH_IIF_TEST uses the official SES search interface method CL_COM_SE_SEARCH_IIF=>SEARCH_OBJECTS, whereas the test program COM_SE_SEARCH_TEST directly accesses the native TREX search interface, function module TREX_EXT_SEARCH_DOCUMENTS (which you are not allowed to use in customer development).
Therefore COM_SE_SEARCH_TEST does not include the authorization check, whereas
CL_COM_SE_SEARCH_IIF=>SEARCH_OBJECTS passes the raw search result from TREX to the object-specific authorization check routine. This check routine has to be implemented by the responsible application using interface method IF_COM_SE_BUSOBJ~CHECK_AUTHORIZATION.
The implementing class can be found/set in customizing:
Transaction SES_ADMIN, menu path: Goto -> Customizing -> Business Objects and Indexes
On the screen "Display View ..." double-click in the tree to the left on: Settings for Business Objects
So I guess:
- either the obect-specific implementation of ~CHECK_AUTHORIZATION is erroneous
- or the logon user is just not authorized
For more and general information you should check the SAP notes
1254901 - SES for customer projects on TREX search
1345777 - FAQs Search Engine Service (SES)
Enjoy! - Klaus
Similar Messages
-
How to create Search help exit, and then assign it to a collective search
hi gurus,
i have an intersting question for you, well my scenario is like i have to create a search help exit using some function module cause i didt found table for my search help but i can find the value through FM, i know we can create a search help exit and then assign it to collective search help,
my problem is what are the parameters i need to pass to this search help exit FM, and in the function module i want to use the value entered on the f4 selection screen to extract data through FM. i need to give a solution asap.
any reply will be highly appreciated
n rewards points for sure.
thanks mandyHi mandy,
Have a look at this code,
FUNCTION SHLP_SHOW_LIST.
""Local interface:
*" IMPORTING
*" VALUE(PLANT) TYPE WERKS_D OPTIONAL
*" VALUE(DISPLAY_ONLY) TYPE FLAG OPTIONAL
*" EXPORTING
*" REFERENCE(ITEM_SELECTED) TYPE CHAR20
*" EXCEPTIONS
*" POPUP_CANCELED
TYPE-POOLS SHLP .
CONSTANTS:
co_shlpname TYPE shlpname VALUE 'SHLP_CONTAINER',
co_shlpfield_itemalias TYPE ddshlpsfld VALUE 'CONTAINER'.
DATA: l_shlp TYPE shlp_descr_t,
l_subrc TYPE sysubrc,
l_return_tab TYPE STANDARD TABLE OF ddshretval,
l_return_wa TYPE ddshretval,
l_interface_wa TYPE ddshiface.
Get details for search help
CLEAR l_shlp.
l_shlp-shlpname = co_shlpname.
l_shlp-shlptype = 'SH'.
CALL FUNCTION 'DD_SHLP_GET_HELPMETHOD'
CHANGING
shlp = l_shlp.
Assign virtual screen field
READ TABLE l_shlp-interface INTO l_interface_wa
WITH KEY shlpfield = co_shlpfield_itemalias.
l_interface_wa-value = space.
l_interface_wa-valtabname = 'X2'. "virtuel screen field
l_interface_wa-valfield = 'Y2'. "virtuel screen field
MODIFY l_shlp-interface FROM l_interface_wa INDEX sy-tabix.
Call F4 popup
CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
EXPORTING
shlp = l_shlp
disponly = display_only
IMPORTING
rc = l_subrc
TABLES
return_values = l_return_tab
EXCEPTIONS
OTHERS = 0.
IF sy-subrc = 0 AND l_subrc = 0.
Value selected
READ TABLE l_return_tab INDEX 1 INTO l_return_wa.
item_selected = l_return_wa-fieldval.
ELSE.
Popup canceled / no value selected
RAISE popup_canceled.
ENDIF.
ENDFUNCTION.
make sure to call these FMs and populate accordingly...
Thanks
Madhu -
I can't remove Bing. I've tried Control Panel, the article "Removing the Search Helper Extension and Bing Bar," and I have had no luck for Windows 7 and Firefox.
I wish I could share the two screen shots I took, but this question site doesn't have the option, so I guess I'll describe where Bing is showing up.
In the left hand of my browser, just to the right of the back and forward arrows, there is speech bubble with a black eye ball or something. I found out it's Bing-related by clicking on it. There is no option to remove it with either left or right clicking on it.
Also, in the right hand corner of my browser, at the very end of all my tabs, there is a white rectangular box with an orange "b" and a magnifying glass symbol. It will not respond to anything I try to do to it either, but if clicked it opens a new tab with a Bing search dialogue box.
Finally, any new tab I open automatically opens to the Bing search dialogue box (versus Google).
I need to get specific, step-by-step instructions for removing this Bing stuff from my computer. As I said, I have already gone through all steps outlined in the article I mentioned above as well as not been able to locate Bing in my control panel.
Please help. I'm certain others are having this same issue. I use Windows 7 and Firefox. Thanks.Apologies for the formatting there. No idea what went wrong...
-
Removing the Search Helper Extension and Bing Bar
The above question has been asked a number of times already, and some replies date back 8 months or more. Sadly, whilst the
offers of help are much appreciated, they no longer seems to fix the problem, AFAICS.
My setup details, if it assists:
Dell Inspiron N5110 laptop
Intel(R) Core(TM) i7-2630QM CPU @ 2,00GHz
4.00GB RAM
WDC [Western Digital) WD6400BPVT-75HXZT1 5400 6.5GB HDD
NVIDIA GeForce GT 525M video card
Intel(R) HD Graphics 3000 64meg onchip GPU
Win 7 Home Premium 64bit SP1
Mozilla Firefox v4.0.1
Having bought the above laptop, I am in the process of changing from old to new. During a mass MS update session, Firefox was
impregnated with a 'bing' search box and button [It is perfectly possible that I inadvertantly 'speed clicked' a sneaky 'install me'
button on the way]. Anyhoo, I now have said search box/button and want rid asap. The Firefox help suggests following the
advice in their item entitled 'Removing the Search Helper Extension and Bing Bar', but this shows as out of date. Furthermore, I
have no 'bing' or 'search helper extension' entries in my 'Programs & Features' applet in Control Panel, neither do I have MS
KB982217 installed to uninstall. There are no eponymous entries in Firefox's 'Tools/Addons' menu.
Any ideas, please?Apologies for the formatting there. No idea what went wrong...
-
Tab in search help MM03 and VA03
Hi experts,
I added a new tab in matrn search help MAT1 (MM01/02/03) and it shows ok. But in VA01/02/03 item grid, the search help for matnr does not show the new tab.
VAs tcode use S_MAT1 search help, but MAT1 is in S_MAT1 as collective search help. Are there anythings to do?
How I add a new tab in VAs tcode search help in items grid for material???
Thanks in advance.The item grid uses SD_MAT1 not S_MAT1 so there isn't a common collective search help where you can append your search help. Just append your search help to SD_MAT1 as well.
-
Search Help Exit and Cursor Position
I have created a new search help, which returns the selected value into the applicable screen field correctly. The problem is that there are multiple fields on the screen, and the first field keeps getting the cursor focus instead of the search help field. Is there any way to control the position of the cursor upon returning from the search help?
Implement this sample program. While the selection screen is displayed, keep hitting enter. Notice the cursor changing from field to field. Maybe you could use this type of coding.
report zrich_0001.
data: cursorfield(30) type c.
parameters: p_matnr type mara-matnr,
p_werks type marc-werks,
p_lgort type mard-lgort.
at selection-screen.
get cursor field cursorfield.
at selection-screen output.
case cursorfield.
when 'P_MATNR'.
set cursor field 'P_WERKS'.
when 'P_WERKS'.
set cursor field 'P_LGORT'.
when 'P_LGORT'.
set cursor field 'P_MATNR'.
endcase.
Regards,
Rich Heilman -
Date format error in Search help
Hi,
I am using standard search help in my ABAP webdynpro application.It is related to payscale group (field P0008-TRFGR). It works fine if I do not specify any date but gives a error message "Enter date in the format __.__.____ " irrespective of the date format I use to enter.
Any pointers ?
Regards
DeepakHi Deepak,
Try following things:
1) check separator / instead of .
2) date in format mm.dd.yyyy or dd.mm.yyyy
3) enter date through search help
4) enter 0 before one digit month or day i.e. 02/02/2009 instead of 2/2/2009
Regards,
Saket. -
How can I call a specific search help from and still get all the tabs
hello
I use F4IF_FIELD_VALUE_REQUEST to display a specific search help from my program. This search help is included in a collective search help, but only the one specified search help is displayed.
Is it possible to call the collective search help and display one specific search help ?
Example: in CRM i have a collective search help BUPA. When F4 is issued from a customer field the search help "Search customer" should be displayed, and not the last search help which was activated - i.e.. "Search employee".
best regards
Peter ChristiansenHi,
you can try some thing like this..
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = 'KNA1'
FIELDNAME = 'KUNNR'
SEARCHHELP = 'DEBI'
TABLES
RETURN_TAB = LT_RETURN
EXCEPTIONS
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
vijay -
Search Help ORDEE and COOIS Transaction
Hi
I need to build a selection screen having search help Ordee.Currently search help Ordee open COOIS transaction. But our requirement is to only display part of COIS screen i;e only header part. PLease suggest.iIn COOIS put plant and execuite ,all date with verious field is appear ,here one arrow comes click on that arrow
you wil get more fields among that ,there is a page sign near choose layput screen ,click on that and choose u r required field
its not directly link with search field, you will get possible entery by F4 and help by F1
Regards,
Girish -
Hi Sap Gurus,
I have a problem regarding Search help of a field in Selection Screen of one program where the system is giving Short dump & showing the message " SAP Paging Overflow When Storing Data in ABAP/4 Memory ".....
How can i solve this problem.Thanx in Advance...
Regards,
Bipasha..Have you done the coding in the following way:
*& Report ZTEST_SOURAV15
REPORT ZTEST_SOURAV15 .
TABLES: mara, marc.
PARAMETERS: matnr TYPE mara-matnr.
PARAMETERS: werks TYPE marc-werks.
TYPES : BEGIN OF ty_marc ,
werks TYPE marc-werks ,
END OF ty_marc.
DATA : it_marc TYPE STANDARD TABLE OF ty_marc.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR werks.
DATA: l_i_dynpfields TYPE STANDARD TABLE OF dynpread INITIAL SIZE 0,
l_wa_dynpfields TYPE dynpread.
l_wa_dynpfields-fieldname = 'MATNR'.
APPEND l_wa_dynpfields TO l_i_dynpfields.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
* TRANSLATE_TO_UPPER = ' '
* REQUEST = ' '
* PERFORM_CONVERSION_EXITS = ' '
* PERFORM_INPUT_CONVERSION = ' '
* DETERMINE_LOOP_INDEX = ' '
TABLES
dynpfields = l_i_dynpfields
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
READ TABLE l_i_dynpfields INTO l_wa_dynpfields
WITH KEY fieldname = 'MATNR'.
IF sy-subrc = 0.
DATA l_matnr TYPE matnr.
l_matnr = l_wa_dynpfields-fieldvalue.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
EXPORTING
input = l_matnr
IMPORTING
output = l_matnr
EXCEPTIONS
length_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
SELECT werks FROM marc INTO TABLE it_marc WHERE matnr EQ l_matnr.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'WERKS'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_WERKS'
value_org = 'S'
TABLES
value_tab = it_marc.
ENDIF.
START-OF-SELECTION.
WRITE: / ' this is for testing'. -
Error in search help button at selection-screen
hi all,
i have a small issue.
i have created a seach help button in selection screen .
my code is as bellow.
TYPES: BEGIN OF ty_ZSD_SNID,
KUNNR TYPE KUNNR,
BAREA TYPE WERKS_D,
END OF ty_ZSD_SNID.
DATA : it_z TYPE STANDARD TABLE OF ty_ZSD_SNID.
selection-screen : begin of block b with frame title text-000.
select-options : skunnr for zsd_snid-kunnr.
parameters : pbarea like zsd_snid-barea obligatory.
selection-screen : end of block b.
INITIALIZATION.
SELECT KUNNR BAREA FROM ZSD_SNID INTO TABLE it_z.
SORT it_z BY BAREA KUNNR.
DELETE ADJACENT DUPLICATES FROM it_z COMPARING BAREA KUNNR.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR SKUNNR-low.
IF it_z[] IS NOT INITIAL.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
retfield = 'KUNNR' " data base table field name
PVALKEY = ' '
dynpprog = sy-repid " program name
dynpnr = sy-dynnr "screen name
dynprofield = 'SKUNNR-LOW' " layot field name
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
value_org = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
value_tab = it_z[] " internal talble name
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ELSE.
MESSAGE E000(zsdsn).
ENDIF.
my issue is , its working properly if records are there in my z table.
if no records are there in the table then if i do comment the last message statement then its working.
if i do uncomment like the above code, then its dumming.
what i should i do ??
kind regardsclosed because of no answer.
-
Problem with search help and date fields
Dear experts,
I have two text fields and to each i assigned cacs_calendar search help.
It works well normally but if i make text box output only then i cannot select date.
I want that text box in its disabled form can be used to select date from cacs_calendar search help
that i assigned.User should not provide manual input which means fiedls should be otherwise listed in grey.Hi Aditya
If a I/P output field is provided an attribute as output only and though search help is provided , the values in the search help list will also be in read-only mode and u cannot select them at all, may be you can solve ur problem thru different approach.
when a manual entry is done with wrong value which is not present in F4 help/search help list and
execution is done SAP will by default throw error saying invalid value -
Error while creating search help
Hi,
I am getting an error "Elementary search help without hit list is meaningless" while creating a search help,.what could be the problem?
Thanks,
Rakesh.Elementary search help without hit list is meaningless
Diagnosis
The flag that they should appear in the hit list is not set for any of the parameters in the elementary search help in question. An elementary search help without a hit list is meaningless because it is not possible to select a value from the set of possible values in the input help process which it describes.
System Response
The action is terminated abnormally.
Procedure
In the maintenance screen for the search help, assign at least one parameter a position in the hit list. -
How to create an elementary and collective search help in webdynpro
Hi all,
my requirement is i have to create an collective search help. and that should be same as other tcode search help functionality.
and now the ztcode is in r3 system and my webynpro development is going on bw system how to copy that tcode from r3 to bw system. and then for my input field is cost center and for this input field i should create the search help functionalty.kindly help me how to achieve this functionality i am new to this webdynpro so kindly send me the detail steps.
Thanks & Regards,
NaveenHi Naveen,
There's no difference to using a collective search help or a regular search help.
in the attribute of the context that you want the search helps to appear for - specify that the input help is of type dictionary search help, then specify that the input help is your collective search help.
Search helps in WDA, if search help is available at dictionary level, no need to create any search help, you get automatically.
If you want to create search help for any input field, another option is using OVS. we have WDR_OVS component for search helps, you need to reuse this component in your custom component, just change some coding according to your requirements you get search help.
Go through these documentation and helps...
http://help.sap.com/saphelp_nw73/helpdata/en/cf/21ee45446011d189700000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw73/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
OVS search help..
http://wiki.sdn.sap.com/wiki/display/Snippets/OVSSearchHelpinWebDynproAbap
freely programmed inputhelp
http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help
http://wiki.sdn.sap.com/wiki/display/WDABAP/UsingSearchhelpattachmentsforWebDynproABAP
Thanks,
Kris. -
Search help and Match code oject
How to create the search help in version 5.0 and 6.0 ? what is elementary search help,collective search help? what is the use of these search helps? where we use elementary and collective searsc helps? what is the difference between searc help and match code object? how to use in reports?where we use search help and F4IF_INT_TABLE_VALUE_REQUEST function module? what is the diffference between them?
Hi Rk,
1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
3)An elementary search help defines the standard flow of an input help.
4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
CREATION:
Go to SE11 Tcode
select search help
give the 'z' search help name and create
select the selection method ur table name eg : 'mara'
dialog module 'display value immediately'.
add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
where left position when displaying and spos = search position
and then save and activate ..
See the links:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search help
Thanks,
Reward If Helpful.
Maybe you are looking for
-
Hi sap gurus, please find one senario mentioned below i have raised a sales order with 630 units of a third party material, followed by 630 units of Tata Swach Crystal were sold to M/s Friendu2019s Combine Indore (Madhya Pradesh) through third party
-
MSI 290X Can't use Displayport and HMDI at the same time
Howdy: I have two monitors running Win 7. 1. ASUS Black 24" 2ms HDMI LED monitor connected to the HDMI of my MSI R9 290X Lightning and a Dell VGA connected via Cable Matters DisplayPort to VGA adapter. Both monitors go black if I try to connect both.
-
GIS Integration on Win 8 - Work manager 6.1
I understand that OpenUI API can be used to write native code ( .NET) to integrate GIS app wih Agentry app on Windows. If someone has implemented this on Windows, Please provide insights on this. I know that one can implement the GetExtensionString(S
-
CS5 fields or codec problem.
I am making a video for TV and here's the technical requirements I get: MOV. QT Self-Contained IMX30, 30 Mbps or Microsoft AVI PAL, 720x576. 16:9 Full Frame Anamorphic 25 fps. Upper field (odd). (liuminance): -1% and 103% The problem now is that
-
User shows two phones in Jabber
I have a user that just decided to use Jabber for the first time. When she signed in I was showing her how it defaults to using the computer for the calls and how we can change it so that it will dial the phone for her. When I clicked on that icon