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,
Morgan
Hi,
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
Similar Messages
-
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 -
SAP CRM Search Help - defaulting values in search help screen
Hi All,
I am working on search help object in service order(Amount allocation ) BTAMNTALL component view name vIEW:BTAMNTALL/HdrBillplanDet and field name STRUCT.AC_ASSIGNMENT. in that block if we select account assignment type as ERP cost center it will give standard search help in Select account assignment field.
Its basically calling the standard search help CRMT_AC_ASSIGN_KOSTL_E. After pressing F4 it will display the popup Controlling area cost center and description. Basically I need to default the Controlling area in F4 help based on some logic.I am not sure where to write code for this one.
Please find the attachment where I need to default the value. any help is appreciated.
Thanks,
Sapsar.At least can you read the document I provided carefully? the point 2.3.1.2 give you the answer.
Anyway if the document doesn't specify "defining a default value" but give you some ideas/hints, you only need to use a little your imagination. Like:
1- Use a custom search help with a constant (static)
2- Use a custom search help with a search exit to determine the data that you need from the sales org of course you need to add the orgunit as an input parameter for the search help and supress the input parameter which will be determined in the search help exit (dynamic)
3- Create a value node for the context (hidden) and put the info you need once you select the sales org in the hidden attribute/s, this hidden attributes should be mapped in the get_v method (dynamic, not sure if this will work, I never tried, but will be nice if you try and give us some feedback) -
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. -
How to restrict the search help given to a field for a specific program ??
Hi,
I have one search help which is attached to a field.
This seach help is using a Z table and showing values perfectly for one program where I attached earlier.
The same fields and Z table I am using is some other related program where user wants to see the restricted values only.
I am not getting, how a search help can be restricted.
I try to take a example of it.
If in first program the search help values are:
Material Level
Orange 1
Mango 2
Grapes 3
Now in the second program user wants to see only levels not the material. I Have given only two colums for understanding purposes not all .
Please suggest what are the possible ways we can do it.
Thanks right now.
-=Maddu=-Hi,
Use this event
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_cc.
PERFORM company_code CHANGING p_cc.
FORM company_code CHANGING p_cc.
DATA: dynpfld_mapping LIKE dselc OCCURS 0 WITH HEADER LINE.
REFRESH gt_bukrs.
SELECT * FROM t001
INTO CORRESPONDING FIELDS OF TABLE gt_bukrs.
LOOP AT gt_bukrs.
**ST AS ON 08.09.2006
AUTHORITY-CHECK OBJECT 'ZREP_TMF'
ID 'BUKRS' FIELD gt_bukrs-bukrs
ID 'VKORG' FIELD gt_bukrs-bukrs
ID 'VKBUR' DUMMY
ID 'SPART' DUMMY
ID 'VTWEG' DUMMY.
AUTHORITY-CHECK OBJECT 'ZREM_ORG'
ID 'VKORG' FIELD gt_bukrs-bukrs
ID 'VKBUR' DUMMY
ID 'SPART' DUMMY
ID 'VTWEG' DUMMY.
**ST AS ON 08.09.2006
IF sy-subrc NE 0.
DELETE gt_bukrs.
ENDIF.
ENDLOOP.
dynpfld_mapping-fldname = 'BUKRS'.
dynpfld_mapping-dyfldname = 'BUKRS'.
APPEND dynpfld_mapping.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BUKRS'
dynpprog = 'ZREM_AGENCY_REPORT'
dynpnr = '1000'
dynprofield = 'COMPANY'
value_org = 'S'
TABLES
value_tab = gt_bukrs
return_tab = return_tab
dynpfld_mapping = dynpfld_mapping.
ENDFORM. " sale_org
Reward points -
Restriction in Search help of Product Categories
Hi,
I am working on SRM_SERVER 5.5 and I want to restrict the Product categories depending on the Organizational attribute of the user. Its search help is COM_CATEGORY_ID in the system and i didn't find any User-Exit or Enhancement to control these values.
Please let me know if any one of you have the information
Thanks in Advance
Warm Regards,
VijayHi
position or organisation wise you can make inactive the unwanted product category.
extend attribute > product category> select unwanted pg --> select inactive. the user can not search the product category.
br
muthu -
Search help default value in SE11
Hello!
I would like to set a default value to a self-made search help.
I referred the following link in this theme:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/73/5414f0adbd11d194f200a0c929b3c3/frameset.htm
This docu tells me, how can I enter default value to a field. But life is not so easy, because I have to EXCLUDE a constant.
I mean default value can be a constant like this: 'A'.
But I would like to set one like this: <>'C' to exclude all documents with the status C.
If I test the help search in runtime it is accepting values to exclude but I would like to pre-set the value.
Thank you for any answers
TamáHi,
There is no simple solution for this. If you have a view in your selection method instead of the table then you can define your requirement in the selection TAB to restrict based on your conditions.
Without using a view the other option is to use a search help exit.
Think view is a better and safe bet.
Cheers
VJ -
Hi experts,
I want to create a search help for the Material. In the search help I should set some default value like the language and the company. I know how can I set the default language, but how can I say that the default language could not be 'EN'.
I need to set this one: SPRAS NE 'EN', but I don't know how.Hi,
Create a help view first and include the tables ,in the selection conditions tab page restrict the data entry by adding all the condition such as EQ,NE.GT,LT AND ,OR operator as per your requirement.
Then add this help view to the selection method in the search help created.
eg:SPRAS NE 'EN'
Hope this will help you!!!
Try this It works!!
Regards,
Nishi.M -
Hi,
I have a custom search help and I am calling the same using the MATCHCODE OBJECT in selection screen.
Now my requirement is to pass the search help selection criteria values from the program. How to do that?
Many thanks in advance!
Regards,
BenuHi,
Am not clear..
Do you want to display your own records from the program in the F4 help?
Thanks and regards,
Senthil Kumar Anantham. -
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 -
Stanard search help -default values change
I have assigned a search help to sales order like this
SELECT-OPTIONS :s_vbeln FOR gv_vbeln MATCHCODE OBJECT VMVA.
When i press F4 i get select options correctly.But in select options there is a field Called Transaction group which will be defaulted to '0' i.e Sales Order.
I wanna change this default valur to '4'(Contract). Any Techniques.i think u can set value to the params VTV t0 '4' .
select-options : trvog for vbak-trvog memory id vtv default '4' no-display,
vbeln for vbak-vbeln matchcode object vmva.
regards
Prabhu
Edited by: Prabhu Peram on May 21, 2010 3:42 PM -
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: default value for 'Maximum no of hits'
Hello,
I have a request from a user to change the default value for maximum number of hits in the search help.
Any quick hint?
Regards,
MichalNot sure if this is possible and don't have a SAP system available at the moment ...
But check this out...
Is there anything in user profile ..
or check if the number of hits field has a PARAMETER ID associated with it...
Then in that case you might default a value other than 500 in your user profile.
Cheers,
Ram -
Search Help with value on SE11
Hi Gurus,
I have two parameters on my screen, PARTNER and PSOBKEY. I have created a Search Help on SE11 for the second parameter, and this search help has that 2 parameters too.
First I enter PARTNER, then I open the search help for PSOBKEY, and I want the value on PARTNER to be on the search help.
How I can do this from the SE11?
Thanks for your help.
J. GaribaldiHi Garibaldi,
In your search help the PARTNER should be one of the search help parameters. It should be marked as IMP (Import) parameter. The name of this parameter in the search help should be same as that on your screen. The parameter PSOBKEY would be the EXP (Export) parameter of your search help.
If you maintain above things, when you enter the PARTNER field on the screen and open the search help of PSOBKEY, the value of the PARTNER screen field would be automatically copied and imported into your search help.
Please refer to the SAP help http://help.sap.com/saphelp_47x200/helpdata/EN/4f/991f82446d11d189700000e8322d00/frameset.htm for more detailed understanding.
Regards,
Suresh
Maybe you are looking for
-
Connecting devices for display using Thunderbolt to Mini-DVI
Hello. Background I purchased an Apple Thunderbolt Display, but it will not arrive for 6 weeks. So I want to determine if there's a solution that will allow me to connect a Mac mini to an older iMac (details of both below) until the display arrives.
-
How to link Cost center and Work center?
Hi All, We have a list of Work centers and the corresponding Cost centers. We need to know which tables can be used to connect the Work center with its corresponding cost center? Thanks: Siddharth
-
Hi All, 1.Can I build queries in SRM on CCM tables. 2.I'm using users_gen to assign user to root org from the option ' copy user and employee data from template',further giving org unit ID and selecting the user id,do I need to assign the user again
-
I am new to LabView, so please bear with me... I tried to communicate with an RS485/2-wire device through COM1. I used Instrument I/O Assistant (and Advanced/Basic Serial Write and Read examples) to write command (HEX string) to COM1, tried writin
-
Hi, To let the requisitioner to choose the Vendor Ordering address, I have been thinking of calling the Service BBPPARTNERDET applet into SC, which can be done without much problem. As we are in the Extended Classic Scenario, and using Sourcing Ccckp