Change the property of a field at runtime

hi all,
i want to change the field to read only depending upon a condition at runtime.
i know that it is possible to change the presence of the field.
but is possible to make it read only.
thanks in advance.

Hello,
if you would like to find a solution for yourself the next time, you can read throught the guides:
http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_basics.pdf
http://help.adobe.com/en_US/livecycle/es/FormCalc.pdf
Regards Otto

Similar Messages

  • Changing the Default meta data field property required into not required.

    Hi,
    Is it possible to change the default meta data field property values in UCM server.
    For example consider the meta data Revision field which property required is true, then how to change this property required into not required.
    Is this possible or not?
    Thanks
    Hari

    Hari,
    in your case (if you don't want to use versioning) I'd rather recommend to change it to hidden than not required. You should be able to do it with standard profiles (the field name, I believe, is dRevision)
    I don't think you can have the field empty (in case someone deletes the content).

  • How do I change the property value priceInfo.amount?

    How do I change the property value priceInfo.amount?
    After changing the quantity field in the shopping cart and submit the form, I need to convert the field value priceInfo.amount and then set it again.
    How do I?
    Thank´s.

    Why do you need to convert this value and set it again?

  • Dynamically change the type of a field

    Hello,
    After finishing reading the adobe documentation and looking at almost all the samples in the Adobe website, i still have no clues how to do the dynamic type changing in the E-Forms.
    Do you think it's possible to change dynamically the type of a field at runtime or during the generation of the pdf?
    Example:
    i send a table to the PDF with the following information:
    Table X line 1 column1 --> textfield type
    Table X line 2 column1 --> Numeric field type
    The result must be the generation of the table X with at the first line a text field and at the second line a Numeric. Of course those field will be editable.
    Possible ?? or not?
    Thx for your help,
    Pelaez Lopez Philippe

    Let me guess, you would like to work with Adobe as you would work with WD. You cannot generate forms from scratch. And that is equal to create a single field, than dynamically duplicate it, distribute it all around the paper and change the types to the right ones. This is not possible. You can only create a superbig form and use hiding.
    If you would like to see a super-big-crazy example, check form MEDRUCK delivered by SAP. This form is superbig, but your output can contain only few fields according to the print type you need.
    If you form is that complicated you cannot build it this way, then the requirement is probably not structured and goes against the meain stream (which needs the structure:))
    Otto

  • Changing the label of a field in SAP GUI

    Hello SAP Guys,
    I would like to change the label of a field in SAP GUI.
    I already did it internally because for that field the Shor Text of the label changed:
    I went to SE11, and wrote down the appropriate data element, through Translation I changed the entries of SCRTEXT_L, SCRTEXT_M and SCRTEXT_S and activated this change after saving.
    It is very strange that after making sure that the
    Short Text of that field was changed, I went to trx BP and I could see that the label didn´t change.
    I´ll appreciate any help you can give me,
    Regards,
    Efrain

    Hi Efrain,
    Can you tell me in which screen did you make the screen.
    Moreover the changes are not reflected immediately.
    What you can try is to create a new record of the transaction in which you changed the label and save the recore. After this try to close the session and reopen the transaction and this should work.
    The reason is the label on the screen are not picked up from the data element everytime but from buffer. So when you create a record this updates the database table entry and can also refresh the buffer.
    I had the same problem in BP transaction and the above solution worked.
    Let me know if this helps.
    Jash.

  • How to change the lenth of existing field in sap standard table

    Hi all,
    can anybody help,my requirement is, how to change the length of existing field in sap standard table....
    thanks in advance..

    Which field are you thinking of in particular?  Are you wanting to increase or decrease the length?
    Some fields are used so extensively that a change to their length will mean adjusting many tables, some of them potentially very large, and hence taking a long time to adjust.
    Some standard SAP programs expect certain fields to be of specific lengths and won't work if the length is changed.
    Some screens could cease to work.
    If you decrease length, then you could lose data.
    matt

  • How to change the text of a field in organisational assignment.

    hi gurus,
    how to change the text of field MSTBR (super visor) to a differnt name in info type pa0001.
    i have changed the field name in cmod , changed name appears in table.but it is not appearing in the info type screen 0001.
    how to resolve this pls help me..

    hi,
    The Field showing in the infotype 1 is FORPR.
    Change the text of this Field in CMOD.
    CMOD ->Go to ->tect Enhancements->keywords-> Change ->FORPR
    Change the text and check again.
    Regards,
    Manoj.

  • Cr XIR1 to create a custom function to change the timestamp of a field

    Post Author: palm
    CA Forum: Crystal Reports
    Hi,
    I am trying to create a custom function to change the timezone of a field in the report depending on the timezone selected by the user in the prompt
    I wrote a SQL Expression to do this , but i ended up creating a bunch of expressions for each time zone ,
    So i am thinking of custom fuction some thing like
    TimeZoneConvertor:
    Fuction(TimeStampField ,  Timezone)
    Returns: Timestamp field with newtimezone as selected by user
    Hope you get this and please give me some kind of ideas to acheive this
    Thanks in Advance!!!!!!!!

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • How can I change the property of a graph running in another VI ?

    I know how to set a control value in another VI using the invoke node but what should I do to change the property of a control?

    Hi Zumdal,
    you can make a reference of your graph, copy it in a global variable that can be handled in a remote vi to change the property of the graph.
    I attach a sample LLB that contains a graph.vi and a property.vi.
    From the property.vi you can control the property of the graph.
    Good luck,
    Alberto
    Attachments:
    graph_property.llb ‏27 KB

  • Change the size of a chart in runtime in LV7.1?

    Is it impossible to change the size of a chart in runtime in LV7.1? I can only see that the properties width and height is readable. It would be very neat to have these properties writable so one can change the size of for instance charts in run-time.Is it impossible to change the size of a chart in runtime in LV7.1? I can only see that the properties width and height is readable. It would be very neat to have these properties writable so one can change the size of for instance charts in run-time.
    Regards/Lars

    Thomas,
    You wrote,
    "Yes, you are right, it has just effect to the plot area." (bold added).
    That is not the case I found. Those properties do change the plot area BUT the rest of the chart adapts around that area so the WHOLE chart re-sizes.
    See attached.
    Confused,
    ben
    Message Edited by Ben on 11-09-2005 07:37 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Re-size chart.JPG ‏30 KB

  • How to change the caption of a field with a button?

    I have serious trouble, don't know why, in order to change the caption of a field.
    I can't do it with a button as in any other way...dropdown list, ecc...
    Assumes that we have a button and "on click" i want to change the caption of a numeric or text field.
    form1.ppp.Button1::click - (FormCalc, client)
    NumericField1.caption.value.text.value = "whatever you want to set it to";
    TextField1.caption.value.text.value = "whatever you want to set it to";
    xfa.form.form1.ppp.NumericField1.rawValue = xfa.form.form1.ppp.NumericField1.rawValue + 1;
    The numerical value inside the numericalfield1 is increased each click...but the caption still the same.
    Why this happen?
    I check many threads on this forum and on google and i still find these samples...
    please help.
    Thank you

    Yes, it is. Also in preview i checked "dynamic XML". is it right?
    i try to download this sample while searching in the forum to solve my problem
    https://acrobat.com/#d=pxtis4z3OxCqWxajZwDS2Q
    i try to add to that form my code and it's work!! i can't undersand why...
    Below you can find my PDF...i can't understand why here the same code doesn't work
    http://www.hsc350.it/download/Untitled2.pdf
    Thank you again!

  • Can we change the property of each element of an array using property node or by other methods?

    Hello all,
    Can we change the property of the elements of an array. For example:
    I have an array of combo-boxes. Can i have such a scenario that different combo-boxes of the array will have different items to select an item.
    I am able to set the different "values" in different combo-boxes bu using "to be more specific class" property node.
    But i could not set the different item list in different combo-boxes.
    Please give me the solution.

    Thanks a million dave!!!!!
    I have learnt a very new and innovative thing...
    I just wanna ask you one more question in the above context.
    Can i have listbox or combo-box in a table just like in an excel sheet where we can have listbox by using "data validation" property for different cells having different list.Can i have this in labview. Because for this i have to super-impose the combo-boxes on the table and treat them separately.
    We have to take those combo-box values and put in table and then store it.I have attached one VI to show the scenario.
    And this is the alternative solution of the array problem which u have already given. So please suggest me between the two or any alternative solution.
    Thanks,
    Ankit Madaan
    Attachments:
    Recording _Table.vi ‏19 KB

  • How to change the attributes of screen fields dynamically

    <b></b>
    well i have created a table by name empmaster_data with following fields.
    *emp_id.
    *emp_fname.
    *emp_lname
    *dob.
    *doj.
    *dept.
    *desig.
    now using a single screen i want to create,change and display the information.even i am using save and exit button.
    now i want to change the attributes of screen fields dynamically like active,input,output,invisible.

    Hi,
    Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • Change the description of a field in a SAP QUERY

    Can i change the description of a field in a SAP QUERY report in the output of the report.or only the standard descriptions can be displayed.
    Edited by: mysap query on May 12, 2009 7:23 AM

    HI,
    in query maintenance (sq01) you can change the text of the field at the selection screen (change the selection text in the screen where you choose the selection fields) and the header text in the output list (basiclist maintennace , go to "basic list header", double-click each header field to maintain the text). This change is only for the particular query. No ABAP-er required to do so.
    BR Christian

  • Changing the text of Text field in standard SAP transaction.

    Hi expert,
    I have a requirement in which i have to change the text of Text field in standard SAP transaction.
    Is it possible? If so, how?
    Any pointers will be highly appreciated.

    Hi,
    I think you want to change the field label of the text field.
    For ex in tcode MM01, you can change the field label of Material text field.
    The description of the field label comes from the data element it is associated with. To change the text of the field label, you have to change the field label of the data element.
    But it will effect all the fields associated with this data element.
    To change the field label of the data element go to tcode CMOD. Then click on GOTO->TEXT ELEMENTS->KEYWORDS->CHANGE.
    Then enter the data element which is to be changed. In the next screen, change the field label and save it.
    Regards,
    Vinod

Maybe you are looking for

  • File-soap-file : problem in getting Interface Mapping

    Hi I am doing file to Soap to file scenario by using BPM. But I have several methods in Web Service.I am using one method for my requir in that I have to trigger by using CharSoapIn and CharSoapout interfaces . I have created <i>Message mappings</i>

  • How to do correction in AP/AR invoice.

    Hi Experts, at one of my client i faced the problem when we generated the AR Invoice and after that both side decided that increase in item rate so invoice amount changes. The item is excisable so we need to generated excise invoice for the correspon

  • No matching record found when creating Incoming Payment...

    Hi, I'm starting a transaction, creating a invoice and then creating a incoming payment. The invoice is created successfuly in memory I can see the next DocEntry and DocNum and passing it to the incoming payment as usual but I'm getting the error : N

  • Excute unix script from java.

    Hi need to excute unix script from java application. My code is: public class Test public static void main(String args[])      try{      p = Runtime.getRuntime().exec("./qfe0"); //qfe0 is the name of the script. p.waitFor(); catch(Exception e) e.prin

  • Addition on fly in adobe form

    Hi, I have a requirement where user inputs value in column A and Column B  field.Column C should have  column A + Column B value . I don't need any interaction back to SAP .User's will print the form and save it .Should I still click ENABLED option?