Search Help with Structure Display
Hi,
I want to create a search help which should display my output in the structure format base on the different levels.
I have already written a test program which display all the values in proper structure format. But I wanna do the same in the search help. It has to display the output in the structure format.
Please guide me how to achieve this.
Thanks,
Karthik
hello,
you could write additional report based on ALV tree. So you would have the stucture which you want to have and on value request call your custom program. i doubt that there is FM or class which could generate search help tree. So basically you have to write your own logic. Or you could use GuiXt tool. Example and tutorial.
http://www.synactive.com/tutor_e/lessonco00.html
br,
dez_
Similar Messages
-
Hai,
Can any one give example for search help with Programming?
I hope we can create search help with help of coding.
With Regards,Jaheer.yes u can create search help by using match code in programs
for eq
go with abap editor se 38
provide the name of program
parameters : vendor like lfa1-lifnr matchcode object yzob.
double click on yzob
provide description for search help
provide selection method
provide search help parameter
enable check box for import and export
provide lpos
spos
save check activate
press f4 for check and import values i.e it will display a records list available in database table
rewards points please -
Is it possible to make a search help with dynamic selection table?
Hi Experts,
Is it possible to create search helps with dynamic seletion tables means
i dont know the selection table names at the time of creation of search help.
These tables will be determined at runtime.
if yes, Please give an idea how to create and pass the table names at runtime.
Thanks
Yogesh GuptaHi Yogesh,
Create and fill your itab and show it with FM F4IF_INT_TABLE_VALUE_REQUEST
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'field to return from itab'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'field on your screen to be filled'
stepl = sy-stepl
window_title = 'some text'
value_org = 'S'
TABLES
value_tab = itab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
Darley -
Select-Options search help with where
Hi Experts,
I need to have a search help in my selection screen with a Where clause.
I've tried to search it but I cant find answers.
The logic is like this, wherein the search help for my selection screen should just have the value PM001 and ZMIS.
SELECT-OPTIONS stsma estat tj30 FOR s_eqpstt FOR tj30t-estat WHERE stsma = 'PM001' and stsma = ZMIS.
ThanksSorry, a little more detail... create a view, of search help type, with the columns you present and restrict those two values. Then create the search help with that view. Then add the search help to the select-option.
Regards,
Edgar -
Search Help with Web Dynpro call on another system
Hi all,
I have to create a search help with web dynpro on a field but the database is on another system... How can I do?
Many Thanks in advance...I would use a search help exit. Nothing WDA specific here, as this has been possible long before WDA came around. With a search help exit you define the search help like normal, but instead of database table or view being the source of selection, you have a function module. Within the coding of this function module you can call an RFC to read data from another system or call a web service if you need to bridge over to something that isn't ABAP based.
You can read more about Search Help Exits here:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm -
Hi all,
I have to create a search help with web dynpro on a field but the database is on another system... How can I do?
Many Thanks in advance...I would use a search help exit. Nothing WDA specific here, as this has been possible long before WDA came around. With a search help exit you define the search help like normal, but instead of database table or view being the source of selection, you have a function module. Within the coding of this function module you can call an RFC to read data from another system or call a web service if you need to bridge over to something that isn't ABAP based.
You can read more about Search Help Exits here:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm -
Ship to party search help address not display
Hi,
Using 'Edit internal address' We added one plant address, and the address no also generated. plant having several address.
But when we creating shopping cart, trying to select the ship to address from the search help, address not displaying in the list.
even we tried adding this address in the attributes as delivary address also .but the address not displaying in ship to party search help.
If any one faced this problem let us know how to proceed.
Thanks in advance,
prasad.sit is strange .
whatever you have defaulted ship to adress has to come.
did you maintain at position level and make ensure that you have really inherited.
FM bbp_read_attributes
for your user execute and make ensure that you have inheited ship to address
when you create ship to address . did you check this box Ship-to Address in Use Address as:
muthu -
Hi Guru Search Help with Restriction
Hi guru,
What is my requirment . I created elementry search in se11 and i used this search in dialog program. Its shows all company code and commidity code.
But boss I want restrict this search help only for one Company Code (GB).It should show company code and commidity code only GB comapny Code.
Where I can restrict this search help.
Please give me possible help.
Point will rewards.
Thanks&Regards
RamanaHi Mr. Kumar,
I'll give one examle for which I had done the same scenerio for PP module for version selection...Please find the eg. code. In this scenerio I had restricted only 4 versions....
I'll give you code from select option till at selection-screen on value request...
In this I have also done the validation part...
First create a elementary search help with required fields... As per my scenario I had created two fields VERSB & VBTXT. In my scenario I have given restriction on VERSB....
then the same search help you have to use in the program to pass to the parameters..
****Select Options....
SELECT-OPTIONS: S_VERNUM FOR T459V-VERSB OBLIGATORY NO-EXTENSION NO INTERVALS.
*****At Selection-Screen on value request....
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_VERNUM-LOW.
PERFORM F4HELP.
******Form F4HELP....
FORM F4HELP .
REFRESH IT_DDSHSELOPS.
CLEAR WA_DDSHSELOPT.
WA_DDSHSELOPT-SHLPNAME = 'ZVERSB'.
WA_DDSHSELOPT-SHLPFIELD = 'VERSB'.
WA_DDSHSELOPT-SIGN = 'I'.
WA_DDSHSELOPT-OPTION = 'EQ'.
WA_DDSHSELOPT-LOW = '04'.
APPEND WA_DDSHSELOPT TO IT_DDSHSELOPS.
WA_DDSHSELOPT-LOW = 'TC'.
APPEND WA_DDSHSELOPT TO IT_DDSHSELOPS.
WA_DDSHSELOPT-LOW = 'TE'.
APPEND WA_DDSHSELOPT TO IT_DDSHSELOPS.
WA_DDSHSELOPT-LOW = 'TL'.
APPEND WA_DDSHSELOPT TO IT_DDSHSELOPS.
CALL FUNCTION 'F4_FIELD_ON_VALUE_REQUEST'
EXPORTING
TABNAME = 'T459V'
FIELDNAME = 'VERSB'
SEARCHHELP = 'ZVERSB'
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'VERSB'
SELECTION_SCREEN = 'X'
CALLBACK_SELOPT = IT_DDSHSELOPS.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
*******At selection Screen on above select option field...for validation
AT SELECTION-SCREEN ON S_VERNUM.
PERFORM VALIDATEVERSIONS.
*******Form VALIDATEVERSIONS
FORM VALIDATEVERSIONS .
REFRESH R_VERNUM.
CLEAR R_VERNUM.
R_VERNUM-SIGN = 'I'.
R_VERNUM-OPTION = 'EQ'.
R_VERNUM-LOW = '04'.
APPEND R_VERNUM.
R_VERNUM-LOW = 'TC'.
APPEND R_VERNUM.
R_VERNUM-LOW = 'TE'.
APPEND R_VERNUM.
R_VERNUM-LOW = 'TL'.
APPEND R_VERNUM.
IF NOT S_VERNUM-LOW IN R_VERNUM.
CALL FUNCTION 'C14Z_MESSAGES_SHOW_AS_POPUP'
EXPORTING
I_MSGID = 'ZPP'
I_MSGTY = 'E'
I_MSGNO = '015'
I_MSGV1 = 'Please Select'
I_MSGV2 = 'One of these'
I_MSGV3 = 'Versions'
I_MSGV4 = ': 04, TC, TE, TL.'.
CALL SCREEN 1000.
ENDIF.
ENDFORM. " VALIDATEVERSIONS
This code will help you to work on your query...
Please reward a point . I am sure this will help you....
Cheers.....
Sagun Desai.... -
Search help with new selection within if more than 500 entries
Dear all,
I created a new search help and this works fine ... If I compare my search help with a default search help from SAP, I have 1 small feature that not seems to work ... With the default one, it is possible to make a new selection within the search help by clicking on the arrow down :
If I look at my search help, I don't have the possibility to make a new selection :
Does anyone how this can be done ?
Thanks in advance !
Greetz,
Kurt.HI,
Here are the general steps to get you started.
1. Identify the search help being used (on the ship-to-party field, F1 then Tech Info). I believe you want the collective search help SD_DEBI.
2. Create your own search help with the fields you want to use with SE11, like 'ZDEBI' as an example.
3. Append 'ZDEBI' to SD_DEBI. (Goto->Append Search Help).
4. Clean things up by "Hiding" the old search help. In the 'Included Search Help' tab of the collective search help SD_DEBI, there is a check box that you can tick to hide included search helps. -
Help needed with search help with ina search help
Hi all,
i have a field fld1 (non primary key )and to the dataelement of that field a search help is assigned in table ztable1.
That search help is referring to a table in which fld1 is primary key in ztable2.
I have created another search help with all the fileds in ztable1 and iam using this search help in a selection screen returning another field say fld2.
in this search help i have drill down for fld2, which in turn gives the fields of ztable2.
This is working fine.
i have created another search help with the fields of ztable1 but this time its its returning the value of fld1. for some reason in this search i am not able to see the drill downn for fld1 .
can anyone tell me how to get the drill down even the import parameteris fld1
Thankshi,
any suggestions on this
thanks -
Search Help Not show/display the data
Dear All,
I have created a search help whith mannual itab of 4 entries. Itab is filled correctly, but when i see in the screen field it show the search help and display no record with the message 4 entries found; but I can't see the data.
pls. guide me what can be the problem
Thanks and Regards,
SohailHi,
If you want to Show the Search help for Particular Field in Screen painter , You must give the Code In PROCESS ON VALUE REQUEST(POV).
ie.
process on value-request.
field P9611-REQ_STATUS module GET_REQ_STATUS.
and in Program Give the internal table Fieldname in Capital Letter while Passing in Fuctional Module.
like.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'REQ_STATUS2' "internal table field
dynpprog = sy-dynnr
dynpnr = sy-dynnr
dynprofield = 'P9611-REQ_STATUS' "screen field name
value_org = 'S'
TABLES
value_tab = req_status_tab "internal table
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
With Regards
Kesavaperumal -
Using Search Help with ALV and Dynamic context node
The topic subject already describes my situation.
I have to create, populate and remove context nodes at runtime, and bind them to an ALV, to let user display the data or modify the data. The nodes I create are always typed with a table name, but the table name is of course, dynamic.
This is all working: what's not working is help for entries inside the ALV; since the table has foreign keys and domains with check tables or fixed values, I expected that search helps were detected and managed by the framework.
Instead, no help search is displayed except the input help based on data-type of the one "Date" input fields.
I think I have to work on the dynamic node creation, and not on the ALV itself, since the latter only takes the node/attributes information, but i could be wrong. I tried with both the two following codings:
CALL METHOD lo_nd_info_root->add_new_child_node
EXPORTING
static_element_type = vs_tabname
name = 'SAMPLE_NODE_NAME'
* is_mandatory = abap_false
* is_mandatory_selection = abap_false
is_multiple = abap_true
is_multiple_selection = abap_false
* is_singleton = abap_false
is_initialize_lead_selection = abap_false
is_static = abap_false
RECEIVING
child_node_info = lo_nd_info_data .
cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
parent_info = lo_nd_info_root
node_name = 'SAMPLE_NODE_NAME'
structure_name = vs_tabname
is_multiple = abap_true ).
The result is the same...is there any way to let the ALV know what search helps it has to use, and doesn't force me to manually build a VALUE_SET to be bound on the single attributes? There are many tables, with many fields, and maintaining this solution would be very costly.I have checked with method GET_ATTRIBUTE_VALUEHELP_TYPE of interface IF_WD_CONTEXT_NODE_INFO, on an attribute which i know to have a search help (Foreign key of a check table).
The method returns 'N', that is the constant IF_WD_VALUE_HELP_HANDLER~CO_VH_TYPE_NO_HELP. So, the framework was not able to find a suitable search help.
Using method GET_ATTRIBUTE_VALUE_HELP of the same interface, on the same attribute, returns me '111', which is constant C_VALUE_HELP_MODE-AUTOMATIC.
Therefore, the WD framework knows it has to automatically detect a value help, but fails to find one.
Also, this means in my opinion that the ALV and the dynamic external mapping are not the culprits: since node creation, no help is detected for any attribute but the date. Honestly, I don't have a clue on what's happening. -
Search Help with in a serach help required in SRM 4.0
Hi,
Requirement: Search help required for Product Category field in the Search help for Product(BBPH_PRODUCT) in SRM portal.
This search help is used in Create shopping Cart transaction. The hyper link on Internal Goods/Services leads to the search help BBPH_PRODUCT.
My analysis:
The field Product Category (CATEGORY_ID) has search help(COM_CAT_HIER) attached to its data element. When I single test the search help BBPH_PRODUCT in SAP GUI,I can see the search help for field product category in the selection dialogue box. However the same does not appear on the corresponding screen in HTML.
Please let me know whether I need to do some thing to make the search help appear on the HTML screen?
With Regards,
Prakash KamathHi Prakash,
I have the same problem but with another field. Unloading point. Could you please tell me how did you solve this problem with displaying F4 help on html/ SRM portal?
Thank you very much.
Best regards,
Danijela ZIvanovic -
Quick help with css display in IE7
Hi, I haven't been on this forum in ages - I have a slight display glitch would love some help with:
http://magma.ie/magmablog-html/index.html
It looks great in the latest and greatest browser (IMHO!): - firefox 3.5.6
http://cl.ly/17cD
but IE7 pops the search field in the sidebar off to the right, at least, according to browsershots.org
http://cl.ly/1A1f
Thanks, HIt looks OK in IE8 but IE7 is having trouble with the #Sidebar width.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
Search Help With Input Parameter in WebDynpro ABAP
Hello all,
I have been facing a problem regarding a search help I wanted to attach to an input field on my UI. The search help expects an import parameter and offers four output parameters. What I did was to create a context node based on a ddic structure. The structure has one attribute for each of the five parameters. I defined the search help for all context attributes except the importing one where I deactivated the search help. The search help is available on one of the input fields on the view and bound to one of the attributes in the context. The other context attributes are not bound to anything. The names as well as the data types are the same in the search help as well as in the ddic structure, bound to the context node.
During WDDOINIT, I am setting the "import" context attribute. The problem is that the table with the search help parameters is empty when the search help exit is entered. Do you have any idea what I have to do in order to provide the import value to the search help?
Thanks in advance and best regards
SimeonHi,
By context node, do u mean that u made a drop down with values in ddic structure ,
rather than that u can use FM 'VRM_SET_VALUES' this would be simpler if that makes sense for ur requirement.
pls revert if any comments on it.
regards,
Dinesh.
Maybe you are looking for
-
ITUNES IS NOT PICKING UP MY IPOD, BUT WINDOWS DOES
My i-tunes 7 is not pickin up my ipod, even when windows does, i have gone to the support site and have done everything ther;(delteing itunes, reinstalling itunes, re-installing my ipod and notthing) wat DOES happend is when i re-install i-tunes 7 an
-
Mailboxes/index corruption?
MacBookAir OSX 10.5.8 Mail: on opening generates error msg "There is a problem saving information about your mailboxes. It may take a while to determine the problme. If you know this is a temporary problem, click Quit and then open Mail again". Optio
-
Put, Get , Connection buttons greyed out
Hi All, I am pretty new to Dreamweaver but not to web development. I have set up and connected a few sites from my own PC. It all goes just like it says in the manuals. But I got called into a client site who have an existing site set up in Dreamweav
-
How do I get the installation to work from the website
I have tried several times to install adobe but it does not allow me to do so. When I aopen some of my emails the adobe window will pop up, but there is no text displayed. Only the commands in the headers.
-
HT201322 To hide or restore purchases on an iOS device is not working
The hide or restore purchases feature, is not working on iOS devices since the iOS update 6.0