CO Extractor + FI Document Number

Hi All,
I have activated in CO 0CO_OM_CCA_9 extractor, the user told me that he neds the FI Document Number, i have checked the extractor and i did not find it, i just found "Reference Document Number" but this field not always bring the FI Document Number.
So, my question is :
Is there a way to get the FI Document Number without append this field with an abap routine?
I REALLY APRECCIATE YOUR HELP !!
THANKS IN ADVANCED

This subject is also what I am analyzing now. It looks like maybe DS 0CO_OM_CCA_9 pulls from either table COEP or COVP. In which case they both have fields REFBN and AWORG. These two fields can also be found in the Special Ledger line items table (if it is configured, customer named xxxxxxxA).
The field REFBN plus the first two characters of AWORG make up the 12 character FI-CA reconciliation key FIKEY found in DFKKOPK and definded in DFKKSUMC when this rec key is closed and the assigned FI-CA doc items are cleared.
The Rec key is how you track from FI-CA documents to GL/FM/CO posting.
I'm wondering does anybody know why and how the rec key is split out and truncated into REFBN and a "-0000001" number is added to the last two characters of the rec key in AWORG. Does putting it back together get you everything you need to track the flow across modules?
Thanks for reading all this technical jargon...
AJB

Similar Messages

  • Purchase order and FI Document Number - R/3 extractor

    Hello Experts -  I have a question on the BW extractors on the R/3 side. Are there any standard extractors out there where I can get Purchase Order information and related FI document number information. In case if I have to create one what tables do I need to reference to create generic extractor. Thanks for your help.
    Regards,
    Venu.

    Hi Venu,
    This could be better done on a standard FI extractor by enhancing it with purchase order information.
    Atleast, this is the way we did in our scenario.
    Have 0FI_GL_4 enhanced with data from EKKO, EKPO tables, with required feilds. This enhancement may not be quite detailed.
    Also if you are interested in a complete gen extr. then the above two tables along with BSEG should do.
    Naveen.A

  • Generic Delta without date field and without document number

    Hi Experts,
    I have created Funtion Module Extractor program, but my strcture not having any date field and document number fields.
    Please let me know how to maintain the delta for extractor program.
    Thanks in Advance.
    Chandra

    hi,
    it is not mandatory to have doc number or date fields for delta,
    u must have other fields which could change and try to find those fields and try, chk with the business for their delta requirement else go with full load.
    Ramesh

  • Custom master data for Sales Document Number

    Is it possible to create master data for "sales document number" as a custom field and/or table in R/3?  We have a need to record the "end user" customer of an order but this data may be updated a long time after the order and sale is complete.  IT seems that loading to BW/BI may be simpler if this is treated as document attributes rather than transactional data since no delta will be trigger by changes to this field.  Does anyone have experience with this approach?

    Hi,
    it is possible to create attributes for this InfoObject. Add the Attributes you need in BW. You can use the attributes even if the sales doc is line item dimension of your cube.
    On Sourcesystem side you have to create a generic extractor in SBIW. I think a table view on VBAK or VBAP may fullfill your needs. Of course the tables are not the smallest ones but maybe u can use the timestamp to implement a generic delta. Check whether the timestamp is set when the 'end user' is set. Not every change in the sales document leads to an entry in the delta queue of logistic, but the timestamp should be set.
    After that replicate the datasource to BI and connect it to the attributes of 0SALES_DOC
    I had a similar enhancement at one customer reading the actual transport routes to the sales documents and it worked fine.
    Hope that helps
    Christoph Vortkamp

  • 2LIS_03_UM validation - Why would FI Document Number show in BSEG NOT MB5B

    Hi there,
    We have created a custom datastore to load data via 2LIS_03_BF and 2LIS_03_UM extractors.
    All the data is coming as expected however on the ECC side, the data validator does not see why would a FI Document Number appear in BSEG however NOT appear in MB5B?
    Without having to dig into the abap code, would anyone have experience with this type of situation?
    Also, if I am not posting in the correct forum, please advise.
    Thanks so much!
    Lynda

    closing - no repies.

  • For BSID- Accounting Document Number corresponding PO Number is required

    Hi Gurus,
                 I have got a requirement to develop a report similiar to 'FBL5N' . I am getting the details of open and cleared items of a customer from BSID and BSAD tables respectively. My requirement is also to fetch the corresponding PO number of the LINE items displayed in the report.
                Can any one suggest how can I fetch PO number with Accounting document number(BSID-BELNR)  or (BSAD-BELNR).
               Your efforts in this matter are deeply appreciated and <<removed_by_moderator>>.
    Thanking You,
    ZIa.
    Edited by: Vijay Babu Dudla on Jan 28, 2009 11:07 PM

    If you have fields BSID-VBEL2 and BSID-VPOS2 are populated with the sales order, than access VBKD with the Sales Order to get the Customer PO (VBKD-BSTKD)
    Or
    First, You need to get the Billing document. Access BKPF with the BSID-BELNR to get the AWKEY where AWTYP = 'VBRK'
    Now, you can go to SD document flow with the billing document to find out the Sales Document. Access VBKD with the Sales document to get the Customer PO
    Regards,
    Naimesh Patel

  • Free item reference document number not populated in MIGO item screen

    Hi
    I have a requirement where in I would need to populate the reference document number in the MIGO item when I am cancelling a goods receipt in case of free items.
    In standard SAP system we know that it would only be populated when GRbased IV is ticked in PO but in free item PO this is not ticked . So was enquiring if any body knows how we could populate the reference document number at GR cancellation in MIGO item level for free items .

    Hi,
    If you mean the field MSEG-SMBLN, then it is always populated at cancellation, no matter the GR-based IV flag.
    BR
    Raf

  • Alphanumeric Document number for Sales order

    Dear Experts,
    I got a requirement, The sales order number after saving the document the SO document number should be SO ( Alphabetic) 00012074 (Numeric) ie. SO00012074,
    The numeric portion will come from the number range assigned for that document and Alphabatic portion should come depending on the transaction code and document type.
    in SAPMV45AFZZ  User-exit
    FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
    This exit triggers before call function 'NUMBER_GET_NEXT'  that generates document number for the current document and return to the field vbak-vbeln and finally this is the document number, In the debug mode if I change the number for example 0000012074 to SO00012074 runtime I can get the expected number and also it is saved in the system. But in the real time it is not possible as this coding in not any user-exit.
    So I can't use this user-exit for the to get alphanumeric number in the document.
    FORM USEREXIT_SAVE_DOCUMENT
    This exit triggers after the generation of document number. In this user exit if we change the document number for example 0000012074 to SO00012074, it shows the expected number after saving the sales order but it is not actually saving in the database. Means if we try to open the same SO for example SO00012074 in va02/va03 it is showing
    SD document SO00012074 is not in the database or has been archived but if we try open 0000012074 in va02/va03, we can get the document.
    We can use this user-exit but if we change the value of vbak-vbeln in this user-exit finally it is not saving in the system.
    Can anybody help me how I can achieve the requirement ?

    bro...
    You have got an option to copy the program the standard program into zprogram....
    goto se38 and copy the program into a z program....and in doing so copy everything from the ctandard program ie vaients,documentation and function module etc.
    now change this z program to meet your need....
    both way if you dont make lot of changes you will get same performance with your work done
    regards

  • Unable to capture fi document number using transaction ABUMN

    hello guys,
    I am trying to create a bdc for transsaction ABUMN which generates a fi document at the end.
    but in BDC the bdcmsgcoll table is empty.
    is there any way so that i can capture document number as soon as it is posted.
    Please help, Thanks in advance.
    Thanks & Regards,
    Deepak.

    can you run your BDC after call transaction method  if you get success message based  on your input  values, then   goto the document tables and pick that values  and pass the success message.
    CALL TRANSACTION tcode USING gi_bdcdata                "#EC CI_CALLTA
                       MODE   gv_ctumode
                       UPDATE gc_cupdate
                       MESSAGES INTO gt_messtab.
      l_subrc = sy-subrc.
      IF sy-subrc <> 0.
        WRITE: / 'CALL_TRANSACTION',
                 tcode,
                 'returncode:',
                 l_subrc,
                 'RECORD:',
                 sy-index.
        LOOP AT gt_messtab INTO gwa_messtab WHERE msgtyp = 'S'.
          CLEAR lwa_t100.
          SELECT SINGLE * FROM t100 INTO lwa_t100  WHERE sprsl = gwa_messtab-msgspra
                                    AND            arbgb = gwa_messtab-msgid
                                    AND            msgnr = gwa_messtab-msgnr.
          IF sy-subrc = 0.
            l_mstring = lwa_t100-text.
            IF l_mstring CS '&1'.
              REPLACE '&1' WITH gwa_messtab-msgv1 INTO l_mstring.
              REPLACE '&2' WITH gwa_messtab-msgv2 INTO l_mstring.
              REPLACE '&3' WITH gwa_messtab-msgv3 INTO l_mstring.
              REPLACE '&4' WITH gwa_messtab-msgv4 INTO l_mstring.
            ELSE.
              REPLACE '&' WITH gwa_messtab-msgv1 INTO l_mstring.
              REPLACE '&' WITH gwa_messtab-msgv2 INTO l_mstring.
              REPLACE '&' WITH gwa_messtab-msgv3 INTO l_mstring.
              REPLACE '&' WITH gwa_messtab-msgv4 INTO l_mstring.
            ENDIF.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id        = gwa_messtab-msgid
                lang      = sy-langu
                no        = gwa_messtab-msgnr
                v1        = gwa_messtab-msgv1
                v2        = gwa_messtab-msgv2
                v3        = gwa_messtab-msgv3
                v4        = gwa_messtab-msgv4
              IMPORTING
                msg       = l_mstring
              EXCEPTIONS
                not_found = 1
                OTHERS    = 2.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
            CONDENSE l_mstring.
            IF NOT l_mstring IS INITIAL.
              WRITE: / gwa_messtab-msgtyp, l_mstring(250).
              MESSAGE l_mstring TYPE 'I'.
            ENDIF.
          ELSE.
            WRITE: / gwa_messtab.
          ENDIF.
    ENDIF.
        ENDLOOP.
        READ TABLE gt_messtab INTO gwa_messtab WITH KEY msgtyp = 'S'.
        IF sy-subrc NE 0.
          MESSAGE s069(msg class)
        ENDIF..

  • Last Purchase Order and FI-Document Number of an Vendor

    Hi,
    i need for an Vendor the last purchase Order and FI-Document Number.
    For purchase Order i read EKKO sort this and get the last one.
    For FI-Document Number i read BSIK and BSAK sort this and get last one.
    Question: is there any faster way (CLASS, FM or TABLE) to get what i need??
    Thanks.
    Regards, Dieter

    HI Dieter,
    You can use transaction code ME2L , where you can list of PO issued a particular vendor. List list shows Po no. indecending order. You can double click select the latest PO and through PO history you can get the FI Document no.
    I hope this ansers you query.
    Regards
    Harish

  • Report with Invoice and Accounting Document Number

    Dear Experts,
    Here i have a requirement.
    I wanna a report which gives a Invoice (MIRO) and its accounting documents (Follow on document) in one page. Because If I view a MIRO document, for checking the accounting document, I need to click on Follow on doc, then I'll get.
    But If wanna see for 1000 MIRO documents with accounting document number, then I don't want to click 1000 times to see the account doc for respective Invoice number.
    The approximate format is,
    Column 1                              Column 2     Column 3        .......................              Column n
    MIRO  (Invoice number)                             Accountting Doc Number
    5100000099                                              5100000011
    Which tcode will give the both in one screen?
    Thanks in advance
    Regards,
    navahsek

    Hi,
    Enter Sork Key 002 for Vendor Master Record.
    and also you can check the Report in ECC 6.0
    MIR5 - Display List of Invoice Documents
    There you select Export Mode --> Display Accounting Document Number.
    You can get Report FI and MM Document Numbers.
    Hope It will Clear.
    Regards,
    Kishore

  • Reference document number of 103 movement not seen in 105 movement documnt

    Dear all,
    I have made a material document with movement type 105 with reference to 103 document.
    After creation, the field LFBNR in the 105 document is not updated with the 103 document number.
    In all other cases the document number of 103 movements are updated in the the field of 105 document.
    Can anybody can share me if you have any information about this scenario and what would be the solution.
    Thanks....
    Hari.

    Hi Murugan,
    I am giving you more clarification.
    I have created a Good Receipt through MIGO using 103 movement.     Later I have created 105 movement with respect to 103 movement reference through release blocked stock.
    After creation of documents, when checked the document created through 105 movement there is no reference number of 103 document number found in the document number of 105 movement.
    In the table MSEG  field LFBNR is supposed to get updated with the reference number of the document created through 103 movement.
    In this case, this reference number is not updated in the table MSEG-LFBNR.
    My question is that how the document with 105 movement get posted without the reference of document of 103 movement and what would be the reason.
    Hope the question is clear.
    Awaiting for your replies.
    Thanksss....Hari.
    Edited by: Harikrishnan_sap on Nov 13, 2009 2:02 AM

  • Report invoice document number againt PO line item

    Hi Forums,
    Can any body so kind to tell me is there any standard report in SAP 4.7 C where we can get the list of invoice document number against each line item of PO.
    I have tried the ME2N & ME2L report. If I double click the POH then only it give me the invoice document report. But i want a report where I get invoice document no against each line item wise in PO.
    Thanks in advance.
    Regards,
    sp sahu

    Hi sp sahu,
    I am sorry, but I am not aware of any report which might suit your requirements, this is the reason why I addressed you to the table EKBE. You might build your own report out of this table.
    Sorry!
    Esther.

  • Dunning Block per document number

    Hi SAP Guru,
    Need your help.
    Scenario is like this:
    We are running the dunning letter and it always gives us no output.  Also, checked the Customer Master,  under Correspondence tab and field for Dunning Block is empty while payment methods under u201CPayment Transactionsu201D tab is also empty which is I think it should be to run the dunning. 
    Upon further investigation,  I found out that the invoices are tag as u201CDunning Blocku201D via FBL5N per document number.  Can you explain how this happened? And why does per document number is tagged as u201CDunning Blocku201D despite the correct set up in Customer Master.  And how can we delete the tag per document or is there any mass update for this. 
    Appreciate your thoughts on this.
    Thanks,
    Julie

    Hi,
    Thanks for the info.  As I checked if dunning block has been tagged in SO via Header --> Accounting Tab,  the field for Dunning block set to Freed for Dunning which I supposed should be. 
    Any other solution on this.
    Thanks,
    Julie

  • Document Number Not Generate In FEBA ( Bank Reconciliation)

    Dear All,
    We have configured all the required details for Manual Bank Statement for Bank Reconciliation .
    Steps :
    1 ) Take converted file from Bank
    2 )  Upload that file in Text format into System then system automatically update FF67.
    3)  Go into FEBA , then we got cleared items but we are not able to get Accounting Document Number .
    How we can get Accounting Document Number in FEBA ??
    Regards,
    Kaushal Shah

    Hi,
    Sorry, just today I checked your message.
    Instead of processing BDC, you have to post through FEBA.
    ie. Download the statement with the option Do not post or post online.
    Then process the error lines or all documents through FEBA. Then you can able to see the document number.
    If the posting is done at the background through batch jobs, then there will not be any document number visible through FEBA.
    Let me know if you need any more information.
    Regards,
    Prabha

Maybe you are looking for