BE Address set visibility of distance in km field

Hi all,
I am trying to set the visibility of 'distance in km' field in the Edit screen for subtype 1(Permanent address) for Belgium.
I created the context attribute of type wdvisibility and set the value to visible in the wddomodify of edit screen.
Somehow only the label is getting visible not the input field.
Please let me know what I am missing.
Thanks
Kukku.

solved

Similar Messages

  • Maybe Flex SDK bug: Setting visible of DataGrid item renderers

    Hi all, I'm still a noob at flex but this looks a bit strange to me.
    I've been trying to hide a button renderer in a DataGrid but it just wouldn't hide.  I've been setting visible inside the mxml and also in the the class that extends buttonbut it just wouldn't hide.  I then overloaded the visible property set/get and traced what was setting the property to true and found that inside DataGridBase.as the function setupColumnItemRenderer always sets visible of the renderes to true.
    DataGridBase.as
    protected function setupColumnItemRenderer(c:DataGridColumn, contentHolder:ListBaseContentHolder,
                        rowNum:int, colNum:int, data:Object, uid:String):IListItemRenderer
            var listItems:Array = contentHolder.listItems;
            var item:IListItemRenderer;
            var rowData:DataGridListData;
            item = listItems[rowNum][colNum];
            if (!item || itemToUID(item.data) != uid
                || columnMap[item.name] != c)
                item = createColumnItemRenderer(c, false, data);
                if (item == null)
                    return null;
                if (item.parent != contentHolder)
                    contentHolder.addChild(DisplayObject(item));
                // a space is used if no data so text widgets get some default size
                columnMap[item.name] = c;
                if (listItems[rowNum][colNum])
                    addToFreeItemRenderers(listItems[rowNum][colNum]);
                listItems[rowNum][colNum] = item;
            //[Matt] moved from inside the block above to outside because
            //the item definitely exists at this point, and always needs
            //its data refreshed
            rowData = DataGridListData(makeListData(data, uid, rowNum, c.colNum, c));
            rowMap[item.name] = rowData;
            if (item is IDropInListItemRenderer)
                IDropInListItemRenderer(item).listData = data ? rowData : null;
            item.data = data;
            item.visible = true;
            if (uid && colNum == 0)
                contentHolder.visibleData[uid] = item;
            return item;
    Why does it do this?  Shouldn't it respect the visible property already set for the renderer in mxml and not force it to true on init?

    Renderers use the visible property for recycling.  Invisible renderers are not supported.  The hit detection logic would find it the cell it belongs to even if it was invisible.  You can set alpha=0, but it won't stop the hit detection logic.
    Why are you trying to hide a renderer?
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Email Address not visible for output device MAIL in created batch job

    Issue in ECC6.0: Email Address not visible to display/change for output device MAIL in print parameter of each step in the created batch job.
    User wants to periodically receive report file via send to his email, so I create the batch job running report and send the report in pdf file to his email.
    Detail in the batch job
    1) In print parameter screen of the step in the batch job
       -Using output device MAIL (output type ZPDF1)
       -inputting email address of receiver in the EMAIL ADDRESS field
    2) After the batch job was saved, I tried to display/change the field EMAIL ADDRESS via Tx. SM37, but this field is invisible. The field can not be displayed or changed anymore. I also tried in SM36, but it is for creating new batch job, not changing the existing batch job.
    4) User receives email with pdf file from the batch job.
    How to change/display the email address of the receiver in the created batch job?
    Note that we just changed to use SAP ECC6 from SAP 4.6c. In SAP 4.6c, we can change/display the
    Email Address Field via Tx. SM37.
    Pls kindly suggest, thank you very much in advance.

    Hi Srirompoti,
    After saving the job if the job has not started then you can follow the below steps to change the Email address.
    1. View the job from Txn SM37.
    2. check the check box for your job that you want to change and goto menu path "Job->change
    3. in the next screen goto "Edit->steps." or press "F6" key
    4. place the coursor on the job and goto menu path "Step->change->print specifications.
    5. here you can change the email address.
    If you are not able change the data then you might not have authorization.

  • Restoring af:selectBooleanCheckbox value after setting visible=true

    Using JDev 11.1; I have a table that displays data from a model object, and one of the columns contains true/false values which we render in the table using an af:selectBooleanCheckbox. All works fine except that user is able to hide the table by expanding other components which sets visible=false on the bounding component for the table. If user elects to redisplay the table by reducing the other component zoom, then the table displays again but the selected check-marks/tags do not return.
    Thought initially it might've been because the query was being reissued on the table, but not so. More about the selected attribute on the af:selectBooleanCheckbox, which I have set to the default (false). So the value property is set to the table collection attribute as required to interface with the model, but I need to know what to set the selected attribute to. I can see that when the table is redisplayed, this default value of false is being sent through to the model which is discarding the values I want to retain.
    I've tried some EL in the selected property to set it to true/false based on what's in the table, but the problem with that is that it becomes essentially a read-only control. I need to find some way to disable the value assignment when making the table visible again. Any suggestions?
    Thanks,

    Andrefs,
    In ADF BC, one way we deal with this is by adding a transient Boolean attribute to the View Object with getters (translate 0/1 to false/true) and setters (vice-versa). Then, we bind the UI to the transient attribute. It's been so long since I've done EJB's, but could you take a similar approach?
    John

  • To set Visibility for KM Documents

    Hi
    I uploaded some documents in knowledge Management. Now i want to set visibility for those documents, country wise. That country name is not in the list. How can i add the particular country?
    Thanks,
    Kusuma

    Hi,
    When you create repository to upload documents in knowledge management administration there are certain features are displayed which you can define for your repositories. So, please check there if country option is available. I would prefer to create different repositories for different country as administration will becomes eaiser.
    Thanks
    Sunny

  • How to set visible property to href link

    Hi All,
    I want to open the new jsp page in the new tab when will we click on the link in my ADF application.So i tried like this.
    <af:column id="pt_c115" >
    <a id="JspLink" href="AuditLogInfo.jspx" target="_blank">JspLink</a>
    </af:column>
    Im able to view my new jsp page when im click on JspLink link.But here my problem is i have nee to set the visible condition if the 'status' field of adf table is succes only i want to view the link other wise no need to visible my link.
    visible="#{row.bindings.Status.inputValue=='SUCCESS'}" is working for commandbutton.But i'm not able to see any visible property in <a id="JspLink" href="AuditLogInfo.jspx" target="_blank">JspLink</a> .How can i set this condition?Please help me.I'm using JDeveloper 11.1.1.5 version.
    Thanks in Advance!
    Edited by: 851924 on Apr 5, 2012 11:22 PM
    Edited by: 851924 on Apr 5, 2012 11:23 PM

    Instead of using a jsplink you should use an af:goLink which is the adf equivalent and has all the needed properties.
    Timo

  • Can't set a custom distance

    I've been using the Nike+ for about 3 months with great success. Today it stopped allowing me to set a custom distance. I can use any of the presets, but it turns any custom distance I set to "3Km"
    Any way to fix this?

    I have the same problem too. The last time I had the option to change the time..I set it to 45 minutes and started my workout...it still would only say my workout was for 20 minutes. Now, nothing. I can only choose to change for calories...even when I do, my goal is always a 100 calories. Please help!!!

  • How do I set Children Equal Distance Apart?

    I am trying to do something like this:
    My Code
    function drop(e:MouseEvent):void {
         if (e.target.hitTestObject(ObjectsBar)) {
         ObjectsBar.addChild(DisplayObject(e.target));
        */Then how do I make it so all the children added are equal distance apart? I know I can set the X coordinates for each one,
    but I want it so that the objects can be added in any sequence and then be set to equal distance apart./*

    var nextX:Number=0;
    var gapX:Number=10;
    function drop(e:MouseEvent):void {
         if (e.target.hitTestObject(ObjectsBar)) {
         ObjectsBar.addChild(DisplayObject(e.target));
      e.target.x=nextX;
    nextX+=e.target.width+gapX;

  • Set visible=false in Label not removing its space in screen

    Hi All,
    I have three labels ony by one having width=100% for all.
    For some reason, now I want to make 2nd label invisible in
    the screen.
    So I set visible="false" for the 2nd label. Now I cannot the
    see the text displayed by the 2nd Label, but I can see the space
    occupied by the Label.
    I mean that, now i am getting the first label text, and have
    blank row which has the text earlier, but not now and thrid row
    with 3rd label text.
    Also I checked that, if I set the height of the 2nd Label to
    0 then also its not completely removing the 2nd row, only
    possibility I found was completely comment the code for the 2nd
    Label is the only way to hide the 2nd row :)
    Any help would be appreciated.

    Hi Sujit,
    Thanks for giving an useful tip which is new to me. But still
    I can see a little space between the first and 3rd label.
    Now this little space comes from the default space between
    the controls. After few trials I found that there is a property
    called "verticalGap" for the containter which holds these 3 labels.
    I set the value to 0(zero) for verticalGap. Now the issue resolved
    Thanks for a useful post

  • Excel 2007 accessing PivotItem.Visible gives error if the field item value is a DATE

    I have VBA code to manipulate the content of a pivot table - essentially it hides all but the first N items in a pivotfield.  Under Excel 2003 the code works fine, as expected irrespective of the data content of the pivot field item.  Under Excel
    2007, if the data content is a date, the VBA code generates one of several error conditions.
    pivotItems(i).Visible = True
    Generates error 1004 - Unable to set the visible property of the pivot class
    If pivotItems(i).Visible = True then...
    Trying to test the visibility generates error 13 - type mismatch
    ?pivotItems(i).Visible
    Trying to determine the visibility of the pivot item in the VBA immediate window, this generates error 2042
    I have an illustrative spreadsheet which permits the code to process two different pivot tables, one using a field containg dates; the other a field containing text.  Under Excel 2003, the code works on both pivot tables.  Under Excel 2007 it works
    on the text field table, but fails on the date field table.
    I have looked for answers on numerous support forums including answers.microsoft but found not found any answers... only the same or similar unanswered question.

    Hi Herbert,
    Thank you for your continued interest; please find a revised illustration of the problem here -
    http://www.mediafire.com/download.php?zc6ty9ctl1n7yd9
    I have made the following changes / additions to the problem illustrator:-
    Adopted the use of lists for the data source of the pivot table
    Removed reference to '(blank)' as a reserved item not hidden by the VBA code to avoid the possibility of hiding all items
    In respect of my original code (MK1), utilised a 'real' item name to be the
    reserved item
    Added a new (MK2) macro to alter the number of visible items which
    hides all but one of the VisibleItems collection
    makes the first N items in the collection visible
    checks that there are only N items visible (the position of the reserved item
    might be greater than N)
    The code still executes as expected under 2003, but fails (the same as before) under 2007 when the data type of the PivotItem is date.
    The MK1 code fails when testing the current visibility of the Item before trying to set the visibility with:- RTE 1004 Unable to
    get the PivotItems property of the PivotField Class
    The MK2 code fails when trying to set the visibility with:- RTE 1004 Unable to
    set the Visible property of the PivotItem Class as reported above.  Note - given that MK2 avoids trying hide invisible items or unhide visible items, I no longer believe that this error is due to the attempt
    to set visibility to current state as seen under Excel 2003. I am deeply confused by this now!
    I observe with care the different CLASSES on which these failures are reported even though in each case the operations are on the PivotItem.Visible property - MK1 queries it / MK2 attempts to alter it. 
    Just in case you have been wondering where this is going, this spreadsheet has no prupose beyond illustrating the Excel 2003 / 2007 problem being encountered elsewhere when manipulating pivot table items whose value are dates.  The requirement
    is to provide a simple user interface to a complex managing reporting spreadsheet consisting of a significant number of pivot tables and charts - altering one cell causes the VBA code to modify the collection of pivot tables to deliver a revised view of the
    data.  All works fine for 2003 users of the model, but not 2007 users.  I need one spreadsheet which will work correctly on both 2003 & 2007.
    Regards.

  • Hitting tab opens another address line instead of moving to subject field

    With the latest update of Thunderbird, I cannot tab directly from the address field to the subject field. Hitting tab opens another address line which has to be deleted, then tabbing will move to the subject field. I hope someone fixes this quickly.

    When you open a new Write message the focus - cursor - should be in the first TO text field ready for you to enter an email address.
    Senario:
    If you have three TO fields auto available when you initialy open a new Write message:
    '''Test 1; '''
    '''Testing how TAB key moves through the various fields, allowing selection and movement without using a mouse and not pressing Enter at any time.'''
    Without entering anything in any field.
    Press 'TAB' key, - focus should go to the next/second TO drop down field. Press 'TAB' again and it should go to the adjacent TO field where you could enter an email, (but do not enter anything).
    Press 'TAB' key and it should go to third drop down TO field;
    Press 'TAB and it should go to the third and last shown (if you had 3 TO visible) adajacent TO input text field.
    Press TAB and it should go to the 'Subject field.
    Press TAB and it should go to the Content area.
    So when you initially open a new Write message, tell me how many TO fields do you see without touching anything? Please provide an image to show this.
    Then perform the test as written above - only use the TAB key.
    Do not use mouse. Do not press Enter. Do not enter any text.
    It should move through each visible field.
    Please report back on test results.

  • Set maximum size in Text Form Field Options for a field in bi publisher RTF

    Hi All,
    How to set maximum size in Text Form Field Options for a field in bi publisher RTF.
    I have a RTF whch is having a field in that i need to add some validation condition but after adding certain condition in Add help text tab ,it is not accepting after certain length, how i can increase the length to unlimited,please help me on this
    Thnaks

    Form fields have some restrictions if your are using version lower than 11g.
    They can accommodate only 393 chars. You can add the text in both status bar and help key, which can in total consume 393 chars.
    If your code logic is more than that, it can be split into multiple form fields as Avinash suggested or you can use sub template logic and handle coding over there. Again in sub template code can be within/outside form fields.
    So there is no option for user to increase the size of form field.

  • Layout Set: How to add a new field in a layout Set?

    Hi ABAPPERS.
    Question:
    How can I add a new field in a layout set?
    Scenario:
    QC21 uses a global Layout Set ZQMECOA_GLOBAL.
    There's a field required in this Layout Set which is Production Date(CAUFVD-GLTRP).
    Where is the date query happening here?
    Where can I insert the SELECT statement for the new field required?
    I try to look at:
    OPEN_FORM and WRITE_FORM, it seems that date query or SELECTION of data is not happening here.
    Thanks.

    If you are adding a header field then you will extend the header structure in CRM and do the same with Item structures for Item fields. You will use EEWB or similar technique in the CRM backend to extend the header or item.
    These extended fields in the backed are available in customer_h or _i structures in the order object that can be read and modified in the Header BAdI or Item BAdi.
    If you think that this message is cryptic or not enough, then you should search for Extension Guide in this forum and read the document.

  • How to set a default value for particular field in SRM PO Portal

    Dear Gurus,
    Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
    My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
    I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
    Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
    Thanks in advance...
    Regards,
    Sathish

    Dear Laurent,
    Thanks for your response,
    But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
    My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
    Kinly guide me how to get the particular node of field in the Purchase order screen.
    Thanks you in advance,
    Sorry for the inconvenience if any
    Regards,
    sathish

  • How to set a new value for formula field in crystal reports xi?

    <p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text =  "&#39;Subreport Formula&#39;"  or</p><p>crxSubreport.FormulaFields.Item("description").Text =  "&#39;Subreport Formula&#39;"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

Maybe you are looking for