Messages in Search help Pop Up
Hello Experts,
I have created a Elementary search help in Data dictionary and have used for Web UI Fields.
Now the search criteria is appearing as mentioned in elementary search help. I want to throw a error message if the user clicks on search without entering search criteria.
i tried to add message in global message container, but the message is not displaying on the popup, message gets added to Global message container but will be shown once the pop up closes. I need to show the error message on Search help pop up screen only.
Please suggest how to make these fields mandatory on search help.
BR,
Nikhil Kulkarni
Hi Nikhil Kulkarni
use method set_display_mode()
before open popup as :-
lo_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
lo_popup->set_on_close_event( iv_view = me iv_event_name = 'SRPOPUPCLOSED').
lo_popup->open( ).
it will work.
reagards, Harish Kumar
Similar Messages
-
Search help pop is missing in PO13 relationship
Hi Friends,
In HR , PO13 Transaction relationship creation , Employee group search help, It will show the Employee group popupbox, Now iam not getting.. the problem with
RH_OBJID_REQUEST function module .. Iam passing
PLVAR
DYNPRO_REPID
DYNPRO_DYNNR
DYNPRO_OTYPEFIELD
DYNPRO_SEARKFIELD ..
if we pass OTYPE = i3 it will come.. but as per function module
DYNPRO_REPID DYNPRO_DYNNR DYNPRO_OTYPEFIELD filling no need of OTYPE .Iam passing evrything perfect..but still iam not getting.. IAm getting narmal search help.. anybody knows please help him...
regards,
SampathHI
I checked in SE11 "KOMB" the field "KVGR2" it is there and it is standard and no need to maintain
Try to check the below path : SPRO >Sales and Distribution->Basic Functions>Output Control->Output Determination>Output Determination Using the Condition Technique->Maintain Output Determination for Billing Documents->Maintain Condition Tables->Field catalog: Messages for billing documents
in the above path try to include the field "KVGR2" and save it. After that try to maintain the conditon table and further steps
Check & Revert
Regards,
Prasanna -
Search help for partner functions in the message to get organisation unit O
hello,
Depending on the Business partner category (Organisation, Person,Group) the search help of the partner function in a message should return the corresponding partner list.
This is working fine for standard partner functions like SLFN0002 (reported by=P) SLFN0003 (support team=O). When doing a searchhelp we get a list of organisation for the "support team" and a list of users for "reported by". this is a normal behaviour.
When copying the partner function SLFN0003 into a new ZLFN0003 and including it in the partner profile of the message the search help returns all business partners of category P but should return category O. The function category 0016 (service team) is well defined for ZLFN, I guess the link to business partner category is made indirectly there but I might be wrong.
Does anyone of you experience the same behaviour ? Any idea how to correct this ?
thank you for your help
XavierHi,
Collective search helps:- Combination of elementary search helps. When we need to fetch data based on multiple selection criteriau2019s. More than one tables are Selection from multiple tables
Steps for creating collective search help.
1) Enter the search help name and click on create.
2) Choose Collective search help radio button option as the search help type.
3) Enter the search help parameters.
Note that there is no selection method to be entered for a collective search help.
4) Instead of the selection method, we enter the included search helps for the collective search help.
5)We need to assign parameters for each of the included search helps.
6) Complete the parameter assignment by clicking on the push button.
7) Collective search help offers the user to obtain F4 help using any of the included search helps.
Hope this helps u.
thanks -
Search help on screen elements
Hi I have a screen where I need to include a seach help on the screen element. The element itself is just a generic char 8 field with no dictionary reference. I have tried using the VRM_SET_ VALUES in the PBO but as soon as I press enter it looses the value selected. So I have now tried the using the process on value_request but despite finding and populating 138 values in the search help pop up, the actual pop up screen shows a blank list, with the text at the bottom saying 138 values.
Any ideas what I am doing wrong?
Set list values
call function 'VRM_SET_VALUES'
exporting
id = lv_vrm_id
values = it_values
exceptions
id_illegal_name = 1
others = 2.
if sy-subrc <> 0.
MESSAGE I000 WITH 'Failed to populate username list values'.
endif.
process on value-request.
field my_field module fill_my_field.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'MY_FIELD
dynprofield = 'MY_FIELD'
value_org = ' '
dynpprog = progname
dynpnr = dynnum
tables
value_tab = it_values "it contains 2 fields that will be shown in the list box
exceptions
parameter_error = 1
no_values_found = 2
others = 3.I'm still having problems with this. Here is my VRM set values - the problem I have with this is as soon as i choose a value from the list and press enter, the value dissappears from the screen element:
data: lv_vrm_id(80) type c.
data: lv_key(3) type n value 1,
lv_index type sy-tabix.
data: it_values type standard table of vrm_value,
s_values type vrm_value.
lv_vrm_id = i_type.
lv_key = 1.
clear it_values.
loop at it_cabn into s_cabn
where ATNAM = i_type.
read table it_cawn into s_cawn with key atinn = s_cabn-atinn
binary search.
while s_cawn-atinn = s_cabn-atinn.
lv_index = sy-tabix.
s_values-key = 1.
s_values-text = s_cawn-ATWRT.
condense s_values-text.
append s_values to it_values.
add 1 to lv_key.
lv_index = lv_index + 1.
read table it_cawn into s_cawn index lv_index.
if sy-subrc <> 0.
exit.
endif.
endwhile.
endloop.
* Set list values
call function 'VRM_SET_VALUES'
exporting
id = lv_vrm_id
values = it_values
exceptions
id_illegal_name = 1
others = 2.
if sy-subrc <> 0.
* MESSAGE I000 WITH 'Failed to populate username list values'.
endif.
And here is my code for the F4 lookup - the problem here is that the search help pop dispklays nothing depsite saying it has 138 values. I am wondering if its my it_values that is the wrong format, or is it the fact that my field type doesn't point to a dictionary element?
TYPES: BEGIN OF ty_values,
type(8),
descr(20),
END OF ty_values.
DATA: it_values TYPE STANDARD TABLE OF ty_values,
s_values type ty_values.
data: lv_key(3) type n value 1,
lv_index type sy-tabix.
* Build lookup values for wood type test
clear it_values.
loop at it_cabn into s_cabn
where atnam = i_type.
read table it_cawn into s_cawn with key atinn = s_cabn-atinn
binary search.
while s_cawn-atinn = s_cabn-atinn.
lv_index = sy-tabix.
* s_values-key = 1.
* s_values-value1 = s_cawn-atwrt.
s_values-type = s_cawn-atwrt.
append s_values to it_values.
lv_index = lv_index + 1.
read table it_cawn into s_cawn index lv_index.
if sy-subrc <> 0.
exit.
endif.
add 1 to lv_key.
endwhile.
endloop.
DATA: progname TYPE sy-repid,
dynnum TYPE sy-dynnr,
dynpro_values TYPE TABLE OF dynpread,
field_value LIKE LINE OF dynpro_values.
progname = sy-repid.
dynnum = sy-dynnr.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'ATWRT'
dynprofield = 'TYPE'
value_org = ' '
dynpprog = progname
dynpnr = dynnum
tables
value_tab = it_values "it contains 2 fields that will be shown in the list box
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc <> 0.
endif. -
Hiding the Birthday Column in the search help in transaction PA20
Steps to generate the issue.
1) Goto transaction PA20.
2) Use the search help (Press F4) in the personnel number field.
A search help pops up.
3) In the 'Last Name - First Name' tab enter 'M*' in the 'Last Name' field and select the enter button.
A list of employees is displayed. In my system along with the last name and first names the employees birthday is displayed.
The business would like this field hidden as they have decided that this is sensitive information that they do not want everybody to have access to.
Can this be hidden by making a change to configuration? How do I go about this?Dear Mark,
After pressing F4, when the list will be shown, select the heading of the birthday coloumn, right click, then select personalize, then select Birth date, and click hide fields switch which is in the same screen, then click enter.
See your problem is solved.
Thanks & Regards
Jasaswi -
Remove Column in Standard Search Help(SAKO)
Hi Experts,
I have a requirement in that i have to hide some column in SAKO search help i tried all the posibilities in search help exits
but couldn't find any way to remove its just going from header selection in search help pop up (input field n its lable)
but column not get removed.
kindly suggest me the way.
ENHANCEMENT 1 ZFI_NOR_ENH_SAKO. "active version
* Execution Criteria : On F4 Help *
* MODIFICATION HISTORY: *
* Correction No. Name Date Description *
* Begin of Insertion WIW ID -KPANDE |<Project ID> 10000265851 |<Date>21-02-2011|<Transport request>
tables : ZNOR_USERS.
data : wa_shlp_tab like line of shlp_tab.
data : wa_interface like line of shlp_tab-interface.
data : wa_fielddescr like line of shlp_tab-fielddescr.
data : wa_fieldprop like line of shlp_tab-fieldprop.
* Check whehter the Logon User is a NOR Users
select single * from ZNOR_USERS where NOR_WIW_ID = sy-uname.
if sy-subrc is initial.
if callcontrol-step = 'SELONE'.
if sy-subrc is initial.
READ TABLE SHLP_TAB INTO WA_SHLP_TAB WITH KEY SHLPNAME = 'GL_ACCT_CA_TEXT'.
IF SY-SUBRC IS INITIAL.
LOOP AT WA_SHLP_TAB-INTERFACE INTO WA_INTERFACE.
IF WA_INTERFACE-SHLPFIELD = 'MCOD1'.
DELETE WA_SHLP_TAB-INTERFACE INDEX SY-TABIX.
ENDIF.
ENDLOOP.
LOOP AT WA_SHLP_TAB-FIELDDESCR INTO WA_FIELDDESCR.
IF WA_FIELDDESCR-FIELDNAME = 'MCOD1'.
DELETE WA_SHLP_TAB-FIELDDESCR INDEX SY-TABIX.
ENDIF.
ENDLOOP.
LOOP AT WA_SHLP_TAB-FIELDPROP INTO WA_FIELDPROP.
IF wA_FIELDPROP-FIELDNAME = 'MCOD1'.
DELETE WA_SHLP_TAB-FIELDPROP INDEX SY-TABIX.
ENDIF.
ENDLOOP.
MODIFY SHLP_TAB FROM WA_SHLP_TAB INDEX SY-TABIX.
ENDIF.
READ TABLE SHLP_TAB INTO WA_SHLP_TAB WITH KEY SHLPNAME = 'GL_ACCT_CC_TEXT'.
IF SY-SUBRC IS INITIAL.
LOOP AT WA_SHLP_TAB-INTERFACE INTO WA_INTERFACE.
IF WA_INTERFACE-SHLPFIELD = 'MCODF'.
DELETE WA_SHLP_TAB-INTERFACE INDEX SY-TABIX.
ENDIF.
ENDLOOP.
LOOP AT WA_SHLP_TAB-FIELDDESCR INTO WA_FIELDDESCR.
IF WA_FIELDDESCR-FIELDNAME = 'MCODF'.
DELETE WA_SHLP_TAB-FIELDDESCR INDEX SY-TABIX.
ENDIF.
ENDLOOP.
LOOP AT WA_SHLP_TAB-FIELDPROP INTO WA_FIELDPROP.
IF WA_FIELDPROP-FIELDNAME = 'MCODF'.
DELETE WA_SHLP_TAB-FIELDPROP INDEX SY-TABIX.
ENDIF.
ENDLOOP.
MODIFY SHLP_TAB FROM WA_SHLP_TAB INDEX SY-TABIX.
ENDIF.
ENDENHANCEMENT.
*$*$-End: (1)---------------------------------------------------------------------------------$*$*
thnx..
ketan...The seach help exit is to adjust input and output parameters and there selction
@Dhiraj: Not true (again).
To the OP, I'm not sure why you would want to remove such a useful function from the screen. However, you can overtake the selection and display process entirely with a search help exit if that's your desire. For more information, read the documentation on search help exits. -
Search help ehancement of field in t-code F-02.
Hi all,
I want to ehance a filed's search help in t-code f-02.
requirement is as below.
when you click one field's sech help in t-code f-02. A search help pop-up window will display. In this pop-up window, there are several tabs. I want to add a new tab in this pop-up window.
In this new tab, I want to add 2 new fields (for example, company code & bank code) in this tab. each tab also has search help.
And also if I input value "1000" in the company code field, the search help value of field bank code will automatically relate to "1000".
could anyone give me a solution or suggestion?
Thanks in advance!Hi,
1. You can add new fields in the complex search help of the field
by editing the search help exit. please check search help have any search help exit attached to it.
Frank Zhang wrote:
> And also if I input value "1000" in the company code field, the search help value of field bank code will automatically relate to "1000".
I not sure how a F-02 screen value of company code in the entry screen can be relate with bank code in the search help
a® -
Hi,
Our requirement is to provide the search help for a field. The Search help pop up should have three input fields 'UserId', 'First Name' and 'Last Name'. The pop up should not be table. In the pop up, we can give some input value and based on that the relevant entry needs to be fetched, then we need to choose that entry. That chosen entry should be moved to our input screen.Hi
please check this thread
Search Help
and there is a tutorial in saptutorial which might be helpful
saptechnical >tutorials>bsp-->f4help
Regards,
G. Nikhil Kumar -
Hi,
I have a selection screen with 3 fields.
xblnr, kunnr and bukrs
I created a search help exit for xblnr.
It finds my values perfectly and returns it on screen.
How do I make it return kunnr and bukrs values on the screen as well(they do appear on search help pop-up already).
I tried filling up the shlp_tab and shlp manually, but that didn't help.
right now, my search help exit is like that to delete duplicates.
I think I should add some code to the elseif callcontrol-step = 'RETURN', but all I've tried doesn't work.
Please note that I don't want to do it on my report program with at selection-screen on value-request for xblnr, I would like to solve this inside that userexit. Setting parameters doesn't help either as that requires the selection-screen to be refreshed.
if callcontrol-step = 'DISP'.
delete adjacent duplicates from record_tab comparing string.
elseif callcontrol-step = 'RETURN'.
exit.
else.
exit.
endif.
thank you allsolved it.
needed to give the parameters like
parameters: xblnr like ztable-xblnr,
kunnr like ztable-kunnr,
bukrs like ztable-bukrs.
then add the search help exit to the table properties for each parameter that i use in the report assigning the corresponding field and voila -
Predefined Search Help for WERKS doesn't work properly
Hi Experts,
in my dynprofield I have a field called 'gf_werks'.
In Screen painter I manually added predefined search help H_T001W_T.
If I push F4 on gf_werks search help pops up.
But if I select one entry it transports the name of selected werks. But I need werks itself not its name...
What I'm doing wrong?
Regards,
ZayaGood morning,
Sriniras, thank you very much!
I tried ur suggestion and it solved my problem. Now I'm getting werks not its name
Best Regards,
Zaya -
Hi All,
I have a standard SAP ABAP dictionary Search help. I want to execute that search help programmatically and get the return values in a internal table. Please note that I dont want the pop-up's for the Selection screen of Search help. Also I dont want the return values to be displayed as pop-up. I want the return values in internal table. Any suggestions to do this?
Thanks & Regards,
Mayank AgarwalHi,
If u don't want search help pop up screen, then no need to go for search help.
Anyway search help also doing database retrieval only, it is fetching data from database.
so u can directly fetch the data from database and put it into an internal table.
The execution time also will be reduced.
What u have to do is , analyse that search help from which table it is fetching data at wat condition.
there will be a search help exit for that search help in the elementary search help . This exit is FM.
In this FM They might have done validation or check that elementary search help to get the fields displayed on the pop up and the table from it is fetching the data. -
Hi Gurus,
Up tp now i am using elementary search helps.but now i am phasing the problem with collective search help.now in my scenario i want to use collective search help.but values are not getting with collective search help.Please give the suggetion.its very needful .
Regards,
Bixamaiah.Hi Caíque Escaler,
I am using standard COM_PARTNER collective search help .already i was tried and implemented method GET_V* and GET_P* .I was tested in web ui also but whenever i was click on this input search help pop is also coming but records are not coming.Please give me the suggestion its very needful to for us..
Regards,
Bixamaiah.B. -
WDA Search Help Multiple Selection
Hello everyone,
I've managed to integrate a standard search help into my WD ABAP application.
The thing is that from the search help pop-up I can select multiple rows but when I select more than 1 row in the help value list the OK button is greyed out.
I would like to select more than 1 entry and transfer it back to the associated input field, like a list of values separated by a comma.
How can I implement this?
Thanks!To be honest I didn't mean that.
I've integrated a standard search help in my WDA, just defining a context attribute bound to a dictionary field having a search help. Now I'd like to have a multiple selection enabled for it.
What I am getting is a General Value List from which I cannot transfer multiple values back to the caller.
Is there a way to do it? -
Search Help for employee and contact person
Dear expert,
I'm a BSP fresher. We are using CRM 7.0 now. I'm facing a BP search help pop-up window issue, please help on it.
We need a search help pop-up window to search employee and contact person at the same time.
Our user want to search both employee and cantact person (don't include custoemr ->sold-to-party) for activity responsible person. I know the sap standard search help components are different employee, contact person, account.
For example: employee -> BP_EMPL_SEARCH (component); contact person -> BP_CONT_SEARCH; account -> BP_ACC_SEARCH_E. And the component BP_HEAD_SEARCH is for all BP.
It seem that there is no search help component for employee and customer contact person combination. I think maybe we can do a filter by BP role. But I don't how to implement it on WebUI.
Thanks and Best Regards
MichelleHi Michelle,
You can create a search help using trx. SE11 and use it in the METHOD GET_V* of your componen/attribute.
in the get_v* method, * means attribute name put this custom code.
DATA:
w_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
t_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
t_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
w_map-context_attr = 'STRUCT.ZRESP_FASE'. " Attr name
w_map-f4_attr = 'PARTNER'. "import/export parameter to search help - search help attr name
APPEND w_map TO: t_inmap, t_outmap.
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'PRP_BUPA_EMPLOYEE' "search help name in your case Zname
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
iv_input_mapping = t_inmap
iv_output_mapping = t_outmap
iv_trigger_submit = abap_true.
Hope this helps!
Best regards,
Caíque Escaler -
F4 BP Search Helper - Transfer ID to Form
Hello,
I have added a custom field to the Opportunity Product that leverages an F4 search helper. My GET_V_ method simply calls through to my Outbound Plug called OP_SEARCHPARTNER, which simply calls through to the out-of-box cl_crm_uiu_bt_partner_popup=>bp_search_do.
The good news is that my custom field is appearing on the Product, and the F4 BP Search Helper pop-up renders perfectly, and I can search for BP's.
The bad news is that when I select a BP, the BP ID is not transferred back to the Form.
Can anyone provide some pointers for transferring the BP ID from Search Helper back to my custom field on the form?
Or maybe I'm taking the wrong approach with an Outbound Plug calling through to cl_crm_uiu_bt_partner_popup=>bp_search_do?
Thanks!Hi,
The Plug calls cl_crm_uiu_bt_partner_popup=>bp_search_do for the POP up, After that it sets the event on close based upon the ur BP role , if u are passing BP role as partner as prospect the Event will triggered after selecting the prospect window is EH_ONSEL_PROSPECT , there u find again one more method called cl_crm_uiu_bt_partner_popup=>bp_search_process, here it gets the context node called partner and sets the partner id to the lr_partner node which u pass in the cl_crm_uiu_bt_partner_popup=>bp_search_process method. so u can enhance the cl_crm_uiu_bt_partner_popup=>bp_search_process to get the extra parameters and u can set to the current partner .
Maybe you are looking for
-
Hi Can someone suggest a better way to start with PAPI usage. may be a beginners guide in a precise way.. or a sample project that i can carryout locally on my machine without enterprise server. a guide that describes the scenarios which require PAPI
-
No resource assignment found for user
Hi All, I 'm getting following error after executing syncbo Ztest_010 of type S01. "No resource assignment found for the user test." i have added enteries in SPRO for the user test , Can anyone suggest which entry might effect the extraction of da
-
Finding Download for SAP Integration Kit Fix Pack 3.1 / ADAPT01412706
Hi all, by using Crystal Reports 2008 V1 SP3 in combination with SAP Integration Kit 3.1 (SBOP INTEGRATION FOR SAP SOLUTIONS XI 3.1 SP3 WINDOWS (32B)) i get an error during the inportstep of the transports in our BW System. This error is descriped an
-
Hello, I would like to ask how to check the maximum space ever used for TEMP. I want to know it because I need to resize the TEMP and I want to know how small it can be. As I can see from a documentation http://docs.oracle.com/cd/B14117_01/server.101
-
Gusy I am trying to add 3 hours to a date/time field in service request and the result is to be displayed in another date/time field on the same service request The problem is Timestampadd function is giving errors on workflow. It gives me an error s