How can I change the parameters in form

Hi there,
I´m creating a WD application with add and change data.
The change form it´s ok and works fine, but I want to use the same form to add data too...
But the change from has some element "read only", how can I change the parameter in this form and clean the other elements?
Thanx a lot

hi minoru.....
consider you are having an input field....
create an attribute of type string in the context.
bind it to the read only property of the input field.
now pass the value x to the input field, to make it read only  or pass '' to make it read write.
  DATA lo_el_context TYPE REF TO if_wd_context_element.
  DATA ls_context TYPE wd_this->element_context.
  DATA lv_read_only LIKE ls_context-read_only.
* get element via lead selection
  lo_el_context = wd_context->get_element(  ).
*********read_only is the attribute name bound to the read only *********property of the input field.
* get single attribute
  lo_el_context->set_attribute(
      name =  `READ_ONLY`
      value = '' ). *** you can pass x to make it read only
***** to clear the values
lo_el_context->set_attribute(
      name =  `INPUT_MATNR` * this clears my input field.
      value = '' ).
---regards,
   alex b justin

Similar Messages

  • How can I change the default web form names?

    I'm using the web forms in Business Catalyst, but our web site is in Norwegian, so I want the default FirstName and LastName values to be displayed in Norwegian in the error message when the field is not filled out.
    At the moment the user will get an error saying "Skriv inn First Name". "Skriv inn" is correctly translated from English to Norwegian, but the value "First Name" has to be changed. The same applies for "Cell Phone Number".
    Also, I don't really want two fields for the name, I want the form to have just one field that is called "Name" or "Navn" in Norwegian.
    I have tried deleting the name fields and replacing them by custom fields, but then I get an error message when the form is sent saying "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page."
    Also, why does some of the "-" before the error have a space, and some not? I want all the errors to be displayed with a space between the dash and the error.
    The e-mail error is automatically translated into Norwegian for some reason, but it should be a dash in there, so it says "e-postadresse" and not "epostadresse".
    Is there anywhere I can customize these error messages? Or at least change the values of the English fields to Norwegian so the error messages display the Norwegian field names, and not the English?

    That is very helpful! Thank you!
    But how can I change the dashes that are shown before the error? It really annoys me that they are shown inconsistently with different spaces like this:
    - Error 1
    -Error 2
    - Error 3
    -Error 4
    And is there any way to change the automatic translation from English to Norwegian?

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

  • How can I change the tax formula in system form ?

    Hi,
      Usually the tax is extra-added for 5% in calcaulating.
      But now I need to change the formula of tax to be embeded.
      How can I change the tax formula in system form ?
                                           Besr regard!

    Great!
    I suppose "Speed-button" is the same as "toolbar button", right?
    To all (more or less):
    It confirms that I am on the right track when I bother the participants in this forum time-after-time with remarks to train themselves - or get trained - in application + customization features (+ SDK).
    Of course as developers we can use the SDK for whatever purpose and try to develop additional functionality - ... that might already be there, but we just don't know about it
    In addition the power of customization features (UDFs/UDTs/queries/formatted searches (also bound to fields on SAP Business One forms)...) should not be underestimated!!!
    When starting development with SDK you - or the person who writes the specifications for an Add-On must IMHO be familiar with the application + the customization features + being trained with SDK to avoid unnecessary development or getting into trouble latest when the solution is shipped to a customer...
    Please again note that there's a lot of eLearning available in the education area in the SMB Portal on SAP Service Marketplace.
    Regards,
    Frank

  • How can i change the title in the system form 'Sales Order Form'

    hai
    how can i change the title in the system form 'Sales Order Form'  and then how can i call this form?

    Hi Sanjoy,
    You find the form property like this :
    SAPbouiCOM.Form oForm = null;
    oForm = SBO_Application.Forms.Item(pVal.FormUID);
    oForm.Title = "New Title";
    Michael

  • How can I change the default blue colors of Planning web forms?

    Hi,
    how can I change the default blue colors of Planning web forms and the Logon screen colors?
    thanks

    That PDF file mentioned updating file HspCustomImgs_en.template in D:\Hyperion\deployments\WebLogic9\servers\HyperionPlanning\webapps\HyperionPlanning\custom folder:
    But for what I needed to do, here's another undocumented file to change color in right side menu: Update global.css file
    in D:\Hyperion\deployments\WebLogic9\servers\HyperionPlanning\webapps\ HyperionPlanning\ui_themes\tadpole

  • How can I change the aspect ratio of an image display

    I am snapping a sequence of images and using imgPlot to diplay the images. However, due to my camera specifications [it's a Pulnix 9701 with Pixel Size 11.6μm (H) X 13.3μm (V)], the image I get displayed is elongated in the horizontal direction, i.e. if I snap an image of a square, I get a rectangle on my computer display.
    How can I change the aspect ratio of the display on my computer? The only parameters I have seen so far just control what portion of the image is acquired or diplayed, but none actually changes the aspect ratio.
    Thanks in advance for any help.

    If you are using an analog camera, you can set the aspect ratio in MAX. This will correct for non-square pixels.
    If you are using a digital camera, I don't think there is a way to fix it during acquisition. You could resample the image to correct the ratios, but that would be a slow, time consuming process.
    One other possibility is that your computer monitor is in a mode which is not a standard 4x3 configuration. For example 640x480 and 800x600 are 4:3 ratios. 1200x1024 is not, which tends to distort your displayed images.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How can i change the direction of tab canvas in 10g ?

    hi all
    how can i change the direction of tab canvas in 10g at runtime i want to change the direction from left_to_right to right_to_left when i did that the form not appears well
    all prompts of item not dispalyed in order of its sequence ,in spite of that it works in 6i well and change direction without any problems
    i have been used set_canvas_property and set_view_property but it doesn't work
    can anybody help me in this mater?

    please can any body help?

  • How can I change the interactive PDF font?

    I'm making a interactive PDF in inDesign (CS6). Problem is, when I export the file in to a interactive PDF, everything looks good except when I  want to type in the text field (interactive) the font is in Times New Roman. I want another font. So my question is, how can I change the (interactive) font? I tried a lot of things, but I can't find the solution.

    @Renzo – in Acrobat Pro you have an option to format the form fields.
    Under the tab "Appearance" there is "Text" with "Font Size:", "Font:" and "Text Color:".
    See screenshot:
    Uwe

  • How can i change the size of PDF files ?

    how can i change the size of PDF files? when i convert documents in the acrobat browser it seems the files become larger then normal pdf files, this is, i compare with other files that people send to me and i realise that they are smaller than my converted files, even if they have more pages.

    A lot depends on the form of the PDF. Is it graphics, a scan of a text file, pure text, or other? What version of Acrobat are you working with.
    You can do a save as to get a WORD file, but do not expect great results. The ability to get a decent WORD file depends on what the form of PDF you are working from. If it was created from WORD with tags and all, you might get good results. If not, you might get a lot of messed up results.
    Explain what you are starting with and your ultimate goal. Also check the audit of the file (should be under PDF Optimize) to see where the file information is concentrated (text, fonts, graphics, other).

  • How can I change the size of a pdf source file, or, convert it to Word?

    How can I change the size of a pdf source file, or, convert it to Word?

    A lot depends on the form of the PDF. Is it graphics, a scan of a text file, pure text, or other? What version of Acrobat are you working with.
    You can do a save as to get a WORD file, but do not expect great results. The ability to get a decent WORD file depends on what the form of PDF you are working from. If it was created from WORD with tags and all, you might get good results. If not, you might get a lot of messed up results.
    Explain what you are starting with and your ultimate goal. Also check the audit of the file (should be under PDF Optimize) to see where the file information is concentrated (text, fonts, graphics, other).

  • Can you please tell me how can i change the parameter of Applet using Aspec

    Respect Members
    Can we apply Aspectwerkz on Applet? In our project we have to
    change the method parameters before its execution(Around Advice) , can we do this in applet using Aspectwerkz?
    Can you please tell me how can i change the parameter of Applet using Aspectwerkz or AspectJ ?
    I did it by for Java Application using the AspectJ And Aspectwerkz But not able to do for Applet.
    For Applet I Am setting the parameter in JAVA plug in for Aspectwerkz e.g. -Xdebug -Xrunaspectwerkz -Xbootclasspath & path for xml file in which pointcut is defined.
    If you any Friend working on it or any author who might be helpfull for me please Forward this mail to him/her
    THANKs in Advance
    [email protected]

    hello rodale, what you're seeing is probably a side effect of firefox not being able to save certain preferences into its profile folder.
    go to ''firefox > help > troubleshooting information'', click on ''profile folder/show folder'' and close all firefox windows afterwards. a windows explorer window should open up - in there delete the file named '''user.js'''.
    in case this didn't solve the issue yet please also refer to [[How to fix preferences that won't save]].

  • How can i change the position and size of the applet

    dear fellows,
    how can i change the position and size of the applet in which form is running over the web.
    thanx
    Mochoo

    Yes, you can add the following line to your formsweb.cfg section :
    HTMLbodyAttrs=onLoad='javascript:self.moveTo(100,100)'
    if you are in SEPERATEFRAME = FALSE
    Or Set_Window_Property( FORMS_MDI_WINDOW, POSITION, X, Y ) ;
    if you are in SEPERATEFRAME = TRUE

  • How can i change the sequence of text element in standard driver program ?

    Hi,
    can u tell me how can i change the sequence of text element in standard  sapscript driver program.. without making a zcopy of standard driver program.
    My problem is when MEDRUCK form is getting printed for PO print , header text is coming before item. But the requirement is to come it after item.So how cani do that without making the zcopy of  SAPLMEDRUCK program..Is there any enhancement point in SAPLMEDRUCK driver program..where i can put my customise code for changing the sequence of text element ?

    Hi,
        Just copy the MEDRUCK to ZMEDRUCK. No need to copy the driver program.
    1) SE71Menu > Utilities > COpy from Client
    MEDRUCK ->>Client 000
    New formname ZMEDRUCK
    2) Now open the ZMEDRUCK in DE language in SE71
    3) Menu > Utilities > Convert original Language
    Change DE  to EN, save and activate
    4) Now open the ZMEDRUCK in EN language
    5) Goto Pagewindows > Main window,
    Look for the HEADER text Text element, copy the whole code under this Text element just after the ITEM text Text element, and comment the HEADER text above.
    Now the Header text Text element will be below ITEM text only. This will full fill your requirment.
    Now goto NACE transaction and add the copied ZMEDRUCK to the EF application.
    Regards
    Bala Krishna

  • How can I change the name of my home folder?

    Just got a new job. Yeah! Taken over former employees' iMac. I made myself Administrator, seem to be the only log in option. But, my home folder is still in the old guys name. How can I change the name on the Home folder without deleting it and loose all the files? CAN'T loose the files?  Help...
    Thanks

    Changing the existing home folder name is complicated. I recommend you NOT do that.
    Instead, create a new User with exactly the home folder name you want, and copy your files over to that new user. Once a few days have gone by trouble-free, and you are certain you have no issues, you can delete the old home folder.
    While on the subject of users, Some users prefer the peace-of-mind of using an "ordinary" user account, rather than an Admin account for daily use. This makes it much harder for anything to "sneak" onto your Mac, as you need to authenticate anything to be installed in system directories.
    To do this, create a new Admin user, log into it, and demote your daily-use account to a non-Admin user. When actively installing stuff, the Admin username and password will be requested.

Maybe you are looking for

  • NME-CUE stuck in waiting after upgrade from 8.5 to 8.6

    Hi, I have been trying to upgrade our CUE from 8.5.4 to 8.6.4, but after the upgrade it is stuck in the below stage. Any help would be much appreciated.         Welcome to Cisco Service Engine Power button monitor started Setting the system time from

  • SharePoint Bug? Conflict Error when saving a Page with a "Required" DateTime field in the page layout

    Hello, I've just recently encountered a weird error / bug in SharePoint. Here is the scenario: - I have a custom column "Test Date" that is of DateTime field type. The field is configured as REQUIRED. - It is added to a custom Content Type "Test CT"

  • How to restore file associations in Bridge CS5?

    Hi Some time ago I somehow lost file associations in Adobe Bridge CS5. Now when I doubleclick a RAW file (Canon .CR2 file) I get Firefox, when I doubleclick a JPG I get FastStone and when I doubleclick a PSD file nothing happens at all. Also Photosho

  • Importing Spreadsheet's

    I put my tables in sys and was trying to move them to my development area using export and import. The export worked fine but the import keeps taking me to a page with a web address. When I select that address, it shows me the license. I read the ent

  • Editing text in elements 11

    I purchased a well designed sample resume and opened it with my elements 11 to edit the text. But I do not know how to. Can somebody help me in this?