Broken Link between Base and Target document in 'Copy To' option

Hi Folks,
One of our client has been facing a peculiar issue. When the 'Copy To'  function is used to Copy document from Sales Order to Delivery and recently one instance of 'Copy To' from Delivery to A/R Invoice ,the base document got copied to the target document in each case but there was no trace of any Base Ref. left in the Target document( either in row level or Remarks), thereby the link between the Base and Target document got broken.The Base document remains with status as open.The same base document when tried again to 'Copy To', it creates the link between Base and new Target document.
This instance had occurred recently 3- 4 times in a span of 3 months or so. In normal circumstance this never happens. The client is pretty sure they have used 'Copy To' option to copy the document from Base to Target.
Any hints or possible reasons if one can highlight would be appreciable.
The current version used is SAP B1 8.82 PL11 and it was upgraded more than a year back.
Regards,
Bharath

Hi,
All the data in Sales Order and Delivery are matching one to one in terms of row details,
and Document header level.
The missing data was Base Ref. data and Del.Date didn't get copied from base to target as shown in screen shot.
Also i have checked it earlier regarding change of target document row details like changing item, but this will only remove the link of that particular row and remaining row link remains intact, but in this case there are many items and it doesn't seem user will have changed in all the rows.
Regards,
Bharath

Similar Messages

  • Link between Base and Target report

    Hi All,
    We have a scenario. We have a base report based on a Custom Object from which we are passing a field value (which uses a joined field value from Product Object) to another target report based on another Custom object which matches the values passed from the base report(link field).
    Also in the Base Report we have specified the Navigation report and prompted the link fields accordingly in both the reports
    But when we click on the hyperlink in the base report, the matching values are not displayed
    Both these reports are REAL TIME reports. We tried the same kind of link between these two Objects using Account Name and it is fetching the matching records.
    What can be the reason behind this? Is it because we are passing the Joined field value as the reference to the target report the matching records are not shown?
    Kindly share your ideas.
    Thanks and Regards,
    Sabarish

    it could be that the formula for that filed in both the custom objects is different 'coz of which its not working

  • Question about base and target document

    Dear All,
    Does anyone know which table maintain the relationship between base and target document.
    For instance, user clicks the base document in the form of AR invoice and return the base sales order.
    From Samson

    Hi,
    In each and every document table the base docs and the target docs information is stored.
    Just take a look at the REF DB help file in which u can see the fields and their relations.
    For AR Invoice in the lines table INV1 there are 3 fields BaseRef,BaseType,BaseEntry these fields help u in knowing the base doc details, and for the target doc details the following fileds will help, TargetType,TrgetEntry.
    U can find the reference file at the following location. C:\Program Files\SAP\SAP Business One SDK\Help\REFDB.chm
    Vasu Natari.

  • Linking Base and Target document

    Hello Experts,
                                   How to Link 2 user defined forms as Base and Target document. Like it is done for Sales Order and Sales Invoice.
    Quick Reply will be very helpful
    Please Suggest

    Hello Manish
    Basically it is not possible by default, but you can code the logic behid.
    I am recommend to use linkedbuttons for drill down, and when the linked button is pressed, you can stop the event, and open your user defined form.
    here is a sample code for itemevent. I have a matrix, where i have used linkedbuttons in columns. On Col4 i have my object defined, so when the matrix link pressed i am opening my form.
    Now You can define some Base and Target Document types and keys stored in the database, and you can open your documents by this.
    Please note: Base and Target documents menus (in toolbar) will not work, because you cannot enable/disable them from SDK.
    Case SAPbouiCOM.BoEventTypes.et_MATRIX_LINK_PRESSED
                    If (pval.BeforeAction = False) Then
                        oMatrix = otmpform.Items.Item("3").Specific
                        oMatrix.GetLineData(pval.Row)
                        Select Case pval.ColUID
                            Case "COL4"
                                sCode = otmpform.DataSources.UserDataSources.Item("COL4").Value
                                Call StoragePlacesEX.CreateoStoragePlaceForm(otmpform)
                                Call StoragePlacesEX.GetData(otmpform, sCode)
                        End Select
                    End If
    Regards
    J

  • Reconnect base and target document if duplicate marketing document

    How can you reconnect the links between the base and target documents when you duplicate marketing documents? 
    For example,  an error was made during the entry of the GR PO and we performed the Goods Return.  However, when you create a Goods Receipt PO and then a Goods Return, the original PO is now closed.  How can you re-open the original PO or else link a new target document to it?
    Thank you.

    Thats right.  You can create a new business process for Exceptions and exceptions have to handled as a one off situation.
    I would suggest you take measures to minimize the error by putting business rules in place and for these one off situations simply type in the PO / SO number in the remarks.
    Creating all document is a big efforts.
    Suda

  • Activate Base and Target Document menu's

    Hi all,
    i am facing a problem, i have added a new form and know i want want to activate Base Document and Target Document menu's of system for my form but when i am doing
               <b>oForm.EnableMenu("5898",True)</b>
    the system throws an exception that menu not found.
    can any body please tell me that is there any way to enable these menu's for user forms
    Thanks..

    Hi Manu,
    In B1, only when target and base documents arre present for a particular Sales/Purchase document, the menu target doc and base doc menus are enabled. otherwise it will not be enabled. Since this is disabled by the system, when you try to activate the system disabled menu it throws an error.
    Hope this helps.
    Amudha M.

  • Add ability to reconnect base and target documents

    Hello,
    One major issue we keep running into (and is a major headache for us) is when we have created, say, a Purchase Order from a Sales Order and have to change something on the Purchase Order. If we change anything on the line item, SAP loses it's connection back to the Sales Order and unless we recreate the Purchase Order again, we have lost that link (other than adding it into the remarks field). We think the base/target document functionality is great, but this breakdown really gives us problems. Often, we can't actually recreate the Purchase Order because cleaning that part of things up with our vendors is often a mess.
    Anyways, this is one of our major issues that we would like to see addressed. Even just making the base or target doc field on the line item editable would do the trick.
    Thanks for your consideration,
    Brent McDonell

    Hi,
    But I tested in SBO 2005A SP01 PL45, the link between sales order and purchase order which is based on sales order would not be broken.
    When you add a sales order, you could tick the box 'Purchase Orders' in Logistics tab. Then when you click on Add button, the purchase order confirmation windwo will pop up. In this window you can change quantity, price, vendor, and so on. And even you have added this purchase order, you still can edit and update it under purchase order window. But either editing above won't break the link between the sales order and purchase order. You can see the remarks in purchase order, the line information about base document in purchase order and you also could open based sales order by using 'Base document' button.
    This is my testing results. If you could give me more information about version, patch level, local and more detailed reproduce stpes, maybe I could do more test and give you more information.
    Anna Shao

  • Link between 313 and 315 documents

    I am using two step transfer for stor. loc to stor loc transfer by 313 (Transfer posting - Others) to move stock from Supplying stor loc to In transfer. And then, with respect to document no. of 313, place in storage by movement type 315.
    But there is no link between document nos. of 313 and 315. So it's not possbile to get report of the same.
    Kindly resolve this issue asap.

    Hi,
    There is no std. link or any configuration, you can look for round the solution with your ABAPer.
    Kapil

  • Link Between delivery and material document

    Dear All,
    how do we link between delivery document,
    and between delivery document and accounting document,
    with regards
    Mohammed Raees

    Hi there,
    Material doc is the PGI document which is created whenever there is material movement either GR or GI. In VL02N --> document flow, select the GD goods issue & click on display document. It will take you to the material doc. There is a field called material slip in that. The value stored in material display is the delivery num. That is how you link the delivery & material doc.
    From the material doc if you click on accounting docs, it will give you the A/c document num & the costing doc num (if available).
    From the material doc, select the item & click on details from ityem, it will give you the GL account for which the GI is posted.
    Regards,
    Sivanand

  • Link between 216 and 261 document

    Dear Gurus,
    I want to know link between Goods issue document and corresponding 262 document. How can i Link if the Reversal is done in MIGO with movement type 262 ( not canceling Document )
    Material A
    A   261   10 Qty
    A   261    5  Qty
    A   262    5 Qty
    A   261   10 QTy
    I want to link 261 material doc with corresponding 262 material doc .
    Rebert back if anyhow i can know which is reversed against which
    Pupose of this is for some user exit on MIGO
    Regards,
    Ishwar

    Hi there,
    Material doc is the PGI document which is created whenever there is material movement either GR or GI. In VL02N --> document flow, select the GD goods issue & click on display document. It will take you to the material doc. There is a field called material slip in that. The value stored in material display is the delivery num. That is how you link the delivery & material doc.
    From the material doc if you click on accounting docs, it will give you the A/c document num & the costing doc num (if available).
    From the material doc, select the item & click on details from ityem, it will give you the GL account for which the GI is posted.
    Regards,
    Sivanand

  • Link between billing and accounting documents

    Hi Friends,
    After creating the billing document, automatically acctg document will generate.
    How the acconting document is generating?
    Where we give the link between these number ranges?
    help me
    Thanks in advance

    Hi Raja,
    In SAP as soon as you run the billing transaction accounting document is generated along with billing creation. In transaction VKOA (FI-SD Integration) you determine the revenue GL account created in FI with the help of "AcctDetermProc." which is usually KOFI00. In this procedure there is a condition type of KOFI for revenue account. And this "AcctDetermProc."  KOFI00 is mapped in the Billing Document Type in
    transaction VOFA. under account assignment/pricing tab.
    And number range for the billing document type is maintained in VN01. Both FI number range and SD number ranges have same interval. so that both billing document and accounting document receive same number.
    Moreover, there is an "Account Key" for the revenue account aligned to condition type KOFI and same account key is mapped to the pricing procedure in order to maintain the stability.
    might help you......................................

  • Link between excise and purchase document

    how do you link the excise and GRPO or A/P Invoice in a select query?

    Hi Krishna,
    IF you need the link for Excise and GRPO or A/P Invoice.
    Try the below Links and Query.
    Link the Excise and GRPO
    SELECT *
    FROM OIEI T0 
    INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPDN T2 ON T2.DocNum = T1.BaseRef
    Link the Excise and A/P Invoice
    SELECT *
    FROM OIEI T0 
    INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPCH T2 ON T2.DocNum = T1.BaseRef
    Try this Query, Link the Excise and GRPO in a Select Query
    SELECT T0.[DocNum], T1.[BaseRef], T2.[DocNum],
    T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[LineTotal]
    FROM OIEI T0 
    INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPDN T2 ON T2.DocNum = T1.BaseRef
    Regards,
    Madhan.

  • Problem with base and target document

    Hi all,
    My customer is telling me that the "copy to AR invoice" function in the sales order doesn't link the documents together (but randomly).
    Have you ever seen this before ? If yes, what was the scenario ?
    Thanks
    Charles

    Hi!
    You can reproduce the issue by
    1. Copy the Sales Order to AR Invoice
    2. Cut the Customer Code
    3. Click on some other filed in header
    4. Paste the Customer code again
    5. You can notice the Base Document Icon get greyed out, which means you lost the document connectivity.
    This is the behaviour in SAP B1 of all version and patches, this is not a bug.

  • Link between IDOC and Accounting Document Number?

    Good afternoon-
    The problem I am trying to solve is: For a given accounting document (BKPF-BELNR, BKPF-BUKRS, BKPF-GJAHR), I'd like to know whether it was manually entered into SAP or whether it came in via electronic means such as an IDOC.
    I know that I can query the EDIDS table that the fields STAPA1, STAPA2, and STAPA3 will contain my accounting document key, but this query is very inefficient and I'd like to avoid creating a custom index to make it faster.
    Does anyone have an alternate solution to finding this link? Any feedback would be appreciated. It can be a query, a function, or a report that I can look at to use as an example.
    Regards,
    Andy

    Check BKPF-AWTYP, if document created with Idoc we can see 'IBKPF' in BKPF-AWTYP. I am not sure its standard / project dependent, but i see the same in most of the projects.
    I hope - As some one mentioned in above, you cann check user id 'Created By' also, but it may be changed any time so you can hardcode in the program.
    Thanks
    Satyasuresh Donepudi

  • Link between CE1NROC and FI documents

    Hello,
    I am working on one object in which I am selecting records from CE1NROC table based on some selection criteria and posting these records using FB01 transaction.
    The requirement is - There should not be any duplicate posting for the Sales Order + COPA Doc.
    Is there any way to check this ?
    Please suggest.
    Thanks.

    http://www.sap-img.com/sap-fi.htm
    Check if this link is of some help.

Maybe you are looking for