Search help displayed in webgui mode
In SRM I have create e new service. In this services i have created the template SEARCHHELP.HTML.
But when I click on search icon, start the webgui template. In template I use the "macro" F4HelpButton.
Help Me!!
Please explain your problem clearly.
From whatever you have mentioned on this ste i cold gather following:
1. You created a new template
2. You want F4 help feature in that 'Z' template
3. You wrote some macro but you are not getting the F4 help.
Is this the correct understanding of the situation?
If yes, please following:
1. Have you setup a separate RFC for F4 help?
for reasons (just know to SAP developement team only), you need to define separate RFC for pulling the F4 help from backend system
If you have not done that, then you would not see F4 help.
Please advise if this solves your issue.
If this is not your issue then pplease explain in more details please
regards
rahul
Similar Messages
-
Restrict dictionnary Search help displayed values.
Hi,
my problem is that I have to display a search help. The search help already exists in the dictionnary and is defined using a Dictionnary Table.
I need to display the same serach help but I have to filter the results using a range of values for one of the fields and I would like to know how to proceed.
I know that user-exit exists in some search help, it's not the case here.
The kind of solutions I'm looking for is :
- directly restrict the existing search hellp values
- found a way to display a search help from abap using an internal table ( cause it's easy in this case to do fill a internal table doing the sql request myself)
- if the solutions above can't apply, doing my own search help in the dictionnary but in this case, I don't know to make this search help for values restriction.
I specify that the screen use the screen painter, it may be important ?
Thanks for your help
best Regards,
MorganHi,
Search Hels exits is only for exceptions, so in our case, we won't use the search help exits, it is better create/change the Custome one and attach the same to the fiels, there you can give the Default value for the fileds, so there you can restrict the values
or else, we have an option like, APPEND SEARCH HELPS, so by using this, we can restrict some field values, this Append Search helps, can be append to Standard Search helps also, so do Append the Standard Search help and add your field and give the Default values to restrict the user
hope you get the answer
Regards
Sudheer -
Search help - Display only 500 entries at one time from Internal Table
Hi,
I have an internal table with 1000000 entries. And when I use F4IF_INT_TABLE_VALUE_REQUEST function module to display the search help with internal table, it gives me dump. Can somebody help me - how to display limited values when we process search help?
Thanks,
SheelHi Sheel
u have a variable callcontrol-maxrecords in search help exit to limit the number of records.. check my weblog for more help: https://wiki.sdn.sap.com/wiki/x/du0 -
Query Designer&WAD: Variable search help - Display Key/Text button
Good day.
Please, can you write me some solution of my problem.
I have the character with hierarchy.
In tab "Business Explorer" of character set display as "Text".
When i run my query on SAP Portal and enter to search help of character, it is displays text of my ZCHARACTER(not key and text). But name of levels(0HIER_BODE) display key and text... (NODENAME and TEXT).
When i run query in BEx Analyzer, in search help all correct. My ZCHARACTER and 0HIER_NODE displays only text.
When i press tech button "Display Key/Text", a see marked "Text". I cannot find the same button when run search help in Query Designer, WAD(or Portal).
How can i display only texts of 0HIER_NODE? But no [Key] Text.
Thank you for answer.
Regards
Update. Can be usefull:
View table RSDVDPA with key DPNAM='0HIER_NODE' consist field CHAPRSNT with value = '0' (Key and Text).
When i change value of table
UPDATE RSDDPA SET CHAPRSNT = '4'
WHERE DPANM EQ '0HIER_NODE'
AND objvers EQ 'A'.
All works correct!
Change this value directly not correct. I think, that it is change of value of parent character. But when?I have created own 0HIER_NODE character - ZNODENAME.
Only root node infoobject is 0HIER_NODE. All another - Z.
Thanks! ^) -
Search Help displaying description but returning ID
Hi All,
I have a textbox in web dynpro showing description (from table "Description" ) in a textbox after user selected some value from its search help.
The issue is, instead of description shown (which is correct), I want to process the value selected using its ID (from table "ID").
Both tables have child-parent relation.
Unfortunately, both "ID" and "Description" are not key. The keys for both table are GUID (another field).
Any suggested solution ?
TIA,
TonyHi Tony,
In your search help try using index.
You can use the index number to select the value.
I have some sample code, you can use this as per your requirement.
METHOD add_data .
DATA : lt_urls TYPE if_main_view=>elements_drp_text.
DATA : lr_element TYPE REF TO if_wd_context_node.
DATA : url LIKE LINE OF lt_urls.
Supply data for the node at runtime
REFRESH lt_urls[].
DO 5 TIMES.
url-key = sy-index + 1 .
CONDENSE url-key.
CONCATENATE `www.` url-key `.com` INTO url-url.
INSERT url INTO TABLE lt_urls.
ENDDO.
lr_element = wd_context->get_child_node( 'DRP_TEXT' ).
lr_element->bind_table( lt_urls ).
ENDMETHOD.
Hope this will help you.
Cheers,
Darshna. -
Search help issue with WebGui Transaction iView
Hi All,
We have customized transaction ZME51 for ME51 transaction.
Transaction iView has been created for this in EP.
But we are not getting search help within search help.
Please guide if anybody has got idea.
regards,
gangadharayya.Hi,
Is your transaction working directly.
Try actual program/report transaction.. dont use Z transaction.
Check if you are getting search help for standard one? If so, you need to create Z searchhelps for yours.
regards
Kedar Kulkarni -
Search help in selecrion screen
hi expertds,
how to remove search help from DD02L-TABNAME filed
select-options : s_tabn for DD02L-TABNAME .
i dont want any help in this field, but defalt i am getting because of DD02l
AmitHi,
You should try to not modify standard SAP search helps - they are generally easy to replace with customer search help versions without modifying the original. (Although there are a couple like the HR searchelp PREM where this does not work - it has exits / customising for setting how it behaves).
In SE11 display the original BUPA collective search help, and select the menu option "Goto-->Append Search Help". This will display a pop-up listing existing appends. Select the create button in the pop-up and give the new append a Z name - say Z_BUPA and save it. In the new Z_BUPA append go to the Included Search Helps tab and type in BUPAA and select the "Hide" checkbox. Save and activate. This has now hidden the BUPAA help in the original BUPA collective search help - go back and test it to see.
To add a replacement, copy BUPAA to a ZBUPAA search help and add it as an included search help in your Z_BUPA append. for this one you will need to select the Param Assignment button to link parameters between the collective and elementary search helps.
Doing the change this way means future support packs will not overwrite the changes you have made.
If the view or function needs changing, these should be copied to Z versions and changes made. The original code in the function module could instead be repaired using Modification assistant if there are not too many complicated changes.
With the BUP_SHLP_EXIT_SEVERALS function, there are a number of references to the search help name in the function that would need to change to the new Z name. Other changes depend on your requirements - The function is called a number of times during the search help display, with a different step executed each time (PRESEL1, PRESEL, SELECT in this case) - mods may be needed to only some steps. The steps are partly documented by comments in the code.
The function BUP_SHLP_EXIT_SEVERALS appears to have a BADI exit included in the PRESEL step (exit interface IF_EX_BUPA_AUGRP) - this may be of some use.
2.In this you don't need to create zsearch help.Just hide it.
Regards,
Shiva Kumar -
Search help for input fields in a screen
Hi,
Pls help me
how to set search help property for the I/O fields in screen in se80?
1. do we want to add any property for search help in the property window?
2.do we want to create a MODULE PROCESS ON VALUE REQUEST ?
PLS tell me how to set search for the I/O field in se80?pls tell me the process?
i want to set the search help for more I/O fields in se80 but all the fields belongs to the same table?
can i create a single search for all these fields and use that for all the I/O fields ?
elementary search help or collective search help?
thanks & regards in advance,
vsnl.Hi,
Input Help on the Screen
Within the Screen Painter, you can define two types of input help:
1. The FIELD statement with one of the additions VALUES or SELECT.
2. Linking a search help directly to a screen field.
If you link a search help directly to a screen field, it overrides the additions of the FIELD
statement. However, the input check [Page 581] functions of the FIELD statement remain
unaffected.
Input Help in Flow Logic
The following input help methods are obsolete and should not be used. They are still supported
for compatibility reasons.
In the screen flow logic, you can specify a value list for a screen field <f> as follows:
FIELD <f> VALUES (<val1>, <val2>,...).
The value list contains a series of single values <vali>. The NOT and BETWEEN additions for the
input check [Page 581] are not appropriate for input help.
You can also create a value list by accessing a database table as follows:
FIELD <f> SELECT *
FROM <dbtab>
WHERE <k1> = <f1> AND <k2> = <f2> AND...
In the WHERE condition, the fields of the primary key <ki> of the database table <dbtab> are
checked against the screen fields <fi>. The WHENEVER addition, used with input checks [Page
581], is not necessary for input help.
If you have used a ABAP Dictionary reference for field <f>, the selection and the hit list formatting
may be affected by any check table attached to the field.
Attaching a Search Help
Search helps from the ABAP Dictionary can be attached to a screen field [Ext.]. To do this, enter
the name of the search help in the corresponding field in the attributes of the screen field in the
Screen Painter. This assigns the first parameter of the search help to the screen field. It is only
possible to place a value from the hit list onto the screen.
Input help on a screen.
REPORT DEMO_DYNPRO_F4_HELP_DYNPRO MESSAGE-ID AT.
DATA: CARRIER(3) TYPE C,
CONNECTION(4) TYPE C.
CALL SCREEN 100.
MODULE CANCEL INPUT.
LEAVE PROGRAM.
ENDMODULE.
The next screen (statically defined) for screen 100 is itself. It has the following layout:
602 April 2001
Cancel
Airline
Flight number
Screen field with search help
Input help in the flow logic
The input fields have been adopted from the program fields CARRIER and
CONNECTION. The function code of the pushbutton is CANCEL, with function type
E. The search help DEMO_F4_DE with the search help parameter CARRID is
assigned to the screen field CARRIER. The search help uses the database table
SCARR.
The screen flow logic is as follows:
PROCESS BEFORE OUTPUT.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
FIELD CARRIER VALUES ('AA', 'LH').
FIELD CONNECTION SELECT *
FROM SPFLI
WHERE CARRID = CARRIER
AND CONNID = CONNECTION.
When the user chooses the input help for the individual fields, the following input
help is displayed:
For the Airline field, the search help displays the names of the airlines and places the airline
code in the input field for the chosen line. If the airline code is not one of those listed in the
VALUES list of the screen flow logic, the input check triggers an error message in the PAI
event. So the search help overrides the VALUES addition for the input help, but not for the
input checks. This is therefore not an appropriate place to use the VALUE addition.
For the Flight number field, the flow logic displays the selected entries from the database
table SPFLI and places the selected line in the input field.
Regards,
Bhaskar -
Extra fields in search help window in Record working time EHP5
Hi Experts,
Can you please let me know how to add additional fields/select options in search help window for Record Working Time ?
My system is EHP5 NW 7.02
I have added the custom search help for the respective filed in table " TCATS_SHLP_ITS".
I can see this table is having entry for only 4 selection options and 6 value fields for search help display.
But in my custom search help programme is having 8 select options(for advance search) and 10 display fields on the search window. It's working from CAT2 transaction but when I am running through webdynpro timesheet, I can only get 4 select options and 6 value fields.
Please let me know how to make the other fields available.
Thanks in advance.
SoniaHi Siddharth,
Thanks for your response. In that modify possible entries screen (Details view) I can see the search help is only having 4 select options and 6 display fields.
So as per my understanding max 6 display fields/4 select options can only be displayed on search window.
My requirement is to display more fields on search help OVS window.
Can you please suggest.
Thanks ,
Sonia -
Adding elementry search help to SAP standard Collective Search help
Hi,
I had copied standard elementary search help to MAT0M to ZZ_MAT0M and added some more fields and activated to it.
it got activated sucessfully.
Now i have to attached the ZZ_MAT0M elementry search help to standard collective search help MAT1_A.
How can i do that?
can i add it directly to MAT1_A (sell --->search help <MAT1_A> changes --> in included search helpss tab using + (insert icon) )
Thanks & regardsI solved my problem :
I had copied standard elementary search help to MAT0M to ZZ_MAT0M and added some more fields and copied Database View M_MAT1M to ZZ_M_MAT1M and addedd same fields and activated both.
both got activated sucessfully.
Now i have to attached the ZZ_MAT0M elementry search help to standard collective search help MAT1_A and this Z-search help shd appear on the first tab.
so I just went to collective search help MAT1_A in change mode --> click on "+" icon addedd my ZZ__ search help, save and activated it.
If you dont really care in which tab your search help shd appear, then the best option is to use Append Search help.
Note : if you are directly adding your search help in collective standard search help, then its better to remove hotkey form your custom elementry search help, as, if not remove will lead to warnings or make sure that you have unique hotkey in that collective search help. -
I have a minor issue with search help CRAM.
when I test this in my Quality system it gives me the results in a screen which as tabs( Search by work center, by class...) but if i test the same in production I get the results in the form of abap list no tabs at all but in both the colums are same.
The support pack are same in both the systems and we copy production every quarter to Quality.
Any idea whats causing this difference.
regards,
VamsiHI harprit,
Go to SE11 then type CRAM in search help , go in view mode. pl check how many search help is added in include search help tabs ( in both the system production as well as quality ) and also check is there is any hidden check box is tick or not.
if in both system it is same double click on ASH_CRAM . this is append search help , check same way for hidden check box.
let me know if ur problem solve .
reward if usefull
Regards,
Kapil Soni -
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 -
Search Help not getting displayed
Hi ,
I have included my own Search Help ZSH to Standard Search Help MAT1 which is related to field MATNR , in the following path..
In MAT1->MAT1_A, I have INCLUDED my Search Help.
I have tested it in SE11, it's working fine.
But, in VA01 screen when I press F4 on the MATNR field only 9 Search Helps are displayed, and my Z-Search Help is not getting displayed.
What additional settings should I do for the display of my Z-Search Help?
Thanks in advance,
Shivaa...Also look at this thread Search help enhancement - VA01
Regards,
Raymond -
How to display check box in the search help restriction pop-up window
Hi Experts,
I have created one searc help with dialog value restrictions. Search help contains 4 fields.
Out of which one field has length one character.
As oon as user press on F4 on particular field, it will display pop-up window with restrictions and displayed 4 fields.
I would like to show that field ( one character length field) as check box in search help restrictions pop-up window.
Pls help me ,... How can we acheive this..
Thanks
RaghuUr Exact Requirement,
Types : begin of itab,
fields type c,
Check type c,(For Check Box)
end of itab.
data it_tab type standard table of itab.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_input-low.(If it is in select-options)
CLEAR v_input.
GET CURSOR FIELD s_input VALUE v_input.
CALL FUNCTION 'AIPC_CONVERT_TO_UPPERCASE'
EXPORTING
i_input = v_input
i_langu = sy-langu
IMPORTING
e_output = v_input.
CLEAR s_input-low.
IF v_input NE '' .
IF v_input NE '?'..
v_input1-sign = 'I'.
v_input1-option = 'CP'.
v_input1-low = v_input.
APPEND v_input1.
ENDIF.
ENDIF.
SELECT DISTINCT Field
FROM Table
INTO TABLE it_tab
WHERE field IN v_input.
CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
EXPORTING
i_title = 'Select Colors'
i_selection = 'X'
i_zebra = 'X'
i_screen_start_column = 5
i_screen_start_line = 5
i_screen_end_column = 30
i_screen_end_line = 12
i_checkbox_fieldname = 'CHECK'
i_tabname = 'IT_TAB'
i_scroll_to_sel_line = 'X'
it_fieldcat = it_fieldcat1
i_callback_program = sy-repid
i_callback_user_command = 'USER_COMMAND1'
IMPORTING
es_selfield = selfield
TABLES
t_outtab = it_tab
EXCEPTIONS
program_error = 1.
Cheers,
Naveen -
Populate and display internal table results using search help exit...
I have copied F4IF_SHLP_EXIT_EXAMPLE and made changes. I want this search help exit to populate and display contents related to 'FIELD1' when the user enters a specific value for it in the search help screen, meaning when the user restricts the search by that value. For field2, field3, field4, field5, field6, field7, and field8 I am using a custom view.
Following is the code:
TYPES: BEGIN OF t_search,
field2 TYPE field2,
field3 TYPE field3,
field4 TYPE field4,
field5 TYPE field5,
field6 TYPE field6,
field7 TYPE field7,
field8 TYPE field8,
field1 TYPE field1,
END OF t_search.
DATA: it_itab TYPE TABLE OF t_search,
wa TYPE t_search,
wa_selopt TYPE ddshselopt,
wa_fielddescr TYPE dfies.
ranges: r_field1 for std_table1-field1
STEP SELECT (Select values)
FREE: r_field1.
**Get the value entered for FIELD1 in search help
LOOP AT shlp-selopt INTO wa_selopt.
CASE wa_selopt-shlpfield.
WHEN 'FIELD1'.
r_field1-sign = wa_selopt-sign.
r_field1-option = wa_selopt-option.
r_field1-low = wa_selopt-low.
r_field1-high = wa_selopt-high.
APPEND r_field1.
CLEAR: r_field1.
ENDCASE.
ENDLOOP.
**Select 'ID' and 'FIELD1' from table into lt_itab
SELECT id field1
INTO TABLE lt_itab
FROM std_table1
WHERE field1 IN r_field1.
IF sy-subrc = 0.
**Now, based on the particular IDs from lt_itab, I need to select other values
from other tables which also have 'ID' as the key.
SELECT std_table2~field2
std_table2~field3
std_table3~field4
std_table3~field5
std_table3~field6
std_table4~field7
std_table4~field8
std_table1~field1
INTO CORRESPONDING FIELDS OF TABLE it_itab
FROM std_table2
INNER JOIN std_table3 ON
std_table3mandt = std_table2mandt AND
std_table3id = std_table2id
INNER JOIN std_table4 ON
std_table4mandt = std_table2mandt AND
std_table4id = std_table2id
INNER JOIN std_table1 ON
std_table1mandt = std_table2mandt AND std_table1id = std_table2id
WHERE
std_table1~field1 IN r_field1.
'id' is common in all the std_tables --> std_table1, std_table2, std_table3, std_table4.
STEP DISP (Display values)
**Then I need to gather all the results in my internal table it_itab and display
in search help results for the value of FIELD1 entered by the user in the search help.
CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
EXPORTING
parameter = 'FIELD1'
fieldname = 'FIELD1'
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
source_tab = it_itab
CHANGING
shlp = shlp
callcontrol = callcontrol.
I am not getting all the data in my internal table and wanted to know if there is anyting wrong in my select statement.
Any guidance will be appreciated and awarded appropriate points.
Thanks.the webdynpro fieldname and the search help input parameter name were made same.
Maybe you are looking for
-
What happens: I am asked within an app to "Write a review?" I say yes. I'm directed to the App Store page with the description of the App. I click on Write a Review. I write a review, and rate the app. I'm asked to enter my password, which I do. It s
-
Can't drag and drop files onto desktop any more
I have always been able to drag/drop files and images onto the desktop from within the body of an email message or a web browser window. Now it won't let me do that any more and I have no idea what has changed. The cursor "holding" the image never ch
-
After Update of iPad and MacBookPro no communication between AppleTV and Devices
After Update of my iPad 2 with iOS 6.0 and OS to 10.8.2 there is no communication between AppleTV and these devices.
-
Processing resultset in Pro*C
Hi there, I need some help porting some Ingres Embedded SQL procedures to Pro*C. Specifically, I'm looking for the Pro*C equivalence to the exec sql begin/exec sql end code below: In Ingres Embedded SQL: exec sql repeated select * from emp where star
-
ORA-22881: dangling REF during getConnection() on stateless connection pool
Hello, I have some trouble with "ORA-22881: dangling REF" error against getConnection() on a stateless connection pool. Following the relevant part of the code: return = gstatelessConnectionPool->getConnection(