Problem in search help
Hi Abapaers,
i have created a serach help realted to status and descriptiopn .
i have used it in 2 tables . for one table f4 is working for other not working .
Please suggest how can i solve this .
Regards
Arun .
hi,
please use any of these methods for applying search help, it will definately help u
you can use function module F4IF_INT_TABLE_VALUE_REQUEST
or
can follow these simple steps for search help:
go to se11==>
put some name after ticking search help radiobutton==>
create==>
then tick " elementery search help " and press enter ===>
then put description and table name in selection method ===>
then put the field on which u want search help in search help parameter==>
tick IMP EXP ==>
write 1 in lpos and spos===>
save and activate===>
double click on table name ===>
select that field and press *search help tab* above===>
then copy
i hope it will help u a lot
thaks and regards
rahul sharma
Edited by: RAHUL SHARMA on Sep 30, 2008 12:52 PM
Edited by: RAHUL SHARMA on Sep 30, 2008 12:53 PM
Edited by: RAHUL SHARMA on Sep 30, 2008 12:54 PM
Similar Messages
-
Hi Experts,
I have aproblem in Search help Exit. I have added tab to the standard search help by creating elemntry search help and assigned that search help to standard search help. I am calling function module for search help exit. I dont have any selection method.
I am getting the epected results by using the funtion module F4UT_RESULTS_MAP. This funtion module displays all the results list. My only problem i have is when i select the value from the results list the value is not populating in to the field.
CALL FUNCTION 'F4UT_RESULTS_MAP'
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
source_tab = lt_export
CHANGING
shlp = shlp
callcontrol = callcontrol
EXCEPTIONS
illegal_structure = 1
OTHERS = 2.
The callcontrol-step = 'RETURN'.
how can i handle this step to populate the select record in the field.
Thanks,
Edited by: FRANCIS REDDY on Jun 11, 2008 5:42 PMHi check my weblog: https://wiki.sdn.sap.com/wiki/x/du0
-
Hi problem with search help?
Hi friends,
i am creating a search help for one of my inputout field of name Zabc-Formno present in my screen.
If have created a search help ZSH and assigned for that input/output field. Search help is working. My problem is in input/output field when i select a option from search help it is taking, here i want to display the details of the selcted field when i click display so the select statement tht i wrote is -
when 'display'
SELECT * FROM ZABC WHERE FORMNO = SLNO.
DATES = ZABC-DATES.
CLIENT = ZABC-CLIENT.
In place of FORMNO in select statement actually i am having (ZABC-FORMNO) in this case wht i have to do.
ThksIn your data element for slno, there should be a parameter id set up. If your parameter id is SLNO.
In the program code prior to your select:
GET PARAMETER ID 'SLNO' FIELD v_slno.
SELECT * FROM ZABC WHERE FORMNO = v_slno. -
Problem in search help field clear
Hi,
I have two customised screen fields for these i created search helps through FM F4IF_INT_TABLE_VALUE_REQUEST.one is type and another one is subtype.If i select a type then corresponding subtypes will be displayed for subtype field.for this iam maintaining a table with these two fields.i have one blank value for subtype.my problem is if select a type, then i go for subtype if i choose a value it's displaying propely.After that if i select a blank value for subtype it's not replacing the value with blank.it's showing previous value.Here iam sending the code too.
MODULE ONVALUE_REQUEST_ZZINSSUBTYPE1 INPUT.
REFRESH: GT_ZZINSSUBTYPE,
GT_RETURN1.
clear ekko-zzinssubtype1.
SELECT ZZINSTYPE ZZINSSUBTYPE FROM ZINS_DATA INTO TABLE GT_ZZINSSUBTYPE
WHERE ZZINSTYPE = EKKO-ZZINSTYPE1.
CLEAR: GT_RETURN1,
EKKO-zzinssubtype1.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'EKKO-ZZINSSUBTYPE1'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = GT_ZZINSSUBTYPE
RETURN_TAB = GT_RETURN1
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC EQ 0.
clear ekko-zzinssubtype1.
READ TABLE GT_RETURN1 INDEX 1.
MOVE GT_RETURN1-FIELDVAL TO EKKO-ZZINSSUBTYPE1.
ELSE.
MESSAGE 'THERE IS NO INSURANCE SUB TYPE' TYPE 'I'.
ENDIF.
ENDMODULE. " ONVALUE_REQUEST_ZZINSSUBTYPE1 INPUTHi,
Try with this
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'ZTABLE5-HEADER_NAME'
dynpprog = sy-repid
dynpnr = sy-dynnr
value_org = 'S'
No need to move
Cheers,
Sasi -
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 -
Problem in Search help in Table control
Dear ABAPers,
I am using the Table control.In that i am using F4 help.the F4 Value should be based o the
another field in the Table control.how to do this.
Thanks & Regards,
Ashok.I had a similar requirement. In this table control the values for the F4 help for the shipping conditions depend on the vendor the user selects in the first column.
Here is my code:
PROCESS ON VALUE-REQUEST.
FIELD gs_pod_screen-ship_cond
MODULE f4_ship_cond.
MODULE f4_ship_cond INPUT.
PERFORM f4_pod_shipping_conditions.
ENDMODULE. " f4_ship_cond INPUT
FORM f4_pod_shipping_conditions .
DATA: lt_return TYPE TABLE OF ddshretval,
ls_return TYPE ddshretval,
lv_line TYPE i,
lv_vendor TYPE bu_partner,
ls_shlp TYPE shlp_descr,
ls_selopt TYPE ddshselopt,
ls_if TYPE ddshiface,
lv_c(132) TYPE c.
* where on the table control did we hit F4?
GET CURSOR LINE lv_line.
READ TABLE gt_pod_sales
INTO gs_pod_screen
INDEX lv_line
TRANSPORTING vendor.
CHECK NOT gs_pod_screen-vendor IS INITIAL.
* the possible values always depend on the vendor => build it every time
* get the search help parameters first
CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
EXPORTING
shlpname = gc_shlp_shipcon
IMPORTING
shlp = ls_shlp.
* now we have to set restrictions based on the vendor
CLEAR ls_selopt.
ls_selopt-shlpname = gc_shlp_shipcon.
ls_selopt-shlpfield = gc_name_vendor.
ls_selopt-sign = gc_i.
ls_selopt-option = gc_eq.
ls_selopt-low = gs_pod_screen-vendor.
APPEND ls_selopt TO ls_shlp-selopt.
* set the field for the output
READ TABLE ls_shlp-interface INTO ls_if
WITH KEY shlpfield = gc_name_ship_cond.
IF sy-subrc EQ 0.
ls_if-valfield = gc_field_shipcon.
MODIFY ls_shlp-interface FROM ls_if
INDEX sy-tabix TRANSPORTING valfield.
ENDIF.
* pass in the base date and call the search help
CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
EXPORTING
shlp = ls_shlp
TABLES
return_values = lt_return.
READ TABLE lt_return INTO ls_return INDEX 1.
IF sy-subrc EQ 0.
gs_pod_screen-ship_cond = ls_return-fieldval.
ELSE.
CLEAR gs_pod_screen-ship_cond.
ENDIF.
* transfer the value
MODIFY gt_pod_sales
FROM gs_pod_screen
INDEX lv_line
TRANSPORTING ship_cond.
ENDFORM. " f4_shipping_conditions
Hope that helps,
Michael -
Problem in Search Help[F4] - Values Not being Dsplayed
Hi,
Search help values are not being displayed.
F4 help pop up is being displayed with the text on top: ' xxxx number of entries found".
But no values are visible in that popup where it normaly displayes all values for selection. This is happening with all search helps.
Example: I tried for Tcode: ME21, for field Vendor.
=><i>No patch has been applied on Server recently.</i>
Any clue on that..??
Any help is appriciated.
Regards,
Vijay RahejaHello Vijay,
This is simple as well.
Go to help then settings and then F4 help. Under system defaults tab strip you will find Display tab strip. Here go to change mode and choose dialog. The other choice will be for control only ( 2 radio buttons only this time around). However to do so make sure you have the authorization object S_ADMI_FCD with value TCTR.
Ask yoru authorization adminstrator to make these changes. He would be having these authorizations. Normally all users dont have this authorization as this is part of security audit considerations.
Please award points if issue got solved.
Regards.
Ruchit. -
Generic problem for search help without values
Hi,
Always I open a search help without values I get the warning popup "No values found" but after this no link let me come back to the previous screen.
Does anybody know how I can solve this (in a standard way)
thanks
regardsHi
It seems to be a bug in the system.
<b>Please have a look at the following SAP OSS Notes -></b>
<u>Note 574604 - Various correction reports for EBP business partner
Note 1028643 - Input help for contact persons in purchase order
Note 843008 - EBP4.0 and higher: Terms of Payment, Texts and codes
526416 Structural enhancements LFA1
698246 EBP 4.0 address maintenance: Default address for address use
701321 EBP 3.5 address maintenance: Default address for address use
701323 EBP 3.0 address maintenance: Default address for address use
701384 BBP 2.0C address maintenance:Default address for address use
690619 Plants are not transferred during location replication
641960 New processing of terms of payment in EBP 3.5
628386 Incorrect link for EBP for 'External business partners'
Note 544392 Error in search helps EBP 2.0
Note 544816 Error in search helps EBP 3.5
Note 544713 Error in search helps EBP 3.0</u>
Please raise a customer OSS message with SAP as well.
Regards
- Atul -
A student having problem with search help.
Dear All,
I'm studying from a book about search help.
I have a field of a dictionary structure. From now on, I will call this field 'Field A'.
In the book that I read, it is said that if Field A refers to a check table, then the contents of the check table are automatically offered as the Field A's input help. Furthermore, if the check table has a search help, then the search help is used as Field A's input help instead of the key fields of the check table. The search help is also used as input help for any field that refers to the check table I mentioned previously.
Are the last 2 sentences true?
Curiously, I created a dictionary structure of several fields. One of the fields refers to a check table. I also created a simple screen with fields that refer to the dictionary structure I mentioned earlier to test each field's input help. When I tried the field that refers to the check table, it is true that the contents of the check table are offered as the possible values. Later, I created a search help for the check table in a way that makes me easily notice that the search help is actually used as the input help, not the standard input help of check table contents. When I tested my screen again and tested the input help of the field that refers to the check table, the shown possible values were not changed. It still used the standard input help that shows the contents of the check table instead of my search help.
Could I do something wrong or is the statements in my book incorrect?
Regards,
HarisDear Suman,
Thank you for the help. However, there are still some doubts in me. To improve tha clarity of my question, I'll rewrite it:
Let 'CT' is the name of my check table.
Currently there are many dictionary objects that refers to CT as their check table. Therefore, the contents of CT are offered as possible values / input help of those dictionary objects.
Later, I created a search help.
Let 'SH' is the name of my search help. SH is attached to the check table CT.
Now, does this means SH is automatically used as the input help of all the dictionary objects that refer to CT as their check table,
Or
I still have to attach SH to all the dictionary objects that refer to CT in order to use SH as their input help?
Regards,
Haris
Edited by: harissahlan on May 3, 2011 12:42 AM -
Hi,
I am trying to create a search help for a Z table. I have just given the search help parameters and flagged the input and output parameters for these fields. However when i try to activate the searchhel it throws me an error sayin "Elementary search help without hit list is meaningless". Is this because this is a Z table with Z fields?You can attach to data-element and to field in table/view definition (tab fields, select field and click on "search help" to change default attachment) - only useful if you want to get another search help that the default one attached to data-element. (look at [Help from the ABAP Dictionary|http://help.sap.com/saphelp_470/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/frameset.htm])
If you want that other fields be provided to the search help, define those as input/output parameters of the search help and don't forget to check ddic ref box in the definition of the dynpros.
Regards,
Raymond -
Hello Guys , I´m creating a new search help using a View as selection method , however I´m not sure about use database view or help view , whart do you recomend why ? Could you give me an example ? , thank you.
I´ve already did a database view , I´m asking this because I´m worry for the duplicates records () I´m using a joint between several tables ) , In my help search I will get those all duplicates records ???
Edited by: Ali Sanchez on Sep 17, 2008 10:10 AMI saw my mistake.
-
Problem on Search Help for select-option
Hi,
Iam working on a search help for select-option,
is there a way to incorporate select-all or multiple
selection on this?
Thanks!Hi catherine,
1. Just copy paste this program.
(It will POPULATE the SELECT-OPTION,
based upon
MULTIPLE Selection,
selected by the user,
in the help provided thru F4IF_INT_TABLE_VALUE_REQUEST.)
2. Eg. is for BUKRS (company code)
3.
REPORT ABC.
TABLES : T001.
DATA : ITAB LIKE TABLE OF T001 WITH HEADER LINE.
DATA : RETURN LIKE TABLE OF DDSHRETVAL WITH HEADER LINE.
SELECT-OPTIONS : BUKRS FOR T001-BUKRS.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR BUKRS-LOW.
PERFORM MYPOPULATE.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR BUKRS-HIGH.
PERFORM MYPOPULATE.
FORM MYPOPULATE.
REFRESH ITAB.
SELECT * FROM T001 INTO TABLE ITAB.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BUKRS'
dynprofield = 'BUKRS'
dynpprog = sy-REPID
dynpnr = sy-dynnr
multiple_choice = 'X'
value_org = 'S'
TABLES
value_tab = ITAB
return_tab = return.
IF RETURN[] IS NOT INITIAL.
REFRESH BUKRS.
CLEAR BUKRS.
LOOP AT RETURN.
BUKRS-SIGN = 'I'.
BUKRS-OPTION = 'EQ'.
BUKRS-LOW = RETURN-FIELDVAL.
BUKRS-HIGH = RETURN-FIELDVAL.
APPEND BUKRS.
ENDLOOP.
ENDIF.
ENDFORM.
regards,
amit m. -
Hi,everyone.
I Create a search help on the table created by myself .
But i find there are the same values in it
How can i delete the unwanted values!
thanks!
Message was edited by: xiaoming cai
Message was edited by: xiaoming caiHere is an example of doing a search help in your program. Notice that there is a line of code that is deleting adjacent duplicates from the internal table after retrieving from db. I think you will need to use something like this instead. You can add the field to the ITAB for WERKS and MILLS, get the data from the table, then sort it by WERKS and MILLS, then delete adjacent duplicates then when you throw the F4 help, there will only be one instances of WERKS/MILLS.
report zrich_0001 .
tables: csks.
data: begin of itab occurs 0,
khinr type csks-khinr,
end of itab.
select-options s_khinr for csks-khinr no intervals.
initialization.
select khinr from csks into table itab
where kokrs eq '0010'.
delete adjacent duplicates from itab comparing all fields.
at selection-screen on value-request for s_khinr-low.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'KHINR'
dynprofield = 'S_KHINR'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
tables
value_tab = itab.
start-of-selection.
Regards,
Rich Heilman -
Problems with search help for cost assignment
We have recently applied SP 10 to our Dev and QA systems. We have our system set up in such a way that when the user clicks on the binoculars for cost assignments and does a search, they will only see the accounts they are authorized to use (coming from the backend security). This works just fine in Production (without SP10).
But, depending on the test user, I am getting mixed results in our QA system. I have already sent a message to OSS but am hoping someone in this forum can point me in the right direction.
I have searched the forum and found several topics on this issue. But, I was not able to find something that is the same as my problem.
For my test users, they click on the binoculars then click Start. One test user was brought back to the shopping cart without any results. Another test user was given several entries. But, they did not belong to that user.
Can someone please point me in the right direction to get the binoculars working correctly?Hello,
For First::
In general the CO Area (here: cost center) is derived from R/3 Backend Enterprise
Structure and should be re-determined if another acc. objects is
entered that belongs to a different CO Area. Please also check the
settings in R/3 Backend IMG, path:
->Enterprise Structure ->Assignment ->Controlling
->Assign company code to controlling area
The company code is assigned to the CO Area through the following
assignment:
->Materials Management
->Assign purchasing organization to company code
The CO Area is in general the organizational object in
highest (CO) level. Assignments to other MM/CO objects are located
in lower Enterprise hierarchy level. Hence, the CO Area does not
change if a different CO object of a lower level (here: cost center)
is assigned to a SRM document.
For Second::
The only possibility I see is to set the message to error message in
the customizing in the backend. The message number is KI 170. When you
look at the long text of this message in transaction SE91 in the
backend, you will find the description where to look in the customizing.
When you have set this message to ERROR, then no purchase order will be
created in the backend. Instead the shopping basket gets the status
'ERROR' and the administrator will recieve a work item in his inbox.
Then he can check the backend and either post the purchase orders again
after solving the problem, or he can delete the shopping baskets.
Please check the note for more infos or the documentation.
Setting the message KI 170 to error message will solve your problem.
See note 333136. I would think that if you create
a PO directly in the backend if you do not have the message configured
as and error you will be able to create the PO.
I hope this information helps.
Kind regards,
Gaurav -
Problem in search help view for Contact (BP_CONT_SEARCH)
Hi,
I am trying to create service order. There I have 2 fields ... Sold-to-Party and Contact.
when I say F4 for Contact it is displaying the next screen with 4 parameters. There I have Account ID paramater.
In the CRM 6.0, the Account ID is being populated with Sold-to-Party ID, by default.
But, Now I am working in CRM 7.0. The Account id is not defaulting to Sold-to-Party ID.
And I observed that in CRM 6.0, all the fields on Serch help view are binded to SEARCH->VALUE1 attribute.
But, In CRM 7.0, this is not done. I donno whthr it might be the reason..or som thing else.
Please let me know, for defaulting this value, what we need to.
Thanks,
SandeepHi,
I am trying to create service order. There I have 2 fields ... Sold-to-Party and Contact.
when I say F4 for Contact it is displaying the next screen with 4 parameters. There I have Account ID paramater.
In the CRM 6.0, the Account ID is being populated with Sold-to-Party ID, by default.
But, Now I am working in CRM 7.0. The Account id is not defaulting to Sold-to-Party ID.
And I observed that in CRM 6.0, all the fields on Serch help view are binded to SEARCH->VALUE1 attribute.
But, In CRM 7.0, this is not done. I donno whthr it might be the reason..or som thing else.
Please let me know, for defaulting this value, what we need to.
Thanks,
Sandeep
Maybe you are looking for
-
How to expand text box size automatically (and avoid the scroll-bar).
When I enter a box for multi-line text, upon converting to .pdf, a scrollbar appears if the text does not fit into the box. I don't want this. I want the text box size to automatically increase.
-
I am creating a cloud service on azure with 2 virtual machines using java sdk API. Service created successfully. My input endpoint details are as follows. INPUT ENDPOINTS Head : 191.238.144.47:2400 Head : 191.238.144.47:22 Node0 : 191.238.144.47:4321
-
All of a sudden yahoo has taken over my search in google. How do I get rid of it?
Google is my home page. Recently when I type my search item in the google box it re-directs to yahoo and gives me shady hits. If I can't get rid of yahoo I'm deleting firefox. There is no way to contact them whatsoever so my frustration level is thro
-
Hello, I am an IT technician working on a remote desktop/terminal server running Windows Server 2008 R2. I have run into a problem recently where a user's network printer connections are taking a long time to load, some times up to five minutes after
-
Usually when I move a song to a webpage in iWeb, it comes as a square; lately, it is a straight line; looks like a sound bar, but it is not. Any thoughts?