Freeze field of form

There is any possibility for freeze(Inactive) on the item master form like (item Description)
Means i want to Inactive(Not editable) field(item Description) on the item master fields.
Thanks

Hi Krishna,
This can be done only by means of coding....
Regards
chidambaram

Similar Messages

  • Problem with freeze on Document forms

    Hi all,
    i've a problem with freeze on document's forms (like invoice) when i make changes on matrix.
    For example i've an addon that calculate discounts for items and update the information in the matrix. But when I update the info in the Matrix I see the cursor run across the matrix.
    This create two problems. The first one is the orrible aspect that the operation assume, the second is that sometimes some cells turn to black and remain ofthis color.
    Can someone help me?
    Here I post a piece of my code:
        Dim oForm As SAPbouiCOM.Form = SBOApplication.Forms.Item(FormUID)
        Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("38").Specific
        Dim oRefLine As Integer = 0
        oForm.Freeze(True)
        Dim Cnt As Integer = 1
        Try
          While Cnt <= oMatrix.RowCount
            If oMatrix.Columns.Item("U_RefLineId").Cells.Item(Cnt).Specific.Value <> "" Then
              Dim apDouble As Double = oMatrix.Columns.Item("15").Cells.Item(Cnt).Specific.Value.ToString.Replace(".", ",")
              If apDouble <> 100 Then
                SetMatrixValue(oMatrix, "U_RefLineId", Cnt, "")
                SetMatrixValue(oMatrix, "11", Cnt, oMatrix.Columns.Item("U_OrigQtyMN").Cells.Item(Cnt).Specific.Value)
                SetMatrixValue(oMatrix, "U_OrigQtyMN", Cnt, 0)
                Cnt = Cnt + 1
              Else
                oMatrix.Columns.Item("15").Cells.Item(Cnt).Click()
                SBOApplication.ActivateMenuItem("1293")
              End If
            Else
              SetMatrixValue(oMatrix, "15", Cnt, 0)
              Cnt = Cnt + 1
            End If
          End While
        Catch ex As Exception
          SBOApplication.StatusBar.SetText("Error: " & ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
        End Try
        oForm.Freeze(False)

    Hi Daniele,
    I use a little different approach because the Freeze on a Form is like parenthesis on formula. You must be sure that the Freeze(true) are balanced by a Freeze(false).
    So my pattern is:
    Try
        oForm.Freeze(True)
        ' the operation you need to do with the freezed form
    Catch Ex as Exception
        ' Menage the errors here
    Finally
        oForm.Freeze(False)
    End Try
    The Finally statement is executed in both case when an Exception is raised or when the code is right executed.
    But I think this is not the problem in your code.
    If you still having problem, probably we need to examine your sub-routine "SetMatrixValue".
    It is also important to know your SAP Business One version because in the past there was a version with a problem in the refresh of matrix.
    I use SAP Business One 2007A SP01 PL06 HF1 and I do not have problem with the freezing.
    Hope it helps.
    Carmine

  • Can someone help with auto-size fields in forms?

    I created a form in Acrobat for my team members with auto-size text fields that allow to shrink the text when the field size is not large enough to show the entire text. When I then open the same form file with Adobe Reader on my machine with text that has shrunk in some field, I can see all the text and have also a scroll function when the text size has reached its lower limits and there is still more text to show.
    However, when I receive the filled out forms back from other team members' iPads (they use my template created with Acrobat), the text didn't shrink as on a PC version and the scroll function is disabled. I checked the template and the fields are correctly set to auto-size left and they do work on my PC's and laptop's Adobe Reader. But the iPad version of Adobe Reader may cause some issues.
    Can anybody help with solutions?
    Thank you!
    Klaus

    The filled version of your PDF document (20140722 Daily Meeting Report...pdf) is no longer a PDF form because it has been flattened.
    Once an interactive PDF form (such as your template version) is flattened, all form fields are replaced with images of filled data.  You can no longer interact with form fields, edit form data, or tap/click any buttons in the flattened PDF document.  That is the reason why the text in auto-size text fields did not shrink.
    When you email a PDF document (including a PDF form) in Adobe Reader for iOS, the E-mail Document dialog is displayed.
    In this particular case, your team member must have selected "Share Flattened Copy".
    If you would like to keep the interactivity of a PDF form, you can select "Share Original Document".  Please advise your team members to select the "Share Original Document" option when emailing filled forms.
    Unfortunately, once flattened, a PDF document cannot be reverted back to the original "unflattened" state.  However, if your team members still have the original filled forms, they can resend the forms with the "Share Original Document" option.
    Please let us know if you have further questions.

  • Need help with tool bar button to clear 10 fields on form

    I have 167 forms with 138 fields, I need to blank out or clear just 10 of them or so, can I create a butotn or script that is outside each document so I can open each one, andc lick this button?
    I don't want to add a button to all 167 pdf files. Or better yet script to open them all and blanks out the fields, evey form is the same so the field names are the same.

    This would be easy to do as a batch process (aka Action). The following JavaScript will do it:
    // Create an array with the list of fields to reset
    var fa = ["text1", "text2", "text32", "text4", "text5", "text6", "text7", "text8", "text9", "text10"];
    // Reset the fields
    resetForm(fa);
    This will set each of the named fields to its default value. If the default value might be different than blank, replace the last line with:
    for (var i = 0; i < fa.length; i++) {
        getField(fa[i]).value = "";
    Replace "text1"..."text10" in the first line with the actual names of the fields you want to clear.

  • How do u calculate total of a field in forms

    how do u calculate the total of a field in forms which u are entering and then compare it with a particulat amount so that it is not more than that amount.
    Message was edited by:
    user521989

    I tried using this query, (it is just an example). in the 'key-next-item-trigger'.....but it takes directly from the database , i want it to take the values that i enter in the form and total those values, but like i said it takes all the stored values from the database and then totals it. could you suggest something
    post;
         declare
         x number:=0;     
         begin
         select sum(salary) into x from dept;
              message(x); pause;
         IF x > 5000 THEN
              message('cannot be greater than 5000');
              raise form_trigger_failure;
         end if;
         end;

  • Insert an uneditable date/time stamp in a clob field in forms

    Is there a way to insert a time date stamp in a CLOB field in forms?
    I was thinking of using a pre-text-item trigger in order to accomplish this. Can I set the field so taht the time date stamp cannot be modified?
    Thank you.
    Joe Merkel

    no

  • Populate a field in Forms with a blob

    I am trying to populate a field in Forms using a blob from an Oracle database. When we try to run the query to reference the field we get an error that states this cannot be done in this context. Is there a way to accomplish this.
    Thank you.

    You would have to preform the calculation within the sql query. Here is an example of a computed field in a query:
    SELECT HOURS,
           PAY_RATE,
           PAY_RATE * HOURS "CALCULATED_FIELD"
      FROM EMPCheers,
    Tyson Jouglet

  • Validate same field, same form, different actions

    Hi !
    I have the following problem. I have a single form with one field = sum and two buttons = withdraw and substract. I need to do the followings validations :
    a) sum must be an integer > 0;
    b) is substract is pressed sum < = existing account's value.
    Here are fragments from code :
    bank_operations.jsp
    <html:form action="/operations">          
         Sum (value): <html:text property="sum" />          
         <html:messages id="err_sum" property="sum">
              <bean:write name="err_sum" />
         </html:messages></p>
         <html:submit property="submit">     
              <bean:message key="button.withdraw" />
         </html:submit>
         <html:submit property="submit">     
              <bean:message key="button.substract" />          
         </html:submit><br>     
    </html:form>
    Here is SumForm
    public class SumForm extends ActionForm {
    private String sum;
    setters / getters
    public ActionErrors validate(ActionMapping mapping,
         HttpServletRequest request) {
         ActionErrors errors = new ActionErrors();
         if (!isNumeric(getSum())) {
         errors.add("sum", new ActionMessage("errors.sum.numeric"));
         request.setAttribute("account", account);
         } else {
         if (Integer.parseInt(getSum()) < 0) {
              errors.add("sum", new ActionMessage("errors.sum.numeric"));
              request.setAttribute("account", account);
         return errors;
    Here is the Action file :
    public class SumAction extends LookupDispatchAction { 
    public ActionForward withdraw()...
    public ActionForward substract()...
    Here is the struts-config.xml
    <action
    path="/operations"
    type="struts.action.SumAction"
    name="sumForm"
    scope="session"
    parameter="submit"
    validate="true"
    input="/pages/operations_struts.jsp">
                   <forward name="success" path="/pages/operations_struts.jsp" />
                   <forward name="failure" path="/pages/operations_struts.jsp" />
    </action>
    The problem is : If I know that only in the Action file I know which button was pressed , how can I made two different validation for the same field /same form , but different buttons pressed ? Or can I update validate method from SumForm file from the Action file? (where I can know which buttons was pressed).
    Thank for every your ideea !
    Forgot the details : it's about Struts2 . :)

    Thanks for your reply, but unfortunately I didn't get the idea. Where I should put that line? In the validate method of the form file?
    If this is the case, in page for <html:submit element what should I declare? I saw that something like id or name, I think is not supported by Struts. I'm not sure.
    Thanks again.

  • Small white cross on black square appears at end of field in form entry - how do I remove it?

    Small white cross on black square appears at end of field in form entry - how do I remove it?

    In Adobe Acrobat change the size of the text field.

  • UVB Lead (Freeze Field)

    Hi,
    I am trying to change a field Transaction Type in Advanced Search (Lead - CRMD_BUS2000108) to my Transaction and I want to freeze this field. But I am not able to change.
    For example:
    Transaction Type - UVB Lead (Freeze Field)
    Anybody tell me step wise step how to freeze with Transaction Type.
    Thank you
    On

    ok problem solved

  • Change field on form User and change automatic on form AD

    Hello Guys,
    I need change a field on form AD (user atributtes) and when this field is changed, it should change a field on AD form.
    I know that need create a task in Process Taks, using a Copy Value to transfer this values, but this transfer does not occur. What can to be?
    Thanks

    there is no case of auto removal of lookp entries. I am sure some how it is deleted either by Design console or imported Lookup.USR_PROCESS_TRIGGER with old values. Don't worry It won't be deleted automatically.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I can not use the tab key to move to the next field or use the shift and tab to move to the prior field in forms.

    After updating to 7.0.1 I can not always use the tab key to move to the next field or use the shift and tab to move to the prior field in forms. This always worked in previous versions and it's much needed for my type of work. Does anyone know of a setting to activate this? If not can the Firefox developers work on this issue (please). I love Firefox but desperately need this feature to work correctly. Thanks!

    I tried in safe mode and the tab key worked just fine. I'm not sure about all web forms I've only recently updated to 7.0. The wen form I was using was for appraisal purposes and it has multiple data fields to fill in and also drop down menus to select from. Might I always have to use Firefox in safe mode to be able to utilize the tab between field feature? Thanks for your help!

  • How do i expand a field in a line with 3 other fields when forms design will not allow

    how do i expand a field in a line with 3 other fields when forms design will not allow it? I also want to shrink one of the fields and cannot do so.

    It is possible that all there is not enough room on your line to grow the field. You can try a few things :
    - Make the form width wider by dragging the right edge of the form or via the Form Setup dialog (File > Form Setup... and change the Form Width)
    - You can make other field on the row narrower (if they are not already at their minimum width).
    Each field type has a minimum width. What field type are you trying to make smaller?
    For example : Text and Multiline can go down to a width of 30. Dropdown min width depends on the length of the long item in the dropdown list.
    Hope this helps
    Gen

  • Want the data store values to be displayed in input field of form

    Hi,
    I wanted to know wether is there possibility of displaying the data in a input field instead of expression field.
    In our model i have used a form which has material type,plant and Vendor connected to data service1 in turn gives the out put in chart and i also have the second input form which has To(0CALMONTH) combo box which is connected to Data service2 and gives the data in table.
    But what i wanted is to i also want to use the input fields of first form to second Data service2 and get the data based on on inputs of form1 and form2i.e also To field.
    We can connect the port from form1 to DS2 but problem is we need to click the submit of form1 and form2 and it doesnt gives the output according the input of form1 and form2 as it gives the output of that form when we click that submit button.
    I have followed help.sap for data tore procdure.
    So i have used a datstore where i will store the values of form1 and call it in expression field which i will add and hide it in form2(hide because user should not see that input fields).
    Formula used in data store for expression field.
    IF(CONTAINS(STORE@matltype,@Material_Type),STORE@matltype,STORE@matltype &(IF(LEN(STORE@matltype)>0,'; ',''))&@Material_Type)
    But whats happening is the value is getting concatenated when i goon change the values in input field, so i wanted to get the values to be replaced as soon as i change input field of form1(if  use replace function its not working) and also it would be more preferrable if we use input field instead of expression field.
    I would also like to know is there any alternate solution for the above requirement instead of datastore.
    Thank You
    K.Srinivas

    Hi,
          I have Form1 connected to Data service1 displays the data in a Chart and i have another Form2 connected to Dataservice2 displays the data in table.
    In form1 there are Material Type,plant, and Vendor and form2 i have To (0CALMONTH)SO now i want also Form1 inputs for Table which gets teh data from Dataservice2.
    What i have said earlier is connecting Form1 to Dataservice doesnt fetch the data correectly,its because if i click submit in form1 i get the data of those 3 inputs and i need to click the submit button in form2 after giving input which shows the data accordingly where it doesnt fulfill the requirement.
    So i wanted some solution for that.For that reason i have used the data store and the procedure i have followed the help.sap as i said in my above mesage.
    If Data store is also suggestable than i want to display the data in Text input Field  instead of Expression field which should replace the previous values as soon as values change in data store.
    Hope i have tried to be clear if still it is not i am ready to explain again.
    Thank You
    K.Srinivas

  • Hidden field in form returns null value

    Hi all - I searched for this but found nothing that fit my problem although various other problems came up.
    I have a Login jsp, with a simple form for username and password:
    <form name="login" method="post" action="servlet/ControlServlet"
    onSubmit="return validateForm()"><table width="180" border="0"
    cellspacing="0" cellpadding="0">
                <tr>
                  <td width="96" class="logintext">Username</td>
                  <td width="84"> </td>
                </tr>
                <tr>
                  <td><input name="username" type="text" size="15"
    maxlength="15"></td>
                  <td><input type="submit" name="Submit" value="Login"></td>
                </tr>
                <tr>
                  <td class="logintext">Password</td>
                  <td> </td>
                </tr>
                <tr>
                  <td class="logintext"><input name="password" type="password"
    size="15" maxlength="15"></td>
                  <td><input name="actionCode" type="hidden" value="0"></td>
                </tr>
                <tr>
                  <td> </td>
                  <td><div align="center"><a href
    ="Register.jsp"><i>Register</i></a></div></td>
                </tr>
              </table>
              </form>Nothing complex in that form. my hidden field is actionCode and it should pass a 0 to my ControlServlet servlet.
    Here is a snippet from my servlet:
    import java.io.* ;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ControlServlet extends HttpServlet {
      public void doPost(HttpServletRequest request,
                        HttpServletResponse response)
          throws ServletException, IOException {
        response.setContentType("text/html");
                //get the printwriter to output for debugging
                PrintWriter out = response.getWriter();
                //read in form variables
            //String formUsername = request.getParameter("username");
            //String formPassword = request.getParameter("password");
            String action = request.getParameter("actionCode");
            //convert String to int for action
            //int actionInt = Integer.parseInt(action);
            //add action variable to request
            request.setAttribute("aktion", action);
                //debug point 1
                //use requestDispatcher to forward session info to JSP
               RequestDispatcher dispatcher =
               request.getRequestDispatcher("/mvcoutput.jsp");
               dispatcher.forward(request, response);I have commented out a bit for debugging purposes, but basically, the form variables are read in, the username and password don't give me any problems, but the actionCode does. Upon forwarding to a basic jsp for testing my output displays value "null" when using the command:
    request.getAttribute("aktion")Any reason why the hidden field is playing silly buggers ??
    cheers

    Anyone ???
    If I have a field in an html form which is hidden, do I retrieve it in the SAME WAY that I retrieve the non hidden form fields i.e. using the request.getParameter() method ??
    Cheers.

Maybe you are looking for