on 03-05-2012 6:49 AM
hi Experts ,
i 'd like to integrate saved search funtionality in my custom component. I'm able to create Saved searches and see them in drop-down list box of saved search in the top right corner but when i click on GO button its giving dump .
details of dump : SAP Note
The following error text was processed in the system:
Subfield access (offset = 0, length = 1) to a data object of size 0 outside valid limits.
Exception Class CX_SY_RANGE_OUT_OF_BOUNDS
Error Name STRING_OFFSET_TOO_LARGE
Program ZMM_OP_QUERIES================CP
Include ZMM_OP_QUERIES================CM019
ABAP Class ZMM_OP_QUERIES
Method GET_QUERY_PERIOD_DATA
Line 11
Long text The sub area access (Offset = 0, Länge = &LEN GTH&) on a data object of size 0, lies outwith the valid boundaries.
could you please suggest me what i'm doing wrong .
thanks for coming help.
Regards,
Sireesha
Hello, Sireesha.
Take a look at wiki page http://wiki.sdn.sap.com/wiki/display/CRM/HowtoenableSavedSearchforyourcustomadvancedsearchpage.
May be it will solve your problem.
But actually I think that something wrong in your method GET_QUERY_PERIOD_DATA of class ZMM_OP_QUERIES at line 11. Seems that you're trying to access an object which is not exist or is not passed. Could you provide a code of this line? What is there?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello Andrei,
thanks for your response .
code details :
data: lv_field_id type c,
IV_QUERY_PERIOD TYPE STRING.
---------------------------------
determine fieldname and sign
---------------------------------
lv_field_id = iv_query_period(1). in get_query_period_data here i'm getting dump. lv_query_period is not filling. how to solve this dump . please suggest me here.
and earlier i have already checked that link what u have mentioned . In my component i didn't create any inbound plugs and navigation links for go button.
is it necessary ? can u please suggest me .
Thanks & Regards,
Sireesha
hello Andrei,
Dump is resolved now. but when i click on go button its naviating to sandard component.
i have followed the same steps what they mentioned in link .and i have done customization also . but still it navigating to standard component .
in customization while creating target id i have given the value EXECUTE for OBJECT ACTION and zckpit_myoppt for object type
and while adding these target id to NAVBAR PROFILE i have used the same OBJECT TYPE but for OBJECT ACTION i have mentioned SEARCH .is there any problem with object action .can u please give ur valuable advice
thnaks for ur coming help .
Regards,
sireesha
Hello, Sireesha.
When you press GO button the system navigates user to defined UI object (see step 2 in mentioned wiki) and action F "Execute". If there is no Generic OP mapping for this combination in Navigation Bar profile system won't navigate user to appropriate view. So you have to define in your navigation bar profile both entries "your object + A 'Search'" (for Advanced button) and "your object + F 'Execute'" (for GO button). Both can point to the same target id but they have to be there.
hello andrei,
thanks for ur inputs .
but i'm getting dump while navigating to custom component bcoz search viewset is assigned to overview page, and this overpage is assigned to main window , if we are referring to search view from main window in navigation link then the window is not referring to the search view directly. So it may require two levels of navigation links .what i'm doing wrong . Can you please suggest me any solution .
dump details :
The following error text was processed in the system:
The direct navigation to assignment block ZCKPIT_MYOPPT/SearchVS of a configurable overview page is not supported
Exception Class CX_BSP_DLC_CONFIG_GENERAL_ERR
Error Name
Program CL_BSP_WD_OVW_VIEWSET=========CP
Include CL_BSP_WD_OVW_VIEWSET=========CM003
ABAP Class CL_BSP_WD_OVW_VIEWSET
Method BIND_VIEW
Line 15
Thanks & Regards,
Sireesha.
So your search page is actually an overview page with some search functionality, isn't it? I have no suggestion for this because have never met such implementations. The only one suggestion I have is to think about rebuilding the search page to make it as in that wiki page: window -> view set -> views.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.