Allocation number on an FI document

HI friends,
When i tried to Move the PO number on the sales document(VBAK-BSTNK) to BIlling document referecnce number (VBRK-XBLNR) the FI document entry is created in BSID table with Allocation number (BSID-ZUONR)as the PO number.
What i am expecting is The PO Number should be moved to The Billing refernce number and then to FI document reference number (BSID-XBLNR) this is happening. But inever wanted to see the PO number in the allocation field (BSID -ZUONR). Where can I restrict this?
Helpful suggestions will be rewarded with points.
Thanks,
Mohammed.

hi,
check tcode xd03-company code data- field KNB1-ZUAWA
A.

Similar Messages

  • Number ranges for material document (migo) and inventory  documents

    Hi Gurus,
    We need a different number ranges for goods receipt documents  and inventory documents because we have different company merged in to one box.Can any body tell me on what basis we differenciate the number ranges how to configure it.
    If we take PO, we have different doc types and we assign number ranges to those documents. in case of Miro , it  is the single transaction code used by different companies and how to give different number ranges.
    Regards,
    Sri........

    Hi,
    I think number ranges of inventory documents are on client level not on company code wise . because even though  your creating new document and assigned different number ranges for the documents but  these while assigning  ranges to T codes (MIGO or MIRO) you dont have option like company codes ( tcode OMBA) so number ranges for inventory documents are at client level  not at company code level.

  • Number range of  accounting document for different plants

    whenever a billing document is created in SD (using the T-code VF01); an accounting document will be simultaneously created in the FI module. one document type(TS,number range---60:1 to 9999 ) have four  plants .different plants have own number range and sequential document number .
    eg: doc. type   num.range    fr       to           plant cty       co code
             TS           61            1        1000       PLANT_1      3100
                            62           1001    2000       PLANT_2      3100
                            63           2001    3000       PLANT_3      3100
                            64           3001    4000       PLANT_4      3100
    How can that carry out this function ?
    thank you for your help !

    Hi leung,
      As Mr.Rohit has mentioned it has to be done with the z table and the available user exit.
    Wht we have done is.we have created no ranges in obj rv_beleg.Eg
    AA   0000000001 to 0000099999
    AB   0000100000 to 0000199999
    AC   0000200000 to 0000 299999.
    Using the user exit we have created a Z table.And assignd for this ombination in the Ztable.
    Plant X   Billing type A   AA
    Plant Y   Billing Type A  AB
    Plant Z    Billing type A  AC
    Once this combination matches the appropriate invoice no range gets picked up.
    Regards,
    K.Vivek

  • P.O number for a billing document number

    Hi Experts,
    From  which table we can find a PO number for corresponding billing document number(VF03)?

    hi RAVI,
    Go to T.code SE16
      enter table name VBRK-->enter
       billing doc type,billing doc no,s.org,d.channel
      execute
    waiting for reward points
    mcm

  • How to fetch accounting document number from known material document number

    Hi,
    Using MIGO transaction, by giving mblnr(material document number) as input, I get accounting document number by clicking FI document.I have to add this accounting document number in my report for corresponding known mblnr(material document number) values.
    My question is how to fetch the accounting document number present in MIGO to add in my report program.
    I used the xblnr(Reference Document Number) which is present both in mkpf and bkpf tables to fetch values.
    I extracted xblnr values with known mblnr values from mkpf (Header: Material Document table).
    and then extracted belnr(accounting document number) from bkpf (Accounting Document Header table) by using xblnr values.
    But the query is running for a long time.
    Is there any other method  to extract the values in a simpler way.
    Kindly advise.
    Thanks and Regards,
    Sanjeev

    I had the values of xblnr and some other fields such as mblnr, budat etc in wi_item table.
    I created a new internal table i_xblnr and got down those values.
    And then created a new internal table i_belnr and tried to get values of belnr in it.
    The code I wrote is given below:
    IF not wi_item[] is initial.
    loop at wi_item.
       at new xblnr.
        ws_xblnr-xblnr = wi_item-xblnr.
         append ws_xblnr to i_xblnr.
       endat.
    endloop.
      select belnr xblnr from bkpf into table i_belnr for all entries in i_xblnr where xblnr = i_xblnr-xblnr.
    ENDIF.
    Kindly look after it.Thank you.
    Regards,
    Sanjeev

  • Delivery number for a material document posted

    Hi experts,
    I need to delivery number for the material document number posted,
    I tried to use the field XBLNR from the table MKPF
    but i see that the feild is empty in the case of inbound delivery
    why is it so.
    How ever i can get the data from VBFA ,but can any one tell me the reason why XBLNR is empty in case of inbound delivery.
    Thanks a lot in Advance.

    Hi,
    If you do GR w.r.t. Inbound Delivery No in MIGO then it will not update "Reference" field i.e. XBLNR.
    To update same with Inbound Delivery No, you have to do "Post Goods Receipt" from Inbound Delivery Document itself in VL31N or VL32N.

  • EDI Error : "Number assignment for ML document is incorrect"

    Hi All,
    We are getting the below error in EDI invoice generation.
    "Number assignment for ML document is incorrect".
    We have checked the number range for Material Ledgers. And the status is fine.
    We are using EDI for Inbound invoice creation.
    Can any body please guide us to solve this issue?
    Regards
    RS

    Hi Srikanth,
    The document types are assigned to the Parnter. But how will it be related to the Material Ledger.
    We are getting the error while number assignment for Material Ledger Document.
    Did we miss any settings are missing related to Material Ledger?
    Regards
    RS

  • Challan number missed in the documents while TDS payment run

    Hi All,
             I have run the TDS payment run in J1INMIS successfully. The clearing document number generated to all documents. Few documents doesn't get update the challan number but has cleared document number itself. How do I solve the problem and please let me know the root cause for the same.
    Thanks...

    Hi,
           Here my problem is the clearing document number has been generated to the accounting documents but the internal challan number was not generated. Only few documents getting this error. Mostly I use to run J1INMIS alone and its been working fine for the second and third quarter. The problem persist to the 1st quarter tds payment run only.
    Thanks...

  • OMX4 - FBN1 - Number range for Material document and FI document

    47 - is for FI document number range in Material ledger FBN1.  OMX4 gives number range for Material document.  My question is how big the number range must be?  Since thousands of Materials involved, I couldn't imagin this?
    Anybody knows, how to determine the size of no. ranges in Material Ledger configuration?  SAP simply says, check no. ranges whether it meets the requirement....
    I don't expect an answer again, just check your business, how many transactions would be in a period, which is not quantifiable now?
    I would like to understand this from somebody's experience of using insufficient or excessive no. ranges, especially in this area.
    Cheers,
    Ashok

    What is the number range you are using? Year Dependent or Independent?
    When you don't know the document number consumption pattern you should use Year dependent number range in both OMX4 & FBN1. Observing this for a month will give a rough Idea and observing for a Quarter will give you a fair Idea and the result for a year gives almost near to accurate consumption of number ranges.
    The generation of documents is dependent on the number of materials and Profit centers involved. As much as possibe use Summarization at profit center level when posting to FI. This will reduce the number of documents and line items that are getting generated.

  • Internal number ranges  for accounting documents are not updating

    Dear Experts,
    We are existing user of SAP 4.6 C , are facing probelm while posting accounting document , the accounting document number ranges are not getting updated.
    When I post first document it got alloted first number from the interval when i post another document the system showing message Document Number XXXXXXX is already assigned to other document.
    And we have checked through T.C FBN1 and checked the number ranges where first document didn't showing in the alloted number range status.
    Early reply can be highly appreciated.
    thanking you.
    Regards,
    Y.Kiran Babu.

    hi Rajesh,
    check if any document exists with that number in table BKPF. Also check: the number (current number) you see in FBN1 should be the highest existing document number in BKPF (inside the range).
    ec

  • Billing Number Range problem ( accounting document not generated)

    Hi All,
    I have created some billing types and for them I have assigned some internal number ranges. Now when I create a billing document it is getting saved with the proper number range but no accounting document is getting generated.
    Also when I try to release the invoice I am getting an error which says " *Incorrect doc.no.: 10000009. Select document number between 0090000000 and 0099999999* "
    K I N D L Y     suggest  as U R G E N T.
    Regards,
    Danny.

    Dear,
              Billing Number Range problem ( accounting document not generated) is not an error because when you create billing document then accounting document not generated. Accounting done after posting of that billing document with VFX3 or VF02 T.Code by account department.
               And for second issue you had define number range between 0090000000 and 0099999999 for invoice so thats why it happen.
    Regards,
    Sandip Shaktavat

  • Getting valid idoc number from the sales document

    hi,
    Iam sending the code for getting the idoc number from sales document.
    but iam not getting the result.
    please see the code and correct the code so that i will get the idoc number from the sales document.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
      exporting
        input         = p_vbeln
    IMPORTING
       OUTPUT        = p_vbeln
    select single docnum from edid4 into l_docnum where sdata like '&p_vbeln&'.
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    it is very urgent..............
    thanks in advance......

    See the below code :
    report zxyz.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    <b>data sdata like edid4-sdata.</b>
    start-of-selection.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
    input = p_vbeln
    IMPORTING
    OUTPUT = p_vbeln
    <b>concatenate '%' p_vbeln '%' into sdata.</b>
    select single docnum from edid4 into l_docnum
                  where sdata like <b>sdata.</b>
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    Thanks
    Seshu

  • Which FM to use to change the PO number in an Invoice Document with status = 3

    Hi Experts,
    My requirement is to change the PO number  in an Invoice Document. The Document Status (RBSTAT ) is 3. I tried with 'BAPI_INCOMINGINVOICE_CHANGE' but  its not working instead showing a message 'Further processing of document not possible (Faulty status)'.
    I guess this BAPI works for only invoices with status  A, B, C, D or E. Please suggest me how to solve this.
    Regards,
    ABAP User

    You don't need to as Breakpoint mentioned.  The values are determined by the data you pass to the function module - if you need a different value in your 6.0 system than you have in your 4.6C system, then you need to adapt your call accordingly, e.g., blocking or closing any open items that you no longer need and thus setting the status to 'C' in one of the VBUK/VBUP fields.

  • Contract Number in Post clearing document

    Hi,
    I have open item in customer account as 15000 and after clearing the full amount in document number Contract number is not displaying but when I do partial payment (like 500) Contract number is appearing in clearing document.
    Anybody can help me out how I can get Contract number in post clearing document (Full amount clearing).
    Br,
    CM

    Hi CM,
    please refer to the information in SAP note [151867|https://service.sap.com/sap/support/notes/151867] which explains the necessary configuration (in module FI).
    Hope this helps.
    Regards, Franz

  • Same invoice number for two delivery documents

    Dear Folks,
    We are having the following business flow:
    Contract- S.O.- Del- PGI- PI- Excise Invoice- Commercial Invoice
    Now The system is generating the same commercial invoice number for two delivery documents.
    1.The two deliveries have 40 and 50 MT of materials respectively.
    2. The proforma invoices are separate for both and have quantity 40 an 50 MT respectively. Excise Invoice is also diffrent and of right quantity for both of deliveries.
    3. In one of the delivery (40 MT) it is showing aditionally "Confirmation of service" in document flow.
    4. But while doing commercial invoice the system created a single invoice with quanitity 50 MT ONLY.
    5. In the document flow of both deliveries it is showing the same invoice number.
    Please advice.
    Thanks in advance.
    Raghu

    Hi Raghu
    In standard settings,system always tries to combine the deliveries into one invoice if they have same Payer, Billing data, Destination country,Payment Term and same Incoterm.
    This is controlled by the routine "001" in the copy control table "Delivery to Billing" (t.code VTFL).
    Possibly, in your case, the above criterias are same and routine is "001" in the copy control table.
    If you want separate invoice for each delivery, then in the copy control table (t.code VTFL), go to item level and in the field VBRK/VBRP field put routine "003" and save it.
    Now, system will create separate invoice for each delivery even if the above criterias are same.

Maybe you are looking for

  • Universe Design Suggestion for a Report

    Hi Guys, I am building a trend report from a fact table that was newly built in SQL server 2012. Prior to this table there was a manual process of data importing into SQL Server and then bringing into BO universe for reports. With the new change the

  • FCP QT Conversion, Why result in wider aspect ratio ??

    When I export "selfcontained" QT from FCP, it is in the same aspect ratio as I see in canvas (4:3), however when I export the same project "using QT conversion", the exported movie file is saved and plays in wider ratio. Please help, how could I keep

  • Adobe Media Encoder CS4

    Adobe Media Encoder CS4 has one Filter ... Blur , is it possible to add another and are there any available, specifically for adjusting gamma. Thanks

  • To fax the smartform output

    Hi, Actually my requirement is to send the smartform through email using medium external send..If the email Id of the recipient is not present then the smarform has to be sent through fax using medium external send.So I have changed the value of nast

  • SRM: many confirmation for PO

    In SRM, I'd like to insert a confirmation for a "una tantum services" purchase order. Unluckly, SRM allows me to insert many confirmations, exceeding total quantity, even if all PO's quantities are approved. For example: Purch.order quantity : 3 piec