Set required attribuite programatically

in actionscript you can set properties like enabled, text,
visible, value by simply saying MyControl.text = 'hello world' but
what if you want to set the required attribute? MyControl.required
= 'true' seems to render the error: There is no property with the
name 'required'.

Here's a link to asfusion that shows you how to do this
http://www.asfusion.com/blog/entry/enabling-and-disabling-validation-in
Ken

Similar Messages

  • What is setting required for Price Contol do the optional entery in master.

    Hi SAP EXPERT,
    What is setting required for Price Contol do the optional entery in Material master ?
    Regards
    Mahendra
    Edited by: MAHENDRA  NAVALE on Aug 27, 2011 2:23 PM

    HI
    In general in the material master record you can, hide display or optional for a field, but there are certain feilds should be mandatory for material creation,like base unit of measure,material description,and price contro,l valuation price,valuation class,without this you cannot create a purchase order.
    If you dont want to the price control means go for mateial type  non valuated material NLAG. because the price control is mainly linked with the material  valuation. based on the the price control  the price difference will post either sock account or price difference account.
    Goto>MM>LOGISTICS GENERAL>MATERIAL MASTER>FEILD SELECTION >ASSIGN FEILD SELECTION TO FEILD SELECTIN GROUPS(OMSR) >CHECK YOUR FEILD REFERENCE FOR PRICE CONTROL (MBEW-VPRSV) FEILD REFERNCE GROUP IS 32* > AND GOTO MAINTAIN FEILD REFERENCE FOR DATA SCREENS (OMS9) >ENTER  YOUR FEILD SELECTIN GROUP 32 (PRICE CONTROL )AND  CHOOSE MM01 MAKE IT FROM REQUIRED  TO OPTIONAL.
    Thanks
    Edited by: Nijamudeen**MM on Aug 29, 2011 10:19 AM

  • What the setting required in vendor master for Intercompany or intracompany

    What the setting required in vendor master for Intercompany or intracompany orders
    Thanks,
    Kiran

    Hi,
    For the inter company STO scenario
    Create a vendor for the company code of receiving plant, using account group :0007 Assign this vendor to Delivering plant
    in the Purchasing view>Extras>Add. Purchasing data>Plant.
    Also create an internal customer for the supplying sales area and assign it to the vendor, it helps in determining the Shipping point.

  • What is setting required In Middle ware?

    What is setting required In Middle ware?

    HI
    In general in the material master record you can, hide display or optional for a field, but there are certain feilds should be mandatory for material creation,like base unit of measure,material description,and price contro,l valuation price,valuation class,without this you cannot create a purchase order.
    If you dont want to the price control means go for mateial type  non valuated material NLAG. because the price control is mainly linked with the material  valuation. based on the the price control  the price difference will post either sock account or price difference account.
    Goto>MM>LOGISTICS GENERAL>MATERIAL MASTER>FEILD SELECTION >ASSIGN FEILD SELECTION TO FEILD SELECTIN GROUPS(OMSR) >CHECK YOUR FEILD REFERENCE FOR PRICE CONTROL (MBEW-VPRSV) FEILD REFERNCE GROUP IS 32* > AND GOTO MAINTAIN FEILD REFERENCE FOR DATA SCREENS (OMS9) >ENTER  YOUR FEILD SELECTIN GROUP 32 (PRICE CONTROL )AND  CHOOSE MM01 MAKE IT FROM REQUIRED  TO OPTIONAL.
    Thanks
    Edited by: Nijamudeen**MM on Aug 29, 2011 10:19 AM

  • Setting required to create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system

    Dear Experts,
    Can you please suggest me list of activities require to automatically  create Business partner record in SAP GTS for the customer who transferred from the SAP ECC system .
    i.e If I create the customer master record and transfer the same CMR to SAP GTS , what are the setting requires to maintain in SAP GTS sytem to automatically create the Business partner .
    Ram

    Hi Raghu,
    Below are the main settings required to enable you to transfer Customer Master Data to SAP GTS. Please note that their is a difference between, Customer Master Record and Customer Master Data in terms of data and for GTS, we transfer Customer Master Data. Hence, below are the settings required:-
    In SAP ECC system:-
    Activate the change pointers for Customer Master Data apart from enabling basic connection settings.
    Schedule a job to run at regular intervals to transfer all the customer master data for the available change pointers to the SAP GTS system
      2.  In SAP GTS system:-
    Maintain the Mapping for ECC Customers to SAP GTS Business Partners in the General settings area of the SPRO in SAP GTS system
    Ensure that the Number range is maintained for those GTS  Business Partners.
    Also, some time you may be required to maintain the organisational structure to ensure full working.
    I hope this will be helpful to you.
    Regards,
    Aman

  • Skill sets required for interfacing with third party

    Hi we are currently using LSO 603 , and we are scrom compliant , we want to build an interface with third party , where we have all our manufacturing courses stored . so client wanted to know the skills sets required for building an interface. please advise
    Thanks!

    Skills required.....
    ABAP including BAPI's/Function Modules
    understanding of Performance management and how it hangs together.
    Happy New Year.
    Jules.

  • Skill set requirements for SAP E-Sourcing and CLM

    Dear All,
    We are about to implement SAP-E-Sourcing 5.1 and CLM 2.0  (on Netweaver Platform). What are the skill sets required to support and do enhancement and customization to this solution?.
    Thanks in advance.
    regds
    velu

    Hi Velu -
    E-Sourcing technical consultants will require SQL skills if you are developing custom reports. The E-Sourcing query and reporting tools utilize "annotated" SQL statements the result in a SQL query being executed against the relational database. It is also useful for the report developer to have skills specific to the DBMS being used (for example, Oracle skills) - often times, using DBMS specific SQL constructs can provide improved reporting.
    E-Sourcing has a feature called "scripting" that allows custom business logic to be included in the application and executed at various "call-out" points. The scripting feature provided by E-Sourcing uses a technology called BeanShell (see www.beanshell.org for more details on this technology). Beanshell development really requires strong programming skills using Java, although some components of BeanShell may be more like JavaScript. Regardless, I recommend Java expertise for writing E-Sourcing scripts. Knowledge of HTML is not required.
    The E-Sourcing workflow capabilities also utilize BeanShell, so if you plan to implement any workflows, you will also require such technical skills.
    Many other features of E-Sourcing such as user interface customization can be done with less technical individuals. Programming is not required.
    Hope this is helpful.
    Regards,
    Rob

  • Setting required in XI components!

    Hi,
    are there any setting required  initially before we start any development on XI,
    I mean like do we need to do any setting using Tcode SXMB_ADM etc,not only this,are there any other Tcode in which settings have to be maintained.
    Any settings for AE,IS,IE etc?any docs or links  appreciated.
    thank you.
    regards,
    Babu

    Babu,
    The question is very vague. Before starting XI development there are lot of settings to be done like:
    post installation steps
    configuring integration engine in sxmb_adm
    creating SLD
    creating technical and business systems
    create SWC etc.
    So if you do all this then it is wise to start the development. Also some settings are specific to release so please the installation and configuration guide from service market place.
    Else you start doing development what ever the errors you are getting just debug them i.e, Reverse engineering.
    If you have any issues please post back.
    Regards,
    ---Satish

  • Setting required property on pre-update trigger

    i have set required property of 3 items on pre-update trigger of a block such that if user updates a listbox and if the updated value is 'P' for perentage then the user must fill all the 3 fields but even after setting the required property the record is saved if the fields are empty. the trigger is firing & everything looks ok. the portion of code i've used is:
    BEGIN
    IF :ROUTING_ENGINE_RULES.DISTRIBUTION_TYPE = 'P' THEN
    PAUSE; /*TO CHECK ENTRY ON TRIGGER*/
    SET_ITEM_PROPERTY('carrier_cd_percent1',UPDATE_ALLOWED,PROPERTY_true);
         ('carrier_cd3_percent',UPDATE_ALLOWED,PROPERTY_true);
    I'VE SET OTHER 2 FIELDS SIMILARLY
         

    put your code in when-listvalue-changed trigger for that 'P' trigger.
    to put it in existng place is still too late.

  • FRM-41390:  Cannot set REQUIRED property of subordinate mirror item

    hi,
    this is sathish,
    i have customized the oracle apps shipping transaction form, in this form i am calling the 10g report every thing is working fine but,when i open the form at that time it is showing the ERROR "FRM-41390: Cannot set REQUIRED property of subordinate mirror item"
    can any one suggest me how to slove this.
    tahnks,

    The first question is do you know what the error message means?
    It seems to be saying that you have a mirrored item, ie a field that it set to mirror the value of another. The error seems to indicate that it is not happy for this mirror item to have the required property set.
    If you know this already, then sorry for the explanation, but you did not make it clear in the post.
    I suggest to search for mirror items and see what properties they have, also see if you have a set_item property on said item that makes it required. I'm not sure from your description whether this happens at startup or after some event in the form.
    rgds

  • CRVS2010 Beta - help setting embedded field programatically

    I have a report where the details section spits out names that come from two fields: FIRSTNAME and LASTNAME.
    They are displayed in a textobject with embedded fields []. I need to highlight only the last name if it equals "Smith." I have accomplished this by right-clicking the and "Format Embedded Field" and next to the underline checkbox write a formula that says:
    IF {REPORTS.LASTNAME} = "SMITH" THEN
    True
    My question is, how can I set this formula programatically? I need "SMITH" to be a variable set by the vb.net program. I cannot figure out how to reference an embedded field within a textobject.
    thanks.
    Updated the subject accordingly
    Edited by: Don Williams on Sep 24, 2010 9:54 PM

    Thanks for taking my question. I am using VS 2010, and the CR and assemblies that came standard with it, 14.0.2.
    Meantime I came up with a workaround:
    I created a new input parameter called LASTNAME_IN and I can set that programatically. Then I modified the formula to read:
    IF {REPORTS.LASTNAME} =  {?LASTNAME_IN} THEN
    True
    and this functions as I wish. However this is incredibly manual  (I have to go back and add this parameter to each and every report) and it would be much easier to just be able to reference in the program.
    thanks again.
    Edited by: Chaseshaw on Sep 25, 2010 12:13 AM

  • OATS CPU does not support the SSE2 instruction set required to run JRockit

    Hello,
    I am trying to get the OATS agents to work on some injector machines, however, when I try to start them I get the following error:
    "[ERROR] Your CPU does not support the SSE2 instruction set required to run JRockit.
    Could not create the Java Virtual Machine."
    Is there a way to configure OATs to use the Sun JDK instead? I have the Sun JDK in my path and JAVA_HOME set accordingly, however that doesn't seem to make a difference. Alternatively, is there a workaround to this problem?
    Thanks,
    Michael.

    Hi Tab,
    In this case, SQL Server Analysis Services doesn’t support Distributed Transactions by design. Here is a similar thread about this issue for your reference, please see:
    http://social.technet.microsoft.com/Forums/en-US/8b07be45-01b6-49d4-b773-9f441c0e44c9/olaplinked-server-error-msolap-for-linked-server-olaplinked-server-does-not-support-the?forum=sqlanalysisservices
    One workaround is that use SQLCMD to execute the EXEC AT command and saved the results to a file, then import using SSIS.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Set required status for all subtypes first error

    Hello,
    While implementing OSS note 1744002 for Application Control Workflow i had the following error.
    In fact, i added a new attribute for BOR bus2201.
    When i wanted to change the status to implemented, i got the following error 'Set required status for all subtypes first'.
    Thanks,
    Meriem.

    Hi Meriem,
    Any new attribute should be added to the newly created custom SubType of the Object type BUS2201, but not Object BUS2201 itself.
    Revert the BOR BUS2201 to its original state and add the new attribute to your z<subtype>. You will no more get the error.
    Regards,
    Kiran

  • How to Set icon/image programatically in ADF before page loads

    This is my UI:
    Depends on the condition i want to set icon/image programatically in my java code.Before page load im calling this method.
    So i couldnt take binding value also,it throws null pointer exception.Then i tried setting icon/image programatically.
    <af:commandImageLink text="settings" icon="#{bean.iconsettings}" binding="#{bean.bind}"> </af:commandImageLink>
    My bean:
    private RichIcon iconsettings;(its getters and setters)
    private void method(){                         // method
    if(cond){
    this.iconsettings="/images/20.jpg";   //trying to set icon in a string.but it throws me error that cannot set RichIcon to string.
    else
    this.iconsettings="/images/19.jpg";
    Could any one tell me how can i set icon/image in java code.Before page loads im performing all above said tasks.Please help.

    Well, you set the icon property to a bean method, which you have done. The bean method however need to have the signature
    public String getIconsetting()
    // your code returning hte path to the icon
    if(cond){
         return ="/images/20.jpg";   //trying to set icon in a string.but it throws me error that cannot set RichIcon to string.
    else {
         return ="/images/19.jpg";
    The bindproperty is not needed, remove it and remove the RichIcon Iconsettings too´as it's not needed to and is the wrong type anyway.
    Timo

  • Basic Setting required for running simple JMS class

    please tell me all setting required for running JMS class.
    I have installed IBM MQSeries.
    Especially about how to lookup for Topic and TopicConnectionFactory and where should i specify.
    it is very urgent please help me fast. Also send any files for doing setting to me at [email protected]

    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY," "); //put yor init. context
    ht.put(Context.PROVIDER_URL, " "); //put your server url
    ctx = new InitialContext(ht);
    TopicConnectionFactory topicConnectionFactory = (TopicConnectionFactory) ctx.lookup(" "); // your connection factory
    TopicConnection tcon = topicConnectionFactory.createTopicConnection();
    TopicSession tsession = tcon.createTopicSession(false,Session.AUTO_ACKNOWLEDGE);
    Topic topic = (Topic) ctx.lookup(" "); // This is your topic
    TopicSender tsender = tsession.createSender(topic);
    TextMessage message = tsession.createTextMessage();
    message.setText("Topic Message");

Maybe you are looking for