Passing values to query according to text and not key

Hi,
I have a query that accept the get from input filed customers values. the values should be the customers key.
I would like to pass text values to the query and want to get all customers that the texts exists in text description of the customers.
Can I do such thing?
Thanks
Ami

Ami Halm,
You will need to create your own web service to acomplish this, the following artice illustrates a similar example.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7000a4db-d4e2-2a10-ebaf-c6e1de637dbe
Regards,
Ahmed Salah

Similar Messages

  • Using the text and not the value of a filed

    Hi there,
    I'm programming a pdf form using life cycle, I'm using the following script in a "SEND TO" button in order to email an XML file with the data extracted from the form:
    var emailAddress = F.P1.Line.rawValue;
    var veicle = F.P1.Vehicle.rawValue;
    var shipper = F.P1.Shipper.rawValue;
    var date = F.P1.Date.rawValue;
    event.target.submitForm({cURL:"mailto:"+emailAddress+"?subject=Booking request from "+shipper+" date:"+date+" &body=Dear Sirs,Please find attached the completed PDF booking form for the following "+veicle+".",cSubmitAs:"XML",cCharset:"utf-8"});
    The problem is that I would like to use in a variable the text and not the value of the F.P1.Line.raw field.
    Thanks in advance

    Hi,
    This is not the appropriate forum to post this type of question. Please post all designer related queries in LiveCYcle Designer Forum to receive better response.
    From you query I understand you have a dropdown box with name as "Line". And you want to the "text" part of the selected item and not the "value" part. If it is so then do the following -
    1. Write the below code in onCHange event of your dropdown box.
    var ddValue = this.boundItem(xfa.event.newText);
    var nodeList = this.resolveNode("#items").nodes;
    var ddText = null;
    for (var i = 0; i < nodeList.length; i++)
    if (this.boundItem(nodeList.item(i).value) == ddValue)
    ddText = nodeList.item(i).value;
    break;
    global.selectedtxt = ddText;
    In the above code I am basically getting the "text" part of the item selected and then I am storing it in a global variable.
    2.
    Write the below code on click event of your button -
    var emailAddress = global.selectedtxt;
    Hope this helps.
    Thanks,
    Shivajiv.

  • I am able to search only by text and not by Key in filter.

    We have a variable x which has bex properties in the infoobject level to
    1.display:   Key and Text
    2.text type: long text
    3.Query def filter value selection: Only values in infoprovider
    4.Query Exe filter value selection: Only posted values for navigation.
    in the Query designer to the object we have the same properties for 1 and 2 as above.
              On execueting the report in web,  In the variable screen for x <b>we can search for both Key and text</b>. (we have two radio buttons for Key and text),
               Whereas in the <b>result area for the filter</b> for x I am able to search <b>only by text and not by Key</b>. I want to search by both Key and text in filter screen. 
    Can u suggest suitable solution for this ASAP.

    I have been working on a similar problem and have found that it depends on what kind of InfoProvider you are using.
    If you are using an InfoCube, the setting that seems to control this is on the maintenance screen (Admin Workbench -> {InfoProvider to be edited} -> Change -> Extras -> Structur-Specific InfoObject Properties. If you want the key and text to display on the variables screen (which you already have), make sure the 'Display' is set to "Key and Text". If you want key and text to display on the filter screen, make sure the 'F4 Query' is set to "Values in Master Data Table". (You may also have to set the characteristic to display key and text in the query, but it sounds like you already have done this.)
    For an ODS, the settings are the same, but the path to get there is different. Go to Admin Workbench -> {ODS to be edited} -> Change -> {InfoObject to be edited} -> Right-click -> ODS-object Specific Properties. Same settings as above after this.
    For a MultiProvider, I found that the settings on the InfoObject itself seemed to control the display on the Web, so I ended up setting: Display = "Key and Text"; Query Def Filter Value Selection = "Values in Master Data Table"; and Query Exe Filter Value Selection = "Values in Master Data Table". That may be a bit of overkill, but I wanted to be sure to get both key and text in all situations.
    I also found that the settings for navigational attributes (e.g., 0PLANT__0REGION) for any kind of InfoProvider must be set at the InfoObject level (e.g., 0REGION), as above.
    Even with all of this, I still have a couple of InfoObjects left that I can't get to display both key and text for some unknown reason.
    Hope this helps...
    Bob

  • I need to reset my security questions, but can I  message  support  by text and not call or if you can tell me how to reset my questions here that will be great and I don't have a rescue email.

    I need to reset my security questions, but can I  message  support  by text and not call or if you can tell me how to reset my questions here that will be great and I don't have a rescue email.

    If you've forgotten the answers, you can't do that yourself. Click here, tell the iTunes Store staff that you can't call, and see what they say.
    (109704)

  • How to create a plugin to stamp texts and not an image into a pdf document

    How to create plugin to stamp texts and not an image.. i just want it to work like the stamper plugin found in sdk sample but here i need text to be stamped instead of an image.. Is it possible? kindly give me some ideas?how to go about it.. can this be done by modfying the stamper sample code?
    Thank you

    This is possible, but it is a serious project, not something to be cut around from sample code. You will need to study the "graphics" and "text" chapters of the PDF specification in some detail to understand the PDF graphics model, including colour spaces, graphics state, and transformation matrixes; if working with annotations understand them and the requirement for appearance stream. There are various ways to add content to a PDF, but the PDFEdit API is probably the most accessible.

  • How do I send a group text and not have everyone else get the responses

    How do I send a group text and not have everyone else get the responses?   Thx

    Whether or not everyone gets the response depends solely on the person responding. i.e. you send a group text and i am one of the reciepients. From here i have two options, reply to the group text (everyone gets my reply) or i could text just you on the side (by opeining a new window in messages with just you as the reciepient) and replying to just you. Theres nothing you can do, its up to the person replying whether or not they reply to the entire group or just you seperately.

  • Hi guys i can really use some help in my storage it says other takes up 8.4 gigabytes and i deleted all old texts and notes help please !

    THANK YOU

    "Other" is not old text and notes. Some "Other" is there for a purpose, but if it gets too big, it probably caused by corrupt data. Doing a restore of your phone is the normal route. Make sure (as I am sure you do regularly anyway)  you backup everything before doing the restore.

  • Using Form to pass value to query parameters in the selct part of query

    I created a form in Access 2007 to pass 2 values to an Access query.  I am doing this to create delimited output (very large) with the parameters included in the selected data. The select works and is something like this:
    SELECT "^"+!FORM!EXPORT2DAT!PREF_VALUE+"_"+Replace(UCase([column_1])," ","_")+"^|" AS OUTPUT_column1, "^"+!FORM!EXPORT2DAT!COMPANY_VALUE+[COLUMN_3]+"
    ([COMPANY_VALUE])"+"^|" AS OUTPUT_column2,....................
    The form has text boxes for the values I want to pass PREF_VALUE and COMPANY_VALUE to the query parameters, and an execute button to open the query when clicked.
    However when I enter the values and click the execute button, I still get the parameter boxes for the 2 parameters. 1 for this: !FORM!EXPORT2DAT!PREF_VALUE, and FORM!EXPORT2DAT!COMPANY_VALUE. I thought I was filling in with the form text box values.
    Can I use the form's text boxes to pass values to concatenated using(+) columns in the select part of the query as I'm doing above?
    Thanks in advance for your response.

    I have never seen a select statement like that! 
    For query criteria I would use this --
       [FORMS]![EXPORT2DAT]![PREF_VALUE]
                   and              [FORMS]![EXPORT2DAT]![COMPANY_VALUE]
    Build a little, test a little

  • Sorting options in javascript by text and not by value

    Hi All,
    I've an application in which on a jsp page has two html:select (listBox). Further 3 buttons are provided namely ADD,REMOVE and SAVE. On click of ADD the selected option from listBox 1 is transferred from listBox 1 to listBox 2. On Click of REMOVE the selected option from listBox 2 is transferred from listBox 2 to listBox 1.
    My problem starts from the next step. When an item is transferred from source to target listBox. The target listBox should be sorted alphabetically. Now in html:option values are IDs which are int and text is name which String. And the sort method is called upon array of options, which sorts according to value and requirement is that it should sort by text.
    Somebody please help me regarding this problem. Waiting for help.... Thanks in advance.

    I have been working on a similar problem and have found that it depends on what kind of InfoProvider you are using.
    If you are using an InfoCube, the setting that seems to control this is on the maintenance screen (Admin Workbench -> {InfoProvider to be edited} -> Change -> Extras -> Structur-Specific InfoObject Properties. If you want the key and text to display on the variables screen (which you already have), make sure the 'Display' is set to "Key and Text". If you want key and text to display on the filter screen, make sure the 'F4 Query' is set to "Values in Master Data Table". (You may also have to set the characteristic to display key and text in the query, but it sounds like you already have done this.)
    For an ODS, the settings are the same, but the path to get there is different. Go to Admin Workbench -> {ODS to be edited} -> Change -> {InfoObject to be edited} -> Right-click -> ODS-object Specific Properties. Same settings as above after this.
    For a MultiProvider, I found that the settings on the InfoObject itself seemed to control the display on the Web, so I ended up setting: Display = "Key and Text"; Query Def Filter Value Selection = "Values in Master Data Table"; and Query Exe Filter Value Selection = "Values in Master Data Table". That may be a bit of overkill, but I wanted to be sure to get both key and text in all situations.
    I also found that the settings for navigational attributes (e.g., 0PLANT__0REGION) for any kind of InfoProvider must be set at the InfoObject level (e.g., 0REGION), as above.
    Even with all of this, I still have a couple of InfoObjects left that I can't get to display both key and text for some unknown reason.
    Hope this helps...
    Bob

  • Passing values to Javascripts/ write to text file

    Hi,
    I m new to InDesign Programming. I m using InDesign CS3 on MAC OS...
    Is it possible to pass values to a javascript through plugin code?
    I have a dialog with textboxes in it, On clicking ok button a script is called which uses these text box values for processing. Is this possible or is this the only way: to write them into a text file and read the textfile in script....
    Someone Pls guide me...

    Are you looking for this:<br /><br />in C++ :<br />Utils<IScriptArgs>()->Set(yourkeyStr ,yourvalueStr );<br /><br />in JavaScript: <br />if(app.scriptArgs.isDefined(yourkeyStr)) {<br />     var yourvalueStr = app.scriptArgs.get(yourkeyStr)<br />}<br /><br />HTH,<br />Kamran

  • Pass Value From One Form to Another and Populate Join Table

    I have a table “std_controls” and a table “actual_controls”.  The standard controls table is updated with the expected business control or process.  The actual controls table is updated with the control or business process the company actually
    has in place.  These two tables may be updated at different times by different individuals.  Later I need to be able to map the actual controls to the standard controls.  I have done this before using a join query which then matched the primary
    keys and populates a new table with the joined keys.  What I would like to be able to do is this:  Have a form open, “form1” (which is where the standard controls are entered).  The user could then click a button which would open another form,
    “form2”, that listed all actual controls at that time from which they could choose.  The user could then select the actual control on “form2” they wanted to map to the current standard control on “form1”.  The user could select the actual control
    on “form2” by selecting a check box.  The effect of this mapping would populate my join table.
    I have seen other posts that describe doing something similar, but I need more help on how to actually set it up.  Thanks for your help.

    Hi jdmcleod,
    According to your description, I don’t understand clearly about your requirement.
    But I think you could access “form1”/”form2”’s control in either of “form1” or “form2”, so you could have a button in “form1” or “form2”, then in the click event get these forms control’s value (e.g. checkbox) and update the database.
    For example to access other form’s checkbox value:
    Dim f As Form
    Set f = Forms!OtherFrom
    MsgBox f.Controls("Check11").Value
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • B1out - B1isql - Pass value of query to insert statement.

    Experts,
    Perhaps it is because it is late and I am very tired, but I feel as though I am overlooking some obvious solution to the following scenario.
    I have created a scenario that is making a SQL Call to a database, and I need to pass the values from that query to a table in a B1 DB.
    I am using an outbound channel of B1, and the B1isql type.
    here is my issue,
    I know that I can pass the value of atom0 JDBC:JOBID to my Field tag.
    However, the insert statement uses the tag attribute value="" to pass the values to the DB.
    <Table id="invoicesource" keylist="jobid" task="A" del="">
         <Field id="JOBID" value="" wrapchar="False"><xsl:value-of select="jdbc:JOBID"/></Field>
    </Table>
    I'd like to be able to pass the <value-of select= />, into the value="" attribute instead.
    Any insight would be greatly appreciated.
    warmest regards,
    Lucas Fischer

    I used standard SQL out instead, since it was for custom DB object, and not SAP B1 table, issue resolved.
    Edited by: Lucas Fischer on Jun 28, 2011 12:01 PM

  • Approval Procedure - how to pass value to query

    I want to do an approval procedure for checking GRPO Qty which greater than PO OpenQty by Query.
    How to pass the GRPO DocEntry and LineNum to the query, and how can check the passing value is correct or not?

    I have tested one row only, but also not work.
    Here is the query I used.
    select case when (t1.openqty < $\[PDN1.Quantity.0]) then 'TRUE' ELSE 'FALSE' END as RESULT from pdn1 t0
    right outer join por1 t1 on t1.docentry = t0.baseentry and t1.linenum = t0.baseline
    where t1.docentry in ($\[PDN1.BASEENTRY.0])
    group by t1.docentry, t1.linenum, t1.quantity, t1.openqty
    having (sum(isnull(t0.quantity,0))  < t1.quantity)
    order by t1.docentry, t1.linenum, t1.quantity, t1.openqty
    If the pass value is correct, the result should be like this.
    TRUE
    Is the query wrong? Any suggestion?
    Thanks.

  • How can I align a text object by the visible text and NOT by its bounding box?

    Illustrator CS4.
    I am trying to align some text to the center of the artboard. The bounding box is bigger than the text, so when I try to align it to the artboard it doesn't actually center align the artwork as I need it to. The text is needing to be aligned with another text object, so I can't just center align the text and then align to the artboard (which would eliminate the bounding box problem, I think). To make matters worse, the text I want to align has a stroke.
    The only way I know to currently align the text properly is to convert it to outlines. This is what I've done, but I need something better. I want to be able to have my illustrator file that has all editable text and then be able to make a separate identical file with all text converted to outlined paths. The only thing holding me back right now is that I can't get the exact alignment while everything is still as text.

    The solution is to simple to believe and probably why you over looked it.
    You make two text frames to exactly the height and width of the text. You position the text in the relative location and then group the text frames  then center that group on the artboard.
    Like such:
    If you ever want to add text that should be no problem but you have to re center.

  • Item text and note not transfering to PO from SRM 5.0

    Hi,
    We are in SRM 5.0/ECC 6.0
    We have a requirement to transfer Item text and item note (Item Text/note to be printed on PO) to ECC PO. From SRM 5.0
    These Item note and Item text is available in PO->Iteam->Service->service text and line text.
    Please advice..
    thanks,
    shri

    For similar kind of problem in SRM 7.0 there is SAP note implementation : Note 1424590 - Text mapping from SRM SC to backend purchase requisition.
    can any one give solution for SRM 5.0

Maybe you are looking for

  • How do I find an iMovie project that is no longer showing up in iMovie?

    Our students have 32gb iPad Airs and are currently using iOS 7.1.1. We've had several students come in to the IT office over the last couple days saying that a project they had been working on in iMovie has disappeared. The alert notification that po

  • How to track changes made to a group owner for Distribution/Security Group in FIM 20101 R2?

    We have a requirement where we have to send a consolidated email to the new group owner which lists all the groups that are tagged to him/her. This requirement is needed so that the new group owner can be notified of the groups that he/she owns. Grou

  • Can't load files into Library

    I recently purchased an iPod and dl'd and installed iTunes. But when I tried to add my music folder into iTunes library, it runs an error message and auto closes. Here's what's happening: 1. It opens that Adding Files dialog box and starts processing

  • PR price not copying to PO regardless of maintained parameters

    i have maintained parameters in OMET (functional authorisation) and i have selected adopt PO price i have added EFB as a parameter in SU01 and yet my PR price is not getting adopted into PO. initially in the personal settings i also choose adopt PO p

  • Form on a Table with Report,SOS!!!!!!!!!

    I HAVE TWO TABLE'S AS TAB_SALES AS BRAND     SKIND     PRICE     SALES APPLE     PHONE     5000      SAMSUNG     PHONE     3000      SONY     PHONE     5600      PIONEER     PHONE     2300      SANYO     BATTERY     109      AND TAB_COUNTRY AS BRAND