Link between workflow id , document number

Hi all,
If we raise an workflow for any sales document, can anybody tell me in which workflow tables we can find the document number and its corresponding workflow id.
If the possible outcome of task is approve or reject, after user executing the task where can we find (table) the otcome of the task.
Regards,
Venugopal

Hi Venugopal,
Try using transaction SWI6. You must know the object type being used for your sales document and the document number.e.g.
Object Type Category      BOR Object Type
Object Type                      BUS0006    (Sales Organization)
Key                                   0001
If you know the object type and enter it in SWI6 you can F4 on the Key field via button "Enter Object Key" and do a search (If you do not know the sales document ID).
Regards,
Eddie

Similar Messages

  • How to find Invoice number linked to FI accounting document number ??

    Hello All,
    I have been looking around for all possible combinations to find the link between FI accounting document number (BSEG-BELNR) and Intercompany Invoice number (for which billing corr. to STOs' or POs' is done).
    The requirement is that during ERS posting, we have accounting document numbers (BSEG-BELNR) and associated STOs' for this (BSEG-EBELN), but we are unable to map the Intercompany Billing Invoice number(s) (where the billing corr. to STOs' obtained from BSEG-EBELN) to this accounting document number (BSEG-BELNR).
    Any pointers or detailed view solution would be of great help.
    Thanks,
    Ansh

    Hello DPM,
    Thank you for the descriptive help. But my requirement is to look for Intercomapny Billing number (VBRK-VBELN) linked to an accounting document number (BSEG-BELNR) and not Invoice Receipt Number.
    The steps that I am following are:
    From BSEG, found EBELN (Stock Transfer Order) and XREF3 (Reference Key, combination of fiscal yr., some ref. number, maybe GR no. and ref item no.), based on BELNR (Accounting document number).
    From EKBE, found XBLNR (Reference Delivery Number or Direct Intercompany Billing Number on which GR is done) based on
    EKBE - EBELN = BSEG - EBELN
    EKBE - BELNR = BSEG - XREF3 (only ref and item no., considering it to be a GR no.)
    EKBE - VGABE = '1' and EKBE - BEWTP = 'E'.
    From VBRP, found VBELN (Intercompany Billing No., which is a desired number) based on
    VBRP - AUBEL = EKBE -EBELN (Stock Transfer Order)
    VBRP - VGBEL = EKBE - XBLNR (Delivery number)
    Here, I am not sure about 2 things:
    Whether the reference no in BSEG-XREF3 will always be Goods Receipt number for Stock Transfer Order or not. If not, then what it can be and how I will have to proceed further then.
    Secondly, If in case for an accounting document number, I have 2 Stock Transfer orders (BSEG - EBELN) and same reference number (BSEG-XREF3), then from History table (EKBE) I get only single delivery based on which GR was doen for both STOs', then I shall be getting single Intercompany Billing Invoice from VBRP or different ?
    Kindly provide your inputs.
    Thanks,
    Ansh

  • Add link between 2 FI documents

    Hi,
    is it possible to create a link between 2 FI documents ?
    The scenario is the following:
    - somebody posts an FI document, save it and see an error; he reverses the document and posts the document again.
    - So you have 3 documents: document (1) with an error, document (2) = the reversal of (1) and document (3) is the corrected version of (1).
    - SAP offers a way to navigate between documents (1) and (2) (button "Reversal document" in FB03), but there is no link with document (3)
    - is there a standard way for adding (manually) a link between documents (1) and (3) and a function for navigating between the 2 documents by using this link ?
    best regards,
    Henri

    Hi Henri,
    As Eli has explained, you can't link the third document with previous two documents in standard manner.
    Although you can mention the previous document no. in reference field or header txt field or assignment filed.
    Regards,

  • Link between MM accounting Document and FI accounting Doc

    Hi,
    How to get a link between MM accounting document and FI accounting document.
    Is there any standard report available.
    Regards

    the link is here:
    SPRO --> MM --> Valuation and account determination --> Account determination --> A/c determination w/o wizard -> inside this check every trasaction...
    Hope it helps...
    Regards
    Priyanka.P

  • Delete link between a DMS document and a change number

    Hi. I've associated several DMS documents to a change number, using CC02 transaction. Now I'm trying to delete these links. I can neither delete them nor delete change number. I've marked "Deletion indicator", but I don't know how I have to continue.
    Best regards, Iván.

    Hi Iván,
    please use report MCDOKDEL: This report is used to delete the Documents which are marked for deletion.
    To delete the linkage between change number and object link, please go to CC02 and select button "Objects". Here you can see all linked objects to this change number. Select tab "Documents" and mark the document for which you want to delete the link. Afterwards please press the delete button. Then the linkage to this document should be deleted.
    Regarding object link problems please see also the following SAP notes:
    880077
    885977 and
    960202
    Hope this information will help you.
    Best regards,
    Christoph

  • Link to find Accounting document number from Material document number / PO

    Hi
    We are working on a custom report, in which we need to print purchasing details (from EKPO, EKKO & EKBE) as well as accounting details (from BSEG & BKPF). We need to hit BKPF/BSEG with the accounting document number, since it is the only key field (though PO number is there in BKPF, we can not use this because it is not a key field)
    My question from which table we get the accounting document number ? We need to provide a link between purchasing & accounting through accounting document number, but how to find the accounting document number. ?
    Thanks
    Venkat.

    Venkat,
      I guess you are trying to fetch Accouting Documents for goods receipt against PO.
      To do this, you need to look at the PO History table (EKBE) and find out the Corresponding material document (VGABE = 1 for good receipt).
      Get the value of BELNR and GJAHR.
      Concatenate BELNR and GJAHR into your refernce key (like BKPF-AWKEY).
      Then use this key to read table BKPF with the following key
       AWTYP = 'MKPF' for Material document
       AWKEY = reference key generated above.
       AWSYS = the value of the logical system (if used) or blanks
    This will get you quicker access as compared to what you've described below. In this case, the system uses a standard SAP Index "Index by application type and key" to fetch the relevant records.
    Hope this helps.

  • Change or delete the docflow link between two existing documents

    Hi All,
    Is there any FM or soulution to change the doc flow link between two documents .
    For ex .. i have document A and document B , and created a doc flow link from A to B , Now i have to change the succeeding document  to C
    I have tried to modify the doc link ,but its not working using crm_order_maintain.I thought of deleting the link between A and B and then create a new link Between A and C , but deletion of link bewteen A and B is also not working.
    I have checked with FMs CRM_DOC_FLOW_DELETE_CHECK_EC and CRM_DOC_FLOW_DELETE_EC, followed by CRM_ORDER_SAVE AND COMMIT . i could not find any exception from this FMs , but still the doc link is not deleted.
    Pls share if you have any suggestions.
    Regards,
    Nithish

    Hello
    I wrote a report to delink items from document flow. I uploaded it [here|http://wiki.sdn.sap.com/wiki/display/CRM/Removelinksfromdocumentflow].
    Please, use with caution and always perform careful tests before you run it in a production envinronment.
    Hope it helps
    Joaquin
    Edited by: Joaquin Fornas on Nov 15, 2011 11:49 AM

  • Link between invoice and order number

    Hi All,
               can any one find like between
    1.field                     structure
        HEADNO_EXT         /1BEA/S_CRMB_BDH_WRK
    and
    2. Description     Field Name     Structure
    Order No                     PO_NUMBER_SOLD                CRMT_7010_SERVICE_UI
    ORDER DATE     PO_DATE_SOLD                CRMT_7010_SERVICE_UI
    YOUR REF     YOUR_REF_SOLD                       CRMT_7190_SALES_UI
    DELIVERY TERMS     INCOTERMS                     CRMT_7190_SALES_UI
    PAYMENT TERMS     TERMS_OF_PAYMENT     /1BEA/S_CRMB_BDH_DSP
    PAYMENT METHOD       /1BEA/S_CRMB_BDH_DSP     /1BEA/S_CRMB_BDH_DSP
    i want to retrive data for order No, order date, yourref ...... based on HEADNO_EXT.
    please help me it is urgent

    Hi,
    If you are getting info from the source document of the billing doc, you can use this FM /1BEA/CRMB_BD_O_GETLIST, passing in the HEADNO_EXT to the import parameter IRT_BDH_HEADNO_EXT to get the item of the billing doc. In your ET_BDI, field SRC_HEADNO will be your source document number. Get the guid from CRMD_ORDERADM_H table and pass it to FM CRM_ORDER_READ. You will find all the info you are looking for in the return data from this FM.
    Cheers,
    ck.

  • Link between cancel material document and original mat. document

    Hi friends,
    How I can get no. of original material from cancel material document ?
    Regards,
    Chetan

    Hi,
    MBST SAPMM07M Cancel Material Document
    MBSM RM07MSTO Display Cancelled Material Docs

  • Workflow report by parked document number / Company code / Year

    Hi,
    I need to develop an new ALV report to find out the status of the parked document.
    The selection criteria will be as below:
    1. parked document number
    2. Company code
    3. Fiscal year
    The out put of the report should have the below details.
    1. Document Parked by
    2. Status (Error/in process/processed)
    3. Approver name1
    4. Approver Name2 and all the approver names.
    5. Error Message (If any).
    I am not able to figure out the link between the parked document number and the workflow.
    Please help me on this.
    Thanks,
    Shiva.

    Thanks much Jai,
    I got all the work item id for this table (SWW_WI2OBJ) but how can i differentiate them. For example which work item id is to find out managers and which one to find out the status and so on....
    and how can i find out list of all the approvers for a particular parked document number.
    Thanks,
    Shiva

  • How to find the invoice number from accounting document number?

    Hi
    I am using the bapi BAPI_AP_ACC_GETSTATEMENT and trying to get the invoice numbers of all the payments.
    but i am unable to find the link between the accounting document number from the bapi and the vendor invoice number.
    i have tried the tables BSE_CLR, BSEG and BKPF. the field AWKEY in BKPF has the combination of BELNR & BUKRS & GJAHR when the document type is anything other than RE.
    How can i get the invoice numbers from the accounting doc. numbers?
    Regards
    Sujai

    I am unable to find the link between BKPF-BELNR and RBKP-BELNR from the bapi return values.
    XBLNR is blank when i check the table.
    the output of the bapi is something like this                                                                               
    COMP VENDOR   CLEAR_DATE CLR_DOC_NO ALLOC_NMBR   FISC   DOC_NO     ITE
                                                                                    1000    1100 ........ .........................................  20020123           2002 1900000202   002
    1000    1100 ........ .........................................20020123           2002 1900000203   002
    1000    1100........ .........................................20020123           2002 1900000204   002
    1000    1100........ .........................................20020123           2002 1900000205   002
    now i try passing the doc_no (1900000XXX) and the fiscal year (2002) and company code to BKPF
    the XBLNR field is blank. This document number sequence doesn't seem to be the accounting document number of the invoice coz that starts with 51XXXXXXXXX.
    If i try passing the number with sequence 51XXX... to BKPF i get the invoice number there in the AWKEY field.
    I am not sure what this sequence (19___) represents.
    Sujai
    Edited by: Sujai S on Nov 5, 2008 7:22 PM
    Edited by: Sujai S on Nov 5, 2008 7:22 PM

  • Link between Service Entry Sheet and Material Document

    Hi
    I am busy with developing a report where i am required to find the link between the Material Document and Service Entry Sheet. 
    I am aware that on the Purchase Order Data tab of the Material Document has the service entry sheet number and line item.  However the problem I have picked up here is in the event I create a Service Entry Sheet  with a service in line 1 and for some reason Delete that Line and then capture the service again, it is saved in table ESLL as line 2.  This is correct.  However when I have a look at the material document, it references it as line 1 of the service entry.  Is there any way to get this in sync?
    Thanks
    Vinesh

    Thanks
    This table does show the service entry sheet number and line item however the line item does not correspond with the line item on the service entry sheet.
    Eg.
    I create a service entry sheet where I capture a service in line 1.
    I delete Line 1
    I recapture on line 2.
    Post Service Entry
    The Material Doc reference document is the service entry however the line item for the reference is 1.
    I need to try and link the line items
    Thanks
    Vinesh

  • Link between invoice no and payment clearing document no

    Hi sap gurus,
    in a reoprt i have to show the payment receive date against the invoice no. i can have the invoice no by customer no (KUNNR) and date range. now i am facing problem how to link invoice document no with payment clearing document no. Because while receiving payment from customer (t code F-28) we are receiving against a invoice. But i checked in BSEG,BSID BSAD but nowhere i was able to track the linkage. Please help.
    regards,
    BKR

    In billing document at header level,  you can see two fields, viz.
    a)  XBLNR   Reference Document Number  and
    b)  ZUONR   Assignment number
    These two fields you can see in FBL5N.  Whatever copy control you set in VTFL at header level for these two fields, based on that values will be populated in billing document which will then be passed on to FI just for information.
    But these two fields are not stored in any table but in structure.  However, you can check in BKPF with field XBLNR which will have link between VBRK (billing document ) and BKPF (Accounting document)
    thanks
    G. Lakshmipathi

  • How to create Doc Link between two document numbers?

    Hi Folks,
    I have two document numbers with different transaction type.
    I want to create a Document link between these two documents, i.e. each documents should come in Dock Flow of each other.
    How to acheive this target.
    I tried to do it by using FM CRM_DOC_FLOW_MAINTAIN_OW, but not able to achieve it.
    So please tell me how to do this thing.
    Regards
    PG

    Hi PG,
    The FM CRM_DOC_FLOW_MAINTAIN_OW should work , I am not sure what parameters you are passing. Any way you can use the CRM_ORDER_MAINTAIN as well which will eventually call CRM_DOC_FLOW_MAINTAIN_OW . Have a look of the sample code, This will give you some idea
    lw_input_field_names-fieldname  = 'GUID'.
          INSERT lw_input_field_names INTO TABLE lt_input_field_names.
          CLEAR lw_input_fields.
          lw_input_fields-ref_kind    = gc_object_kind-orderadm_h.
          lw_input_fields-objectname  = gc_object_name-orderadm_h.
          lw_input_fields-ref_guid    = lw_orderadm_h1-guid.
          lw_input_fields-field_names = lt_input_field_names.
          INSERT lw_input_fields INTO TABLE lt_input_fields.
          lw_doc_link1-objkey_a   = lw_orderadm_h-guid.
          lw_doc_link1-brel_kind  = gc_brel_kind-header_header.
          lw_doc_link1-brel_mode  = gc_mode-create.
          lw_doc_link1-reltype    = gc_bin_rel_type-predecessor_successor.
          INSERT lw_doc_link1 INTO TABLE lt_doc_link1.
          lw_doc_flow1-ref_guid   = lw_orderadm_h1-guid.
          lw_doc_flow1-ref_kind   = gc_object_kind-orderadm_h.
          lw_doc_flow1-doc_link   = lt_doc_link1.
          INSERT lw_doc_flow1 INTO TABLE lt_doc_flow1.
          CLEAR lw_input_fields.
          REFRESH lt_doc_link1.
          lw_input_fields-ref_kind    = gc_object_kind-orderadm_i.
          lw_input_fields-objectname  = gc_object_name-orderadm_i.
          lw_input_fields-ref_guid    = lw_orderadm_i1-guid.
          lw_input_fields-field_names = lt_input_field_names.
          INSERT lw_input_fields INTO TABLE lt_input_fields.
          lw_doc_link1-objkey_a   = lw_orderadm_i-guid.
          lw_doc_link1-brel_kind  = gc_brel_kind-item_item.
          lw_doc_link1-brel_mode  = gc_mode-create.
          lw_doc_link1-reltype    = gc_bin_rel_type-predecessor_successor.
          INSERT lw_doc_link1 INTO TABLE lt_doc_link1.
          lw_doc_flow1-ref_guid   = lw_orderadm_i1-guid.
          lw_doc_flow1-ref_kind   = gc_object_kind-orderadm_i.
          lw_doc_flow1-doc_link   = lt_doc_link1.
          INSERT lw_doc_flow1 INTO TABLE lt_doc_flow1.
          CALL FUNCTION 'CRM_ORDER_MAINTAIN'
            CHANGING
              ct_orderadm_h     = lt_orderadm_h1
              ct_input_fields   = lt_input_fields
              ct_doc_flow       = lt_doc_flow1
            EXCEPTIONS
              error_occurred    = 1
              document_locked   = 2
              no_change_allowed = 3
              no_authority      = 4
              OTHERS            = 5.
          IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            RAISE error_occurred .
          ENDIF.
    Hope this will help.
    Thanks,
    Vikash.

  • 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

Maybe you are looking for

  • How to get exs sequences to sync tempo?

    I have some EXS sequencer / arpeggiator sounds up, but they are not matching / syncing to the bpm of my project.  Specifically, it is a piece in 12/8 and I need the EXS sounds to match the triplet feel. Any ideas as to how to sync EXS to my tempo?

  • Copy/paste - how to assign a track? how to chose insert vs. overwrite?

    i don't know how to choose the tracks on which i to paste a clip on the timeline. i seem to have no control on which track gets the clip... it is usually the first track but not always, and i don't know how to make it paste the clip on a different tr

  • How do I access specified order options programmatically?

    Using the RAS SDK (or any other .NET API), is it possible to access the specified order options of a group? I am talking about the named groups with specified conditions. I have found nothing when searching through the documentation, but maybe I am o

  • Why mp3 songs can't make it as alert tones for tex...

    Hey Nokia, why is your lumia phones can't put mp3 songs as alert tones for text messages? This is a big problem on your lumia phones because we missed a lot of text messages because your built in alert tones is not enough to catch our attention when

  • Ipod shows apple logo then folder and exclamation point then shuts off

    how do i make my ipod work it alternates from the ipod logo to do not disconnect to the folder logo to shutting off and sometimes it just stops working period