Form Settings getting cleared for system form

Hi All,
I have added the code for setting editable=false for the following items in Updatemode and Ok mode.Then in add mode,i made the columns to editable = true .First time it is working fine.
the next time, I got the error message as "item is not a user defined item" on ItemCodeCol.editable = true.Then i check the form settings, the Active field for the itemcode cleared.When i set to Active as checked and run my code,it is working fine.How to solve the issue and how to avoid the setting of the fields.
This is my code :
If oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE Then
                oSQItemCodeCol.Editable = True
                oSQItemNameCol.Editable = True
                oSQQtyCol.Editable = True
                oSQWhsCodeCol.Editable = True
            ElseIf oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE Or      oSalesQuotationForm.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE Then
                oSQItemCodeCol.Editable = False
                oSQItemNameCol.Editable = False
                oSQQtyCol.Editable = False
                oSQWhsCodeCol.Editable = False
            End If
Thanx in advance
Regards
Mohana
Edited by: Mohana Annadurai on Feb 20, 2009 5:28 AM

Hi,
This is not UDF in system form.That is , the itemcode,itemname,qty,warehouse field in the content tab of the sales quotation form.when i change the field to editable and noneditable,
1)it is allowing to set the editable property to false and true for the first time.
2) After adding the record,i navigate the record to check ,at that time,as per my code,in update mode,it is not allowing to edit.
3)When i click add menu,and i chose customer, at that time it is not allowing to add a itemcode,becoz the itemcode field is disabled.
4)when i check in form settings, in Table format, Active gets unchecked for the above fields.
5)I want to avoid this changing of active in form settings.How to to this...
Regards
Mohana

Similar Messages

  • Why does my form data gets cleared out when clicking on the back button.

    Can someone explain why does my form selections get cleared out when clicking on the back button.
    I have a JSP page that displays a form with some selections and text boxes. I populate the page and submit the request. The action on the submit call another jsp page, which processes the data and displays the results via a <jsp:include> statement which calls the results page. When clicking on the back button from the results page, it returns me to the form page, but the selections are cleared out.
    1. Is there something in my calling of the pages that causes this behavior and can I prevent it?
    I notice that the behavior is different when using the IE 6.0 version Netscape 7.1. IE clears the page Netscape 7.1 retains the settings.
    If I cannot prevent this behavior does that mean I will have to save the state of the form data. And if I have to save the form data, what would be the easiest method of doing this. I'm a beginner to JSP and Java, but have some ASP experience. I don't understand why the back button in a JSP request clears the form data but a regular HTML page does not can someone explain?
    THANKS.

    the browser doesn't have to remember what you submitted and fill that back in.
    you can't prevent it unless you can ensure a new request to the server in which you can fill the default values in there.

  • How we can get report for system shutdown for perticular year.

    Dear Friend,
    How we can get report for system shutdown for perticular year.
    i.e. i want to know at what time and what date system has been shutdown for ther of 2006.
    Thanks,
    Sachin

    Dear Sir,
    Thanks,
    But from system log file SM21 i have got only the time not date on which it has been shutdown and restart.
    And another thing is that 15 dats before Log file data is atomatically deleted, so cant get it back.
    Can you provide me is any another solution? i.e by heating perticular T code report come>
    Sachin

  • Interest doc getting cleared for first due installment instead of the last

    We are creating loans using transaction EK25. There is a problem with the clearing of interest documents. In our scenario, we are clearing the last installments whenever there is an overpayment. But the interest document is getting cleared for the first due installment.  How can we make sure that interest documents are cleared for the last installments. Any insights or information on this?
    Edited by: PraveenGouri on Sep 13, 2011 1:18 PM
    Edited by: PraveenGouri on Sep 13, 2011 1:19 PM
    Edited by: PraveenGouri on Sep 13, 2011 1:19 PM

    Hi,
    Is it a possibility that Interest Documents are created with Clearing restriction which is removed only when next installment is created. This way, your interest document won't get cleared until next installment is created.
    Ravi

  • Reservation not getting cleared for subcontracting component

    Hi All,
    A reservation is existing in table RESB for a component material. This reservation was supposed to get cleared once the GR was done for the PO against which it was issued. When we checked the PO it is deleted and archived now. Even when we click on the component button on the PO, we get message that no components were determined.
    Further, in the GR doc only one posting line of 101 movement type is seen, whereas '543' for the component doesn't exist. As the PO is now GRd and IRd, archived and deleted we cannot proceed on this. But the requireemnt now is to get the reservation cleared off for the compoenent fron RESB table (or MD04 list).
    Please help.
    Thanks,
    Amit

    Try to delete from table RESB if not a dependent reservation.
    If it is dependent u can not delete. Source to be deleted then this will automatically get deleted.

  • Access Data for System Form in SAP B1

    Hi,
    I want to access Text data and Matrix data for Purchase order Form. Can u Plz provide solution / Code for this problem.
    Thanks

    Hi Makarand,
    write these code inside ItemEvent,
    oForm = SBO_Application.Forms.Item(FormUID)
    oEditText = oForm.Items.Item("4").Specific 'Unique ID of Vendor Code
    VendorCode = oEditText.Value
    oMatrix = oForm.Items.Item("38").Specific 'Unique ID of Matrix
    For i=1 To oMatrix.RowCount
      oColumn = oMatrix.Columns.Item("1") 'Unique ID of ItemCode in matrix
      oEditText = oColumn.Cells.Item(i).Specific
      ItemCode = oEditText.String
    Next
    You will get item Unique ID from Debug information.
    Hope this will help you
    regards,
    BBN

  • When I use a simple form, I get this error message "Form communication is configured with an email address of..." and the person's email address did not get sent a message

    I was unable to use the simple form to which I should simply put the email address of the person to whom the form should be sent to.  I get this error message:
    As a result of this, this person did not get any filled form response.  Where did I go wrong and how can fix this.
    Second question, I am using GoDaddy.com account and they have their own set of php form.  If I want to use their php form, where in Adobe muse, can I insert their php?

    Hello Tonchee
    If you are seeing an Apple ID that is not yours, then you have purchased content on your iPad that is tied to that Apple ID. You would need to know that password or remove the content that is associated with that Apple ID.
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Want more robust form fields in InDesign for PDF forms.

    I wish that soon InDesign CS6 Interactive Form Fields will include the COMB field for entering data in various formats such as phone numbers, credit card numbers, using some sort of format like [number of characters] ["(nnn) nnn-nnnn"]. I use comb fields a lot. Likely others do too. I realize that we are at v1.0 in the InDesign Interactive fields, so I hope that the developers will consider this for the next release!
    I long for the power that Acrobat fields have to be implimented in InDesign.

    The powers that be (InDesign product managers, engineers, or other employees) don't frequent this forum. To have you voice heard, file a feature request:
    Adobe - Feature Request/Bug Report Form

  • Calendar - Day Link settings getting cleared

    Hello all,
    I'm running Application Express 3.1.1.00.09. I have an application with a page that has a "Small" calendar on the left and a report on the right. I wanted to set it up so that when the user clicks a day link, it targets back to the page showing the report for the day clicked so essentially the user could click around the calendar displaying the report for that date.
    In searching the forum, I saw a post where they advise setting the date item I'm using for the report's "where" clause using the substitutions "#YYYY#", "#MM#" and "#DD#" (I couldn't find any documentation for this but apparently these substitutions hold the year/month/day of the date clicked. It works, however, when I go back to look at the Day Link settings, they're all cleared - yet the page keeps running as I'd set it.
    Though the page is running fine, I'm concerned that going back in and changing another setting for the calendar would then undo my Day Link settings, or exporting/importing the application would lose those settings, not to mention that without the settings, it's no longer apparent why it works.
    The only pattern I can see so far is that it only appears to clear the settings if I put one of those substitutions in the "with these values" setting.
    Any thoughts?

    Solved using the one of the posts in Denes' demo app on calendars - editing the monthly calendar template to set the item.
    It works, but seems like a workaround. Seems to me a template shouldn't contain dependencies on specific page items. The Day Link settings in the calendar should be looked at, because just clearing out the settings without any feedback, to me, is a bug.
    John

  • Purchase order form on 4.7 for Smart Forms

    Does anyone know if there is a smartform that can be used to print a PO in release 4.7?
    I saw a reply that said this was probably not possible in release 4.6 - but what about 4.7?
    Thanks.

    Hi Scott,
    Yes you can use it but you will have to develop your owm. SAP has not delivered any standard SMARTFORM for PO in release 46C or 47. We have debveloped our custom SMARTFORM in 47 .
    Cheers

  • Enabling system menus for custom form

    Hi All,
    can I enable system menus First Row (CtrlH) and Last Record(CtrlE)  for custom forms? They are not getting visible for custom forms. So I am getting the error as 'Menu not found' when try to enable that.
    Jisha

    Hello,
    These menus (from GOTO menu) are not exist in the User Defined Forms either type is UDO or not UDO.
    You can implement these menus, with the same menu IDs (First Row = "5901") by Adding menu items to form
    Dim oMenuItem As SAPbouiCOM.MenuItem = oForm.Menu.Add("5901", "First Row" + vbTab + "CTRL+E", BoMenuType.mt_STRING, -1)
    But you should implement all the features you needed.
    Regards,
    J.

  • How to get Default submit button of system form?

    Hi all,
    For system forms default button is not set so how will know which is the default button.
    By default all system forma have button UID "1" as default button for Employee master
    Button UID "1" is for cancel and "2" is for Add/Ok/Update.
    pl Guide,
    Atul

    Hi,
    Try This.....
    oform = sbo_application.Forms.GetFormByTypeAndCount("134", "1")
       MessageBox.Show(oform.DefButton)
    Thanks
    Shafi

  • How do load system form matrix -Inventory-Goods Issue through SDK UI &DI

    While I am accessing system form matrix -Inventory Goods Issue/ Goods Receipt, the matrix object is not accessible.
    Error is coming stating "Item 13 is invalid, where 13 is item uid for matrix.
    So,How do load system form matrix -Inventory-Goods Issue(FORM 720/-720) through SDK UI &DIAPI.
    Form Type: -720
    How to get reference of System form matrix object -Inventory-GoodsIssue.
    Some thing similar to CopyFrom functionality for -Inventory-Goods Issue.
    Currently my client requirement is as follows.
    I created a UDF ((U_ILC) Incoming Log Challan) for marketing documents. And, this field is added in the header level of Goods Reciept, Goods Issue documents.
    1. Through Inventory->Goods Receipt (ILCNo.10), items are received. Assume, M00001, M00002 are the items received with qty, price, whse, account values.
    2. Through Inventory->Goods Issue, item should be issued. In this Goods Issue Form, after entering U_ILC value as 10, pressing Tab, the GoodsIssue matrix should be loaded with the values of GoodsReceipt(IGN1 for U_ILC:10) document i.e. M00001,M00002 along with the same values as in GoodsReceipt of ILC:10.
    The code is as follows:
    If (( ( pVal.FormType = "-720" or pVal.FormType = 720) And pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And (pVal.Before_Action = False)) Then
                '// get the event sending form
                oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                If pVal.ItemUID = "U_ILCNo" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS And pVal.Before_Action = False Then
                    SBO_Application.MessageBox("ILC No. Lost Focus")
                    oMatrix = oForm.Items.Item("13").Specific
                    oColumn = oForm.Columns.Item("1")
                    oEditItmCode = oColumn.Cells.Item(1).Specific
                    oEditItmCode.Value = "07215090x606"
                    oItem = oForm.Items.Item("U_ILCNo")
                    oEdit = oItem.Specific
                    SBO_Application.MessageBox(oEdit.String)
                End If
            End If
    3. The code
    oMatrix = oForm.Items.Item("13").Specific
    is raising error. I have used Event Logger and breakpoints to see where the code is halting.
    Help me, how to access the matrix of Goods Receipt/ Goods Issue and load based on the existing data.
    Thanks in advance

    HI
    If your code is in the SBO_Application_ItemEvent then try using this line
    oForm = SBO_Application.Forms.Item(strFormUID)
    instead of
    oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)

  • Form settings problem

    Hi Experts
    I have a user defined form with 4 folders inside each folder there is a matrix(total 4 matrix). But my problem is that when i select form settings every time first matrix form settings will be displayed. I have to access the form settings of other three matrix also.  Any ideas on how I can do this..please help me
    Thanks in advance
    Arun

    Hi,
    You can display settings for other matrixes. You need to change Form.Settings. Just assign matrix unique id which You want to display in Form settings to form's propoerty MatrixUID.
    You wrote that You have 4 folders with 1 matrix in each folder.
    Folder1 - Matrix1 (UID = M1)
    F2 - Matrix2 (UID = M2)
    F3 - Matrix3 (UID = M3)
    F4 - Matrix4 (UID = M4)
    If You click on any folder You change Form PaneLevel to display relevant matrix. At the same moment change Form.Settings.
    F1
    Form.PaneLevel = 1
    Form.Settings = M1
    F2
    Form.PaneLevel = 2
    Form.Settings = M2
    F3
    Form.PaneLevel = 3
    Form.Settings = M3
    F4
    Form.PaneLevel = 4
    Form.Settings = M4
    Regards
    Szymon Lipnicki

  • How can i update system form udf based on udt add event

    hello experts,
    i require small functionality on customized form add event,one of the system form udf value at row level should be update for particular row on based on the values on the customized form.
    so it should go like this on add event of customized form system form's row level udf should be update
    Regards,
    Bhavank

    Hi
    Are you opening your customised form with reference to any system form or it works alone?
    If it works alone then on the add event of customized form you haveto use update query with reference to the system form
    Regards

Maybe you are looking for