Control the combo box select of COPY FROM in Delivery Order

Dear all
I have a requirement where in the user wants to restrict the "copy from" button on the delivery order. They want the delivery orders to be created only from Sales orders.
So that would mean that i do a bubbleevent = false when any other row is selected in the combo box dropdown. But I am not able to get the control to the combobox.
In the system information it says that the form is "-9876", but couldnt catch any event on it either.
Any suggestions to control the selection of the "COPY FROM" combobox is most welcome.
Thanks in advance
Rashmi

Hi Use This Ihave Checked This
If pVal.Before_Action Then
                If pVal.FormType = 140 And pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT And Not pVal.InnerEvent Then
                    If pVal.ItemUID = "10000330" Then
                        If pVal.PopUpIndicator = "2" Then
                            objAddOn.objApplication.SetStatusBarMessage("You Can Not Copy From Returns")
                            BubbleEvent = False
                            Exit Sub
                        ElseIf pVal.PopUpIndicator = "0" Then
                            objAddOn.objApplication.SetStatusBarMessage("You Can Not Copy From Sales Quotations")
                            BubbleEvent = False
                            Exit Sub
                        End If
                    End If
                End If
            End If
Mohamed Zubair

Similar Messages

  • Combo box selected index is not working.

    Hi guys, I have a problem with changing the combo box selected index.
    I load a list of phone types(such as "Home","Office",...) using Remote Object and assign it as a data provider for a combo box.What I need is to select a specific index in the combo but combo.selectedIndex statement doesn't work for the first time, I mean the combo changes its index only if I load the view again.
    I checked different examples, solutions but none of them worked for me!! Can anyone here help me to figure out the problem?
    Here is my Code:
    <mx:Canvas creationComplete="init()"
                 xmlns:mx="http://www.adobe.com/2006/mxml">
         <mx:ComboBox id="comboPhone0"
                    prompt="Type"
                    dataProvider="{phoneTypeList}"
                    />
    <mx:Script>
         <![CDATA[
    [Bindable]
    private var phoneTypeList:ArrayCollection;
    private function init():void
         loadPhoneType();
    private function loadPhoneType():void
         phoneTypeLoaderService.getPhoneType(); //phoneTypeLoaderService is a remote Object to load the phone types
    private function handlephoneTypeLoadResult(ev:ResultEvent):void
         phoneTypeList=ev.result as ArrayCollection;
            comboPhone.selectedIndex = getComboSelectedIndex("HOME");
    private function getComboSelectedIndex(phoneType:String):int
    var index : int= -1;
    var result : int= -1;
         for each (var pt:PhoneType in phoneTypeList)
              if (pt.type == phoneType)
                        result = index;
                        break;
              else{
                   index++;
              return result;
         ]]>
         </mx:Script>
    </mx:Canvas>

    hi
    I think in getComboSelectedIndex() method index should initialized to zero. If that does not work use after assigning the data from result event.
    phoneTypeList.refresh();
    Hope this helps
    Rush-me

  • Word 2010 ActiveX control makes combo box malfunction

    Good day. I'm teaching my students how to make electronic forms in Word 2007 / 2010.
    As there is no radio button option in the content / legacy controls, I've tried using the ActiveX option button for this purpose.
    However, as soon as I insert this control, the combo box malfunctions when I enable protection for filling in forms - it doesn't let the user enter their own value.
    Can anyone tell me if I'm doing something wrong or are ActiveX controls just simply not meant to be used in Word forms without macros?
    (Note: I know nothing about coding and the bare minimum about macros as that is not required in our curriculum)

    I have just put up a file for you at:-
    http://www.pierrefondes.com/
     - item 191.
    In the 2007 version I am able to reproduce what you say.
    However . . .
    Using the Form Master on page 3 of 8 sometimes I was able to get MSoft into the Combo Box Content Control field and save it as
    that.
    The only way I have been able to edit the Combo Box Content Control in the Form Master section is when you first open the document
    WORD defaults to that field and it's highlighted. Change the field at this point (to MSoft for example) then save the file and you'll see that the change takes.
    The password I have used is:-
    test
    I hope that the above is helpful.

  • How do you use the combo box to populate a text box

    I am a beginner when it comes to Java Script.  I have viewed many different discussions, look at a lot of "help" articles dealing with Acrobat 9 and Java Script, but only to be left confused and dazed.  I am hoping someone will be able to tell me how to write a script that will populate a text box that is on my form with the combo box selection's export value...
    Thanks

    If you want the text box to be read-only, just set it up with the following custom calculate script:
    // Set this field value to the value of the combo box
    event.value = getField("combo1").value;
    but replace "combo1" with the actual name of the combo box field.
    If you want something else, post again with more information.

  • Retriving data from database on selecting particular value in the combo box

    Hi,
    On selecting the particular value from the combo box, the corresponding value of the other segement fields should be retrived from databse and displayed in the text box

    Babel,
    If you don't have a query bdoc and the business query that joins both 2 tables already, then please crate one.
    After that, write this code on the change of the combobox.
    You would have to change the names below for the Query, properties, anchor, parameters, controls.
    ===================================
    Private Sub ctrlBankNameCombo_onValueChanged2(ByRef boundAttributeChanged As Boolean)
    On Error Resume Next
    Dim objBankQuery As BusinessQuery
    Dim ObjBankCol As BusinessCollection
    Dim strID As String
    If Not boundAttributeChanged Then Exit Sub
    strID = ""
    strID = myanchor.bo.getAttribute("BankNameComboProperty") ' Bank ID
    If strID <> "" Then
        Set objBankQuery = gServices.factory.newBusinessQuery("MyNewQuery")
        objBankQuery.Mandt = "000"
        objBankQuery.BANKID = strID
        Set ObjBankCol = objBankQuery.query 
           If Not ObjBankCol Is Nothing Then  
               ctrlBankAddress.Value = ObjBankCol.getAttribute(1, "BankAddress")
               ctrlBankPhone.Value = ObjBankCol.getAttribute(1, "BankPhone")
           End If
    End If
    ===================================
    Regards,
    Vadim.

  • I need a combo box with 4 values to choose from which will populate a text box on the form with text related to each combo box selection

    For example:
    Combo box choices:
    apple
    tomato
    squash
    Pumpkin
    The text box depending on the selection above would state the color:
    Green        (if Apple was chosen from the combo box
    Red           (if Tomato was chosen from the combo box
    Yellow       (if Squash was chosen from the combo box
    Orange      (if Pumpkin was chosen from the combo box
    I am very new at this and have spent hours looking for an answer.  Thank to anyone in advance who can help!

    Place each value as the export value of the options in the combo-box and then use this code as the text field's custom calculation script:
    event.value = this.getField("ComboBox Name").value;

  • Show text box from one combo box selection

    Total newb here and need help.  I tried searching for a javascript to copy/paste, but without any luck.  I am using Acrobat Pro 9.2.0.  If you could help me out with the javascript or with directions on how to make the following be accomplished, I would be greatly appreciative.
    I am creating a fillable PDF and currently have a combo box that is labeled "Internship Satisfied By" with the options of "TCoB PDP", "MRKTNG 4185", and "Other College".  I would like a hidden text box (where the end user can fill in to explain) to become visible only when the end user selects the "Other College" option, but stay hidden for the other selections.  The hidden text box is labeled "Internship Explained".
    Thanks in advance! Jarrod

    Use this code as the combo box's validation script:
    if (event.value == "Other College") {
    getField("Internship Explained").display = display.visible;
    } else {
    getField("Internship Explained").display = display.hidden;

  • How I can stop the combo box with list of values from fireing validations

    Hi I'm using Jdeveloper 11.1.2.3.0
    Using Hr Schema employees table
    I Display employees data in af:table
    and I make List Of values on Department_id filed to easy change the employee department
    and another one on Job_id filed
    and Imake them UI Hints as ( combo box with list of values ) in the employeesVO
    the problem is when I Select a value from department or jobs ( combo box with list of values )
    fires the entire filed validations for mandatory atributes
    Note : the af:table Property ( contedelivery) is set to (immediate )
    How I can stop the combo box with list of values from fireing validations

    check it out.,
    http://andrejusb.blogspot.in/2012/09/what-to-do-when-adf-editable-table.html

  • Access 2010 - How to display data from a table into a text box upon combo box selection?

    Hi
    I have a a table with 5 columns: month, year, USD, SGD, BAHT.
    I created a form with a combo box for selection of the month and year, and I would like to set adjacent text boxes to show USD, SGD, BAHT information. How can i go about doing that?
    From the Q&A here, most of them uses the function similar to this "=[Combo0].[Column](1)" to show the data in the text box, but this would require the combo box to list a whole bunch of details if i were to add in more currency values to the
    table. Is it possible to not show this information in the combo box, but still populate data in the textboxes base on a selection on only the "month" and "year" in the combo box.

    Hi,
    According to your description, my understanding is that you want to show only the month/year in the combo box, we can choose the date, and it will display the value of USD/SGD/BAHT based on the month/year.
    If it is, I recommend you try the steps:
    Create a form based on your data source table>Add the combo box>combo box wizard>Find a record on my form based on the value I selected my combo box>Add mouth and year to selected fields
    http://office.microsoft.com/en-us/access-help/create-a-list-of-choices-by-using-a-list-box-or-combo-box-HA010113052.aspx
    If I misunderstand something, please let me know. We may upload some screenshots or a sample through OneDrive.
    Regards,
    George Zhao
    TechNet Community Support

  • Deleting some of the entries in the Combo-box for the selection field

    Hi All,
      We are running on SRM 4.0(Classic).I have a query reagarding the List of values which get populated in the comb-box for the field "Status" on the SC screen when i click on the "CHECK STATUS" link.
      I need to delete some of these entries which appear in the combo-box.Can anyone tell me how this can be done(partcularly with some info on how these values are getting populated and from where?).Points will be awarded.
    Thanks & regards,
    Disha.

    Hi Disha,
    you will have to change standard ABAP code for this.
    SC status list for CHECK STATUS is build in FORM status_mixed_text_fill in include LBBP_PDH_SEARCHF27.
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • Drill Down from chart to webi trigger automatically while changing the combo box seelction

    Hi Experts,
    The problem is if I select the box  in the heat map, it will take me to a webi report then if I come back to the dashboard and change the combo box. The selection is not deselected, As the selection is still there it selects the value in the changed heat map there by automatically triggering the URL and redirecting to Webi Report automatically.
    Can any one Please help me to resolve this,i really would appreciate your help.
    Thanks,
    Prasad

    This is a typical issue when the xcelsius components do not have auto-deselect property.
    Try doing this work-around. I have implemented it successfully in one of the previous projects.
    Identify one particular destination cell (lets call this cell DEST_CELL here onwards) that is triggering the particular report to open automatically. Now, take a new combo box and use it to insert a blank value in the DEST_CELL everytime DEST_CELL changes its value. Now write a formula in some other cell(lets call is FLAG_CELL) that gives you a "1" when DEST_CELL is not blank and gives you "0" when DEST_CELL is blank. Use this FLAG_CELL to fire the URL. Do not fire URL on change event, fire it when FLAG_CELL is "1".
    Hope this helps you. Do let me know if you need any more/other help.
    Thanks,
    Prasanna

  • Change combo box selection dynamically?

    I would like to have a combo box change its selection dynamically according to what is selected in another selector.  As far as I can tell from reading the Help, this feature is available for List Boxes, List Views and List Builders only ("The Dynamic Selected Item functionality is available in list-based selectors") and based on the wording I assume that it is currently unavailable for other components.  Is this true?  If so I would like to formally request that other selectors - particularly combo boxes - be included.
    The use case for me is this: After the user has already inputted information and digested some of the output, they eventually reach a section of the project that appears only under certain conditions.  This area is about 800 pixels to the right of the original combo box in the inputs area, and so in order to quickly change that selection they would have to go look for the original selector, which could easily discourage them from browsing that particular selection.  Hopefully this makes sense.
    It would also be great to hear back that this kind of feature request can actually be made in this way.  I've submitted a few similar requests in the past and did not see an acknowledgment, and so I am still unclear as to whether or not feature requests are even possible.
    (Edit: I thought about creating duplicate overlapping instances of the combo boxes in question and, using dynamic visibility, control which appears according to the current selection.  But this is only suitable for smaller lists).

    >
    Alan McClean wrote:
    > To get around it I shuffled my selection list dynamically, so that the one I wanted appeared at the correct place. I did this using the source data component and some Excel logic. However, it is buggy and a lot of work.
    Thanks, Alan.  I am currently working on a similar solution.  Seems to be the best for my situation, but it is far from elegant.
    >
    Charles Davies wrote:
    > Just a thought, would the Filter component work for you?
    The Filter component requires that the underlying Excel data be structured in a pretty specific way.  As far as I can tell, I would probably have to rip apart my XLS and redesign it in order to make use of that component.  Perhaps in a future generation I'll give it a go, but I've already gone through too many redesigns this time around.

  • How to use the Combo Box In MAtrix Colums

    HI Experts,
    Good Mornong.How to use the Combo Box In MAtrix Colums?
    Regards And Thanks,
    M.Thippa Reddy

    hi,
    loading data in to the combobox on form load.but, it should be done when atleast one row is active.
    the values what ever you are inserting in to combo should  be less than or eqhal to 100 or 150.if it exceeds beyond that performance issue arises.it takes more time to load all the data.so, it is better to have 100 or less.
    oMatrix.AddRow()
    RS = Nothing
    RS = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
    RS.DoQuery("select ItemCode,ItemName from oitm")
    oCombo = oMatrix.Columns.Item("ColumnUID").Cells.Item(oMatrix.RowCount).Specific
    For i = 1 To RS.RecordCount
          If RS.EoF = False Then
                oCombo.ValidValues.Add(RS.Fields.Item("ItemCode").Value,RS.Fields.Item("ItemName").Value)
                RS.MoveNext()
          End If
    Next
    the above code is inserting data from database to column combobox.
    you can fill combo directly also as shown below.
    oCombo.ValidValues.Add("x","1")
    oCombo.ValidValues.Add("y","2")
    oCombo.ValidValues.Add("z","3")
    oCombo.ValidValues.Add("","")
    and what ever the values you are filling into combo should be unique.other wise it shows valid value exists.
    regards,
    varma

  • Adobe Acrobat 9: Javascript array populated combo box - Selected answer will not save

    I have a combo box on one of my forms that is populated using a Javascript array.  The combo box is populating just fine, but when an item is selected from that combo box, the selected item does not save when the user saves the document.  Any suggestions as to what the problem is and how it can be corrected?  I am a loss as to where to even begin looking.  Any help is greatly appreciated.
    Thank you.
    Lisa

    You might also want to check the Scripting forum
    http://forums.adobe.com/community/acrobat/acrobat_scripting

  • Special characters in the combo box

    Hi OIM Gurus,
    I have populated some values with special characters in combo box,when i select the option it should show me the result set ,instead it shows"Illegal Characters Entered
    The data provided contains special characters that are not allowed. "
    is look-up a good option ? or any other fix for the combo box?
    Thanks in advance,
    Cats Paw

    I forget what I used (combo box, enum, etc) but I tried to put a + and - sign in and switch between the two. While the - sign showed up correctly, when the user went to select from the drop down, it was a separator! Not very intuitive! I thought a \ would escape it, but no luck.
    CLA, LabVIEW Versions 2010-2013

Maybe you are looking for

  • Missing content exporting from InDesign CC 2014 to Flash Pro CC 2014

    Dear all, to produce a larger number of similar animated swf's, I wanted to create all necessary text and graphic layers in InDesign CC 2014, then export as *.fla to Flash Pro CC 2014 for "bulk" animation. Finally it should then just be a case of sel

  • Measurement of count

    hi i have a characteristic and depending on the condition some no. of items are available for reporting in the structure of the query. my problem is how do i measure the no of items for the selection condition. i have to show the measured count only,

  • No warning before moving the ~/Library folder...

    OSX 10.7.3 on Macbook Air 13.3' i5 1.7Ghz 128GB. Yesterday I was working on a Finder window opened on my ~/Library. As I accidentally dragged the icon displayed in the Title area, the OS lost my user settings... I quickly realized that my action caus

  • How to specify a different directory for the Run-Time Engine?

    With LV 7.1 it's become even more difficult to create installation sets in third-party tools without having to include the full run-time engine separately. If you use any of the advanced analysis VIs you have to install the run-time engine (no use in

  • WiFi working But Time Capsule cannot backup

    Not Time Capsule backuo for 10 days but router still working as WiFi network still intact . No ethernet connection to desktop which is Mac Pro