Reclamations and returns DOCUMENT FLOW

Hi,
I ve to enhance the QM01/02/03 ,DOCUMENT FLOW when ever we press document flow push button,
QM02-
provide any QN number,
in the menu
extras -> document notifications->document flow->list
rifht now it is showing only 2/3 documents in tree
but it should be modified to
The standard SAP Document Flow, but it must be modified, in order to show all the subsequent documents, and the user must be able to go directly to each subsequent documents.  
The flow must follow this hierarchy: 
For documents type ZS/ZV
- Purchase Order
    - QM Notif.
        - Stock transfer or Scrapping
             - Return Purchase Order
                   - Delivery
                       - Goods issue
                          - Goods receipt
                             - Invoice
For document Type: ZC.
- Reference document
- QM Notif.
- Return Sales Order or Credit memo req. or Debit memo req.
                                          - Return invoice or Credit memo or Debit memo
This document flows should be shown for each QN in the QM11 transaction.
menu
Notification -> Display Document flow
It is a network flow that should  as is but all the documents it should show.
it is internally calling Business objects
1. Goto transaction "QM02",
2. Provide some QN number
Observe: LIST
                 GRAPHIC
If u goto the sytem→status u ll find the program “SAPLIQS0”
Find the Function code responsible for “DOCF”
It will call a report program “RIBELF20”
For other “GRAPHIC” shown in above picture
U will find form exit “FORM fcode_docf2_f00”
Where we can create new program like above and we can insert our own Z Program.
But if u go to the program level and debug,
There is one FM "DISPLAY_DOCUMENT_FLOW_ALV" that is responsible for such type of display,
No issues,
But internally before that he extracted all the business Objects responsible for that.
How can I get all the business objects that are required to me to show the all the documents that I have already sent to u.
Below are my findings about the document flow at QM11 level.
When ever u press the Display document flow.
The O/P is
1. QM11 is the standard transaction using program “RQMELL10”.
    We can not modify the standard SAP transaction, and insert our code in this program.
     Alternative: we have to copy the program in Z namespace and attach the same to Z transaction code.
    Confirm the same whether the users are ready to use the “Z” transaction.
2. Even though they accept for this:
    The function Module responsible for the Network type of display is “QM11_LESEN_BELEGDATEN_ALLG”.
    With the input parameters as (a) QN number (b) Business Object i.e.  BUS2078 (Quality notification number) (c) maximum number of steps
    The standard function module should be used in Z namespace program; the standard function module internally calls one more Function module 
    “NERL_GET_NEIGHBOURHOOD” that is responsible for the getting business objects of the corresponding number.
     But this function module gets the only three documents data but not the else that are mentioned in the FD.
<b>Kindly provide any function module, which can meet such criteria, and the business objects of the related documents in the flow that is required.</b>

Hi,
Goto the T.Code "VOV7".
Select your item category.
Details.
Maintain the Completion rule as "A(Item is completed with the first reference)".
Save.
If you do this after the follow on document is created,the item is completed and you cannot reject the item.
For your second question,
Goto the T.Code "VTLA".
Select your valid combination.
Click on item.Select your item category.Details.
There is a check box called as "Update document flow".Tick that one.
Save.
Regards,
Krishna.

Similar Messages

  • Need  MM flow  and MM document Flow

    Hi all,
    can anybody tell me whats the mm fliow and also i need whats the document flow for each Order in MM,
    and also i need MM Document flow .
    please can any body help me,
    regards,
    dhanush

    hi..
    Integration
    The document flow includes notifications and orders for the application components Customer Service (CS), Plant Maintenance (PM) and Quality Management (QM).
    Within the logistics supply chain, the document flow is integrated with the application components
    Materials Management (MM)
    for example, via purchase requisitions or goods receipt documents, and
    Sales and Distribution (SD)
    for example, via invoices or credit memos.
    Features
    You can display the following objects in the document flow:
    Service contract
    Maintenance plan item
    Service notification
    Service order
    Paging object (for example, a document)
    Purchase requisition
    Purchase order
    Sales order
    Confirmation in time
    Debit memo request
    Debit memo
    Returns
    Returns delivery
    Credit memo request
    Invoice
    Invoice cancellation
    Credit memo
    Credit memo cancellation
    Delivery
    Goods movement
    Goods movement cancellation
    regards......... Sri

  • Sales order document flow and delivery document flow are not in sunc

    Hi ,
    whan I look at the Sales order document flow  there are lot of line items rejected with specific reason , but for the same line items already delivery and PGI in place . When we try to do the invoice it shows error , it can't be invoiced because line items in sales order are rejected .
    Ideally in business when delivery and PGi created for the sales order , it should not allow the line item to reject . system should look at follow on documents in place . Reverse process should follow .
    Pls provide solution to stop item rejection when follow on delivery document in place .
    thanks and regards.
    Sunil Tripathy

    Hi,
    Goto the T.Code "VOV7".
    Select your item category.
    Details.
    Maintain the Completion rule as "A(Item is completed with the first reference)".
    Save.
    If you do this after the follow on document is created,the item is completed and you cannot reject the item.
    For your second question,
    Goto the T.Code "VTLA".
    Select your valid combination.
    Click on item.Select your item category.Details.
    There is a check box called as "Update document flow".Tick that one.
    Save.
    Regards,
    Krishna.

  • Return document picking wrong main and sub transaction @ FPL9

    Hi Mates,
    I need a help to find out the reason why return document is referring with wrong main and sub in our current client.
    Issue: when unpaid returns are posting with reference to payment document return document is posting by using main and sub transaction with previous cleared items.
    Ex:      2000200 Invoice document -  Main Transaction 0100 sub 0002
               3000300 Payment run document - Main Transaction 0610 sub 0010
    When return is posting with reference to 3000300 return document is referring 0100 and 0010, and new return document is updating with Billing and invoice text.
    Usually if return document is posted that should be refere the payment document 0610 and 0010 main & sub and invoice document 2000200 should be open.
    This is happening for all the main and sub cases and return document is referring with cleared items, in some cases it's posting currectly.
    I have validated at return lot specific level, posting type=cancel payment.
    some of business users are posted using posting type = new receiveble derived from payment.
    Second case we found many issues with refeernce wrong sub, but even 1st case also system is showing same.
    Kindly suggest.

    Hi Bogdan,
    Thanks for the reply.
    When SD invoices are transferred to FICA, the system checks whether entries maintained for account determination:
    1. Maintain Account Assignment Data Relevant to Transactions
    2. Derive Main/Sub Transaction from SD information
    3. Derive Document Type from SD Billing Document Data
    Thanks,
    Kumar

  • Goods Reciept BAPI that updates Document Flow

    Hello,
      We are looking for a BAPI or FM that posts a goods reciept against a PO and updates document flow. Does anyone know if this exists?
      We have been using BAPI_GOODSMVT_CREATE, which will post the GR against the PO but it does not update the Doc Flow.  It is essential for Doc Flow to be updated because it posts the event in our SAP SCM EM instance. 
    Any help would be much appreciated... will award as many points possible.

    Hi,
    Check the below code:
    *********Work areas***********
    DATA : wa_mseg  type ty_mseg,
           wa_mseg1 TYPE ty_gds,
           wa_mkpf  LIKE mkpf,
           wa_lgort_sum TYPE ty_lgort_sum,
           wa_loss_data LIKE zpesloss,
           wa_zpesloss LIKE zpesloss.
    DATA : v_header   LIKE bapi2017_gm_head_01,
           v_gm_code  LIKE bapi2017_gm_code.
    DATA: wa_headret LIKE bapi2017_gm_head_ret,
          wa_matdoc TYPE bapi2017_gm_head_ret-mat_doc,
          wa_matdocyr TYPE bapi2017_gm_head_ret-doc_year.
    DATA: i_items          TYPE STANDARD TABLE OF t_items,
          i_return_goods   TYPE STANDARD TABLE OF t_return with header line,
           i_message TYPE TABLE OF bapiret2 WITH HEADER LINE.
          wa_mseg1-bwart =   '551'.
          wa_mseg1-matnr  = ws_matnr.
          wa_mseg1-umlgo  = i_mseg1-umlgo.
          wa_mseg1-lgort  = i_mseg1-lgort.
          wa_mseg1-werks  = 'SP01'.
    Header Data
        v_header-pstng_date = sy-datum.
        v_header-doc_date = sy-datum.
    Code Group
        v_gm_code-gm_code = '03'.
    ******Mandatory fields passed into BAPI***
        CLEAR i_items[].
        wa_items-material  = wa_mseg1-matnr.
        wa_items-plant     = wa_mseg1-werks.
        wa_items-stge_loc  = wa_mseg1-lgort.
        wa_items-move_type = wa_mseg1-bwart.
        wa_items-entry_qnt = wa_mseg1-lossquantity.
        wa_items-costcenter = '0000012000'.
        APPEND wa_items TO i_items.
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            goodsmvt_header             = v_header
            goodsmvt_code               = v_gm_code
      TESTRUN                     = ' '
       IMPORTING
         goodsmvt_headret            = wa_headret
             materialdocument        = wa_matdoc
             matdocumentyear         = wa_matdocyr
          TABLES
            goodsmvt_item               = i_items
      GOODSMVT_SERIALNUMBER       =
          return                      = i_return_goods  .
    if i_return_goods[] is not initial.
      message i001(zespur) with  i_return_goods-message.
    stop.
    endif.
    IF i_return_goods[]  IS  INITIAL .
        lws_wait = 3.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = lws_wait.
          WAIT UP TO 1 SECONDS.
    endif.
    Regards,
    Prakash.

  • Sale order document flow-u0091Service Documentsu0092 is coming which should't aper

    New Issue with Sales order document flow:
    When linking from a sales order in document flow, we were reviewing why the description information varied.  In looking at different values, we clicked on a new item within document flow that allows you to like to ‘Service Documents’.   This is new in 6.0, or it was previously deactivated in 4.6C.  If you link from a sales order to a service document, in ECC 6.0, you will get a short dump because the document flow is so great (viewing order #any in VA03 and use document flow and then select the service documents button    as seen on the screen below
    A Short dump will occur in program SAPLDOCUMENT_FLOW_ALV.
    Here in ECC 6.0 is how it looks from sales order 9806:
    Documents created from 2004 through 2007 are coming up as linked to this sales order and that is incorrect.  There is some type of linkage issue.  In the 4.6 C environments, the ‘service documents’ link is not visible from document flow.
    Can any body functional / technical Help on this urgent???

    Hi Sanjay,
    Go to the order VA03 --> Environment --> status overview. The exact status of the header and item can be found here. You may have chances to know why the status is being processed.
    Also 
    Check whether you have checked 'document flow update' field at item level in copy control
    Check your settings for completion rule in item category
    If it is due to incorrect status message, run report SDVBUK00. That might fix the error. It is recommended to run this first in test mode.
    Br, Sats.

  • Inconsistency in Document flow

    Hiiiii
            While cancelling the billing document accounting document generated for commercial as well as excise invoice. But posting of excise invoice accounting document is not happened and while showing document flow from original billing document its shows only one accounting document which is not posted under the cancel billing no, and when document flow shows from cancel billing no it shows two accounting document  for sales accounting and excise accounting document.

    hi,
    this is a standard sap bug.this is due to VBFA table inconsistency.
    please go thru the note 74513 or go to se38 search forthe program rvbfa you will get two programs select the second.
    i think this could help you to resolve this issue.
    Regards,
    kumar

  • Document flow inconsistency

    Hiiiii
    While cancelling the billing document accounting document generated for commercial as well as excise invoice. But posting of excise invoice accounting document is not happened and while showing document flow from original billing document its shows only one accounting document which is not posted under the cancel billing no, and when document flow shows from cancel billing no it shows two accounting document for sales accounting and excise accounting document.

    hi,
    this is a standard sap bug.this is due to VBFA table inconsistency.
    please go thru the note 74513 or go to se38 search forthe program rvbfa you will get two programs select the second.
    i think this could help you to resolve this issue.
    Regards,
    kumar

  • 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

  • Need no document flow update for sales order create with reference

    Dear All.
    We would like to have the ability to create a sales order with reference to another sales order, and have the document flow of the sales order not updated.
    Unlike the case of a standard create with reference where the documents are linked, in this case there is no relationship between the documents.  The first document is just acting like a template for the remaining documents, to save time during order entry.
    We have turned off update of document flow at the line item level.
    But I don't see a way for us to turn this off at the header (document level).  So wondering if there's another way to turn this off, or possibly through user-exit or VOFM requirement?
    Has anyone else done this?
    I think that CRM has this functionality, but we're still entering orders through ERP-SD.
    Many Thanks!

    Hello Colleague;
    The issue you have reported is SAP standard.  The checkbox "Update Document Flow" (V_TVCPAAP-UPFLU) controls document flow at item level.  If this checkbox is set to blank, there will be no document flow at item level.
    However, the document flow cannot be completely turned off - if the 'update document flow' indicator is blank, you will still see an entry in the document flow, but there will be no update to table VBFA (Sales Document Flow) and the document flow of the predecessor will not be updated at item level (no record in VBFA at item level).                                                                               
    The reason is that the system checks VBAP (Sales Document: Item Data) for fields VGBEL (Document number of the reference document) and VGPOS (Item number of the reference item) for values.  You will always have document flow information on header and item level in the successor because it stores this information in table VBAP.                                                                               
    Related with this issue, you can find a Note 53383 for your review.
    I hope it can clarify the case.
    Regards
    Ruy Castro

  • Document Flow for deleted |outbound delivery

    Hi All,
    I am facing with a very urgent issue. I hope somebody will be able to help.
    Scenario:
    I have a sales order. I have created outbound delivery with no picking and PGI done. By mistake one of the end user have deleted the outbound delivery. Now i want to find the sales order number of the deleted delivery. I have the deleted outbound delivery number.
    Is there any way, I can look at the document flow or data in any table regarding this deleted delivery number?
    This is an urgent issue. Please help

    Hi
    Once the delivery is deleted the references you are looking for a cleared
    (LIPS-VGBEL, VGPOS) go with the deletion and the document flow link in VBFA
    is also deleted. As mentioned the record of the deletion and what happened to the delivery
    should still be available in VL22 as mentioned.
    When a sales document is relevant for delivery it is written to table VEPVG.
    So when you deleted the delivery the entry for the affected sales order would have been
    restored to the delivery due index. You will find it in there but no where else now at this
    stage.
    I hope this helps
    Kind regards
    Brian

  • Returns Order - Document Flow

    Hi,
    I am creating a Returns Order by using function module SD_SALESDOCUMENT_CREATE. In this case, document flow for the newly created order is not updating correctly (link for the Outbound delivery and Invoice is not updated).
    But, when I create returns order using VA01 transaction, it is updating the document flow correctly.
    I am not sure why this is not happenning when i create returns order through SD_SALESDOCUMENT_CREATE.
    Could you please help me in identifying and solving the problem?
    Thanks,
    Phani.

    Use commit work.
    Regards,
    Lalit Mohan Gupta.

  • 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?

  • 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

  • In adobe reader app on iPad, I have a PDF document that added notes and comments to.  Once I left the document and returned to it, the notes and comments were gone.  Where are they?  I clicked "save" and "done" buttons after I entered text.

    In adobe reader app on iPad, I have a PDF document that added notes and comments to.  Once I left the document and returned to it, the notes and comments were gone.  Where are they?  I clicked "save" and "done" buttons after I entered text.

    The application auto-saves your input when you close the document.  If you left the document, as you state, the notes/comments should have been saved and should have been visible the next time you opened the document with the Mobile Reader (note that if you are opening the document with another app such as Apple's built in PDF Viewer, things like notes/comments may not be visible).  Also note that if you are doing an Open In... from another app (like Dropbox), the version of the document in Dropbox does not update; only the version of the document in the Mobile Reader is updated.
    Would it be possible to send a video of the problem you are encountering to [email protected] so that we can try to help?

Maybe you are looking for

  • When is Apple coming with an update to fix Snow Leopard???

    I can't tell you how LONG I've waited to upgrade to Snow Leopard from Tiger! I bought it THE DAY it came out, manually backed up everything I had to my External Drives (OVER 6TB worth of data!) and to my surprise installing Snow Leopard was just like

  • Clearing customer open items

    Hello! Can anybody help to find a way how to clear customer open items when there is no reference number in use for customer. In electronic bank statemen there is only billing document number in TXT field. How to configure "Make Global Settings for E

  • Automatically open block diagram on extended monitor?

    Hello, I was wondering if anybody know how to pop-up the block diagram on an extended monitor automatically so that ctrl+E need not be pressed to shift between FP and BD. It would be nice to see FP on monitor 1 and BD on monitor 2(ext). applicable to

  • QUERY ON SRM Function Module.............Urgent plz help

    Hi I have a requirment for getting wbs element in SRM system (SRM 3.0 ) from R/3 4.6c based on status of wbs element like TECO, ISBD, CLSD. Please can anybody suggest any standard FM / Metabapi exist in SRM for resolving this issue. Regards MJT

  • Photoshop CS3 vanishing point help

    i'm having a bit of trouble with the vanishing point filter.  this is the first time i've ever really used it to any extent so i must be overlooking something trivial or maybe it's just a program error... anyway, whats happening is i'm trying to appl