Ticket Selection From Inventory Field Values?

Is there anyway to insert a selection field into a custom ticket form with the value options being all the different software names that have been inventoried?
Essentially, if a user is having an issue with a particular software application, we'd like to automatically route that to the designated expert. Only way I can do that is a custom field with static values. Sort of defeats the purpose of maximizing the benefit of obtaining an automated software inventory list.
This topic first appeared in the Spiceworks Community

REPORT zajtest4 .
TYPE-POOLS vrm.
DATA:t_values TYPE vrm_values,
     wa_values LIKE LINE OF t_values,
     wf_field_name    type vrm_id.
PARAMETERS: v_type TYPE c as listbox visible length 10.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR v_type.
  IF t_values[] IS INITIAL.
    wa_values-key = 'A'.
    wa_values-text = 'Text for A'.
    APPEND wa_values TO t_values.
    wa_values-key = 'B'.
    wa_values-text = 'Text for B'.
    APPEND wa_values TO t_values.
    wa_values-key = 'C'.
    wa_values-text = 'Text for C'.
    APPEND wa_values TO t_values.
  ENDIF.
  wf_field_name = 'V_TYPE'.
  CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            id              = wf_field_name
            values          = t_values
       EXCEPTIONS
            id_illegal_name = 1
            OTHERS          = 2.
  IF sy-subrc <> 0.
  ENDIF.

Similar Messages

  • How do i populate one field based upon a drop down select from another field?

    Here is what I am trying to do:
    Field 1 is a drop down selection list that requires a user to make a mandatory selection which in this case is a list of apartment complexes. What I am trying to accomplish is once that user makes a selection from the drop down list (Field1) that it will populate Field 2 (standard txt) with the corresponding apartment complexes address.
    So I pick Talan Apartments from field 1, it would populate field 2 with Talan Apartments address. I tried messing around with calculation scripts but I'm fighting a loosing battle here. Some help would be greatly appreciated!

    Hi,
    Here is a sample: https://acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A where the script in the exit event of the dropdown sets the value of the address object.
    Good luck,
    Niall

  • How to select from list of values?

    Dear All,
    I am using XML publisher for word, where I need to select a value from a list of values, for example I have hotel code like TTAG,TOBBR,TTAG,TOTM now I need
    to select hotel code and the corrosponding data should be display on word after
    running the RTF. Tell me, how can I achive the same?
    hare krishna
    Alok

    Thanks prety much,I am using XML to upload data from there into RTF templete. I've already insert table through load data option, but my problem is, how could I select a value from a list of values and based on that value selected from the list, it should displaydata corrosping to it. For example, I have few codes like TTAG, AMAG, TOTOM and if I select TOTM, it should display the complete address of that hotel named TOTM. If above given scenario is not at all possible, then Is there any alternate method to achieve this?
    hare krishna
    Alok

  • As Bex Query design why I canu2019t select from list in values range

    Hello experts,
         I want to pop input window when I use analyzer run bw report, I know to add filter through restrict, then I selected value ranges, it was appearing between input text, the button canu2019t let me input, I tried select from list, Bex Query design occured some errors, if click u2018exitu2019 will prompt unknown software exception(0xc00200001) then stop .
    the imange: [http://www.itpub.net/thread-1192217-1-1.html]
    How to input text or select list? Why My Bex query design canu2019t do select from list? 
    please let me know the soultions, thanks for you help in advance
    Regards,
    Steve

    first of all, thanks for your help.   if need to install batch, please let me know. many thanks .
    more infomation as belows:
    the windows prompt:
    Your application an unhandled exception occurs. If you click [continue], the application will ignore the error and try to continue. If you click the [end], it will immediately close the application.
    I clicked more detail button , displayed as belows:
    For more information call using Just-In-Time (JIT) debugging details
    Please refer to the end of this message (instead of this dialog box) information.
    Exception Text **************
    System.NullReferenceException: Object reference not set to be the implementation of individual objects
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.HandleUnhandledException(Exception iException)
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
    in System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
    in System.Windows.Forms.Control.WndProcException(Exception e)
    in System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    in System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
    in System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Control.set_Visible(Boolean value)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
    in System.Windows.Forms.Form.ShowDialog()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.GetUserSelection()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.ShowSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.InvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.OnInvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.picValueHelp_Click(Object sender, EventArgs e)
    in System.Windows.Forms.Control.OnClick(EventArgs e)
    in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    in System.Windows.Forms.Control.WndProc(Message& m)
    in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    inSystem.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  • Unable to default DFF segment based on selection of other field value.

    Hi Gurus,
    *I have a requirement on 'Create Work Request' page (Oracle EAM), where during creating complaint, when user selects Asset Number, based on this selection, a DFF enabled to capture Tenant Info must be populated. [For testing now, I'm writing my code in PR and not in PFR to populate some thing while page loads.]*
    I have extended my CO and tried many ways (from simple to little complex) but to no success.
    Simpler way:
    *=======*
    OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
    OAViewObject vo = (OAViewObject)am.findViewObject("RequestDetailsVO");
    Row row = vo.first();
    row.setAttribute("Attribute1","Attribute1"); //Attribute1 is the View attribute in above VO. But this doesn't work.
    row.setAttribute("DepartmentCode","CRC MAINT"); //DepartmentCode is a view attribute as well. And this works.
    This code doesn't work.
    Understanding that, DFF segments can't be set as simple bean, I have done below:
    *===================================================*
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("WorkRequestDesc");//("WorkRequestDFF_p13n");
    oadescriptiveflexbean.processFlex(oapagecontext);
    if (oadescriptiveflexbean != null){
    ContextMap contextmap = oadescriptiveflexbean.getNamedChildMap();
    if(contextmap != null){
    Enumeration enumeration = contextmap.keys(oapagecontext.getRenderingContext());
    if(enumeration != null){
    do
    if(!enumeration.hasMoreElements())
    break;
    Object obj = enumeration.nextElement();
    OAWebBean oawebbean1 = (OAWebBean)contextmap.get(oapagecontext.getRenderingContext(), obj);
    oapagecontext.getParameter("WorkRequestDesc1")
    //String str = (String)oapagecontext.getNamedDataObject("WorkRequestDesc1")
    if(oawebbean1 != null)
    if(oawebbean1 instanceof OAMessageTextInputBean)
    OAMessageTextInputBean oamessagetextinputbean = (OAMessageTextInputBean)oawebbean1;//.findIndexedChildRecursive("WorkRequestDesc1__xc_");
    //oamessagetextinputbean.setReadOnly(true);
    oamessagetextinputbean.setText("Jawad");
    } while(true);
    Now the issue with above code is, during the page load, all the segments are populated with value 'Jawad'. I want to populate only the first segment.
    More info:
    *======*
    VO: RequestDetailsVO
    DFF Regions ID: WorkRequestDesc
    Attribute1 (DFF segment1) ID: WorkRequestDesc1
    Appreciate your responses,
    Jawad

    Dear Guys,
    I found out a workaround for this case (If this helps others): :)
    *1. Create a Message Text Input type field (representing each DFF segment) and map them to View Attribute (over which DFF was created) and VO instance.*
    *2. In the extended CO, in PFR, get the handle of these created fields.*
    *3. Set the values as required.*
    Since these fields are mapped onto the same view attributes as DFF was, the data goes in fine.
    But I still am hunting for the possibility of setting a single segment.
    Thanks and Regards,
    Jawad
    Edited by: Jawad on Apr 19, 2012 3:36 AM
    Edited by: Jawad on Apr 19, 2012 3:38 AM

  • Problem with selecting from timestamp field for a particular date

    We're running 10g and we have a timestamp field whose values look like this:
    SQL> select timeinserted from files where rownum < 3;
    TIMEINSERTED
    16-APR-05 01.08.35.97634 PM
    16-APR-05 01.16.10.00419 PM
    SQL>
    I'm trying to run this query, but it returns no rows even though I know there should be some:
    select timeinserted from files where timeinserted = '27-MAY-05';
    I know I just need to somehow tell it to convert the timestamp to date or something like that. How should I rewrite this query? Thanks...

    select timeinserted from files where timeinserted = '27-MAY-05';
    this is poor coding, you compare a date with a varchar2. Not to mention using 2 digits years...
    try something like
    select timeinserted from files where timeinserted >= to_timestamp('27-MAY-2005', 'DD-MON-YYYY') and timeinserted<to_timestamp('28-MAY-2005', 'DD-MON-YYYY');

  • How to update session state from form field values without submitting page?

    Hi,
    I am new to Oracle APEX. I am using Oracle Apex 4.2 on Oracle 11g release 2. The problem is that when I am entering data on a form, when I enter a value in one field and move to the next field, how can I use the value of first field in the validation procedure of next field? I know that when we enter data in fields, the session state is not updated with these values until we submit the page... right... but I have seen that if there is a control of List box type, then Apex gives an option "Action When List changes" where we can choose option to update corresponding session state field with the value of list box item, without submitting the page.
    Now my questions is why this option is only available for List box items? why not for other item types like Text box, Check box,... ? can someone please help me with this?
    (the issue with update of session state depending on page submitting, is that we need a complete network round trip from client to server in order for it. However if we can update session state variables without submitting page, then we can avoid this network traffic).
    Any help will be greatly appreciated. Thanks in advance.

    Create a dynamic action on change and run a PL/SQL process there with the following code:
    BEGIN
       NULL;
    END;Page items to submit > your item.
    This will set the session state without submitting the form.
    Further examples here:
    http://apex.oracle.com/pls/apex/f?p=31517:229
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Can file name get from partial field value ?

    Hi, Friend:
    I have file receiver with FCC, I used variable substitution (I have to use this rather than dynamic configuration, since there are multiple files created by multi-mapping), so the file name is pass via payload to adapter.
    In advanced tab, we can assigned to a variable like: payload:MT_XXXX,1,Filename,1
    Now I do not want full value of Filename, I just need part of the value of it.
    I will not consider an option of create another field to store part of the value, since after FCC, a blank line is created which is not acceptable by our integration partner.
    Is there any way to get it ?
    Thanks
    Liang

    Kevin:
    If you can see from what Madhusudana Reddy suggested:
    I created a node, saying "Tail" in end of structure, add one child node to it saying "Filename"
    Now in my mapping program, I can pass real file name I wanted to child node "Filename"
    In Variable substitution, I get the whole value of the node "Filename" when we naming the created file.
    In FCC, I used Madhusudana suggested, it would not created blank line when using  Tail.endSeparator '0'
    Hope this give you some hints
    @Carlos:
    Java Mapping is different approach which we do not want to go at this stage.
    Regars
    Liang

  • Populate field based on selection from another field?

    I'm using a Data Connection with a SQL query that returns two fields (StNameFull and ADDRKEY). I have a drop-down list called "Address" with the list items dynamically bound to StNameFull, so the user can select the address.
    What I'm trying to do is populate the second field "Key" with the corresponding record, based on the selection made from the drop-down list.
    Is it possible to script this so that when the Address is selected the Key will automatically fill in with the key that matches the address selcted?
    I currently have "Key" as a text field bound to ADDRKEY, but not sure how to have it check what was selected in "Address"
    Thanks so much,
    - Kevin

    Yes it is possible but you will have to write some script to do it. You wil also have to ge the DataConenction to execute a SQL statement. There is a good blog on this topic at this location:
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    Paul

  • Select all where field value is not distinct

    Hi.
    Let's assume I have a table SAMPLE with data like this:
    ID | Number |      date | Data1 | Data2
    1 | 0001 | 2001.01.01 | Data1-1 | Data 2-1
    2 | 0001 | 2011.01.01 | Data1-2 | Data 2-2
    3 | 0002 | 2010.01.01 | Data1-3 | Data 2-3
    4 | 0003 | 2008.01.01 | Data1-4 | Data 2-4
    5 | 0003 | 2009.01.01 | Data1-5 | Data 2-5
    6 | 0004 | 2000.01.01 | Data1-6 | Data 2-6
    7 | 0003 | 1999.01.01 | Data1-7 | Data 2-7          
    What I need is to get all the data from the rows that have NOT distinct Numbers. That is:
    ID | Number |      date | Data1 | Data2
    1 | 0001 | 2001.01.01 | Data1-1 | Data 2-1
    2 | 0001 | 2011.01.01 | Data1-2 | Data 2-2
    4 | 0003 | 2008.01.01 | Data1-4 | Data 2-4
    5 | 0003 | 2009.01.01 | Data1-5 | Data 2-5
    7 | 0003 | 1999.01.01 | Data1-7 | Data 2-7     
    Note that numbers may not only have duplicates, but triplicates, quadruplicates and n-plicates as well. All the other data in the row may or may not be distinct from the data in other rows with the same Number.
    I used
    select number, count(number) from SAMPLE
    group by number
    having count (number)>1
    but that only gives me the non distinct numbers and their total count, each number just once. Any ideas how to get the whole record?

    Hi,
    user9234293 wrote:
    It seems to work on Oracle, but not on Informix. By any chance any ideas why?Sorry, I don't know anything about Informix. Since this question only concerns Informix, maybe an Oracle forum isn't the best place for it.
    What exactly doesn't work?
    Are you getting an error message? Post the error message.
    Are you getting the worng results? Explain.
    Does Informix lack analytic functions? Then you could do a GROUP BY query, like you originally tried, to get the values that occur more than once, then join the original table to that result set.
    Does Informikx not allow sub-queries? The do a self-join of your table, matfching every row to all rows with the same value of number_col. GROUP BY all the columns from one copy of the table, and show use "HAVING COUNT (*) > 1".

  • Select from one field

    I have the following values in a field named (sn_font). (MS
    SQL 2000)
    Opaque=1;Font=Times New
    Roman;FontSize=10;FontBold=0;FontItalic=0;FontUnderline=0;TextColor=0,0,0;BackColor=255,2 55,204;Printable=1
    I need to make a select statement that will give a result
    such as "0".
    If I need to select only the value for "FontItalic".
    How can I do this ? How can I only select the value after the
    sign '=' for
    one of the items above if it is all stored in one line in the
    same field ?
    A

    Hi,
    Here is a sample: https://acrobat.com/#d=Hi0ZwVgVB1PWbxc6OJ0z4A where the script in the exit event of the dropdown sets the value of the address object.
    Good luck,
    Niall

  • How to strip text formatting from text field value ??

    Hi everyone,
    Have tried to get some info on this but no luck.... I've
    created a simple contact form in Flash, but the URL which it's
    generating contains the text formatting from the text input fields.
    As a result the script that processes the mail send doesn't work.
    How do I strip the text formatting out of text1, text2 and text3
    before I use getURL() ??
    on (release) {
    url_var =
    "your_name="+text1+"&your_e-mail="+text2+"&message="+text3;
    getURL("contact.php?"+url_var, "_blank", "GET");
    text1 = "";
    text2 = "";
    text3 = "";
    }

    text1.text = "";
    text2.text = "";
    text3.text = "";
    …that should strip the textfields. You probably also
    want to add this property (text) in the getURL()

  • File name from text field value

    Is it possible to save a file with the value of a Text field?
    Thank you

    Well JSP is server side code and TextBoxes are html which is client side script. To get the value of an html Textbox you either can use Javascript and do it all client side or you can post your form to a JSP or servlet and use request.getParameter("field_name"); to get the value of the form field.
    make sense?
    -S-

  • Automatically fill in an a text field after a selection from dropdown field in a acrobat form.

    I have two fields. One dropdown menu field for employee name and one field for occupation (an text field). I would like to let a employee select his name and automatically fill in the text field with his occupation. So for example:
    John---> Automatically fill in "Engineer" etc..
    Thank you in advance!

    See Programming List and Combo fields in Acrobat and LiveCycle forms by Thom Parker.
    This is not simple programing, but it follows standard JavaScript programing standards.

  • Display value in custom field selection of standard field

    Hi,
    I want to display the country value based on the Account selection, that is the country associated with the selected Account.
    I created Contact extension BO and added country field with data type CountryCode. Account is a standard field.
    I am able to fetch country value but assigning the value to Country field can be done in only BeforeSave.absl
    I have also provided validation for this country field.
    Issue here is:
    First Validation-OnSave.absl gets called and then BeforeSave.absl.
    I want the country value to be displayed once the user selects Account.
    Regards,
    Vijaya Chavan

    Hi Vinod,
    I got the issue.
    AfterModify.absl gets called when the Contact Quick Create screen gets loaded and not after selecting the Account field value.
    So I tried geting the value directly from the following path without firing a query in BeforeSave.absl.
    this.CurrentDefaultIsContactPersonFor.BusinessPartnerRelationship.FirstBusinessPartner.AddressInformation.GetFirst().AddressSnapshot.PostalAddress.GetFirst().CountryCode;
    But BeforeSave.absl gets called when I click on "Save". I wanted the value to be displayed soon after the Account Value is selected.
    Regards,
    Vijaya Chavan

Maybe you are looking for