Event in Matrix with BOM?

Hi expert,
As you can see i'm new in developing and I have e lot of boring questions
Problem is that:
I want to copy from OITM values from UDF into the standard document "Quotation" rows.
So, I want OITM.U_II_001 field value will be copied in field U_II_001 in the matrix of quotation document.
Actually, i trap the event et_VALIDATE. When I insert a New ItemCode the code is executed:
if (pVal.ItemUID == "38" & pVal.EventType == SAPbouiCOM.BoEventTypes.et_VALIDATE & pVal.Before_Action == true)
     // ColUID = 1 is "ItemCode"
     if (pVal.ColUID=="1")
          string oValore;
          oValore = ReadItemCode(pVal) ;
          AddNewValueInRow(pVal, oValore);
This code runs well if I add manually single rows in document.
Problem is that: If I add an Item with BOM, the code is not executed for each item in the BOM!
How can I solve the problem? I want to execute the code to fill the UDF fields for each item in BOM too...
Exist other event I need to trap instead of et_VALIDATE?
Could you say me where I can to find this kind of informations?
Thanks in advance,
Jonny Cortonicchi

Thanks for your Interest!
This is the code where I inizialize connections (UI and DI).
Finally I add an event handler to manage the change value for ItemCode in the body of document:
        public QuotationForm()
            SetApplication();
            SetConnectionContext();
            ConnectToCompany();
            SBO_Application.ItemEvent += new SAPbouiCOM._IApplicationEvents_ItemEventEventHandler( SBO_Application_ItemEvent );
This is the code where I trap the et_VALIDATE event for ItemCode column:
private void SBO_Application_ItemEvent( string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent )
       BubbleEvent = true;
       if ( ( ( pVal.FormType == 149 & pVal.EventType != SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD ) & ( pVal.Before_Action == true ) ) )
            // Item 38 = Matrix
            if (pVal.ItemUID == "38" & pVal.EventType == SAPbouiCOM.BoEventTypes.et_VALIDATE & pVal.Before_Action == true)
                 // ItemCode Column
                 if (pVal.ColUID == "1")
                      string oValore;
                      oValore = ReadItemCode(pVal);
                      AddNewValueInRow(pVal, oValore);
Finally, the two methods.
First to Read the ItemCode inserted in row
The second read data from OITM and fill fields in matrix.
This code read the ItemCode from column 1 of matrix in the quotation form:
        private string ReadItemCode( SAPbouiCOM.ItemEvent pVal )
            SAPbouiCOM.Matrix oMatrix;
            SAPbouiCOM.EditText oValore;
            try
                oMatrix = (SAPbouiCOM.Matrix)oQuotationForm.Items.Item("38").Specific;
                oValore = (SAPbouiCOM.EditText)oMatrix.Columns.Item("1").Cells.Item(pVal.Row).Specific;
                return oValore.Value;
            catch (Exception ex)
                SBO_Application.MessageBox("Impossibile leggere ItemCode: " + ex.Message);
                throw;
And this method read from OITM and fill fields in form:
        private void AddNewValueInRow(SAPbouiCOM.ItemEvent pVal, string oValore)
            SAPbouiCOM.Matrix oMatrix;
            try
                string s;
                SAPbobsCOM.Items oArticoli;
                oMatrix = (SAPbouiCOM.Matrix)oQuotationForm.Items.Item("38").Specific;
                oArticoli = (SAPbobsCOM.Items)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);
                oArticoli.GetByKey(oValore);
                s = oArticoli.UserFields.Fields.Item("U_II_001").Value.ToString();
                oMatrix.SetCellWithoutValidation(pVal.Row, "U_II_001", s);
                s = oArticoli.UserFields.Fields.Item("U_II_002").Value.ToString();
                oMatrix.SetCellWithoutValidation(pVal.Row, "U_II_002", s);
                s = oArticoli.UserFields.Fields.Item("U_II_003").Value.ToString();
                oMatrix.SetCellWithoutValidation(pVal.Row, "U_II_003", s);
                s = oArticoli.UserFields.Fields.Item("U_II_004").Value.ToString();
                oMatrix.SetCellWithoutValidation(pVal.Row, "U_II_004", s);
                s = oArticoli.UserFields.Fields.Item("U_II_005").Value.ToString();
                oMatrix.SetCellWithoutValidation(pVal.Row, "U_II_005", s);
            catch (Exception ex)
                SBO_Application.MessageBox("Impossibile Impostare la colonna U_II_001: " + ex.Message);
                throw;
As i wrote, the event et_VALIDATE when the item inserted has a BOM of type MODEL runs only for parent item and NOT for children.
Thanks,
Jonny Cortonicchi

Similar Messages

  • How to fill matrix with the output of recordset query?

    Hi all,
    I want a user matrix to load data when I hit a button and the data to be filled is the output of an sql query. binding the matrix columns with table columns and then load the matrix with DBDatasource attached to that table will not do in this case as the columns in the sql query are from several different tables or views. 
    writing following line to do this takes several minutes to load the data:
    For j = 0 To Reordset.RecordCount - 1
    Matrix.AddRow()
    Matrix.Columns.Item("col1").Cells.Item(i).Specific.value =  Recordset.Fields.Item("cardcode").Value
    Recordset.movenext()
    next
    Is there any other way to fill the matrix in this case, which loads the data faster?
    Regards,

    Hello Binita,
    I've tested the CFL for DataTable-Matrixes in my test-AddOn. But there's still one problem left. Maybe you find it out (I will need this in the future too...).
    The ChooseFromList must be added behind the DataTable-Bind, which is done on every MTX-Load (it's not from the sample above, so the UIDs are new ones):
                oDt = oDts.Item("dt_test")
                query = "SELECT  * FROM [@T_CONVTOOLS01]"
                oDt.ExecuteQuery(query)
                oMtx.Columns.Item("0").DataBind.Bind("dt_test", "Code")
                oMtx.Columns.Item("1").DataBind.Bind("dt_test", "U_Alpha01")
                oMtx.Columns.Item("2").DataBind.Bind("dt_test", "U_Price01")
                oMtx.Columns.Item("3").DataBind.Bind("dt_test", "U_Quant01")
                oMtx.Columns.Item("4").DataBind.Bind("dt_test", "U_Date01")
                AddChooseFromLists()
                oMtx.LoadFromDataSource()
    ...where AddChooseFromLists() is...
      Private Shared Sub AddChooseFromLists()
            Try
                Dim oCfls As SAPbouiCOM.ChooseFromListCollection
                Dim oCons As SAPbouiCOM.Conditions
                Dim oCon As SAPbouiCOM.Condition
                Dim oCfl As SAPbouiCOM.ChooseFromList
                Dim oCflCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                Dim oBtn As SAPbouiCOM.Button
                Dim oMtx As SAPbouiCOM.Matrix
                Dim oCol As SAPbouiCOM.Column
                Dim oEtx As SAPbouiCOM.EditText
                oMtx = oForm.Items.Item("MTX_TEST02").Specific
                oCfls = oForm.ChooseFromLists
                oCflCreationParams = SboCon.SboUI.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                oCflCreationParams.MultiSelection = False
                oCflCreationParams.ObjectType = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner
                oCflCreationParams.UniqueID = "CFL_C1"
                oCfl = oCfls.Add(oCflCreationParams)
                '### OPTION:
                '# Shown ChooseFromList restricted by Conditions
                oCons = oCfl.GetConditions()
                oCon = oCons.Add()
                oCon.Alias = "CardType"
                oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon.CondVal = "C"
                oCfl.SetConditions(oCons)
                oCol = oMtx.Columns.Item("1")
                oCol.ChooseFromListUID = "CFL_C1"
                oCol.ChooseFromListAlias = "CardCode"
            Catch e As Exception
                Microsoft.VisualBasic.MsgBox(className & ".AddChooseFromLists()" & vbCrLf & "Exception:" & vbCrLf & e.Message.ToString)
            End Try
        End Sub
    But I'm running into problems when trying to set the MTX-Cell via DataTable at the CFL-Event (see comment):
                If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
                    Dim oMtx As SAPbouiCOM.Matrix
                    Dim oCFLEvent As SAPbouiCOM.IChooseFromListEvent
                    Dim oCFL As SAPbouiCOM.ChooseFromList
                    Dim oDataTable As SAPbouiCOM.DataTable
                    Dim cflID As String
                    Dim oDt As SAPbouiCOM.DataTable = oForm.DataSources.DataTables.Item("dt_test")
                    oCFLEvent = pVal
                    cflID = oCFLEvent.ChooseFromListUID
                    'Dim oForm As SAPbouiCOM.Form
                    'oForm = SboConnection.SboUI.Forms.Item(FormUID)
                    oCFL = oForm.ChooseFromLists.Item(cflID)
                    If Not oCFLEvent.BeforeAction Then
                        oDataTable = oCFLEvent.SelectedObjects
                        If oDataTable Is Nothing Then Exit Sub
                        '############## Matrix Test #######################################################################
                        If (oCFLEvent.ItemUID = "MTX_TEST02") Then
                            oMtx = oForm.Items.Item("MTX_TEST02").Specific
                            '### CFL Results to UserForm
                            oDt.Rows.Offset = oCFLEvent.Row - 1
                            MsgBox(oDt.GetValue("U_Alpha01", oCFLEvent.Row - 1))
                            MsgBox(oDataTable.GetValue("CardCode", 0))
                            ' PROBLEM - can't get this working - don't know at the moment:
                            ' on other forms SetValue works....
                            oDt.SetValue("U_Alpha01", oCFLEvent.Row - 1, oDataTable.GetValue("CardCode", 0))
                            ' this also gives me problems...:
                            'oMtx.Columns.Item("1").Cells.Item(oCFLEvent.Row).Specific.value = oDataTable.GetValue("CardCode", 0)
                            oForm.Update()
                        End If
                    End If
                End If
    The CFL-Form opens and returns the choosen value(s) at the CFL-event. But writing to MTX still not works with this code...
    Maybe you find the last piece. If so: please write here.
    Cheers,
    Roland
    p.s.:
    David Nussböck wrote
    LOL - ROLAND WAS FASTER ))
    ...just one minute...

  • Matrix with DataTable - GetLineData and SetLineData B1 8.8 Bug

    Hi experts,
    I have a matrix bounded to a DataTable and I succefully load the matrix with:
    DataTable dt = form.DataSources.DataTables.Item("matDT");
    dt.ExecuteQuery(sql);
    Matrix mat = form.Items.Item("mat").Specific as Matrix;
    mat.LoadFromDataSource();
    mat.AutoResizeColumns();
    Now in Event et_VALIDATE(after), i would like to change some not editable column of the matrix
    [B1Listener(BoEventTypes.et_VALIDATE, false)]
    public virtual void OnAfterValidate(ItemEvent pVal) {
              if(pVal.ItemUID!="mat")
                    return;
              Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);
              Matrix mat = form.Items.Item("mat").Specific as Matrix;
              DataTable dt = form.DataSources.DataTables.Item("matDT");
              //Pont 1)
              mat.GetLineData(pVal.Row)     
              //Point 2
              //Change Values
              int minutes = dt.GetValue("U_Minutes", pVal.Row-1);
              dt.SetValue("U_Hours",pVal.Row-1, (double) minutes / 60);
              //Point 3
              mat.SetLineData(pVal.Row);
    Now I will expain the problem:
    For simplicity assume the matrix has 2 rows after load. After the user edit a column, validate event fires and:
    -) After the call of GetLineData  in Point 1) I verified that all DataTable Rows are identical (derived from the first row in the matrix)
    -) If I substitute GetLineData   in point 1) with FlushToDataSource, DataTable became corret but after the call of SetLineData in point 3) all the matrix rows are identical (derived from the first DataTable row).
    -) If I also substitute SetLineData   in point 3) with LoadFromDataSource, all works fine but i loose focus and performances
    Is it a B1 8.8 Bug?

    Yes, but sap said that my  customer is not officially approved.
    the following is the original text.
    Please note that SAP Business One Release 8.8 has only been released for
    Ramp-Up. Because of this, only approved projects for productive usage a
    re fully supported by SAP Business One Support. However feedback on prod
    uct quality or bugs reporting from all partners - even from partners who
    are not part of the Ramp-Up - is welcome and highly appreciated.
    According to the information we have, your customer is not officially ap
    proved for Ramp-Up yet. Due to the difficulty to estimate the number of
    messages that will be submitted, SAP cannot commit itself to solving all
    issues reported about projects not officially approved for Ramp-Up, nor
    guarantee any response times.
    Kind regards,
    SAP Business One Support

  • Subcontracting with BOM

    Dear all,
    Can anyone tell me the method of creating PO with BOM
    i mean what are the additional fields should be maintained in Material Master???
    How to create Material BOM using Tcode CS01??
    Is CS01 Tcode is for to create for maintaining Bill of Materials for a Finished product??
    pls tell me in detail step by step to Create BOM and subcontracting BOM
    Thanks a lot in advance??

    Sub Contracting Cycle
    (1) You have a material that can be procured externally, and you have maintained BOM with components. Any waste generated and received during subcontracting process can be maintained as component with negative quantity.
    (2) You create a subcontracting PO (PO with Item Category L). You can also maintain Purchase Info Record for Subcontract category for material and subcontractor.
    (3) You make a transfer posting to issue components for SC PO. Material is sent to subcontractor. As material remains under your ownership, system does not make any value entry. But quantity is shown as "Material Provided to Vendor"
    (4) You receive finished material against SC-PO. You also specify components consumed in manufacturing of finished goods. Additionally, if you have negative components in BOM, now you'll also receive subcontracting by-products. There are three events, so three accounting entries are generated:
    DR FG Stock/ SC By-Product Stock
    CR Change in Stock (FG/ SC By-Product )
    (for finished goods received)
    DR Subcontracting Charges
    CR GR/IR Clg
    (for moneys payable to Subcontractor)
    DR Consumption (Components)
    CR Change in Stock (FG/ SC By-Product )
    (material provided to Vendor is now charged to expense)
    (5) You do the IV for SC Invoice, and the process is complete.
    Process of Subcontract in MM
    Sub-contract business process:
    You want to buy material from the supplier (processed material/ assembled item) , but for some reason (quality of certain item / price ) you will give some component to vendor .
    Vendor shall process the item / use the item provided & supply the final item.
    SAP process:
    1.Create the finished goods material code.
    2.Maintain the BOM for the material.
    3.Create PO with item category as "L" .
    4.Issue material to vendor with movement type 541
    5.Receive the material against the PO with movement type 101.
    6.MIRO to account for vendor's invoice for the service charge& material used by him.
    Can anybody tell me how a process has to be given to subcontracting?
    Suppose, I have 3 operations 1)weaving 2)dyeing 3)cutting & packing
    if no 2 process (i.e Dyeing) has to be given to subcontracting, what process should i follow ?
    The following process to be followed for subcontracting.
    1. Item code(material master) to be created at the stage of before dyeing.
    2. Item code(material master) to be created after Dyeing as subcontracted item.(F30)
    3. Bill of material to becreated for the material(2) calling for material(1)
    4. Inforecord and source list to be created for material(2) with the corresponding vendor
    5. PO to be released for material (2)
    6.Along with PO the material(1) to be issued to vendor
    7.On receipt of material when GR is made the stock with vendor will get updated.
    How to Create a Subcontract Order?
    To create a subcontract order, proceed as follows:
    Enter the material you want to order and the item category for subcontracting (L) in the order item.
    Press ENTER to display the screen for component processing.
    Enter the components that the vendor requires to manufacture the product.
    Please note:
    – You do not need to enter the date required for the components. This date is proposed by the system when you press ENTER.
    It is calculated as follows:
    Delivery date of the item - Planned delivery time
    – If you do not want the quantity of the components to be changed if the order quantity of the end product is altered, set the indicator Fixed quantity (column F).
    – You can determine whether the components are available on the date required by selecting Edit -> Availability check.
    If you entered a bill of material as the material in the subcontract order, the components are created automatically.
    If you want to determine the components in the bill of material at a later date (for example, if the bill of material is subsequently changed), choose Item -> Component -> New BOM explosion. The existing components are deleted and redetermined in the bill of material.
    Save the purchase order.
    When you print the purchase order, the components are printed per order item
    Subcontracting - Key Points
    Special Procurement Process.
    Item category: L
    Order type: NB
    In info record vendor should be maintained as subcontractor.
    Vendor (Subcontractor) receives the components used to manufacture a finished product directly from your company or through third party.
    Your company should place a purchase order for the finished product. In this manually you can enter the required individual components or it can be determined via the explosion of BOM (if exists).
    Stock check at vendor level: ME2O
    Company stock check: MMBE
    GR for individual components through movement type: 501 or 561 (if with out PO or without reference).
    GI to subcontracting vendor: through movement type 541.
    GR from sub contracting vendor: through movement type: 101
    Movement type 543 is displayed to cancel the material cost account.
    If the subcontracting order has to be generated through materials planning,the special procurement key has to be set in MRP 2 screen.
    - To create the Subcon Info Record : Tcode ME11 - Info Category - Click Subcontracting
    - To create Material BOM : Tcode CS01
    - With the Info and Material Setup, you can then create the Purchase Order in Tcode ME21N
    Regards
    Ravi

  • All day events  - synching ical with Symbian S60

    I guess this must have come up before.....
    I cannot find a way of synching all-day events on iCal with my E90. iSync will not sync iCal all-day events across to the E90, just seems to ignore them. I thought I'd be clever and enter all-days as memos on the E90. Fine when it syncs to iCal - they come across OK as all-days in iCal but, when I sync again, the memos get deleted from the E90. Most strange.

    I have the same issue on all day events synced from Exchange. The items look fine in the day or month view.

  • How to fill column value of a matrix with specific color when there is no value in that specific cell?

    Hi All,
    I need to create a 5/5  matrix in SSRS report. The data will be :
    Col_Side   Col_Header   Col_data
    1                  1                1
    1                  1                 1
    1                  2                1
    1                  5                1
    1                  5                1
    1                  5                1
    2                  3                1
    2                  5                1
    3                  1                2
    3                  1                2
    3                  1                2
    4                   2               1
    4                   4               1
    5                   1               1
    5                   1               1
    5                   5               1
    So, the matrix column will be Col_Header and matrix row will be Col_Side and count(Col_data) will be on the data.
    Finally, it will create a 5 by 5 matrix with Count(Col_data) as its data for each combinations. If there is no combination (for ex: in the above data we do not have no combination of (1,3) , (1,4) , (2,1) etc..) then the matrix will be filling that corresponding
    cell with zero.
    Here I need to fill the cells with some colors based on some criteria.
    I need to fill (5,3), (5,4), (5,5) combination with "Red" color.  Like this , I need to give different colors in each of the cells. Here, (5,5) combination will be having 1 in its cell.  (5,4) and (5,3) will be having zero in its corresponding
    cells. I 'm trying to fill all the 3 cells with "Red" color. But, I am able to fill only (5,5) with "Red" color. Since the other 2 cells (5,3) and (5,4), has zero in their cells, it will not fill the cells with "Red" color. 
    How can I fill those two cells (5,3) and (5,4) with red color?
    I know this is very vague. I have no option to give the picture here..
    Please suggest

    Hi Julie,
    According to your description, there is a 5/5 matrix with three fields: Col_Side, Col_Header, Col_data. You drag Col_Side field to Rows, Col_Header to Columns and Col_data to Data, then filling blank cells with zero using expression. Now you want to fill 
    (5,3), (5,4), (5,5) cells with red color using expression, but it has no effect on cells (5,3) and (5,4).
    According to my test, the expression has on effect on cells (5,3) and (5,4) since there is no corresponding data and the cells are blank. As a workaround, we can insert data for cells (5,3) and (5,4) in dataset, then use expression by following steps:
    In the dataset, insert two sets of data (5,3,0), (5,4,0).
    Right-click the cell of data, click Text Box Properties.
    Click Fill in left pane, click (fx) button, then type the expression like below, then click OK.
    =iif(Fields!Col_Side.Value=5 and Fields!Col_Header.Value >=3 ,"red","white" )
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Error in Rush Order type with BOM item!!

    Hello,
    I am facing a very strange error while creating a rush Order with BOM item.
    System Error:
    1. No item category available (Table T184 SO ERLA TAQ).
    I except the error. I get next error as
    2. Structure explosion for item 000010 is not possible.
    After this BOM explodes with only first 2 Sub Items ( Item cat for main item is determind as TAQ and Sub Items as TAE) , where as the complete BOM has 7 Sub items.
    I have made the required configs in item cat determination in T184 table for order type SO, as follows.
    SO ERLA - TAQ for Main Item of the BOM
    SO NORM TAQ TAE for the Sub Item of the BOM
    The same item (BOM ) works very well in OR/BV kind of sales order types, by exploding the BOM to full level(i.e all the 7 sub items are determined).
    Has any one come across such an issue. Please let me know what could be the solution?
    Thanks in adv,
    Shripad

    Hi,
    Thanks,
    In vov7 for TAQ Item Cat. the structure scope is maintained as 'A'. And that's the reason for Standard order 'OR' , the BOM is exploding properly.
    It is only with Rush Order , the BOM is not exploding correctly.
    BR
    Shripad

  • Problem in Delivery with BOM

    Dear Experts,
    I have problem with delivery with BOM
    The steps are:
    1. I create Sale Order with BOM A (which consist of material AA 1 PC, AB 1 PC and AC 1 PC) 75 ST
        So Sale order shows:
        Item           Material         Qty    Unit
        10     A     75      ST
        20     AA                75      PC
        30     AB     75      PC
        40     AC                75      PC
    2. I create Delivery reference sale order from 1 so Delivery will be:
        Item           Material         Qty    Unit
        10     A     75      ST
        20     AA                75      PC
        30     AB     75      PC
        40     AC                75      PC
        But I want to delivery only 25 ST so I change quantity in Item 10 from 75 to 25 but the system show:
        Item           Material         Qty           Unit
        10     A     25             ST
        20     AA                25             PC
        30     AB     25.004      PC
        40     AC                25             PC
    What happen with Item 30 why system determine to 25.004. Please help me

    Hi,
    if you want change the item quanty like TAP or TAN plz goto VOV7 select TAP Item category  under bill of material/configuration Maintainstructure scope A and application SD01 put the check mark for *manual alternativs  and same to TAN also
    Your Itemcategory determination should be IN VOV4
    QT-LUMF--TAP
    QT-NORM-TAP-AGN
    If your using BOM item categories is showing gray mode only.
    regards,
    sreenivas

  • Problem with BOM (packaging material) in order change

    Hi Gurus,
    In my b2b shop, i have created an order with BOM material and that order contains one main material and a sub item material after update or order. When i open the same order and click on change, when i click on update, a new sub item is getting added as a main item.
    Details:
    item 10 is 12007492 (main material)
    item 20 is 12007491(sub item for the main material)
    when i click on update,again one more sub item 30 is getting added.
    When i check the logs, all the items guids are getting passed to IN of crm_isa_basket_changeitems functions module. But when check it in runtime using external debuggin mode, the sub item guid is blank.
    Then the main material is again getting exploded and the sub item is coming at item 20 and actual sub item before update is shifting to item 30 as new item.
    Please help me in this regard why it is happening like this.
    Thank you
    Lakshman

    Hello Lakshman,
    I had the same issue, however my backend system was ERP and not CRM. In any case, the logic might be the same.
    When a BOM material is sent to the backend system for simulation/save, only the header needs to be sent. By this, backend system will explode the material and send 2 items back. I guess in your case, ISA is sending both items to SAP and that is the reason you are getting back 3 items.
    Simplest approach is to write some logic in your backend class to avoid sending this subitem to SAP. You can achieve this by manupulating the items table sent to SAP
    Suppose salesDoc is the ISA document and itemsTable is the JCO table that is sent to SAP as a table parameter:
                   ItemList itemList = salesDoc.getItems();
                   for (Iterator iter = itemList.iterator(); iter.hasNext();) {
                        ItemSalesDoc itemSalesDoc = (ItemSalesDoc) iter.next();
                        TechKey parentKey = itemSalesDoc.getParentId();
                        if(null!=parentKey){
                             if (!parentKey.getIdAsString().equalsIgnoreCase("")) {
                                //Here remove it from the tables parameter which is sent to SAP
                                               itemsTable.deleteRow(i);
    I am not too sure how it would work for CRM, but works in ERP.
    Pradeep

  • PO with BOM

    Hi everyone, pls. I need your advice related with PO with BOM.
    I explain the process:
    I always buy a kit containing 350 items, so the PO have only 1 ítem because the manufacturer bills 1 item, but the GR have to be for 350 items. After GR I have to assemble the kit. This process it´s related with motorcycle production.
    I trie to use a PO with item cat. L but before MIGO I have to do ME2O to send materials in subcontracting, so this process is similar to subcontracting but is not the same.
    Thanks for your cooperation.
    Regards.

    Sorry, I think I misunderstood your question. The kit contains not 350 pcs but 350 items (different components).
    In SAP Retail you can use the structured article scenario.
    If you don't use IS Retail you can still have one item on the PO. After GR you can split it into components (e.g. MB1A + 201 for the main item and MB1A+202 for the compoenents - you can of course automize this via development that these technical bookings should be triggered by the GR).
    But sorrowfully standard SAP cannot handle BOm on PO except subcontracting and IS Retail...(as far as I know)
    (More exactly: IS Retail structured article means an additional movement, so it's not really BOM on the PO.)
    Edited by: Csaba Szommer on Jul 7, 2011 9:34 PM

  • How to create Matrix with Group report layout in xml

    Hi,
    i would be glad if anyone could tell me How to create Matrix with Group report layout in xml?
    Here i am attaching the required design doc
    below is the code
    select COST_CMPNTCLS_CODE,
    -- crd.RESOURCES,
    NOMINAL_COST,
    cmm.COST_MTHD_CODE,
    -- crd.COST_TYPE_ID,
    gps.period_code
    -- ORGANIZATION_ID
    from CM_RSRC_DTL crd,
    gmf_period_statuses gps,
    CM_MTHD_MST cmm,
    CR_RSRC_MST crm,
    CM_CMPT_MST ccm
    where gps.period_id = crd.PERIOD_ID
    and crd.cost_type_id = cmm.cost_type_id
    and crd.RESOURCES = crm.RESOURCES
    and crm.COST_CMPNTCLS_ID = ccm.COST_CMPNTCLS_ID
    and gps.period_code in (:p_period1, :p_period2, :p_period3)
    group by COST_CMPNTCLS_CODE, cmm.COST_MTHD_CODE, gps.period_code,NOMINAL_COST
    order by 1,2,3,4.
    The o/p of the report shoud be as given below
              Period-1     Period-2     Period-3     Period-4
    COMPONENT                         
    LABOUR - DIRECT                         
         Actual     1     2     3     4
         Actual Rate     10     10     10     10
         Standard Rate                    
         Var%                    
    DEPRICIATION-DIRECT                         
         Actual                    
         Actual Rate                    
         Standard Rate                    
         Var%                    
    OVERHEAD - DIRECT                         
         Actual                    
         Actual Rate                    
         Standard Rate                    
         Var%                    
    LABOUR - IN DIRECT                         
         Actual                    
         Actual Rate                    
         Standard Rate                    
         Var%                    
    Thanks in advance

    Your friend is obviously not a reliable source of HTML
    information.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mr.Ghost" <[email protected]> wrote in
    message
    news:f060vi$npp$[email protected]..
    > One of my friends advised me to develop my whole site on
    the layout mode
    > as its
    > better than the standard as he says
    > but I couldnot make an ordinary table with rows and
    columns in th layout
    > mode
    > is there any one who can tell me how to?
    > thanx alot
    >

  • I have a FCP event and project with all accompanying media saved on a harddrive.  I am now attempting to open the files on another computer that also has FCP X.  I cannot figure out how to get it to open.

    I have a FCP event and project with all accompanying media saved on a harddrive.  I am now attempting to open the files on another computer that also has FCP X.  I cannot figure out how to get it to open.

    The events and projects folders have to be on the top level of the drive for FCP to recognize them.

  • I can't add a contact or add an event on calendar with IOS5

    i can't add a contact or add an event on calendar with IOS5, the "+" disapeared !

    Go to iCloud settings and turn on calendar
    That brings up the + sign on the calendar

  • How to build a Matrix with Group Left Report

    I want to build a Matrix with Group Left Report,not Matrix with Group Above Report,i am still finding the solution, any help is useful.
    thanks
    <[email protected]>

    Hi,
    The problem in your output is not clear. The report output should appear like:
    Order Mode.....Sales_Rep_ID > 10..11..12..
    Online.........Order Status
    ...............A..............x....x...x
    ...............B..............x....x...x
    ...............C..............x....x...x
    Order Mode.....Sales_Rep_ID > 10..11..12..
    Retail.........Order Status
    ...............A..............x....x...x
    ...............B..............x....x...x
    ...............C..............x....x...x
    Here "Order Mode" is the group field (it repeats for every group). Could you pl specify what output you are getting?
    If the problem is that you don't want the Title (like "Order Mode" in the above example) to print in every group, just place it outside the group repeating frame. It will print only once.
    Navneet.

  • How to create a matrix with constant values and multiply it with the output of adc

    How to create a matrix with constant values and multiply it with the output of adc 

    nitinkajay wrote:
    How to create a matrix with constant values and multiply it with the output of adc 
    Place array constant on diagram, drag a double to it, r-click "add dimension". There, a constant 2D double array, a matrix.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

Maybe you are looking for

  • How to dynamically get the SOM expression of a field?

    As a follow up to the note below, I would really appreciate any help as of how to get the SOM expression of a field dynamically, by this, I mean how to get the SOM expression of a field at running time using JavaScript. Thanks, Isis That does make th

  • Pie chart label

    I have a pie chart and the region is limited in width. Some of the labels are a little long (even if they are abreviations) so that when they are at the center left or right of the pie chart, the labels are not enterily displayed. I was wondering if

  • Program to update employee data

    Hi all, Is there any std program which can be used to update the data for employee as it is done manually in transaction "Manage Employee data"?? We need to do a mass update of email address for employees under USER ACCOUNT and POSITION programatical

  • Corrupt hardrive, need to backup data

    I went into the Apple Store today and talked to the people at the Genius Bar. Found out that I have a hardrive problem (computer kept freezing). I have an external drive, but I can't use I can't get to the my desktop page. I assume that I have to go

  • Formatting a WD Elements 3TB external drive...temporary file normal?

    Hi All, I am, I hope, at the end of a 36+ hour formatting process with this WD Elements 3TB external drive. I decided to zero out the drive and when I went to bed last night at around 12am, there were about 6 hours left in the process. This morning a