How to set a DFF Field as a mandatory field dynamically (Forms 4.5)

For example i need to set one field (in DFF) as mandatory for some order types in the standard order entry screen.
I tried
set_item_property('ORDER.ATTRIBUTE1',REQUIRED,PROPERTY_TRUE);
but i a mgetting error as " can not set ORDER.ATTRIBUTE1 of NULL canvas item.
Please help .
Thanks ,
Shivaji.
Edited by: Shivaji M on Dec 30, 2009 10:55 PM

Hello,
Your item has no associated canvas, so it is not displayed, then you have no reason at all to set its required property, because the end user would never be able to enter it.
Francois

Similar Messages

  • How to set the DFF Attribute Programmatically?

    hi
    how to set the DFF Attribute Programmatically in Process Request of CO
    thanx

    Hi
    Do u want to set the value in DFF Programmatically ?
    u can capture the VO used for DFF and set the the value in controller.
    Thanks

  • How to set the data fields column wide at sqlplus

    Dear Sir/Madam
    I would like to know how to set the data fields column wide at sqlplus
    Thanks
    Francis

    see
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
    and the FORMAT clause of the COLUMN command in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF

  • How to increase the DFF fields length

    Hi Gurus,
    its very urgent requirement ,how to increase the dff field length in standard page i.e self-service appraisal page,please help me
    Regards,
    Sreeni

    Hi Ayaz/Sreese,
    As per my requirement user enable the DFF Fields in perticuler pages in sshr module like PMS So ...i create the attribute columns and viewinstance through personlization create the column and i give the hight and lenght in column cration time i create the id like "XXApr" same id name i gave in DFF Field Names.....so i did like ....this is my approch.....
    ---u have any doubts fell free to post the mail..i fwd through screen shots then only u undershood ,([email protected])
    Regards,
    Srinivas

  • HOW TO SET A RAW FIELD

    Hi,
    I'd like to know how I can set a RAW field with the correspondent '10' value (for '10' i mean the byte value of '00000101').
    Is there a manner to do this at low level, without cast ?
    Thanks and best regards,
    Neil

    The string 00000101 generally represents the binary value of 5 so I am unsure of exactly what you want but maybe the following will help:
    UT1 > set echo on
    UT1 > col dumped format a30
    UT1 > drop table example;
    Table dropped.
    UT1 > create table example (fld1 varchar2(10), fld2 raw(02));
    Table created.
    UT1 > insert into example values ('Row 1',hextoraw('05'));
    1 row created.
    UT1 > insert into example values ('Row 2',hextoraw('0A'));
    1 row created.
    UT1 > select fld1, fld2, dump(fld2,16) as dumped from example;
    FLD1 FLD2 DUMPED
    Row 1 05 Typ=23 Len=1: 5
    Row 2 0A Typ=23 Len=1: a
    Being that on a big endian machine the 8 bits of a byte are 0 - 7 numbered left to right and on a little endian machine the bits are 0 - 7 right to left this may be where the confusion in your post is coming from. On my system the Oracle functions appear to follow big endian set and display patterns but I suspect that the physical byte settings match. You would need to test this by dumping the raw data on the target platform. The only difference this makes is the character value you would choose to get the bit pattern you want.
    The dbms_raw package provides varchar2 to raw and back conversion functions.
    HTH -- Mark D Powell --

  • How to set a payload field value only once for multiple instances selected?

    The user needs to set a payload field value and then he can approve the task so the task can continue through the process, that's fine when the user selects one instance and sets the value in the task details section and then clicks the approve button, but how do we achieve the same behavior in a multiple way?, I mean the user can select multiple tasks in the workspace (in this case the details task page is not available and instead the following label appear "Multiple tasks selected") then if the user clicks the Actions drop down -> APPROVE he only gets the message "your request was processed successfully", so how can the user modify the payload field value only once for all the selected tasks so when he clicks APPROVE the value is populated in all the instances selected.
    Thanks,
    Carlos.

    In the action which displays the edit page just set the form idx value before displaying the jsp.

  • How to make few DFF fields read only in Forms

    Hello.....
    I am having an Issue in forms customization through custom.pll
    I need to make few DFF fields read only in HRMS enter and maintain form through custom.pll
    I tried with fnd_descr_flex.update_definition but in vain
    So please help me how to rectify this issue.
    Edited by: user.nazeer25 on Jul 9, 2010 5:27 AM

    Hello,
    Wrong forum.
    Ask this kind of question in the E-Business Suite forum ;-)
    Francois

  • How to set ApplIndentityData header field in JMS adapter

    Hi Guys ,
        I have one requirement for update the field in SAP JMS header. I am using transport protocol for IBM Websphere MQ in JMS adapter.
    While sending data to IBM Websphere MQ Queue via JMS Adapter, need to set the field called ApplIndentityData with the appropriate value which is populate to a MQHRF2 header of a message.
    So, regarding that where will do it? Means JMS receiver adapter or IBM MQ level. If JMS receiver adapter, I think using ASMA, So please guide me how to set this filed value in JMS adapter or share any document you have.
    Thanks & regards
    Vijaykumar S

    Hi RejaSekar,
           I reffered your blog and did the below settings in JMS module and ASMA settings. 
    1) Changed the mode for u201CJMS-Complaintu201D instead of u201CWebsphere MQ(non JMS)u201D
    2) Additional JMS message properties tab created below property name and java type.
           LocalName    --> String
           Partname      -->  String
    3) In module parameter tab added the below module name and key
        AF_Modules/DynamicConfigurationBean   -->  LocalEnterpriseBean  -->  RFH2HEADER
    4) Under parameter Tab
         RFH2HEADER       -->   key.0      -->     insert http://sap.com/XI/System/JMS  DCJMSMessageProperty0
         RFH2HEADER       -->   key.1      -->     insert http://sap.com/XI/System/JMS  DCJMSMessageProperty0
         RFH2HEADER      -->  value.0    -->    LocalName
         RFH2HEADER      -->  value.1    -->    PartnerName
    Kindly check the above settings whether this is correct or wrong. If anything wrong please let me know what we need to change JMS receiver adapter.
    Actually my requirement is need to set these parameters and set the value to that parameters and pass in to /usr folder of a WebsphereMQ message.
    Kindly check and help me out.
    Thanks & regards
    Vijayakumar S

  • How to set the expires field to stop caching of pages

    I want to set the expires fields of the HTML data on pages delivered by weblogic, so caching servers(ie ISA) and clients dont cache the my pages. How do I do this?
    Thanks for any help

    I guess that's the NI Domain (NI Security Login) user name. Check out Tools->Security->Login in LV main menu.

  • [AS][INDCC] How to set Color Conversion field to No Color Conversion when creating PDF Export preset

    How can i set Color Conversion field in Export to PDF dialog to No Color Conversion when creating PDF Export preset? i have done a bit of searching and have found where it has been recommended to set effective pdf destination profile to use no profile but it doesn't seem to be producting the expected results.

    Yes, it seems that i had to make the change after creation, not while creating the preset. thank you.
    tell application "Adobe InDesign CC"
         set newPreset to make new PDF export preset with properties ¬
              {name:"preset name", standards compliance:none, acrobat compatibility:acrobat 7}
         tell newPreset to set PDF color space to unchanged color space
    end tell

  • How to set a BCS field in document library via PowerShell?

    Hi,
    In my  doclib there's a BCS field named "CUSTOMERS3". When I set it as:
    $item["CUSTOMERS3"]="BADO"
    I see the text "BADO" in "View All Properties". But if I click on "Edit Item" button in the toolbar I see the proper picker empty. How should I set my BCS field correctly via PS?

    Hi,
    According to your post, a problem occurred when you set an External Content Type field using PowerShell.
    Here is a similar thread for you to take a look at:
    Updating an “external content type” field on an SPList using PowerShell
    http://stackoverflow.com/questions/8402655/updating-an-external-content-type-field-on-an-splist-using-powershell
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to set a string field with people picker control group

    Hi Guys
    I have a problem with a form list, when I need to set a string field with de content of people picker control that have more than one "user".
    Is there any way to put in string a list of user like the people picker control shows in a form?
    The really problem is I don't know how to read an array of user in a formula rule.
    any example or idea should be appreciated.
    tnks.

    Hi ,
    Please try out in following way :
            /// <summary>
            /// Set value to people picket control
            /// </summary>
            /// <param name="key"></param>
            /// <param name="ppl"></param>
            /// <param name="item"></param>
            private void SetDatatoPeopleEditor(string key, PeopleEditor ppl, SPListItem item)
                try
                    if (item[key] != null)
                        string users = string.Empty;
                        SPFieldUserValueCollection userCol = new SPFieldUserValueCollection(web, item[item.Fields.GetField(key).Id].ToString());
                        foreach (SPFieldUserValue usrItm in userCol)
                            users += usrItm.User.ToString() + ",";
                        ppl.CommaSeparatedAccounts = users.Remove(users.LastIndexOf(","), 1);
                catch (Exception ex)
                    lblErrorMessage.Text = ex.Message;
    private SPUser GetAccountName(PeopleEditor accountPE)
                SPUser user = null;
                string strAccountName = String.Empty;
                try
                    for (int i = 0; i < accountPE.ResolvedEntities.Count; i++)
                        PickerEntity objEntity = (PickerEntity)accountPE.ResolvedEntities[i];
                        user = web.AllUsers[objEntity.Key];
                    return user;
                catch (Exception ex)
                return user;
    It works for me .

  • How to set focus on field having data type other than character(eg. NUMC)

    Hello all,
    I have developed one screen having table control inside. In table control suppose if numeric type field is blank(eg. Employee number of data type NUMC), system should throw error message and should put cursor focus on that perticular filed. In the same table control for fields of data type 'CHAR',  I have done this using 'SET CURSOR FIELD' .
    Please, suggest me how to set cursor focus on the fileds of data type other that character(eg. NUMC)

    Have you tried it?  SET CURSOR FIELD ... works fine for type 'N' fields in a table control.  The restriction is 'character-type' and 'flat'.  Type 'N' (or NUMC-like) fields are both.

  • How to set the 'Lot' field in Batch Pending (Product) Lots as 'Optional'

    We are now Upgrading FROM 11.5.10.2 To r12.1.3.
    The 'Lot' field under Batch material Details -> Pending Product Lots is mandatory, Which is very bad for us.
    Our Current (11i) business process for creating Product lots, is to 1st allocate the 'Lot', and later on allocate and complete the 'Sublots' within this lot.
    The equivalent process in r12 should be: 1st allocate the 'Parent Lot', and later on allocate and complete the 'lots' within this Parent lot.
    Question: Is there any way to set the 'Lot' field to be optional?
    Thanks,
    Eran.

    Hi
    No this is not possible, since Parent lot is a subset of Lot in R12. Once you choose your item as LOT, then it is not possible to make as Optional.
    Try to raise an SR for this, Oracle may provide some workaround for the same.
    Rgds
    Raj
    NTTData India

  • How to set a key field in a local provider for BW workspace

    Hi Experts,
    I've created a local provider through BOBJ analysis for excel / Workspace designer in a BW workspace. However, all the dimensions by default are not having the key field enabled and I'm not able to enable the key field through BW workspace. Also I see the Fact Index Without Key is enabled by default in technical settings, which is not allowing me to select "Fact Index with Key" either. When I go to edit mode, it says "Analytic Index XXX can only be changed in workspace designer". I even tried to go into workspace designer and by selecting the necessary local provider, I coudn't find an option under Local Provider->Reload Provider->Reload (With Changes)->Choose File->Edit Columns to enable the key field(s) for the dimensions.
    Can you please help to locate how to enable the key field for dimensions in local provider.
    Thank you in advance.
    Regards,
    Karthik

    There's nothing to solve. If Reader (XI only) is used only PDF files can be selected. This is how it's supposed to work (although I agree it's silly and should be changed).

Maybe you are looking for

  • The plug-in for the selected item... TR cRIO 9014

    Hi all, When opening project built in LabView 8.6 i get a warning (please find the attachement). I can not recollect what plug-in I need to start?  Can it be related to vi's written for RT? Maybe one of them utilizes toolkit I have not installed? Sol

  • Looking for Simple report

    Hi All Hope u are doing well I was looking a simple report which gives me celar picture of the stages Sales oder no, Invoice numberNo, if on production production ordernumber due date of production order and po invoived to get the production done and

  • The issuer certificate of a locally looked up certificate could not be found. What do I do?

    I downloaded a program and got this error message: "The issuer certificate of a locally looked up certificate could not be found" and "The root CA certificate is not trusted for this purpose". What do I do?

  • Insert to other DB from PL/SQL Procedure

    Hi, I have a PL/SQL Procedure running in my 10g DB. When this procedure is executed, i want some data to be inserted to tables in other DB(like MS SQL Server DB Table) Pls Advise Regards, Murugesan.

  • URGENT...help me please !!

    I need help ! my macbook crash and there's an error on my itunes and all my files are gone even my playlist.I try many ways to restore it but still the same even using the time machine..Any ways to restore back all my files ? and is there any ways th