Goods Receipt by DI API - Tax Data is Missing

Hi all,
When I add new document Goods Receipt by DI API then I have error : Tax data is missing.
fragment my code : l
pobranie = ((SAPbobsCOM.Documents)(SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenEntry)));
     pobranie.Reference2 = dr["RefNum"].ToString();
     pobranie.DocDate = DateTime.Now.Date;
     pobranie.DocDueDate = DateTime.Now.Date;
     pobranie.TaxDate = DateTime.Now.Date;
                            pobranie.Lines.ItemCode = dr["ItemCode"].ToString();
                            pobranie.Lines.Quantity = double.Parse(dr["Qty"].ToString());
                            pobranie.Lines.UnitPrice = (double)decimal.Parse(dr["Price"].ToString());
                            pobranie.Lines.Currency = dr["Currency"].ToString();
                            pobranie.Lines.AccountCode = dr["AcctCode"].ToString();
                            pobranie.Lines.WarehouseCode = dr["WhsCode"].ToString();
dr - datareader in C#     
I try to add line pobranie.Lines.TaxOnly = SAPbobsCOM.BoYesNoEnum.tYES or tNO it does't in proof
Where is problem ?                
THANKS a lot for your help
Tomasz Derus

Tomas, what support pack are you on?  There was a problem with the Material DI load.  The first 2 OSS Notes were in Support pack 14.  The third is coming in Support Pack 15.  Loading OSS NOTE 1265114 should fix your issue.
Jayden
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1121867
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0001234550
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0001265114

Similar Messages

  • Add Goods Receipt using DI API

    Hi all,
    I want to add a new Goods Receipt using DI API, for each of the lines:
            oBatchReceipt.Lines.SetCurrentLine(1)
            oBatchReceipt.Lines.ItemCode = "ItemA"
            oBatchReceipt.Lines.WarehouseCode = "WH01"
            oBatchReceipt.Lines.Quantity = 1000
    instead of entering the unitcost of the item, i want to enter the line total.
    (unitcost or oBatchReceipt.Lines.Price is commented out)
            'oBatchReceipt.Lines.Price = costUnit
            oBatchReceipt.Lines.LineTotal = 1563
    so, when the Goods Receipt is added, there is no error popped up, but the total of created Goods Receipt is 0 (zero).
    I want to use the LineTotal instead of Price. Using the SBO system UI, user can enter quantity and linetotal and sytem will automatically calculate the price. But using DI API, i dont think it works because someone from forum says that LineTotal is NOT read/write property as written in SDK documentation.
    Anyone knows about this issue?
    Thanks.
    Cheers'
    erwine

    Hi Erwine Sukardy ,
                                   For eg.  you have used  an item  named as  " ItemA". Please go to the "Item Mater Data " . Set the unitprice as you required .Then no need to enter unitprice at line level using DIAPI .
                                If unitprice exists in item master data then . It will automatically calculates the LineTotal.
                          Hope it helps....,
    Best Regards
    V.Rangarajan

  • Hello Technical Experts... please help me on this error :- 'Tax data is missing ArrayOffset 12, srcLineNum 0, srcGroupNum -1'.

    In my A/P credit memo screen i have incorporated a column for adding reference to closed A/P Invoices. upon filling this field with DocNum of APInvoice certain other fields also get filled from an SQL query. One among them is the TaxCode. My problem is that the TaxAmount(LC) field at the last row of the matrix is not filled with the appropriate value, it remains 0. On trying to add the document or pressing the link button on the TaxAmount field a status bar error message pops up showing, 'Tax data is missing ArrayOffset 12, srcLineNum 0, srcGroupNum -1'.
    Please Help me solve this issue.
    Thanks in Advance
    Rajeev

    Hi,
    Please check SAP note:
    1860926 - When updating a Purchase Order via DI API "-12109 Tax data
    is missing..." Error occurs
    Thanks & Regards,
    Nagarajan

  • Tax data is missing ArrayOffset 12, srcLineNum 0,srcGroupNum ~1

    Hi
    Need help
    My one client got an error message in the ststus bar when he tried to see the tax Amount total(LC) on Incoming excise invoice.
    ( Tax data is missing ArrayOffset 12, srcLineNum 0,srcGroupNum ~1 this error message appeared on the status bar when he click hyperlink(Arrow) of tax amount(LC) cell in the row level of incoming excise invoice).
    He is not able to see the details breakup of Taxes.
    He is using SAP 2007 B PL 11, SQL server 2005.
    Can any one help me to resolve this issue .
    Regards
    Arun K singh

    Hi Arun Kumar,
    Check the thread
    Tax data is missing
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • Tax Data is missing

    Hi Experts
    I made the GRN for excisable item and I made Excise Invoice. When i try to cancel the GRN "Tax Data is missing". If any buddy know how to overcome please let me know.

    Hi Karunakaran,
    Please check below link.
    Tax data is missing | SCN
    Hope this help
    Regards:::::
    Atul Chakraborty

  • Restrict PO goods receipt based on PO due date

    Folks,
    Is there a way to restrict the processing of a PO goods receipt with tnx MIGO if the PO due date is too far in the future. Basically,I want to stop goods receipts when the physical delivery much earlier than the PO due date.
    Thanks,
    Greg Russell
    IT Analyst - SAP Supply Chain
    AngioDynamics

    There is no configuratin setting  to restrict the processing of a PO goods receipt with tnx MIGO if the PO due date is too far in the future.
        You can use the enhancement MBCF0005 and component EXIT_SAPM07DR_001 and make changes based on your requirement.
    With Best Regards,
    Srinivas

  • PO Goods Receipt with Serial / Batch number with DI API

    I am creating PO Goods Receipt with DI API. This works fine. But when i have items with serial numbers and batch numbers in the same PO, then i am getting either of the following errors:
    1. [OITM]Item has no serial number management
    2. [OIBT] Invalid Item Code.
    I debugged the code and the values i set seems to be correct. I am using VB.Net and SAP 2004 with Patch 23.
    Thanks
    Anand

    Anand,
    When you are working with a Serialized item in the first scenario, have you tested working with the item in the Business One application itself?  Have you tried to have the system assign a serial number for the item when issuing a Goods Receipt?  Do you get the same issue through the Business One interface.  With respect to working with Batches, have you setup the Batches for inventory items through the Business One interface yet?  If you have not setup Batches, this would be why you would not have any data in the OIBT table.
    HTH,
    Eddy

  • MIRO(Invoice Verification) posting date is lesser than MIGO(Goods Receipt)

    MIRO(Invoice Verification) posting date is lesser than MIGO(Goods Receipt) posting date.
    Explanation:
    Miro sholud be posted after the GRN has posted. It means that the Posting date of Miro should be greater than or equal to the Posting date of Migo. But I am facing the issue that I can able to post the Miro before the Migo date..
    For example:  I have posted the Migo(Goods receipt) document with the posting date u2013 10.8.09 and at the same time I can also able to post the Miro(Invoice Verification) posting date as u2013 5.08.09. This is should not be allowed . Kindly give me the solution. Is there any options in SAP standards to restrict this type of Postings(without using user exit).
    regards
    Varadharaj

    Hi
    you  need to use BADi for this INVOICE_UPDATE
    you can give logic as whil;e MIRO system will compare posting date with MIGO doc , then create a Z error msg in se91 nad assign it in that badi
    take help of ABAPer, check following link
    [LINK |GR date lesser than the PO date, the system should show an error message.;

  • Goods Receipt Number & Its Posting Date

    Hi All,
    Will you please let me know which datasource field contains Material document no (or) Goods Receipt no and its posting date.
    Thanks,
    Sri Arun Prian

    Hi,
    Please check in Table MKPF . Document NO field name is MBLNR and Posting date is BUDAT. Check it in SE11.
    REgards
    Ram

  • Posting Goods Receipt Data in SRM

    Hi,
    We are implementing SRM 4(Extended Classic Scenario). For all open Purchase Orders (PO's) in R/3 we will be getting goods receipt data from R/3 in an excel sheet.
    Now how de we upload (create/post) the Goods Receipt data into SRM?
    Are there any BAPI's or function modules that I can use in the program that I am developing to create/post goods receipt in SRM from the data in the excel sheet?
    Thanks and Regards,
    Mick

    Thanks Christophe.
    I am not sure I have understood why we need to use BBP_CF_ASSIGNMENT. Is it that it will give the item quantities that have already been confirmed? And what is the balance quantity to be received? But if that is the case how does it help us as the excel sheet will contain the quantity for which the confirmation has to be created in SRM.
    Apart from the FM's that you mentioned (BBP_PD_CONF_CREATE, BBP_PD_CONF_UPDATE and BBP_PD_CONF_SAVE), I came across this bapi, BBP_BAPI_CONF_CREATE_IN. Will this not create the confirmations in SRM? Please let me know your thoughts.
    Regards,
    Mick

  • Free goods receipt without PO

    1. Is it possible to make of Free Goods Receipt of material without PO generate? If yes how?
    2. Also such free goods reciept if i made with Standard Price maintain in Material master so which account posting is made after GRN?

    Hi,
    Entering a Delivery Free of Charge Without Reference to a Purchase Order
    You receive a delivery from a vendor free of charge for which no purchase order was placed, you post the receipt of the goods as a miscellaneous (other) goods receipt.
    Choose Goods movement ® Goods receipt ® Other. Enter the data as required and choose movement type 511. When you process the items, the system prompts you, for every item, to maintain a text for the delivery free of charge on the detail screen. This entry is mandatory, since without a purchase order there is no other way of entering information about the delivery
    If you maintain standard price
    Standard Price
    When a delivery free of charge is posted, the stock of the material increases by the quantity of goods received.
    For a material valuated at a standard price, the total value of the material must increase in relation. Therefore, the stock account is credited with the value of the delivered quantity x standard price. The offsetting entry is made to the "Income from price differences" account
    Reward if useful
    Regards

  • Good receipt in SRM system

    Hello all,
    It is possible to create a good receipt in a system EBP if a delivery date in a purchase order is great than
    for a date to be creating good receipt ?
    The date of the purchase order has been depend for creating good receipt ?
    What is find in EBP system a customizing good receipt ?
    Thanks for your help

    Hi
    I have tested one cycle and it is possible to do a GR prior to the delivery date mentioned in the PO.
    In EBP we can do a Goods receipts prior to the delivery date mentioned in the purchase Orders.
    Regards,
    Nimish Sheth
    NB Do reqards points for helpful anwsers.

  • Create serial number - asset from goods receipt

    Hi,
    We configured the sync functionality between PM and AA, so when we create a serial number via transaction IQ01, the fixed asset master data is created automatically.  We also configured the serial number profile in the material master.  When we create a goods receipt (MIGO) the serial number data screen comes into place.  We save the GR document, and when we check the serial number data in PM this info is correct, but the synchronization between fixed asset didn't work it means, no asset master data is created.  Is there some missing configuration?  Even the tcode IQ01 works fine, why in this operation (MIGO) the configuration doesn't work ?
    Any help on this topic we'll be very appreciated.
    Lee

    Hi,
    in customizing transaction OIS2 I'm using the serial number profile 0010 (Stock check) and in the serializing procedure Goods Receipt and Issue Doc (MMSL), the serialization usage is 03 and the equipment requirement is 02 (always with equipment).   When use MIGO for goods receipt I noticed that after the serial number creation (via tcode IQ03) some serial number mandatory fields have no value, like Company Code (BUKRS) and Cost Center (KOSTL), and other mandatory fields for the master records.  If I modify the serial number (tcode IQ02) and complete the mandatory fields, the synchronization work fine since the asset master record is created.   I'm suspecting that some of these fields (like company code) are necessary for the asset creation.  I checked the whole PM/AA/MM configuration for these fields to in some way, assign them the corresponding value taken from the goods receipt or material and give it to the serial number record for creation.  If you know something else please let me know.
    Thanks for your response.
    J.R.Lee

  • Create serial number - asset from goods receipt (MIGO)

    Hi,
    We configured the sync functionality between PM and AA, so when we create a serial number via transaction IQ01, the fixed asset master data is created automatically.  We also configured the serial number profile in the material master.  When we create a goods receipt (MIGO) the serial number data screen comes into place.  We save the GR document, and when we check the serial number data in PM this info is correct, but the synchronization between fixed asset didn't work it means, no asset master data is created.  Is there some missing configuration?  Even the tcode IQ01 works fine, why in this operation (MIGO) the configuration doesn't work ?
    Any help on this topic we'll be very appreciated.
    Lee

    Hi,
    in customizing transaction OIS2 I'm using the serial number profile 0010 (Stock check) and in the serializing procedure Goods Receipt and Issue Doc (MMSL), the serialization usage is 03 and the equipment requirement is 02 (always with equipment).   When use MIGO for goods receipt I noticed that after the serial number creation (via tcode IQ03) some serial number mandatory fields have no value, like Company Code (BUKRS) and Cost Center (KOSTL), and other mandatory fields for the master records.  If I modify the serial number (tcode IQ02) and complete the mandatory fields, the synchronization work fine since the asset master record is created.   I'm suspecting that some of these fields (like company code) are necessary for the asset creation.  I checked the whole PM/AA/MM configuration for these fields to in some way, assign them the corresponding value taken from the goods receipt or material and give it to the serial number record for creation.  If you know something else please let me know.
    Thanks for your response.
    J.R.Lee

  • Copy data from a UDO form to Goods Receipt PO using UI API

    Hi, all
    I tried to copy data from a UDO form to Goods Receipt PO using UI API through following codes.
    It works fine while copying to a Item-type Goods Receipt PO.
    But when the doctype is set to service, I got errors.
    I use for-loop to copy two items, Description and LineTotal, into the matrix of Goods Receipt PO form, but both failed.
    any suggestion?
    Edited by: Chao-Yi Wu on Aug 25, 2009 5:50 AM

    Hi  Chao-Yi Wu ,
    SBO_Application.ActivateMenuItem("2306")
    Dim oFormGR As SAPbouiCOM.Form = SBO_Application.Forms.ActiveForm
    Dim omtxIQC, omtxGR As SAPbouiCOM.Matrix
    Dim oedIQC, oedGR, oed As SAPbouiCOM.EditText
    Dim ocbIQC, ocbGR As SAPbouiCOM.ComboBox
    oFormGR.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE
    oedIQC = oFormIQC.Items.Item("13").Specific
    oedGR = oFormGR.Items.Item("4").Specific
    oedGR.Value = oedIQC.Value
    oedIQC = oFormIQC.Items.Item("21").Specific
    oedGR = oFormGR.Items.Item("24").Specific
    oedGR.Value = oedIQC.Value
    oedIQC = oFormIQC.Items.Item("edComments").Specific
    oedGR = oFormGR.Items.Item("16").Specific
    oed = oFormIQC.Items.Item("3").Specific
    oedGR.Value = oedIQC.Value + ", Goods Recript PO:" + oed.Value
    ocbIQC = oFormIQC.Items.Item("cbDocType").Specific
    ocbGR = oFormGR.Items.Item("3").Specific
    If ocbIQC.Selected.Value = "I" Then
         ocbGR.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
    Else
         ocbGR.Select(1, SAPbouiCOM.BoSearchKey.psk_Index)
    End If
    omtxIQC = oFormIQC.Items.Item("mtx_0").Specific
    For i As Integer = 1 To omtxIQC.RowCount
    omtxGR = oFormGR.Items.Item("38").Specific
           If ocbIQC.Selected.Value = "I" Then
                oedIQC = omtxIQC.Columns.Item("c_ItemCode").Cells.Item(i).Specific
                oedGR = omtxGR.Columns.Item("1").Cells.Item(i).Specific
                oedGR.String = oedIQC.String
                oedIQC = omtxIQC.Columns.Item("c_AQty").Cells.Item(i).Specific
                oedGR = omtxGR.Columns.Item("11").Cells.Item(i).Specific
                oedGR.String = oedIQC.String
                oedIQC = omtxIQC.Columns.Item("col_19").Cells.Item(i).Specific
                oedGR = omtxGR.Columns.Item("14").Cells.Item(i).Specific
                oedGR.String = oedIQC.String
       Else  
    omtxGR = oFormGR.Items.Item("39").Specific
               oedIQC = omtxIQC.Columns.Item("c_Descrp").Cells.Item(i).Specific
               oedGR = omtxGR.Columns.Item("1").Cells.Item(i).Specific
               oedGR.String = oedIQC.String
               oedIQC = omtxIQC.Columns.Item("col_16").Cells.Item(i).Specific
               oedGR = omtxGR.Columns.Item("12").Cells.Item(i).Specific
               oedGR.String = oedIQC.String
      End If
                Next
    for items the matrix is 38 and for service the matrix is 39
    Rgds
    Micheal

Maybe you are looking for

  • Mid-2010 macbook pro mini display port to hdmi works only intermittently

    I have a 13-inch mid-2010 MacBook Pro running OS X 10.10.2.  HDMI out from mini displayport to my Dynex TV only intermittently works.  The times that I have gotten it to work involves a combination of restarting the computer, unplugging the TV and pl

  • Capturing footage from a camcorder memory card into FCP 7

    I teach high school video technology.  We are using FCP 7 and are awaiting the upgrade to 10.  In the past, we connected canon camcorders to the macs using a firewire and utilized the log and capture option under the file menu to put footage from min

  • Unable to Extend Vo

    Hi all , I am trying to extend VO in R12 for that i am getting bellow error Each row in the Query Result Column must be mapped to a unique Query Attribute in the Mapped Entity column. I am not even modified the Base Vo just trying to extend base VO (

  • Bing loads in new Tabs

    Previously I had an issue with the Bing website loading every time I opened Firefox, even though my homepage was Google. I was able to fix that by changing the Target Line. However, it still loads Bing when I open new tabs. I've checked Add-Ons and E

  • Re Adobe Acrobat Professional. I need to re-install the program and don't have the disks.

    Adobe Acrobat Professional. I need to install the program. I have the Serial Number but not the disks. This is the same computer where it was originally installed but he computer has been wiped clean with Windows re-installed and the program is no lo