Generic Search and Help Values in ECO 5.0
Hi,
I am extending our Internet Sales application with additional fields. Some of those fields should have help values (similar to the F4 help in SAPGUI). Since there the new generic search functionality in ECO I am trying to implement own help values with the generic search.
Did anyone already succeed implementing own searches with this functionality? Is there any documentation available?
Regards
Florian
This is an exact variation on this
https://social.technet.microsoft.com/Forums/windowsserver/en-US/cef223c7-21dd-42d0-a674-482743586b0e/read-excel-file-and-replace-string-with-text-file?forum=winserverpowershell#9c1526d2-69bd-4e36-9db4-e7bacb784627
The reordering of the wording and the use of Excel does not really clarify what you are asking at all.
To replace a value in Excel just assign the cell the value you want. Look in the Gallery for numerous examples of how to edit a spreadsheet.
You need to rethink your question as it is very hard to understand what you are asking.
\_(ツ)_/
Similar Messages
-
Search and Replace values in the text field before values are stored to DB
Hi,
In my application there is a question - text area and answer - text field. Problem is, some answers are stored with the single quotes to the DB and I have a problem while retrieving it from the DB. I need to replace the 1 single quotes with 2 single quotes. The values are stored to the DB when the submit button is clicked.
So I am using the following javascript code:
italics
<script type="text/javascript">
function test()
var str="&P2_S1.";
document.write(escape(str));
</script>
italics
I need to call this javascript function, when the submit button is clicked but BEFORE the values are stored to the DB. How can i get this done?
Please let me know.Hi,
Thanks for the reply.
Yeah I planned to drop the Javascript idea.
Now, I am using the PL/SQL code. This is what I am planning to do.
When the user enters any word like this, Test's, this single quote should be replaced by some special character, #@@#, - what is the PL/SQL code for this?
Right now my PL/SQL code is:
begin
update test set S1=:P2_S1 where name=:APP_USER;
end;
so the replacing part should come somewhere before the update statement.... how can I do it?
from the DB when the values are retrieved, I use the following code:
select REPLACE(s1,'''','') from test where NAME=:APP_USER; // this works fine.
Please help me with the replace of the single quote before the update process... -
Using keys to search and retrieve values from HashMap
I've been fiddling around with this problem for a while and can't seem to find any working solution. What I have is a method that I want to return all values from a HashMap, but instead of using the regular keys for a HashMap (0, 1, 2, 3), my keys are different numbers such as 51414, 62513, etc.
public Car[] getAllCars() {
Map<Integer, Car> myCars = system.getCars(); //getCars() returns HashMap of Car objects from another class
Car[] c = new Car[myCars.size()];
if(myCars.size()!=0) // ensure map is populated
for(int i=0; i<myCars.size(); i++)
myCars.get(i);
return c;
}So what's happening at the moment is it loops through myCars and gets some values, but only those ones at the keys of 0-15 (the size of the Map). What I need is to get the Keys from myCars and use them to return all Car objects. The HashMap API has something called KeySet() which I think could help me, but I can't get that working.
Any ideas?DiscoInferno wrote:
Short of an SSCCE I think this might more accurately describe what I'm after.
public Car[] getAllCars() {
Map<Integer, Car> myCars = system.getCars(); //getCars() returns HashMap of Car objects from another class
Car[] c = new Car[myCars.size()];
Set<Integer> s = holds.keySet();
Iterator keyIter = s.iterator();
if(myCars.size()!=0)
while (keyIter.hasNext()) {
Object key = keyIter.next();
Car cc = myCars.get(key);
System.out.println(myCars.get(key));
return null;
}What that does is gets the Car object that matches the specified key. What I need is for it to be returnable as an array of Car objects. I don't want it to print, but the output that is printed is basically what I want to be returned to an array.First, I'm not sure how you managed to find keySet() and not find values().
Second, okay, so you know how to get each value. Do you not know how to set a value in an array? Do you not know how to return a value from a method? Google can help you find tutorials for those. Otherwise, I have no idea what difficulty you're having. -
SVS, EVS, and OVS, Value Help and Search Help
what and how to use SVS, EVS, and OVS, Value Help and Search Help in abap webdynpro...Can anyone please give example link or document...As i am able to get on ovs but unable to get rest of other
SVS and EVS are Web Dynpro Java specific types of value help. They do not exist in Web Dynpro ABAP. In Web Dynpro ABAP we have Data Dictionary based Search Help, OVS, and Freely Programmed Value Help. In WDA 7.02 we have the slight variant on DDic Search Help called Suggest Values. It doesn't change the development model, just the runtime user experience.
You can read more about each of the types of WDA based value help in the online help:
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/47/9b298c66eb3376e10000000a421937/frameset.htm -
Search help and defualt value select from R/3 System.
Hi,
Search help value is has pick from R/3 System and put into shopping cart/purchase order in SRM and for country of origin and country to destination value has to pick from R/3 as defualt value in SRM side.
i think i need to call RFC functional module. please provide the best alternative with sample code.
i am using BBP_DOC_CHANGE_BADI for implementation BADI, method is BBP_PO_CHANGE.
could you provide me sample code how to get the value from R/3 to SRM.
Regards
Ahmed
Message was edited by:
Mohammed Shakeer AhmedHi
<u>Please go through the following links which will help -></u>
Re: Search help in ITS
Re: GL Validations
Re: Changing the accounting information on an SC
Re: I cannot access "Supplier Catalogue no" in BBP_DOC_CHANGE_BADI
Re: BBP_DOC_CHANGE_BADI
Re: Derive GL code based on UNSPSC from catalog
Re: GL Account details at the header are not flowing to the item level in SC
Re: SRM standard search help
Re: Search help for Custom Item level field
Re: Importing parameters empty in BBP_DOC_CHANGE_BADI ?
Re: Account details not coming while creating a Shopping Cart with Limit Item
Regards
- Atul -
Custom component Search and Result view using value node :pls help
Hi Experts,
I am creating a Custom component with Search and Result view using value nodes.
This is the code I wrote in the Search button event handler method.
The data which gets in lv_search I need to put in lv_col .
Can somebody guide me for this.
Points will be awarded .
METHOD eh_onsearch.
DATA : lv_current TYPE REF TO if_bol_bo_property_access,
lv_search TYPE zcrm_orgstruct_search, "Search value node structure
lv_result TYPE zcrm_orgstruct_result, "Result value node structure
lv_col TYPE REF TO if_bol_bo_col.
lv_current ?= me->typed_context->search->collection_wrapper->get_current( ).
CALL METHOD lv_current->get_properties
IMPORTING
es_attributes = lv_search.
me->typed_context->searchresult->collection_wrapper->set_collection( lv_col ).
op_toresultview( ).
ENDMETHOD.
Regards,
LakshmiHi Lakshmi,
Could you please share with us how it was solved.
"CALL METHOD lv_current->get_properties
IMPORTING
es_attributes = lv_search."
Did you get any values in lv_search ?
Because while using value nodes for search view (which inherits from advance search controller class), the above method does not return any search values entered in the fields.
Please let me know how did you solve it.
Thanks & Regards
Vidhya -
How to search a property value in a TDMS and return the group name.
Hi.
Please help
I want to search a TDMS file by property value and then return the group names or channels.
I am using labview 8.2 with the connectivity toolkits.The error # is -2558
I try to close the TDMS file before it reach the search part but still give me the error code -2558
Attachments:
search and read property value per group.jpg 77 KB -
How to create generic search help in wd abap
Hi experts,
How to create generic search help in wd abap.
Regards...
Arun.Hi Arun,
Following links have step by step procedures for creating search helps and other related topics.
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm">ABAP Dictionary Search Help for WD</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c51c42735b5133e10000000a155106/content.htm">Input Help in WD ABAP</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm">Search Helps</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm">Creating Elementary Search Help</a>
Regards,
Neha
<i><b>PS:Reward if helpful</b></i> -
Search Help values to Internal table
Dear Friends,
Is it possible to export Search Help values to Internal table?
On screen, when user click on Search button, the SAP standard search help will call (Customer Search). After entering values, some result get displayed and this result need to export to the internal table.
Thanks in stack
NileshHi:
try this:
DATA : wa_shlp TYPE shlp_descr,
it_records LIKE ddshretval OCCURS 0 WITH HEADER LINE.
wa_shlp-SHLPNAME = 'MAT0M'. "one of elementary search help name from mara-matnr.
wa_shlp-SHLPTYPE = 'SH'.
CALL FUNCTION 'F4IF_SELECT_VALUES'
EXPORTING
shlp = wa_shlp
MAXROWS = 0
SORT = ' '
CALL_SHLP_EXIT = ' '
IMPORTING
MAXROWS_EXCEEDED =
TABLES
RECORD_TAB =
RECDESCR_TAB =
return_tab = it_records
LOOP AT it_records.
WRITE:/ it_records.
ENDLOOP.
Follows is how to get the search help name:
CALL FUNCTION 'DD_SHLP_GET_HELPMETHOD'
EXPORTING
tabname = 'MARA'
fieldname = 'MATNR'
langu = sy-langu
NO_CHKTAB_MAPPING =
GET_ENTITYTAB = ' '
CHANGING
shlp = wa_shlp
callcontrol = callcontrol
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
OTHERS = 3
CALL FUNCTION 'F4IF_EXPAND_SEARCHHELP'
EXPORTING
shlp_top = wa_shlp
IMPORTING
shlp_tab = shlps.
好运,
启明星 -
How to restrict f4 help values in select options of Employee Search
Hi,
I am using HRASR_EMPLOYEE_SEARCH for employee search and created a new query ,infoset , usergroup which is responsible to fetch the selection criteria and result.I have one field in the search criteria as Cost Center which is connected to P0001-KOSTL.f4 help for that field fetches all the values(Local cost center,starts with M and Global Cost Center,starts with G)
I want to filter out the f4 values in WDA so that it can fetch values only starts with G
Thanks
Bala DuvvuriHi Bala,
Do you mean to say that when the user gets the OVS popup he should be able to use wildcard characters like G* in there? If thats your requirement then thats quite possible. You can do this within the phase 2 of the OVS. You first read the values that were entered by the user in the restriction screen by saying something like:
assign ovs_callback_object->query_parameters->* to <ls_query_params>.
You then fetch the desired attribute into a local variable like:
lv_matnr = <ls_query_params>-matnr.
Then you can say like:
REPLACE ALL OCCURRENCES OF '*' IN lv_matnr WITH '%' .
SELECT <your fields> FROM <table> INTO TABLE lt_select_list WHERE MATNR LIKE lv_matnr.
Hope that this is clear for you now. You can also try go through this [full example|http://****************/Tutorials/WebDynproABAP/OVS/page1.htm] where they have explained the same concept using step-by-step screenshots.
Regards,
Uday -
Generic searches in Solman 7.1 Charm and Incident Management
Hi,
I would like to configure some GENERIC searches in the web UI for ChaRM
and incident Managment.
Something like:
Show all my Incidents
or
Show all my Change Reqeust
or
Show all tickets where I am a Change Manager.
Like it is possible in crm_dno_monitor or in the Workcenter.
Afterwards I´d like to share that with the global Sharing tool.
Does anyone know if that is possible?
thanks and Best RegardsHi thanks for your answers,
If I define a query in the workcenter, how do I get it usable in CRM WEB UI.
In CRM WEB UI I can define a search which shows every Change for a specific BP, but that does´t help me if I want to share this query. I need something which shows for every users his/her Changes.
I do not understand what you mean with 'How do I connect to CRM UI'. Via Internet Explorer.
Thanks and Best Regards
Alex -
Search Help Value Not reflecting in WebUI
Hello All, We have a requirement to create a standard F4 value help for PRODUCT_ID field and the selected value should be reflected in the WebUI field. This field is in a table view context node and the component is a stand alone WebUI component. Everything works fine till the Search help is called and the values is selected. But the selected value is not reflected in the Product_ID field. We have checked many forums and links and tried almost all the alternatives suggested. Here's is the code attached for reference.
DATA:l_wa_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
l_i_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
l_i_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
DATA: lv_str_index TYPE string.
* l_wa_map-context_attr = 'product_id'.
* l_wa_map-f4_attr = 'PRODUCT_ID'.
* APPEND l_wa_map TO:l_i_inmap,l_i_outmap.
lv_str_index = iv_index.
CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
l_wa_map-f4_attr = 'KEY'. "'PRODUCT_ID'. "'
APPEND l_wa_map TO: l_i_outmap.
lv_str_index = iv_index.
CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
l_wa_map-f4_attr = 'VALUE'. "'PRODUCT_ID'. "
APPEND l_wa_map TO: l_i_outmap.
CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'COM_PR_SHTEXT' "#EC NOTEXT
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name "if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
iv_input_mapping = l_i_inmap
iv_output_mapping = l_i_outmap
iv_object_ref = me
iv_trigger_submit = abap_true.
Is there any further code or event call required to reflect the value in the WebUI? or what exactly is required to be done here?
Thanks in Advance.
PrasadHi Kamlesh,
Check that you have checked for import and export in your search help for parameter ATBEZ
Refer my reply in here [F4 Help|HELP NEEDED....F4 VALUE HELP IN WEB UI;
Regards
Jignesh -
Hi
My name is Majid Javnmard , I am using Microsoft Office Excel 2010 and I encountered a problem. I sent you a simple example of my excel file that i want to write a command in vba to search and find special cell and copy the row which special cell is in there
somewhere , but the problem is how can i find my special cell with multiple criteria or how can i find my all special cells and copy them somewhere !!?
Let me explain on file that i sent :
This file has 4 headers (X,Y,PerturbNumber,Value), the problem is for example : I want write commnd in vba to copy all rows that each of them has (X=12 and Y=13). how can i ? can you help me ?
My
file : http://s000.tinyupload.com/index.php?file_id=69742844961096241754
Many Thanks
MajidThis worked for me, based on your example:
Sub pMain()
Dim wsSource As Excel.Worksheet
Dim wsDest As Excel.Worksheet
Dim lSource As Long
Dim lDest As Long
Dim lLast As Long
With ThisWorkbook
'Change to suit
Set wsSource = .Worksheets("Sheet1")
Set wsDest = .Worksheets.Add
End With
wsSource.Rows(1).Copy
wsDest.Range("A1").PasteSpecial xlPasteValues
lDest = 2
lLast = wsSource.Cells(wsSource.Rows.Count, "A").End(xlUp).Row
For lSource = 1 To lLast
'Put the conditions below:
If wsSource.Cells(lSource, "A") <> 12 Then GoTo linNext
If wsSource.Cells(lSource, "B") <> 30 Then GoTo linNext
'If wsSource.Cells(lSource, "C") <> "value" Then GoTo linNext
'If wsSource.Cells(lSource, "D") <> "value" Then GoTo linNext
'Conditions were met:
wsSource.Rows(lSource).Copy
wsDest.Rows(lDest).PasteSpecial xlPasteValues
lDest = lDest + 1
linNext:
Next lSource
End Sub
Felipe Costa Gualberto - http://www.ambienteoffice.com.br -
on newform.aspx just above the top of cancel button I want to put 1 hyperlink "Help"
but I want to do this by script/jquery by reading my configuration list where 1 column is TITLE and other is- URL
Configuration List has 2 columns Title and URLValue
Title UrlValue
HelpNewPage
http://url1
HelpEditPage http://url2
so script should read Title and display "Help"--->1st part on NewForm.aspx/EditForm
Script should read UrlValue column and on click of help-(display link) the respective url should be open in new window.-->second part
Please let me know reference code for adding anchor tag dynamically by reading from list
Help/Reference
http://www.sharepointhillbilly.com/Lists/Posts/Post.aspx?ID=5
I can see hyperlink near cancel button-
//This block is just placing help link near cancel button-
$(document).ready(function() {
GetHelpLinkFromConfigList();
var HelpLinkhtml ='<a href="#" text="Help">Help</a>';
var position =$("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkhtml);
var HelpLinkhtml ='<a href="#" text="Help" onclick="GetHelpLinkFromConfigList();">Help</a>';
var position =$("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkhtml);
var HelpLinkimageButton ='<IMG SRC="../../Style Library/Help.bmp" style="width:35px;"/>';
var position1 =$("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkimageButton );
//Rest script
function GetHelpLinkFromConfigList()
//The Web Service method we are calling, to read list items we use 'GetListItems'
var method = "GetListItems";
//The display name of the list we are reading data from
var list = "configurationList";
//We need to identify the fields we want to return. In this instance, we want the Title,Value fields
//from the Configuration List. You can see here that we are using the internal field names.
var fieldsToRead = "<ViewFields>"+"<FieldRef Name='Title' />"+"<FieldRef Name='Value' />"+"</ViewFields>";
//comment
var query = "<Query>" +
"<Where>" +
"<Neq>" +
"<FieldRef Name='Title'/><Value Type='Text'>Help</Value>"
+
"</Neq>" +
"</Where>" +
"<OrderBy>" +
"<FieldRef Name='Title'/>" +
"</OrderBy>" +
"</Query>";
$().SPServices(
operation: method,
async: false,
listName: list,
CAMLViewFields: fieldsToRead,
CAMLQuery: query,
completefunc: function (xData, Status) {
$(xData.responseXML).SPFilterNode("z:row").each(function() {
var displayname = ($(this).attr("ows_Title"));
var UrlValue = ($(this).attr("ows_Value")).split(",")[0];
AddRowToSharepointTable(displayname,UrlValue)
function AddRowToSharepointTable(displayname,UrlValue)
$("#NDRTable").append("<tr align='Middle'>" +
"<td><a href='" +UrlValue+ "'>+displayname+</a></td>"
+
"</tr>");
<table id="NDRTable"></table>
sudhanshu sharma Do good and cast it into river :)Hi,
From your description, you want to add a help link(read data from other list) into new form page.
The following code for your reference:
<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
ExecuteOrDelayUntilScriptLoaded(AddHelpLink, "sp.js");
function AddHelpLink() {
var context = new SP.ClientContext.get_current();
var list= context.get_web().get_lists().getByTitle("configurationList");
var camlQuery= new SP.CamlQuery();
camlQuery.set_viewXml("<View><Query><Where><Eq><FieldRef Name='Title'/><Value Type='Text'>Help</Value></Eq></Where></Query></View>");
this.listItems = list.getItems(camlQuery);
context.load(this.listItems,'Include(Title,URL)');
context.executeQueryAsync(function(){
var ListEnumerator = listItems.getEnumerator();
while(ListEnumerator.moveNext())
var currentItem = ListEnumerator.get_current();
var title=currentItem.get_item("Title");
var url=currentItem.get_item("URL").get_url();
var HelpLinkhtml ='<a href="'+url+'">'+title+'</a>';
$("input[value='Cancel']").parent("td").addClass('ms-separator').append(HelpLinkhtml);
},function(sender,args){
alert(args.get_message());
</script>
Result:
Best Regards
Dennis Guo
TechNet Community Support -
I will type in google let say tree the search will click on to one of the searches and instead of tree web page showing up a ad page will come up this happens with very thing can you help.
You (or your kids) inadvertently installed adware. You do not need to download or install anything to fix it.
Any tips on how to stop it from happening?
Yes. To learn how to avoid it in the future read How to install adware.
If you require them, Apple's removal instructions are linked in the Recovery Procedure near the end of that document. Read and follow them carefully. Pay particular attention to the easily overlooked passages directing you to restart your Mac when required.
Maybe you are looking for
-
Safari crashes on launch. Help!
Please help! My Safari crashes on each launch. I can't re-install it, as I'm on OS X 10.7 and there's now install file for Safari by itself. I recently even re-installed the whole OS X Lion, which didn't help either. Here's the error log: Process:
-
How to edit the binding wsdl link in SR
Hello, I have created a WS which uses my server name : and port, further service name and ?wsdl. well actually my server full name is ???.??.de and I am using my server from laptop. If I use SR from other computer and try to see the wsdl file there b
-
Hi, It has been several years since I worked with LabVIEW and now I need to utilize it for a project. The main idea is as follows: There is a power supply whose output will need to be turned ON and OFF at a specific rate (45 minutes ON followed by 15
-
WPF Data Grid Column Visibility Toggle Issue
I have a WPF control that is used in multiple dialog forms. In one of these, I want to include a checkbox column along with two buttons that fire a method to either include all (check all the boxes) or exclude all (uncheck all the boxes.) I setup a B
-
How to upgrade my aperture trial?
I've installed a trial copy of aperture and want to upgrade but the app store won't let me buy the application as it's already installed. I don't want to uninstall and lose the pics that I've uploaded and modofied on the trial version. What do I do?