What controls preceding/Subsequent document Flow

Hi All,
This is not a MM related, but a generic question.
1. What controls the Preceding and Subsequent document flow?
2. If I need to change/add a document, what procedure I need to follow?
thanks for your help
G

1. What controls the Preceding and Subsequent document flow?
how the user works
2. If I need to change/add a document, what procedure I need to follow?
you cannot add something inbetween an existing document flow.
Imagine the document flow is a ladder, you can go up, and if you are up, then you can go down again. but if you are at ladder spoke 25, then you cannot do something at ladder spoke 17, you first have to go back to 17, then you can again go up.
if you create a sales order refrencing an old sales order then the old sales order is the preceding document.
if you create a delivery for your sales order, then the sales order is the preceding document to the delivery and the delivery is the subsequent document to the sales order. a subsequent document to the delivery would be an invoice

Similar Messages

  • What is document flow for particulr document?and how it will be configured?

    give me answ with detiled steps to configure document flow

    Hi
    The business cycle has different processes and each process will have a different documents to record the events/details of the activities about that activity. This is there even if the process happens manually.
    It helps you to know the status of an order - ie., that particular order is in which stage of the business cycle.
    As told in the above reply, the copy controls helps to link the documents and the field UPDATE DOCUMENT FLOW enables updating the preceding documents. The table that stores the document flow is VBFA and you can also see the document flow from any document by clicking the icon 'document flow'.
    Thanks,
    Ravi

  • Fetching preceding documents from VBFA by passing subsequent document

    Hi Folks,
    Here my requirement is to fetch preceding documents  by giving subsequent documents as input to tableVBFA(document flow). As there is no index present on the field VBELN and POSNN it takes long time to retrieve data based on these fields.Creating secondary index is not possible. I have also tried with function module 'SD_VIEW_VBFAVG'  as it takes single VBELN input, i have to place this in a loop in order to get preceding documents for range of VBELN.  Please let me know if there is any other way of doing this. Immediate help is appreciated.
    thanks in advance.
    Akanksha.

    hi,
    u try to use this FM  WB2_VBFA_ARRAY_READ.
    take care
    Tarapada. D.

  • What controls the color of the cursor that selects text when you use the "Edit Document Text" tool?

    Hi, I have had a student ask me a question I cannot answer: what controls the color of the cursor that selects text when you use the "Edit Document Text" tool?
    I have only seen it appear as a black semicircle over each letter, but at a different computer in our training facility, this same tool appears as an aqua-green highlight.
    Is it a preference I never noticed? Thanks for any info.

    What version of Acrobat? What operating system?

  • Delivery document flow show as a Archived,

    Dear Experts,
    My some of delivery document show in document flow as a archived, I want to know, Why delivery document archived,
    I also want to not list of archived delivery document,
    Can anybody give me t.code for list of delivery document archived,
    Regards:
    Happy

    Hi,
    Are these delivery actually archived by archiving job? Is there any subsequent document after the delivery?
    Technically, if an delivery doesn't exist in LIKP table, but it exist in VBFA table, it will show "archived" in document flow.
    As of why the delivery doesn't exist in LIKP, there could be two possibilities:
    -  it's deleted by archiving job.
    - for unknown reason, it's gone.
    To know why it's gone, it's necessary to reproduce the issue. If you can reproduce, please raise a message to SAP support.
    What you need to do:
    - If this delivery is really archived by your archivng job, you should also archive the preceding sales document.
    - If this delivery is not supposed to be archived, but misisng, you need ot delete this dummy entry from VBFA table, and then recreate delivery.
    To get a list of this kind of archived document, there is no standard report or transaction to do that. You need to write your own report to do that. As mentioned above, technically, if delivery exist in VBFA but doesn't exist in LIKP, it will be displayed like that. You may selecting VBFA and LIKP tables to get your list.
    Regards,
    Harry

  • 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

  • ALE-Rollup for Profit Center: missing visible document in document flow

    Hi guys,
    we use ALE-distribution of FI-, CO- and PC-documents. All IDocs are generated in sender system (S) and transmitted correctly to reveicer SAP-system (R). We use PC-rollup functionality in system "S".
    If I have a look at the document flow in system "R" I only can see the FI- and CO-document. My PC-document is not available.
    Checking the posting in PC everything is good.
    What do I have to do to see the PC-document in document flow ?
    I appreciate your help.
    Regards,
    Peter

    Hi
    Please check the following settings in IMG
    IMG > Controlling > Profit Center Accounting > Basic Settings > Set Controlling Area
    Also check Maintain Controlling Area Settings
    In OKKP, check whether Profit Center Accoint indicator is On
    In ALE Distribution Method,Choose options available No distribution from other system,Centeralised or De-centralized or Local.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/ECPCA/ECPCA_ALE_154.pdf
    Regards

  • SD document flow line items

    Hi all,
    Can we exclude some line items to appear in the subsequent documents of sales order?
    Like if I had 5 items in a sales order, I only want three of them to appear in the delivery doc or Advanced ship notice. The other two are filtered using item category or material type.
    Is it possible to do that?
    If yes, please shed some light on it.
    Thank you,
    Krishna Dev.

    In the copy control for sales documents there is a field that determines whether the document flow must be updated. This is set up on the item level by document type and item category (PSTYV). This is part of the SD configuration and has nothing to do with ABAP. See transaction VTAA.
    And no, this cannot be done by material type, unless you are ready to do a core modification.

  • Header record in document flow table VBFA

    Hello experts:
    I would like to have header entries (item number as "000000") for every document in document flow table VBFA. How to get it done?
    We have copy control from sales document to delivery document and from delivery to billing. All items are copied.
    Would appreciate your help.
    Raj

    Hi Ulrich:
    Thanx for your reply.
    To give you a little background. I am both a developer and SD consultant. In my previous assignments where I was only a developer, I used to query document flow with item no. as "000000" to limit the selection for performance reasons. If you notice, I did not have to hard-code item no.s as it is dynamic. So, it was a cool option. It is the case with VBKD table too.
    Right now, I work in a highly performance conscious environment where I thought it would be useful to implement what I had experienced before. But I am stuck!! My previous experiences make me think it is possible and hence the question.
    Thanks,
    Raj

  • Purchasing document flow.

    Hello friends,
    Could anyone plz tell me the link & the document flow between RFQ, purchase requisition, outline agreement, contract, quotation, scheduling agreement, PIR, puchase order?
    When Source determination is carried out, what is the priority in which the source is determined?
    Thanks,
    Cmehra.

    Dear C Mehra,
    PR >Release the PR>RFQ>Quotation>Quotation Comparison>PO>Release the PO>GR>Invoice Verification
    MM Process flow:
    Process Flow
    The typical procurement cycle for a service or material consists of the following phases:
    1. Determination of Requirements
    Materials requirements are identified either in the user departments or via materials planning and control. (This can cover both MRP proper and the demand-based approach to inventory control. The regular checking of stock levels of materials defined by master records, use of the order-point method, and forecasting on the basis of past usage are important aspects of the latter.) You can enter purchase requisitions yourself, or they can be generated automatically by the materials planning and control system.
    2. Source Determination
    The Purchasing component helps you identify potential sources of supply based on past orders and existing longer-term purchase agreements. This speeds the process of creating requests for quotation (RFQs), which can be sent to vendors electronically via SAP EDI, if desired.
    3. Vendor Selection and Comparison of Quotations
    The system is capable of simulating pricing scenarios, allowing you to compare a number of different quotations. Rejection letters can be sent automatically.
    4. Purchase Order Processing
    The Purchasing system adopts information from the requisition and the quotation to help you create a purchase order. As with purchase requisitions, you can generate Pos yourself or have the system generate them automatically. Vendor scheduling agreements and contracts (in the SAP System, types of longer-term purchase agreement) are also supported.
    5. Purchase Order Follow-Up
    The system checks the reminder periods you have specified and - if necessary - automatically prints reminders or expediters at the predefined intervals. It also provides you with an up-to-date status of all purchase requisitions, quotations, and purchase orders.
    6. Goods Receiving and Inventory Management
    Goods Receiving personnel can confirm the receipt of goods simply by entering the Po number. By specifying permissible tolerances, buyers can limit over- and underdeliveries of ordered goods.
    7. Invoice Verification
    The system supports the checking and matching of invoices. The accounts payable clerk is notified of quantity and price variances because the system has access to PO and goods receipt data. This speeds the process of auditing and clearing invoices for payment.
    Pur info record is nothing but a master data like thing which will be maintained for different materials to determine the prices etc.It Specifies the number that uniquely identifies a record.
    For Example: an info record is based on Plant Vendor and Material
    Based on these three the Material Prices will be calculated
    for different combinations different values are taken into consideration.
    During pricing it brings these values automatically based on this info record.
    Use ME11 Tcode to create this record.
    Common Tables used by SAP MM
    Below are few important Common Tables used in Materials Management Modules:
    EINA Purchasing Info Record- General Data
    EINE Purchasing Info Record- Purchasing Organization Data
    MAKT Material Descriptions
    MARA General Material Data
    MARC Plant Data for Material
    MARD Storage Location Data for Material
    MAST Material to BOM Link
    MBEW Material Valuation
    MKPF Header- Material Document
    MSEG Document Segment- Material
    MVER Material Consumption
    MVKE Sales Data for materials
    RKPF Document Header- Reservation
    T023 Mat. groups
    T024 Purchasing Groups
    T156 Movement Type
    T157H Help Texts for Movement Types
    MOFF Lists what views have not been created
    A501 Plant/Material
    EBAN Purchase Requisition
    EBKN Purchase Requisition Account Assignment
    EKAB Release Documentation
    EKBE History per Purchasing Document
    EKET Scheduling Agreement Schedule Lines
    EKKN Account Assignment in Purchasing Document
    EKKO Purchasing Document Header
    EKPO Purchasing Document Item
    IKPF Header- Physical Inventory Document
    ISEG Physical Inventory Document Items
    LFA1 Vendor Master (General section)
    LFB1 Vendor Master (Company Code)
    NRIV Number range intervals
    RESB Reservation/dependent requirements
    T161T Texts for Purchasing Document Types
    Tcodes:
    InfoRecord - ME11
    Source List - ME01
    RFQ to Vendor - ME41
    Sheduling Agreement - ME31L
    Contract - ME31K
    Raising Quotation - ME47
    Comparison of Price - ME49
    Creation of PO - ME21N
    Goods Receipt - MIGO
    Invoice (Bill PAssing) - MIRO
    Goods Issue - MB1A
    Physical Inventory - MI01( Create doc)
    MI04 (Enter Count)
    MI07 (Post)
    Visit the following thread:
    New to Materials Management / Warehouse Management?
    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
    check this out
    MM flow
    MM flow
    MM flow
    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
    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/MYSAP/SR_MM.pdf
    http://www.sap-basis-abap.com/mm/sap-mm-certification-samples.htm
    http://www.sap-img.com/mm015.htm
    http://sap.ittoolbox.com/documents/popular-q-and-a/sap-mm-interview-questions-3586
    Regards,
    Naveen.

  • Archived Deliver not showing Document FLow _RV_LIKP

    Folks
    I have started archiving for delivery object. I am able to successfully archive one document and can view the document in SARI and the only issue i am having is the when i open the archive document  the ICON which shows "DOCUMENT FLOW" is not click able so user is not able to see the document flow to find the Sales Order/STO# it was created from.
    In my customization for RV_LIKP under the setting "    Archiving Control for Delivery" i have put residence time as "5" and RNO "0"
    Also what is the RNO field  stands for .
    Thanks

    Hi Andy,
    Go through the link given below.
    http://help.sap.com/saphelp_40b/helpdata/pt/b7/19752690e211d1a5510000e82deaaa/content.htm
    The last line looks important.
    Deliveries should be archived before sales documents and billing documents. This sequence is a result of the way the documents are linked via document flow.
    Hope it helps,
    Regards,
    MT

  • 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 BOM item components missing

    Hello,
    I would like to seek help on the following:
    I am creating a process where in I can create sales order (OR type) with reference from a sales order (like quotation type). I successfully configured the needed and was able to create one.
    However, I have noticed that if I used BOM products (where there is a header and item components) and check the document flow per line items, only the header BOM (line item position 10) has document flow  reflecting the reference order quotation type while the its components doesnt show such.
    Below is an example of the document flow:
    Bom Header (line itemk position 10):
    Document                                              Quantity Unit                     Reference value      Currency
    Buffer Buyin 111111 / 10                             1        EA                        0.00                          USD
    --> Product Order 222222 / 10                      1        EA                        0.00                          USD
    Line Items Component
    (line itemk position 20):
    Document                                              Quantity Unit                     Reference value      Currency
    --> Product Order 222222 / 20                      1        EA                        0.00                          USD
    (line itemk position 30):
    Document                                              Quantity Unit                     Reference value      Currency
    --> Product Order 222222 / 30                      1        EA                        0.00                          USD
    Thus, in above illustration, the line item component document flow has a missing data that would reflect the reference sales order. Please advise if what needs to be configure here.
    Thanks,
    Ria

    Hello Amit,
    The current scenario is like this:
    1. Reference sales order (OR but assumed as QT type) has item category YYBS for normal material and ZTAR for header BOM and YYBS as components.
    2. When these sales order (OR but assumed as QT type) is being reference to create actual orders to customers  (OR type) the normal material will be changed from YYBS to YZBS while BOM will have ZTAR header and components YZBS. This is the reason why I told you that its like the normal material.
    I checked the copy control line item settings as yes, document flow is ticked.
    Thanks,
    Ria

  • 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

  • Get Last Document from document flow

    I would like to retrieve last document flow's document. i use VBFA and pass Preceding sales and distribution document to where condition and get Subsequent sales and distribution document but i don't know how to get the latest one.
    I use
    select single VBELN into last_doc from vbfa
    where VBELV = 'preceding doc'
    order by ERDAT ERZET
    but it's not work. How can i do that. Thanks!

    try like this
    data : begin of vbfat occurs 0,
            last_doc like vbfa-vbeln,      
            last_date like vbfa-erdat,
            end of vbfat.
    select vbeln max( erdat ) into table vbfat from vbfa
            where VBELV = 'preceding doc'
              group by vbeln.
    loop at vbfat.
    <do the processing.>
    endloop.
    regards
    shiba dutta

Maybe you are looking for