Putting Checkboxes inside a list

ive downloaded this sample from
http://blogs.adobe.com/aharui/
and im tryin to use it in my course management application.
im using amfphp 1.9
i simply want the app to retrieve the list of courses
available and populate a list which will the be used in a form so
that a student can be enrolled onto a course by clicking on a
checkbox. similar to the sample shown above.
the courses table contains the following fields
CourseID
CourseName
TeacherID
below is a break down of my code hope it makes sense
populating the array collection:
courseList = new ArrayCollection (
ArrayUtil.toArray(evt.result) );
layout:
<mx:Label x="21" y="290" text="Course"/>
<mx:List id="list1" dataProvider="{courseList}"
width="242" x="21" y="307" labelField="CourseName" height="138">
</mx:List>
my list currently shows all the courses from the courses
table, however i want to attach a checkbox to each list.
the list will be used in a form which allows the user to
select what courses to enrol the student to. im not sure how to
exactly
so how can i get my check boxes to behave in the same way as
the sample application shown on the links above?

This works fine for me and I have no scrolling issues. My
item renderer is copied below. The data property is a custom object
that supports a _selected attribute.
So to fill the list I create objects to populate the list and
create any array collection. This then is the dataprovider for the
list.
To determine if an item is checked I iterate the collection
and examine the selected attribute.
Item rendererer
<?xml version="1.0"?>
<!-- itemRenderers\list\myComponents\RendererState.mxml
-->
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
width="120" height="20">
<mx:Script>
<![CDATA[
private function doSelection():void
if(cb.selected == true)
data.selected = true;
else
data.selected = false;
]]>
</mx:Script>
<!-- Define the Link control to open a URL. -->
<mx:CheckBox id="cb" click="doSelection()"
selected="{data.selected}" width="17"/>
<mx:Label id="State" text="{data.label}" x="17" y="0"
width="90"/>
</mx:Canvas>

Similar Messages

  • How to put checkboxes in a Tree list

    Hi All,
    I have generated a tree structure in my list from a table. The requirement is I have to put checkboxes for the leaves(bottom most level) of the tree. Now the user will be selecting required leaves and thus my logic will continue.
    Can anyone tell me how can i put checkboxes for all the leaves?
    Also, The number of leaves is in thousands. To keep that many check boxes, I have to create that many number of variables, which can be done dynamically.
    So, how to put check boxes and how to create those variables dynamically? How can i meet my requirement?
    Plz guide me in this issue.

    Take a look SAPCOLUMN_TREE_CONTROL_DEMO program screen 100  in SE80 transaction
    ibrahim

  • How to put checkbox into sap grid display

    hi,
         how to put checkbox into sap grid display ,when i am selecting the check box it should move to second secondary list.
          could u plz explain clearly

    Hi,
    In the layout fill
    is_layout-box_fieldname = 'CHECKBOX'
    is_layout-box_tabname   = 'I_OUTPUT'.
    The internal table that you are passing as I_OUTPUT, should have an extra field called CHECKBOX of length 1.
    Also refer to tutorial Easy Grid :
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/an%20easy%20reference%20for%20alv%20grid%20control.pdf
    Cheers,
    Simha.

  • Ticking a checkbox on a list using BDC

    Good Morning,
    I'm trying to correct a BDC session on ERP 6.0 (we've just moved from 4.7). What I need to do is place a tick in a checkbox on a list. Recording the actions in SM35 shows the cursor is put in position 09/03, and the okcode for the button I press. But nothing about the box been ticked. (When it is done manualy placing the cursor in the box ticks it).
    What do I need to put in a BDC session to put a tick in the checkbox?
    The program i'm trying to automate is LI20 (Clear differences in WM). When it displays the list in the list of differences, theirs a checkbox I need to tick in my BDC session.
    Thank you
    Tim

    Dear Tim,
                  According to my knowledge  You have  created bdc   , but now you want to  do change in that bdc   ,you want to click on checkbox for some selection so, What you do is look for that field name which you want to select and add that field name in the bdc code  and pass value 'X' for selecting the field .
            PERFORM bdc_dynpro      USING 'SAPMJ1IFN' '0101'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=ENTER'.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          'RM07M-MBLNR'.
           PERFORM bdc_field       USING 'TABLENAME-FIELDNAME' 
                                           'X'.

  • Trying to remove a checkBox from a list of checkBoxes

    Hello,
    I have a dictionary that has TKey equal to a Decimal and with TValue equal to a List<CheckBox>. I declare it like so:
    Dictionary<Decimal, List<CheckBox>> entireCheckBoxList = new Dictionary<Decimal, List<CheckBox>>();
    The reason for doing this is that I can pass it a NumericUpDown value (which only is in Decimal), then I can find any created CheckBox's that corespond to the NumericUpDown value. So let say I have my NumericUpDown equal to 1, when I click on the up
    arrow, I pop-up a new form window that lets me enter data lets say folder name and file name. Then, when I click my save button, I create check boxes for a folder name and under that check box is a the file name but it is slightly indented to the right and
    under it:
    So the reason why I have a Decimal TKey is that when i pop up a new form to create checkBoxes, I can create as many check boxes as I want and only want to assign them to one number. So if I create 4 check Boxes in one form pop-up form, then I want the numberUpDown
    value to only be increased by one when I save it and create them. 
    So my main question is, when I click down on the numericUpDown arrow, I want to remove the index associated with the numericUpdown from both the control and this dictionary. I am able to remove from the dictionary like so:
    entireCheckBoxList.Remove(numbericUpDownValue);
    However now I want to remove from the control with something like this:
    this.tabPage1.Controls.Remove(entireCheckBoxList[numbericUpDownValue]);
    But I am receiving the following errors:
    Error 1
    The best overloaded method match for 'System.Windows.Forms.Control.ControlCollection.Remove(System.Windows.Forms.Control)' has some invalid arguments
    Error 2
    Argument 1: cannot convert from 'System.Collections.Generic.List<System.Windows.Forms.CheckBox>' to 'System.Windows.Forms.Control'.
    All I want to do is remove the check boxes associated with the numericUpDown value from the control that correspond to the ones created and stored in my dictionary List<CheckBoxes>. I am just not sure how to do it.
    Kind Regards.

    Ok great thanks for this. 
    I have just realized that if I can just remove the last item in the entireCheckBoxList dictionary added, then there is no reason for the numbericUpDownValue look up. I just need to remove the last item in this dictionary.
    I have tried many things to get the last item in the dictionary but are all out of ideas.
    Any clue?
    I have done this:
    var test = entireCheckBoxList.Last();
    then since this gives me the last value, I have then looped through like so:
    foreach (CheckBox item in test.Value)
    Then to remove only the last items created, since they are done in pairs, i have done this:
    count++;
    if ((count == test.Value.Count - 1) || (count == test.Value.Count))
    this.tabPage1.Controls.Remove(item);
    else
    if (!yourlist.Contains(item))
    yourlist.Add(item);
    entireCheckBoxList.Add(count, yourlist);
    where count is an int declare above. So the final solution is this:
    var test = entireCheckBoxList.Last();
    int entireCheckBoxCount = entireCheckBoxList.Count;
    List<CheckBox> yourlist = new List<CheckBox>();
    int count = 0;
    entireCheckBoxList.Clear();
    foreach (CheckBox item in test.Value)
    count++;
    if ((count == test.Value.Count - 1) || (count == test.Value.Count))
    this.tabPage1.Controls.Remove(item);
    else
    if (!yourlist.Contains(item))
    yourlist.Add(item);
    entireCheckBoxList.Add(count, yourlist);
    What do you think?
    Kind Regards.

  • My wife and I share an account , is there a way to put both our contact lists in our one iCloud account without merging them., My wife and I share an account , is there a way to put both our contact lists in our one iCloud account without merging them.

    My wife and I both have iPhones and we share an apple ID. Is there a way to put both our contact list in the same iCloud without merging the lists.  We want to be able to use the same iCloud account because we share info .

    Welcome to the Apple community.
    No, there is no way of maintaining two separate contact lists with one account. Ideally you should each have your own iCloud account, you can still share your info by allowing each other to log into the other's account as a secondary account at settings >mail, contact, calendars. You can choose which services you choose to share and which you don't. This way you could maintain separate contact lists but still share them.

  • How to unSelect checkBoxes inside a buttonBar

    Hello!
    I've been a Flex developer for several months now and have made some great strides.  However, I've ran across a problem that requires some help from the Pros.
    I'm using Flash Builder 4.5 Premium.
    Scenerio:
    I have a buttonBar whose dataProvider is an mx:viewStack supplied by Spark NavigatorContent.  I have checkBoxes inside each of the NavigatorContent instances.  The checkBoxes turn content on and off.  Works great.
    Problem:
    When you select a different button in the buttonBar the selected content from the previuos button still displays.
    Question:
    How do I get the selected content from the previous button to not display? I'm not sure how to do this. 
    Bonus:
    If someone can tell me how to handle the checkBox eventHandler more efficiently that would be awesome!  Because right now I currently have an eventHandler function for each check box (like 18).  Since I'm still grean, so I figured I'd get everything working before trying to streamline this.  Or perhaps (I'm havina an epiphany) I need to add something to this code to unSelect the checkBox once the button has changed?  Not sure and confused. 
    Thanks for the help!
    Joe
    App Code:  If it's too much I appologize - I did leave out some.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:esri="http://www.esri.com/2008/ags"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   pageTitle="Aloha Existing Conditions"
                   initialize="initApp(event)">
        <fx:Style source="alohaExistingCond.css"/>
        <fx:Script>
            <![CDATA[
                import com.esri.ags.Graphic;
                import com.esri.ags.components.Editor;
                import com.esri.ags.components.Legend;
                import com.esri.ags.events.FeatureLayerEvent;
                import com.esri.ags.events.LayerEvent;
                import com.esri.ags.geometry.MapPoint;
                import com.esri.ags.layers.ArcGISDynamicMapServiceLayer;
                import com.esri.ags.layers.DynamicMapServiceLayer;
                import com.esri.ags.layers.TiledMapServiceLayer;
                import com.esri.ags.layers.supportClasses.LayerInfo;
                import com.esri.ags.layers.supportClasses.LayerLegendInfo;
                import com.esri.ags.layers.supportClasses.LegendItemInfo;
                import com.esri.ags.tasks.supportClasses.AddressCandidate;
                import flash.events.Event;
                import flashx.textLayout.events.UpdateCompleteEvent;
                import mx.containers.TitleWindow;
                import mx.controls.Alert;
                import mx.core.IFlexDisplayObject;
                import mx.events.FlexEvent;
                import mx.managers.PopUpManager;
                import mx.rpc.AsyncResponder;
                import spark.components.Panel;
                import spark.events.IndexChangeEvent;
                import splash1.SplashScreen1;
                public function initApp(event:FlexEvent):void
            //        showWindow();   
            //        viewMenu.addEventListener(IndexChangeEvent.CHANGING, bBarChangeHandler);
            //    public function bBarChangeHandler():void
                private var point1:Point = new Point();
                private function showWindow():void {
                    var login:SplashScreen1 = SplashScreen1(PopUpManager.createPopUp(this, SplashScreen1 , true));
                           PopUpManager.centerPopUp(login);
                public function turnonbasemap():void   
                    photo.visible = false;
                    basemap.visible = true;       
                public function turnonphoto():void
                    photo.visible = true;
                    basemap.visible = false;       
                public function bintBox(evt:MouseEvent):void
                    myLegend.visible = true;
                    if(CheckBox(evt.target).selected)
                    bikelaneMapServer.visible = true;
                else
                     bikelaneMapServer.visible = false;
                public function sintBox(evt:MouseEvent):void
                    sidewalkMapServer.visible = true;
                    if(CheckBox(evt.target).selected)
                    else
                        sidewalkMapServer.visible = false;   
                public function scomBox(evt:MouseEvent):void
                    sidewalkComments.visible = true;
                    if(CheckBox(evt.target).selected)
                    else
                        sidewalkComments.visible = false;   
                public function bcomBox(evt:MouseEvent):void
                    bikelaneComments.visible = true;
                    if(CheckBox(evt.target).selected)
                    else
                        bikelaneComments.visible = false;   
                public function opsBox(evt:MouseEvent):void
                    OPS.visible = true;
                    if(CheckBox(evt.target).selected)
                    else
                        OPS.visible = false;   
            ]]>   
        </fx:Script>
    <!-- Declaration are for Non-Visual Elements ~~~~~~~~~~~~~~~ -->
        <fx:Declarations>
            <esri:Locator id="locateTask"
                          url="http://tasks.arcgisonline.com/ArcGIS/rest/services/Locators/TA_Address_NA_10/GeocodeServer"/>
            <esri:SimpleMarkerSymbol id="mySymbol"
                                     alpha="0.5"
                                     color="0xFF0000"
                                     size="21"
                                     style="circle">
                <esri:SimpleLineSymbol width="2"/>
            </esri:SimpleMarkerSymbol>
        </fx:Declarations>
    <!-- Button Bar Window ~~~~~~~~~~~~~~~ -->
        <s:BorderContainer id="buttonBarContainer"
                           left="352" right="3" top="64" height="134"
                           borderWeight="2" cornerRadius="5">
            <s:Label text="Select an item below:"
                     x="10" y="10"/>
            <s:ButtonBar id="viewMenu" left="5" right="5" top="30" height="21"
                         dataProvider="{myViewStack}"
                         requireSelection="true"/>
                         <!-- change="changeSelection(event)" -->
                <s:Group id="layerGroup"
                         left="5" right="3" top="55" height="80">
                        <mx:ViewStack id="myViewStack" height="72">
                            <s:NavigatorContent id="planning" label="Planning">
                                <s:layout>
                                    <s:TileLayout paddingLeft="10" paddingRight="20"
                                                  orientation="columns" columnWidth="175"
                                                  requestedColumnCount="-1"/>
                                </s:layout>
                                <s:CheckBox id="bCommentCheckBox" 
                                label="Bike Lane Comment"
                                fontSize="14"
                                click="bcomBox(event)"/>
                                <s:CheckBox id="foo1"
                                            label="Foo 1"
                                            fontSize="14"/>
                                <s:CheckBox id="foo2" 
                                            label="Foo 2"
                                            fontSize="14"/>
                                <s:CheckBox id="foo3"
                                            label="Foo 3"
                                            fontSize="14"/>
                                <s:CheckBox id="foo4" 
                                            label="Foo 4"
                                            fontSize="14"/>
                            </s:NavigatorContent>
    <!--  trans tab  ~~~~~~~~~~~~~~-->                   
                            <s:NavigatorContent id="trans" label="Transportation">
                                <s:layout>
                                    <s:TileLayout columnWidth="175" orientation="columns"
                                                  paddingLeft="10" paddingRight="20"
                                                  requestedColumnCount="-1"/>
                                </s:layout>
                                <s:CheckBox id="sCommentCheckBox"
                                            label="Sidewalk Comments"
                                            fontSize="14"
                                            click="scomBox(event)"/>
                                <s:CheckBox id="sidewalkCheckBox"
                                            label="Sidewalk Inventory"
                                            fontSize="14"
                                            click="sintBox(event)"/>
                                <s:CheckBox id="bikelaneCheckBox" 
                                            label="Bike Lane Inventory"
                                            fontSize="14"
                                            click="bintBox(event)"/>
                            </s:NavigatorContent>
                            <s:NavigatorContent id="environ" label="Environmental">
                                <s:layout>
                                    <s:TileLayout paddingLeft="10" paddingRight="20"
                                                  orientation="columns" columnWidth="200"
                                                  requestedColumnCount="-1"/>
                                </s:layout>
                                <s:CheckBox id="opsCheckBox" 
                                            label="Watershed Enhancement"
                                            fontSize="14"
                                            click="opsBox(event)"/>
                                <s:CheckBox id="foo5"
                                            label="Foo 5"
                                            fontSize="14"/>
                                <s:CheckBox id="foo6" 
                                            label="Foo 7"
                                            fontSize="14"/>
                                <s:CheckBox id="foo8"
                                            label="Foo 8"
                                            fontSize="14"/>
                                <s:CheckBox id="foo9" 
                                            label="Foo 9"
                                            fontSize="14"/>
                                <s:CheckBox id="foo10"
                                            label="Foo 10"
                                            fontSize="14"/>
                                <s:CheckBox id="foo11" 
                                            label="Foo 11"
                                            fontSize="14"/>
                                <s:CheckBox id="foo12"
                                            label="Foo 12"
                                            fontSize="14"/>
                                <s:CheckBox id="foo13" 
                                            label="Foo 13"
                                            fontSize="14"/>
                                <s:CheckBox id="foo14" 
                                            label="Foo 14"
                                            fontSize="14"/>
                            </s:NavigatorContent>
                            <s:NavigatorContent id="housing" label="Housing/Social">
                                <s:layout>
                                    <s:TileLayout paddingLeft="10" paddingRight="20"
                                                  orientation="columns" columnWidth="175"
                                                  requestedColumnCount="-1"/>
                                </s:layout>
                                <s:Label text="Housing and Social Services Maps"/>
                            </s:NavigatorContent>
                            <s:NavigatorContent id="built" label="Built Environment">
                                <s:layout>
                                    <s:TileLayout paddingLeft="10" paddingRight="20"
                                                  orientation="columns" columnWidth="175"
                                                  requestedColumnCount="-1"/>
                                </s:layout>
                                <s:Label text="Built Environment Maps"/>
                            </s:NavigatorContent>
                            <s:NavigatorContent id="transit" label="Transit">
                                <s:layout>
                                    <s:TileLayout paddingLeft="10" paddingRight="20"
                                                  orientation="columns" columnWidth="175"
                                                  requestedColumnCount="-1"/>
                                </s:layout>
                                <s:Label text="Tansit Maps"/>
                            </s:NavigatorContent>
                        </mx:ViewStack>
                    <!--<s:Label id="selectionText"
                             x="10" y="60"/>  -->
                </s:Group>
        </s:BorderContainer>
    <!-- Legend Window ~~~~~~~~~~~~~~~ -->   
        <s:BorderContainer id="leContainer" left="3" top="140" bottom="3" width="347"
                           borderColor="#808080" borderWeight="2" cornerRadius="5" fontWeight="bold">
            <s:VGroup id="hGroup"
                      width="333"
                      height="500"
                      paddingBottom="11"
                      paddingLeft="5"
                      paddingRight="5"
                      paddingTop="10">
                <esri:Legend id="myLegend"
                             height="100%"
                             bottom="10"
                             width="330"
                             layers="{[ bikelaneMapServer, sidewalkMapServer, sidewalkComments, bikelaneComments, OPS ]}"
                             map="{myMap}"
                             respectCurrentMapScale="true"/>                 
            </s:VGroup>   
        </s:BorderContainer>   
    <!-- Map Window ~~~~~~~~~~~~~~~ -->       
        <s:BorderContainer id="mapBorder"
                           left="352" right="3" top="200" bottom="3"
                           borderColor="#808080"
                           borderWeight="2" cornerRadius="5">
            <esri:Map id="myMap" left="0" right="0" top="0" bottom="0" wrapAround180="true" logoVisible="false">
                <esri:extent>
                    <esri:Extent id="washco"
                                 xmin="7565269.4485383" ymin="657281.31999349" xmax="7607044.62214942" ymax="696603.368604601">   
                        <esri:SpatialReference wkid="2269"/>       
                    </esri:Extent>   
                </esri:extent>
                <esri:ArcGISTiledMapServiceLayer id="basemap"
                                                 url="http://......../Washco_primary_basemap_SP/MapServer"/>
                <esri:ArcGISTiledMapServiceLayer id="photo"
                                                 url="http://......../Orthos_2010_SP/MapServer"
                                                 visible="false"/>
                <esri:ArcGISDynamicMapServiceLayer id="bikelaneMapServer"
                                                   name=" "
                                                   visible="false"
                                                   url="http://........DOE_Bikelane/MapServer"/>
                <esri:ArcGISDynamicMapServiceLayer id="sidewalkMapServer"
                                                   name=" "
                                                   visible="false"
                                                   url="http://......../DOE_Sidewalk/MapServer"/>
                <esri:ArcGISDynamicMapServiceLayer id="OPS"
                                                   name=" "
                                                   visible="false"
                                                   url="http://........Watershed_Enhance/MapServer"/>   
                <esri:FeatureLayer id="sidewalkComments"
                                   mode="snapshot"
                                   visible="false"
                                   url="http://........./SidewalkComment/FeatureServer/0"/>
                <!--
                outFields="[Comment, entered]"
                -->
                <esri:FeatureLayer id="bikelaneComments"
                                   mode="snapshot"
                                   visible="false"
                                   url="http://......../FeatureServer/0"/>
                <!--
                outFields="[Comment, entered]"
                -->
                <esri:GraphicsLayer id="myGraphicsLayer"/>
            </esri:Map>
    </s:Application>

    Hi Kiran,
    U can use ItemRenderer to show button inside a cell of datagrid..!
    either inline ItemRenderer or external ItemRenderer as per your conveninent.
    sample:
    <mx:DataGrid>
    <mx:DataGridColumn headerText="Title" dataField="title">
                <mx:itemRenderer>
                    <mx:Component>
                            <mx:Button lable="Add" width="50" height="50"/>
                    </mx:Component>
                </mx:itemRenderer>
            </mx:DataGridColumn>
    </mx:DataGrid>
    Go Through this link : http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html
    Thanks,
    Pradeep

  • How to access checkbox in mx:list

    I'm trying to access the checkboxes in my list
    <mx:List itemRenderer="mx.controls.CheckBox" x="0" y="153" id="listVocab" height="297" width="313"></mx:List>
    but I can't find a way. This is what I'm doing
            for(var i:int = 0 ; i < listVocab.numChildren; i++)
                    if (  I want to access the checkbox here to see if it's checked  then do the below but I don't know how to access the checkboxes??? )
                    // This gives me access to the text but                 
                   var word:String = listVocab.dataProvider[i].toString() ;

    Problem is with dataProvider your assigning to dataGrid is of type Array of Strings so thats why its saying selected property is not available on String.
    Code given above by me will work for arrayCollection having objects of following type instead of just plain strings:
    public class CustomClass
             public var data:String; // here id you can store
            public var label:String; // here word you can store
            public var selected:Boolean;
    You can make modification to
    public class CustomVocabulary
            public var sentence:String;
            public var type:String;
            public var dbId:String;
            public var words:ArrayCollection; // this will contain objects of type CustomClass.
    <mx:List id="list" dataProvider="{ customVocabulary.words }"

  • Put folders inside folders in iOS 7.1?

    Before I start, I'll just say that I have an iPad fourth generation.
    In the versions of iOS 7 before the recent 7.1, you were able to put folders inside folders on the home screen. I was wondering if there was a new way to do this.
    Maybe it was removed because it was a bug or glitch, but I am one of those type of people that like to have a ton of folders and have folders inside of folders because is my way of being organized. I really want to have the ability to do this again because it was one of my favorite things about iOS 7. After the update to version 7.1 I was happy about most other things about the update, but the fact that I couldn't put folders in folders anymore wasn't a particularly good improvement for me.

    I know I found it very annoying but hopefully they can have another update really soon so we can put a folder in another folder. Or hopefully the bug or glitch comes back :)

  • Find and item Search not working inside custom list in sharepoint 2013

    HI,
    In Sharepoint 2013 , i configured the Search. it is working in home page search Box and Find item search box  inside custom list as well But one particualr custom list  Find an item is not working. Any clue ?Thanks in Advance
    Thanks
    sanjay pradhan  

    Hi,
    According to your description, my understanding is “find an item” search box in a custom list not work in your environment.
    As search box and “find an item” search box in your home page are working, so the search service application is working.
    Do you have any customzation to the particular custom list ?
    If No, I suggest you can full crawl the data in Central Administration ->Manage Service Application->” Search Service Application”-> Manage Content Sources” to test if it works. 
    Also, please check if you have set "Allow items from this list to appear in search results" in list settings->Advanced Setting to true
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Modifying table by selecting checkboxes  in basic list

    Hi
    I have a basic list whose first two fields are checkboxes.
    I have to select only one checkbox from first list and can have multiple selections in second checkbox.
    In a row only one checkbox can be selected.
    Based on these selections i have to update a table with the other entries of my basic list.
    how do i do it???

    Hi1
    In the transaction cj20n I had been asked to create a checkbox for multi well option which I have created. At the project level as well as the WBS level they want this checkbox which I have created. Now it is required that when chech box is checked, it should validate the remote sump field and populate it with valid location based on the DLS or NTS selection as radiobutton.
    If the checkbox is unchecked, it shld validate the surface location field and populate it,If DLS or NTS selected , it validates the surface loaction  with valid surface location based on DLS or NTS selection.
    The coding for the screens are as follows , but I am not sure if it is correct as it dosent give the desired result.Kindly help me out a sits an urgent work given and help will be hihgly appreciated and rewarded.
    As per the current functionality , if DLS or NTS selected and well ID populated, validate that the well ID adheres to the appropriate formatting.
    This is for screen 600 similary I have done for screen 700 but I am not able to validate still  or get teh result. zzmulti_well is the field for new checkbox option created (multi well).
    MODULE check_0600_zsurflocn INPUT.
    IF proj-zzmulti_well IS  INITIAL.
      IF proj-zzsurflocn IS NOT INITIAL.
        CASE 'X'.
          WHEN proj-zzdls.
            lv_result =  zcl_well=>check_dls_sr( location_id = proj-zzsurflocn ).
            IF lv_result IS INITIAL.
              MESSAGE e003(zwell). " Not a valid DLS surface location
            ENDIF.
          WHEN proj-zznts.
            lv_result =  zcl_well=>check_nts_sr( location_id = proj-zzsurflocn ).
            IF lv_result IS INITIAL.
              MESSAGE e004(zwell). " Not a valid NTS surface location
            ENDIF.
        ENDCASE.
      ENDIF.
    ENDIF.
    ENDMODULE.                 " check_0600_zsurflocn  INPUT
    *&      Module  check_0600_zremsump  INPUT
    Remote sump validation.
    MODULE check_0600_zremsump INPUT.
    IF proj-zzmulti_well IS NOT INITIAL.
      IF proj-zzremsump IS NOT INITIAL.
        CASE 'X'.
          WHEN proj-zzdls.
            lv_result =  zcl_well=>check_dls_sr( location_id = proj-zzremsump ).
            IF lv_result IS INITIAL.
              MESSAGE e005(zwell).  " Not a valid DLS remote sump
            ENDIF.
          WHEN proj-zznts.
            lv_result =  zcl_well=>check_nts_sr( location_id = proj-zzremsump ).
            IF lv_result IS INITIAL.
              MESSAGE e006(zwell).  " Not a valid NTS remote sump
            ENDIF.
        ENDCASE.
      ENDIF.
    ENDIF.
    ENDMODULE.                 " check_0600_zremsump  INPUT
    Kindly help pleaseeee.
    Aarav

  • How to put pictures inside the table in Pages for IPad?

    How can I put pictures inside the table in Pages for IPad? I can do that in Pages in my macbook, but I can't in IPad.

    It would appear that unless you are working from a document that already had section breaks (or the equivilent) ,you can't. I have some files in pages that began as MS Word documents with multiple sections that allow that by tapping on the footer (or header) and making the change. Files created in Pages (or from other sources but without section beaks) do not.

  • Z Out Put Type For Picking List In VL06

    Can I assign Z Out Put Type of picking list in VL06 . If yes ,  I request you to mention where and how I can assign  please .
    Thanks In Advance

    Dear Jaya,
    The picking list Z output type you can get in VL06 transaction through assigning the same output type in your shipping point detail screen.
    IMG path is SPRO-->Enterprise Structure -->Definition -->Logistics Execution -->Define, copy, delete, check shipping point. Here you select your shipping point then go in to the detail screen here you can assign your Z picking list output type under Print Picking list tab.
    Before that you need to do these configuration settings.
    1.You need to define the Z Output type
    SPRO>IMG>Logistics execution>Shipping>Basic shipping functions-->Output Control -->Output Determination -->Maintain Output Determination for Outbound Deliveries -->Maintain Condition Tables -->
    Maintain Output Types.
    2. Using TCode V/38, you have to maintain the Z condition type by clicking on new entries, maintained the time,print parameters and transmission medium.
    You need to assign the processing routines Prog: ,Form Routine:, and Form:
    3. You need to maintain the print parameters based on the shipping point for your Z output type.
    through transaction VP01SHP.
    I hope this will help you,
    Regards,
    Murali.

  • HT1368 Will the app that I put under my Wish List become free? If yes, will iTunes notify me?

    Will the app that I put under my Wish List become free? If yes, will iTunes notify me?

    Thanks!

  • Control checkbox in basic list

    I have write a checkbox in basic list and i have created a status for the list, and when i click the checkbox it doesn´t works to the event at line-selection, i have tried with the hide command too, but it doesnt goes to the event, i think that it goes before creating the status and write the checkbox, does anybody know how to resolve it?,
    Thanks in advance

    I do not believe that you can fire an event when checking a checkbox in a list display.  Please see the following program as it allows the user to click a "DISPLAY" button and then it will read all of the select lines.
    report zrich_0001 no standard page heading.
    data: begin of ivbak occurs 0,
          check type char01,
          vbeln type vbak-vbeln,
          end of ivbak.
    data: lines type i.
    select-options: s_vbeln for ivbak-vbeln.
    start-of-selection.
    set pf-status 'LIST'.
      select vbeln into corresponding fields of table ivbak
          from vbak
              where vbeln in s_vbeln.
      loop at ivbak.
        write:/ ivbak-check as checkbox, ivbak-vbeln.
      endloop.
    at user-command.
      case sy-ucomm.
        when 'DISPLAY'.
    * Mark the internal table for the checkboxes selected on list
          describe table ivbak lines lines.
          do lines times.
            read line sy-index field value ivbak-check.
            if  ivbak-check = 'X'.
              read table ivbak index sy-index.
              if sy-subrc  = 0.
                ivbak-check = 'X'.
                modify ivbak index sy-index.
              endif.
            endif.
          enddo.
    * Now display the sales order for all select SD docs
          loop at ivbak where check = 'X'.
            set parameter id 'AUN' field ivbak-vbeln.
            call transaction 'VA03' and skip first screen..
          endloop.
      endcase.
    Regards,
    Rich Heilman

Maybe you are looking for

  • HP Network Printer Wizard refuses to launch in Vista Ultimate (64 Bit Edition)

    HI, I have just installed the latest version of the HP Network Printer Wizard v8.1 but it refuses to run.  The is no error as such but the software just fails to launch? I have tried setting to windows XP compatibility mode to try to get it to run bu

  • How to unlock the data from other user while editing

    Hi friends, I have created 4 maintenance views for a table. While editing data by using one view, I must be able to edit other data of the same table using other different view. But it is showing "The data is locked by user pagidala and can be displa

  • Not accepting max cell size more than 1000 in HFM form

    Hi in the task list in the user forms iam not able to insert more than 1000 characters in the dev server 11.1.2.1 while i can do that in the production server 11.1.1.3 please any one can solve this issue i think i need to increase the max cell size

  • Monitoring Execution of ODI packages

    In order to automate the monitoring of the OID pacakges, our monitoring tool (PATROL) can read txt files and when a specific key word is entered, trigger an alert. The file should be empty if package runs successfully and whenever a package fails a k

  • Processing Type in Settlement

    Dear All, Is there any idea about Processing Type in Settlement, Can u give some help on it. Regards