To set a value in matrix cell which is linked

In sales order if I enter  form no of TAX TAB as "form c" , each cell of the TAX Code column of the matrix of contents tab should be set the value as "CST". I have tried to set the value, but it is showing "Form item not editable". I have tried to make the cell as editable but still the error message is coming and it is not setting the defined value. How can this be solved?
Thankx in advance

Hi Priya Manoj
Some notes you can find on this [Thread: Set Value in Itemcode in Purchase Order Form|Set Value in Itemcode in Purchase Order Form;.
There are I has posted some examples in vbcode.
Hope the notes can help you.
Regards
Sierdna S.
Edited by: Sierdna S on Oct 22, 2008 9:45 AM

Similar Messages

  • Can values in matrix cells flow across the pages (Reports 6i)?

    Hi,
    I have to display more than 1000 char in a matrix cell. The report errors out when the values in the matrix cells exceeds the page. Can values in matrix cells flow across pages?
    any help on this?
    Thank You,
    -- Raja

    As far as to make the report work, developing the query accordingly using UNION does help.
    But my question is still not answered and no replies as well.
    So I think, Two frames with print direction as down and One frame with print direction as Across is not possible.
    Regards
    Arif

  • How to set default values in matrix combo

    hai everybody.
    i want to set default values in a matrix combo box. how to do that
    pls.......

    Hi Priya,
    Public Sub comboload1()
            Try
                ds = oform.DataSources.DBDataSources.Add("OUSR")
                oitem = oform.Items.Item("pm7")
                omatrix = oitem.Specific
                ocolumns = omatrix.Columns
               ocolumn = ocolumns.Item("V_2")
               ocombo = ocolumn.Cells.Item(r).Specific (r = row number)
                LoadEroToCombo1(ocombo)
            Catch ex As Exception
                oapp.MessageBox(ex.Message)
            End Try
        End Sub
    load to combo function is below
        Public Sub LoadEroToCombo1(ByRef ocombo As SAPbouiCOM.ComboBox)
            Dim rset As SAPbobsCOM.Recordset
            Dim querystring As String
            Dim rcount As Long
            Dim rindex As Long
            Try
                rset = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                querystring = "SELECT T0.U_NAME FROM OUSR T0"
                rset.DoQuery(querystring)
                rcount = rset.RecordCount
                rset.MoveFirst()
                ocombo.ValidValues.Add("0", "Select")
                For rindex = 0 To rcount - 1
                    ocombo.ValidValues.Add(rset.Fields.Item(0).Value, rindex)
                    rset.MoveNext()
                Next rindex
                ocombo.Select("0")
                rset = Nothing
                System.GC.Collect()
            Catch ex As Exception
                oapp.MessageBox(ex.Message)
            End Try
        End Sub
    try this code if it helps please reward points
    Regards
    Cool Ice
    Edited by: Cool Ice on Jul 28, 2008 1:43 PM

  • How to set default value in matrix column

    Hi all,
    Does any one know how to set a default value in matrix column ?. I just want , when an event right click and add row. so i set a default value in a column field for example 'Test'. FYI the matrix is in the UDO.
    so my code will be like this
    If pVal.ItemUID = "Matrix" And pVal.MenuUID = "1292" Then
                        Try
                            Dim oColumn As SAPbouiCOM.EditTextColumn
                            Dim matrix As SAPbouiCOM.Matrix
                            matrix = oForm.Items.Item("Matrix").Specific
                           oColumn = mat.Columns.Item("Code").specific
                            oColumn.Value = "Test"
                        Catch ex As Exception
                            Debug.Print(ex.Message)
                            Debug.Print(ex.ToString)
                        End Try
                    End If
    I have run it and when i right click and add row it still can not set the default value in one of the matrx column.
    does any one know how to solve it. thanks in advance

    Hi Bodhi
    Sandeep is right you can set value using SetValue() function
    If pVal.ItemUID = "Matrix" And pVal.MenuUID = "1292" Then
                        Try
                            Dim matrix As SAPbouiCOM.Matrix= oForm.Items.Item("Matrix").Specific
                            oForm.DataSources.DBDataSources.Item("UDT").Clear()
                            matrix .AddRow()
                            matrix .FlushToDataSource()
                            With form.DataSources.DBDataSources.Item("UDT") 
                                    .SetValue("UDF", matrix .RowCount - 1, "Test")
                            End With
                            matrix .LoadFromDataSource()
                        Catch ex As Exception
                            Debug.Print(ex.Message)
                            Debug.Print(ex.ToString)
                        End Try
    End If

  • Setting the value of a textbox which is created in a loop

    Hi all,
    I have two jsp pages. In page1, I have a table which has rows that are generated in a loop. something like this.
    <script type="text/javascript">
    function callMe(num)
    alert("from callme");
    var linkId = "link"+num;
    var boxId = "qotApprBy"+num;
    var input = document.getElementById(linkId);
    //alert(input.name);
    if(input.name==linkId)
    document.getElementById(boxId).value="<%= aName %>";
    else
    document.getElementById(boxId).value="General";
    <table width="100%">
    <%
    for(int i=0; i<myList.size(); i++)
    String myName = (String)myList.get(i);
    String linkId = "link"+(i+1);
    if(aName==null)
    aName=myName;
    String qotApprById = "qotApprBy"+(i+1);
    System.out.println("id:" + qotApprById);
    %>
    <tr>
    <td>
    <input name="<%= qotApprById %>" type="text" id="<%= qotApprById %>" value="<%= aName %>"><a id="<%=linkId%>" href="FAM_OsiCustomApproverSearch.jsp?qotSearchNo=<%=3167%>&qotSrhVersionNo=<%=1%>&rowId=<%=(i+1)%>" onclick="callMe(<%=(i+1) %>)">Click Me</a>
    <% aName=null; %>
    </td>
    </tr>
    <%
    %>
    </table>
    When ever I click the hyperlink it basically takes to another jsp page which submits its form values to page1. I need to get the value from page two & assign it to the corresponding textbox. Say, if I clicked on link in the 1st row of the table the value of the textbox in the first row of the table should change. If I click on the link in the second row of the table I need to change the value of the textbox in the second row and so on. My problem is even if I click the nth link in the nth row of the table, its changing the value of textbox in the 1st row. Can someone help me.

    can i see the the complete 2 jsp's

  • AJVOAF : How to set a value in one LOV which is coming from another LOV

    Dear Friends,
    I have a issue regarding LOVs. Actually I have 3 LOVs ( Material ,Subinventory ,Locator) in my maintainence user page.
    First Requirement is I have to add subinventory and locator fields to the Material LOV itself (for user no need to go upto Subinventory & Locator LOVs) and WHICH record of Material ,user iis selecting corresponding Subinventory and Locator values should come in Subinventory & Locator boxes ( Second Requirement is i have to make these two Subinventory & Locator LOVs as READ ONLY)
    Third Requirement is I have to bring these Subinventory and Locator values from Material LOV page to Subinventory & Locator boxes.
    I hope iam clear.
    First and Second Requirement s done.
    Iam struggiling for third req.Can any one plz help.
    Thanks
    Aravinda

    hi,
    In your Subinventory LOV add Bin variable using it Query tab. which has Bind VAriable And View Criteria section.use Bind Variable section. those are in the view object level.
    then your all lov include view object select and choose it View Accessors section. it has your lov and Edit your Subinventory LOV and then popup dialog box. Inside it you can make Inside Parametor section select relevant bind variable name and it need value.
    thaks.

  • How can I calculate the value of the cell, which depends on other rows?

    Hi, all!
    I have an application with table. In this table i have calculate some fields, that doesn't exists in data class and depends on other row values, e.g. current row number, or sum of previous rows. How can i calculate this values in TableView?
    The problem is that I have no information about the current row number in the cell value factory.
    Example:
    public class Transaction {
         public String getName();
         public BigInteger getAmount();
    } // There is no getter for "Balance"
    Result table should be something like this:
    Name
    Amount
    Balance
    transaction1
    300
    300
    transaction2
    200
    500
    transaction3
    500
    1000
    Also, after sorting by "Amount", "Balance" should be recalculated:
    Name
    Amount
    Balance
    transaction3
    500
    500
    transaction1
    300
    800
    transaction2
    200
    1000

    Strings can be converted to numbers by various parse methods. For instance Strings can be converted to double via Double.parseDouble(myString).
    That being said, it appears that your textfield will contain numbers and operators, and so these operators will need to be parsed too. I would advise you to search on the terms Java infix postfix.

  • Find row Index of edited matrix cell

    Hai,
    I have designed a matrix which shows some value. The user is allowed to edit the values in Matrix cell. I want to update the edited value in no object table.Is there any way to find out the row indexes of edited cell of matrix.
    If so, How to achieve this?
    Thanks in Advance.

    Using the validate is the same as any other itemevent: C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\CSharp\02.CatchingEvents
    The event will be raised when a user exits a field but in this case I don't think it's what you need.
    You should:
    1. Put a button on your form,
    2. when the user clicks it, loop through the matrix
    3. Check the Titles, and if they are different to what is in the No Object UDT, do step 4
    4. Update the table.
    These are important SDK concepts and you should invest some time in learning how to use both the Matrix Object and the UserTables object. The SDK helpfile provides sample codes.
    For example, the following method can be used to update a record in a UDT
    Private Sub Add_Data_Click()
        Dim oUserTable As SAPbobsCOM.UserTable
        Set oUserTable = oCompany.UserTables.Item("NoObjectTableName")
        oUserTable.GetByKey ("CodeOfValueInNoObjectTable")
        'Set default, mandatory fields
        oUserTable.Name = "Title"
        'Set user field
        oUserTable.UserFields.Fields.Item("U_AdditionalUDF").Value = "1"
        ret = oUserTable.Update
        If ret <> 0 Then
            oCompany.GetLastError ret, Str
            MsgBox Str
        Else
            MsgBox "Value to field: '" & oUserTable.UserFields.Fields.Item("U_AlbUDF").Name & "' was updated successfuly to " & oUserTable.TableName & " Table"
        End If
    End Sub
    I do not have the time to write up a full routine for this, but this information should be enough to get you started. Also check the SDK samples C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\CSharp\06.UseMatrix
    Edit: To answer your intial question, there is no indicator on the matrix object which shows which rows are edited - you have to implement a logic that checks this yourself.
    e.g. you could use the validate event to store the row number (pVal.Row) in a List that you can then use later after the user clicks the button.

  • Spaces required in an expression for matrix cell

    Hi, 
    I have Kishore, Srikanth and Hemanth in a matrix cell which are getting displayed. 
    I want 5 spaces before only the name of Hemanth and rest should be the same without spaces neither before the name nor after the name. 
    all are getting displayed by the expression =Fields!Metric.Value
    please help

    use an expression for that
    =IIF(Fields!Metric.Value = "Hemanth",Spaces(5) + Fields!Metric.Value,Fields!Metric.Value)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Setting the value of a parameter

    Hi Experts
                         I want to call transaction ME55 through a Z program and stop at the selection screen with values of ZPROGRAM. There is one parameter which does not have a parameter id. Is there any way to set it.
    Also we cannot do submit because there is code in ME55 based on sy-tcode. So while we do submit then the TCODE is of our ZPROGRAM and hence ME55 shows different output. Can we deal with this?
    Also if we write BDC then the ME55 is behaving unexpectedly ie we wrote a BDC till the first screen of ME55 and then we excute it and try to release it , it releases the PR but instead of stopping at that screen which it would have done if we run ME55, it is coming back to our ZPROGRAM.
    Please help to solve the problem ie set the value of the parameter.

    Which parameter are you trying to set?

  • Indicator reverts to default after set control value

    Sorry.   Tried to put a tab in my message, then pushed space twice and apparently posted this a couple times....
       I've noticed that if I try to programatically set the value of an indicator (which is in the connector pane) using the Set Control Value method it reverts back to its default value once the VI is finished executing.  If it's not in the connector pane I don't have this problem.  If I use Set Control Value, then read from a local variable of the indicator to set the indicator I also get no problem.  Why is this?  I've attached two block diagram images below showing what I did. 
      I'm interested in this because I'm trying to write a subvi that retrieves and stores a bunch of global values from a config file.  The easiest way to do this seemed to me to use the OpenG vi that reads and writes the front panel controls to a config file (since some of my controls I wish to save are complicated).  It didn't seem to work unless I added the second step of using the local variable to update the indicator. 
    Message Edited by Phamton on 11-21-2007 05:30 PM
    Attachments:
    set control value_bd0.jpg ‏8 KB
    set control value 2_bd0.jpg ‏17 KB

    Discussion of this thread has moved to here.

  • How to Set column value in SO matrix , if the column is not visible.

    Hi,
    We are trying to set value in to a column from sales order matrix with the below mentioned code
    ((SAPbouiCOM.EditText)oMat.Columns.Item("U_TWBS_AC_BaseEntry").Cells.Item(pVal.Row).Specific).String
    it will throw an u201CForm Item is not editable u201C  error if the  column ("U_TWBS_AC_BaseEntry")  visible is set to false through form settings.
    how can we solve the issue,can we use any DI object in order to reset the form settings.
    Thanks & Regards

    Hi
    Try and make the column visible then set the value and make it invisible then
    Hope this helps
    Regards
    Vivek

  • How do I set a maximum value to a cell in Numbers?

    I have a cell which references a percentage in the previous cell, example: =TRUNC(C2*1000,0)
    So, the cell that it references (C2) is a percentage, anything from 0% up. The issue that I have is that I want to limit the cell's response to the percentage by setting the maximum at 1000. So, if the percentage in the cell is 104%, I don't want the cell to return 1040, I want it to return a maximum of 1000. The MAX function in Numbers is just for searching cells to find the highest numeric value, and there is no IF THEN statements that I can make in the cell, you can do IF, but it just returns a true or false value. I hope I provided enough info for someone to be able to help me out. I have been trying to figure out if there is a mathematical way that I can limit the response to 0-1000 and still have it be accurate to the percentage but I have not come across anything yet.
    Thanks

    Hello
    =IF(C>1,1000,TRUNC(C*1000,0))
    will do the trick.
    Yvan KOENIG (from FRANCE mardi 13 mai 2008 17:47:01)

  • How to set default value and bg color of cross tab cell?

    Hi all
    Which way can I set default value and background color for a crosstab cell where there are no any data?
    I try to pass it in following way
    if isnull(CurrentFieldValue) then
    But is has no effect.

    Hi,
    If your field is numeric
    if currentfieldvalue =0 then cryellow else crnocolor
    if the field is numeric but you don't see the 0 check check if : Suppress if zero is ticked in the Number format tab.
    Regards

  • Online Store 1.0  - which process set the value of App Item 'FULLNAME'

    Hi,
    I just very curious about which process set the value of App Item 'FULLNAME' ini the packaged Apex App - Online Store 1.0 .
    At Navigation Bar, there is a entry named "If you are not &FULLNAME., Click here |". However I can't find how the app set this application item value in any process when login.
    any idea, I will be very appreciated.
    Thanks in advance.
    PPMonkey

    Check the post-authentication process in the current authentication scheme and the call to ols_getname.
    Scott

Maybe you are looking for

  • Melted MacBook Connector

    While using my MBP I noticed smoke coming from my MagSafe connector, I quickly pull it out getting a nice electric shock. Then after i unplug it from the wall I see that the connection had suddenly melted. Apple hasn't offered any sort of apology or

  • Create document with Compound Attributes

    Hi, does anyone can solve my problem I have created a customer parser to parse my customised document say "XXX.PO". I followed the instruction in the developer guide (create customised parser). Everything is fine except the compound attributes, i don

  • OracleBI Spreadsheet Add-in disappears from Excel?

    I left to work on something else (Word, web browsing, emailing), for 30mins or so, when I returned to my Excel the add-in disappeared. Right-clicking on any cell didn't give me the add-in either. This has happened to me a few times. Has anyone got th

  • How can I add a new mailbox?

    would appreciate your help can't find out how to add a mailbox Many Thanks

  • Scheduling .bat File to Execute SFTP

    All, We are trying to schedule a .bat file to run SFTP via either the Windows scheduler or the ODI scheduler. When we try both ways they don't work. It seems to be something to do with the system not having a user currently logged on (for a current s