Document flow for contract creation

Hi All,
    I have a requirement where i will create a follow on contract for a existing contract using a custom BDC, but i would like to have the document flow retained for the parent contract document. I would like to know if any FM or BAPI is available to maintain the document flow or any other process to do so.
Pls treat this as an urgent requirement and reply.
Thanks in advance

Hi,
I think it is quiet dangerous to add entries to VBFA tabel your self... but I saw that there is a function called RV_DOCUMENT_FLOW_ADD and RV_BILLING_INDEX_ADD. I do not know how to use it... but maybe with trial and error you can add the entries.
What you can do is a work around by using a user-exit that show the flow you want when displaying it.
T
he function that show the document flow of an SD document is called RV_ORDER_FLOW_INFORMATION. In this function there are two user-exits and BADIs where you can add entries to be displayed according your logic.
USER_EXIT für precedent docuents
  PERFORM USEREXIT_VORGAENGER.
CALL METHOD l_sd_documentflow_exit->add_preceding_document
UserExit + BADI for next docuemnts
PERFORM USEREXIT_NACHFOLGER.
CALL METHOD l_sd_documentflow_exit->add_subsequent_document

Similar Messages

  • Report for listing all document flow for SD

    Hi expert,
    do you know any report from SAP or you have any sample report that can display and show all document flow for SD in one line...
    let say in selection screen i have contract number... so when i key in by contract number all detail and flow will display e.g
    conract  2000001 service order 3000000 delivery 4000000 invoice 5000000
    thanks.
    [SAP Notes & Tips|http://abap4beginner.blogspot.com/]

    hi,
    thanks for the solutions. Did others have experience on this situation?
    Thanks.
    [Abap Notes & Tips|http://www.abap4beginner.blogspot.com/]

  • Inbound delivery - Error when creating document flow for delivery #########

    Hello all:
    When attempting to PGI an inbound delivery (via VL06I - For Goods receipt - select inbound delivery - click Post Goods Receipt) I received error messgae VL 659:
    Diagnosis
    As the system was recording the document flow for the goods movement, it determined that the subsequent document number is either blank or identical to the number of the preceding document.
    System response
    In order to avoid inconsistencies, the goods movement posting was cancelled.
    All WMS transfer orders tied to this inbound delivery are complete.  This hasn't happened with any other delivery.    Any suggestions as to what I can do?
    Thanks,
    Bill

    Hi,
    I would suggest you to go trough OSS notes using the error message number as search key (e.g. 352243, 645119, 197864).
    If you fail to find any maybe it would be worth of contacting SAP AG.
    Regards,
    Csaba

  • Return to vendor Error - Document flow for delivery cannot be updated

    Hi Expert,
    we have a issue - can't post "return to vedor"  by MIGO.
    The steps are following:
    1. It is an STO between 2 plant within different company code;
        But the planner wrongly set this STO as CONFIRMATION KEY REQUIRED.
    2. The issuing plant didn't create the outbound delivery for this STO. And at the same time, the receiving plant directly post the Good Receipt for this STO by creating an inbound delivery.
    3. Then we found this error, we decided to reverse this Good receipt, and then ask the issuing plant to open an outbound delivery, and the receiving plant post good receipt for the outbound delivery.
    We met error when we tried to use 122 - return to vendor:
    Document flow for delivery cannot be updated
    Message no. M7352
    Diagnosis
    Purchase order 753486 is assigned to a delivery. The current transaction cannot update the document flow for this delivery, because the system does not recognize the delivery number.
    System response
    When you post this goods movement, the document flow is not updated in the delivery. This can lead to problems later on when you process the delivery.
    Procedure
    You can post the goods movement using transactions MB0A or MIGO (Goods receipt for a delivery) after you enter the delivery number.
    If you are currently posting a cancellation, a return delivery, or a subsequent delivery for the material document, it is not possible to enter the delivery number.
    Procedure for System Administration
    See SAP note 361014: Message M7 352: What does it mean?
    Please advice,
    Thanks,

    Unfortunately, when I use MB0A and I input the delivery number under Find POs for Preceeding Document, it errors out as well as the delivery does not exist.
    Any other option to reverse the GR?

  • Document flow for historical CS orders

    Hello,
    Document flow is not working for historical orders (archived orders) anymore. Instead, Document Relationship Browser (DRB) can be used.
    However, SD billing documents related to CS orders are not shown in DRB as they are shown in normal document flow for online orders.
    Does anybody know the way to get also billing documents to DRB for CS orders?
    Best Regards, JV

    Hi JV,
    Welcome.
    Please check the below links...
    http://help.sap.com/saphelp_dimp50/helpdata/EN/ed/5f2602fba9434db4eb2e883448457e/content.htm
    http://csc-studentweb.lrc.edu/swp/Berg/Conferences/SAP_Project_Management_2007/Global_SAP_Environments/pdf/Track6_session7.pdf
    thanks
    sekhar

  • Document flow for delivery can not be updated

    Hi all,
    I received goods for a PO and the PO has a subsequent OBD created. When I tried to reverse the GR I got the following error- document flow for delivery can not be updated
    Can you help me understanding why this error occured?
    Thanks,
    Rana

    Hi Rana,
    In ECC 6.0 both ways you can do the goods moments (WRto PO/ Delivery) provided "Document flow update" check box checked in Logistics Execution-Shipping-Basic Shipping Functions-Configure Global Shipping Data
    Please confirm
    Nagesh

  • Document flow for delivery cannot be updated !

    Hi,
    When i try to cancel a GR (GR upon an aoutbound delivery) with MIGO i had this error message :
    "Document flow for delivery cannot be updated"
    Please how to solve that ?
    Regards

    Thanks,
    in MIGO i try to reverse the matrial document of my GR
    if it is not correct what must i choose in migo ? because when i choose cancellation, "Material document" is the only choice suggested by the system !
    Please help.

  • Document flow for a delivery created w/o reference_?????

    Hi all,
    Iam looking for a way to, trace the document flow for an delivery created w/o reference to a PO.(<b>tcode: vl01no</b>)
    Is there any FM to do this. can you be more detailed.
    Regards,
    Ravi.
    Message was edited by: RAVIKIRAN Reddy

    Hi james,
    when you run the FM with the delivery and client entries,
    It gives back the delivery details but it does not give any details regarding the Doc. num,PO num etc.
    The entries in VBFA_TAB doesnot show any such details.
    I want all those to be displayed during document flow.
    please, let me know how to proceed.
    Thanks in advance.

  • Table Name to see the Document Flow for Service Order - T. Code IW33?

    Hi,
    can u advise the Table Name to see the Document Flow for Service Order - T. Code IW33?
    Ravi.

    Hi,
    From SERVICE ORDER you cant get the INVOCIE NUMBER,
    You will get the SALES ORDER number for that Service order in QMEL table and fetch the Sales order and then goto VBFA to get the Invoice number for the sales order with the DOCUMENT CATEGORY M.
    hope it will serve you.
    thanks,
    santosh

  • Cannot reverse GR. Error: "Document flow for delivery cannot be updated"

    An STO has GI, GR and invoice verification. However, it appears the delivery was deleted such that when trying to reverse the GR, there is an error: "Document flow for delivery not be updated".
    According to OSS Note 1499411, solution is:
    Change your process so that the goods receipt (in stock transport order scenarios with replenishment deliveries) is always posted with reference to the replenishment delivery and never with reference to the purchase order.
    If this is not possible and you have to work with the restrictions of a goods receipt with reference to the purchase order instead of the replenishment delivery, implement the attached corrections to be able to correctly post the GR reversal with reference to the stock transport order.
    However, it does not say anything on how the GR of the existing STO will be reversed.
    How will i reverse the GR in this case?
    Thanks!
    Best Regards,
    Armie

    Unfortunately, when I use MB0A and I input the delivery number under Find POs for Preceeding Document, it errors out as well as the delivery does not exist.
    Any other option to reverse the GR?

  • Error when creating document flow for delivery

    Hi,
    I would like to post the GR for Inbound delivery. I receive an error the TO is not confirmed. I have tried to confirm the tranfer order and I receive the "error when creating document flow for delivery . In order to avoid inconsistencies the goods movement posting was cancelled." It seems like the document already exist.
    How can I do to confirm the TO and post the GR.
    Thanks
    Dede

    In Inbound delivery after GR only a TO is created and confirmed.
    So please check the PO history and see a GR is there or not .
    Once a GR is found create a TO and do the confirmation

  • QM-Notification: document flow for Customer Return Order

    Hi Experts,
    I changed actionbox and made an FM to create a Customer Return Order (SD). It works.
    And now I need the document flow in this QM-Notification, I try it with FM QMLR_CREATE_DOCUMENT_FLOW,
    but I dont know, where to customize the Object-Types, QM-Notification is BUS2078 and Customer Return Order is BUS2102.
    In which transaction or dialog or where do I have to say the system, that I want the document flow for this combination?
    Thanks for Your help.
    Bernhard

    you have to put that logic in the FM. You can do it in the FM which is creating the return order or copy the FM - QMLR_CREATE_DOCUMENT_FLOW as custom FM and change the object to BUS2078.
    Thanks,
    Ram

  • Missing document flow for STO proc. delivery

    Hi Experts,
    I have problem with missing document flow for STO proc. delivery. I debugged VL10 and BADI  (IF_EX_LE_SHP_DELIVERY_PROC~SAVE_DOCUMENT_PREPARE), I found that document flow parameters (CT_XVBFA)  for this BADI interface is empty.
    Any comments or solution.
    Thanks,
    SA

    SD functional are satisfied with configuration.
    Please advise.
    Thanks,
    SA

  • Reg : document flow for SD and MM ?

    hi everybody,
    i want to know the document flow for SD and MM.
    please any guide me.
    my id: [email protected]

    http://www.sap-img.com/sap-download/sap-tables.zip
    You can check the links..
    http://academic.uofs.edu/faculty/gramborw/sap/sapguide.htm
    http://www.sap-basis-abap.com/sapfiar.htm
    http://www.thespot4sap.com/IntroTo/SAP_FI_Module_Introduction.asp
    http://www.thespot4sap.com/IntroTo/SAP_CO_Module_Introduction.asp
    http://www.sap-basis-abap.com/sapco.htm
    http://help.sap.com/saphelp_40b/helpdata/en/e1/8e51341a06084de10000009b38f83b/applet.htm
    http://www.sapgenie.com/sapfunc/fi.htm
    http://www.sap-basis-abap.com/sapfi.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
    here r the links for MM
    http://www.sapgenie.com/abap/tables_mm.htm
    http://www.sap-img.com/sap-download/sap-tables.zip
    http://www.allsaplinks.com/material_management.html
    http://www.training-classes.com/course_hierarchy/courses/2614_SAP_R_3_MM_Invoice_Verification_-_Rel_4_x.php
    http://www.sapfriends.com/sapstuff.html
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMWMLVS/MMWMLVS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf

  • FM: Document flow for a sales order

    Hi,
    is there any FM, BAPI, CL to get the whole document flow for
    a given sales order.
    thanks.
    regards, Dieter

    Hi,
    look for example to BAPI_SALESORDER_GETLIST
    CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
    Please check table VBFA. It contains all the information about document flow in SD.
    Check the example program below, it is not a function call, it is a dialog call.
    (Or)
    report zrich_0001.
    data: xvbco6 type vbco6.
    data: xvbak type vbak.
    parameters: p_vbeln type vbak-vbeln.
    clear xvbco6. clear xvbak.
    select single * from vbak into xvbak
    where vbeln = p_vbeln.
    move-corresponding xvbak to xvbco6.
    call dialog 'RV_DOCUMENT_FLOW'
    exporting
    vbco6 from xvbco6
    ivkorg from xvbak-vkorg
    ivtweg from xvbak-vtweg.
    Regards

Maybe you are looking for

  • How do I delete history and bookmarks on iMac?

    On the iPad, I could use Settings to delete history, but there s no such function on iMac.  How do I delete bookmarks and Top Hits and history altogether?

  • At what point is a user record created in the WWSEC_PERSON$ table?

    Hello - We are using OID for our SSO into the Oracle Portal. When we sync AD -> OID, when I query the Portal WWSEC_PERSON$ table and the new users are not present. I have to go into the Portal Administration page, query one of the users and set a def

  • Convert Raw Device to file system based file systems for datafiles [HP-UX]

    Hello experts, Once again in seek of guidance.. I am in the process of migrating my database (Oracle 7.2.3 on HP-UX 10.20 to Oracle 8.1.7 64-bits on HP-UX 11). Amongst one of our steps is to convert our RAW Device datafiles to File System based files

  • HT5957 iOS 7.0.2 upgrade issue

    After a failed attempt to upgrade to iOS 7.0.2 through iTunes, my iPad 2 is stuck on the screen with the iTunes logo and 30 pin adapter logo.  I have tried to do a hard reset, but the device keeps coming back to the same screen.  Any suggestions?

  • What did you mean by informing me of vinning a sum of money

    I got an information some days ago that I have won some money as I was registred as user number ..... I called you but the person who answered wanted me to have a long dialoge whith her in US - on my expence. ???? What do you mean by that???? Is it a