Three same material document number generated for single PO line item.

Hi,
I found three same material number has been generated for single PO line item. Is there any specific reason for this.
Here is the detail.
PO
LN   qty
10    100
PO history for LN 10
Mat doc          qty               price
5000000000     100               100
5000000000     100               100
5000000000     100               100

see aditya , tables having document number as a primairy key will have a single entry , where as tables having primary key other then material documnet number is having multiple entries . as far as material document is concern , it is only one document in system , now we have to find why it is appearing 3 times . i will test this in my system and let you know .
well thanx for your Cooperation . i will definatly get back to you .
regards
ravikant dewangan

Similar Messages

  • Different material document number range for Services

    Hi,
    I want to make different material document number range for services.
    I have created ZE document type from WE .
    But if I see group in OMBT , i am not able to assign ZE there. How to do this?
    Regards
    Kedar

    Hello,
    No ! I am not able to see ZE there.
    Kedar

  • Same material document number durin PGI

    Dear all
    When doing PGI against Oubound delivery for a current STO i am getting a Material document number  which is already generated by the system against another STO. How and why it is happening?
    What should I do to avoid such situations in future? Pls guide.
    Regards
    SAM

    Hi,
    Let me know which document is displaying in MB03 while trying to see the postings?
    also check weather any number ranges are transported to this client in th middle. If they are transported then existing numbers will be overlapped and this type of problems will come.
    Regards,
    Bharat.
    Edited by: B K on Feb 28, 2009 11:07 AM

  • Material Document Number range for 2011

    Hi,
    As per standard practice we need to reset the number range for material document for calendar year 2011. New Number range will be effective from 01.01.2011.  Please let me know the below -
    1.     Step by step process for Number range assignment for Material document (GR / GR / Transfer posting) for 2011
    2.     Can we define Material document number rage financial year wise (Apr to Mar) like other FI documents number range? This issue is raised by finance dept. IF yes what will be the process?
    At present Number range assignment for our company is showing Year as 9999, from number 5000000000 and to number 5000000000
    Whether it is mendatory to re-ser number range.
    Thanks,
    Ranjan Kumar
    Edited by: Ranjan.pearl on Dec 29, 2010 2:51 PM

    Number ranges for Material document are maintained in OMBT.
    But there is no need to maintain different number ranges for material document as same as financail document. Financial documents are year based whereas material documents are not.
    Also if you are maintaining the material document number ranges as per year specific, then also same document number cant be used. But in case of financial document, the document number can be same i.e year specific.
    Different number ranges for Material Document :-
    Then assign the specific interval for a specific year like
    Year      From Number           To Number
    2001      0100000000     0199999999
    2002      4900000000     4999999999
    2003      5000000000     5999999999
    2004      0200000000     0299999999
    Still any queries, revert back.

  • Material document number to match the FI document number

    Hello MM Gurus,
    May I know if anyone here has encountered a requirement where the material document NUMBER generated from goods movement (GR, GI) should have the same NUMBER with the FI accounting document generated with it? I tried to match the number ranges initially but this would only apply to 1 company code.
    Are there user exits here that I can use? 
    Regards,
    Marvin

    Hi
    You can create Number ranges for each year in OMBT transaction.
    regards
    Srinivas

  • Document number generated from function module K_COSTS_PLAN_INTERFACE_TOTAL

    Dear friends,
      I am using function module K_COSTS_PLAN_INTERFACE_TOTAL to upload the Planning costs, After this function module call I need the document number generated for that item, but there is no return parameter from this function module which would give me the document number generated. Please let me know how to get the document number after this function module call.

    Hi...
    Try this function module..
    CALL FUNCTION 'BAPI_DOCUMENT_GETLATEST2' "
      EXPORTING
        documenttype =              " bapi_doc_aux-doctype  Document type
        documentnumber =            " bapi_doc_aux-docnumber  Document number
        documentpart =              " bapi_doc_aux-docpart  Documentation - text lines
        documentversion =           " bapi_doc_aux-docversion  Document version
        multilevelexplosion = 'X'   " bapi_doc_aux-flag  Document management indicator
    *   docbomchangenumber = SPACE  " bapi_doc_draw2-ecnumber  Change number
    *   docbomvalidfrom = SY-DATUM  " bapi_doc_draw2-validfromdate  Valid-From Date
    *   docbomrevisionlevel = SPACE  " bapi_doc_draw2-revlevel  Revision level
    *   loadlatest = 'X'            " bapi_doc_aux-flag  Document management indicator
    *   loadlatestreleased = 'X'    " bapi_doc_aux-flag  Document management indicator
    *   search_new_maindoc = SPACE  " bapi_doc_aux-flag  Document management indicator
    *   getdocdata = SPACE          " bapi_doc_aux-flag  Document management indicator
    *   getobjectlinks = SPACE      " bapi_doc_aux-flag  Document management indicator
    *   getdocdescriptions = SPACE  " bapi_doc_aux-flag  Document management indicator
    *   getlongtexts = SPACE        " bapi_doc_aux-flag  Document management indicator
    *   getstatuslog = SPACE        " bapi_doc_aux-flag  Document management indicator
    *   getdocfiles = SPACE         " bapi_doc_aux-flag  Document management indicator
    *   getcomponents = SPACE       " bapi_doc_aux-flag  Document management indicator
    *   getclassification =         " bapi_doc_aux-flag  Document Management Indicator
    *   getstructures =             " bapi_doc_aux-flag  Document Management Indicator
    *   getwhereused =              " bapi_doc_aux-flag  Document Management Indicator
    *   sortf_exclude = SPACE       " stpox-sortf   Sort string
    *   sortf_stop_expl = SPACE     " stpox-sortf   Sort string
    *   expl_docs_only_once = 'X'   " bapi_doc_aux-flag  Document management indicator
    *   stop_on_first_error = SPACE  " bapi_doc_aux-flag  Document Management Indicator
      IMPORTING
        return =                    " bapiret2      Return parameter
        newversion =                " bapi_doc_aux-docversion  Document version
      TABLES
        docstructure =              " stpox         BOM Items (Extended for List Displays)
    *   changedversions =           " tchg_vers     Table for Transferring Changed Document Versions
    *   statuslist =                " tstate_order  Sequence of Status Check
    *   documentdata =              " bapi_doc_draw2  BAPIS DMS: document data
    *   objectlinks =               " bapi_doc_drad_keys  BAPIS DMS: document data
    *   documentdescriptions =      " bapi_doc_drat_keys  BAPIS DMS: document data
    *   longtexts =                 " bapi_doc_text_keys  BAPIS DMS: document data
    *   statuslog =                 " bapi_doc_drap_keys  BAPIS DMS: document data
    *   documentfiles =             " bapi_doc_files2_keys  BAPIS DMS: document data
    *   components =                " bapi_doc_comp_keys  BAPIS DMS: document data
    *   all_returns =               " bapiret2      Return Parameters
    *   characteristicvalues =      " bapi_char_values_keys  BAPI Structure for Characteristic Value Assignment (Docs)
    *   classallocations =          " bapi_class_allocation_keys  BAPI Structure for the Assignment of Classes to Several Objects
    *   documentstructures =        " bapi_doc_structure_keys  BAPIs DMS: Structure Data for Several Documents
    *   whereusedlists =            " bapi_doc_structure_keys  BAPIs DMS: Structure Data for Several Documents
        .  "  BAPI_DOCUMENT_GETLATEST2
    And also check this link..
    Send original document from DMS as mail attachment
    Hope this will help you..
    Regards,
    Jhings

  • Issue using material document number as dynamic bin for purchase orders

    Hi...
    We are currently using the material document number as a dynamic bin at receiving because we expect to have multiple receipts of the same purchase order.  The current setup has everything going into quality inspection, and an inspection lot creates for each goods receipt.
    When QM rejects parts to return to vendor, a 122 movement is automatically generated.  When this 122 movement generates, the WM stock overview shows a negative balance using the material document number of the 122 movement as the dynamic bin.  The positive balance still shows as the material document from the 101 movement.
    Is there any configuration that can be set up to fix this issue or will SAP always take the most recent material document as the dynamic bin?
    Thanks for the help!

    I've tried the following configuration with movement type configuration:
    Quality stock in 902 storage type with material document as dynamic bin (requirement type configuration updated).  When a return to vendor is completed, there is a positive balance in 902 with the GR material doc number as the bin and a negative balance with the 122 material doc # as the bin. 
    I also tried configuring this with using GR-DOCK as a bin, and had the issue with the quant record being updated by the most recent inspection lot #. 
    I also tried using the PO as dynamic bin, and have the same error as above with the quant.
    Error:
    Error during creation of transfer orders for material document 0026001535
    Date: 05/16/2008
    Time: 10:52:23
    Post.chge not. HR1 2000000011
    No quants exist for posting changes
    So as according to the OSS note I should use material doc # as dynamic bin to avoid this...but when I set this up I get the issue with positive and negative balances in my stock overview because SAP uses the most recent material document number for each posting.

  • 2 material document number having the same delivery number???

    hi
    is it possible to have 2 different material document numbers assigned to the same Outbound delivery number????
    the situation is that one of the material document number was assigned to a particular delivery number  say 'a'  and deleted later on a particular date.
    on the same date another material document number was created with  the same delivery number 'a'.
    is this possible to happen .(i.e functionally correct)   ?????? bcoz i am getting such type of output in transaction "MIGO"...
    PLZ HELP .POINTS WILL B AWARDED!!!

    Hi,
    Yes,it is possible.If you take example of partial delivery then say for example one delivery contains 10 items.Out of whixh I have delivered 4 yesterday and 6 today.This is done via creating transfer orders.Then two material documents will be created at time of PGI but they will refer to same delivery number.
    Reward points if useful
    Regards,
    Amrish Purohit
    Message was edited by:
            AMRISH PUROHIT

  • Serial Number for material document number

    Hi All,
    Can any body tel me where Serial number stores for particular Material Document number.
    When user creation/posting MB11 he will enter serial numbers for material in material document.
    I already searched the forum. Unluckily i didn't received any related information.
    Thanks in Advance.
    NK

    I Tried looking standard table which contain Material number, Serial number, Equipment and Material Document but there isn't any.
    So I went into SQVI and join two tables, MSEG and OBJK. There I manually draged the MATNR from MSEG Table to OBJK and then selected the fields like Materials Number, Plant, Material Document, Mov Type etc and from other table I selected Material Number plus Serial Number, Equipment (chose your required filters) and then executed and it shows the required records correctly.
    Only issue it had was that if you try thousands of records e.g. Materials it went though and brought resukts and some time it dumped.  But it fulfilled my needs successfully.

  • Link between Material Document number & Accounting document number

    Hi All,
    For material document there is a corresponding accounting document number generated.However this is not the rule in all cases.
    Where is the link between the two(Material Document & Accounting Document) ?
    In other words i want to list those material documents only, for which accounting documents are generated.
    Regards
    Piyush Kothari

    STEP 1
    SAP query way to extract your information.
    Create an infoset SQ02 with a single table MKPF. (include key fields in the field group)
    Step 2
    From Extras
    Create an additional field called zawkey (like bkpf-belnr) which will concatenate the MM document number MKPF-MBLNR and MKPF_MJAHR. The sequencing shall be number 1.
    You may use this code below and paste also (this needs authorization as well)
    data: zzawkey like bkpf-awkey.
    clear: zawkey, zzawkey.
    concatenate mkpf-mblnr mkpf-mjahr into zzawkey.
    zawkey = zzawkey.
    Add another field called ACCDOCNO (accounting documnet number) with sequencing number 2 with following code.
    data: zaccdocno like bkpf-belnr..
    clear: zaccdocno, accdocno.
    select belnr from bkpf into zaccdocno where
      bukrs = ccode and
      GJAHR = MKPF-MJAHR and
      awkey = zawkey.
    endselect.
    accdocno = zaccdocno.
    Step 3
    Include the additional fields  into the field group.
    Step 4
    Click on the selection tab and create a parameter called ccode with a description Company Code and  against
    LIKE    BKPF-BUKRS 
    Extras  OBLIGATORY 
    Step 5
    Click on the selection tab and create a seelction criteria pdate with a description Posting Date for the field MKPF-BUDAT
    Extras  OBLIGATORY 
    Step 6
    Save, Generate and assign the infoset to a user group.
    Step 6
    Create a SQ01 query under the usergroup with all the fields in the infoset. and Execute. Enter a company code and one date of a working day where you expect material transactions.
    The result will be all the material documents and their corresponding accounting documents, if available. If you want to see only those material document that do not have corrsponding accounting documnet, then while you are in the selection screen say accounting document number is not equal to blank.

  • Material document number or delviery document Number in RG 1 Register

    Hi
    When i am extracting the RG1 register, the system is not capturing  the serial no. for the line Item and there is no reference of any document in RG1, Is there any possiblitity of adding any refernce of delivery document or billing document number
    How to add serial no. and material document number of the delivery made and number in RG1 register
    Suresh

    Dear ,
    You can get the material documents number after carrying out CO11N .Documents number gets generated once you have complted the Auto GR through CO11N.Either you can goto  CO14  or choose Diplay mode -Hit Goods Movement Tab -Select the Good movement overview Line item -Goto enviornment -Diplay Order -Goto Documents Goods Movement (at Order Header ) -Select the Lay out (Total Compoenet List ) , it will diplay both the Documents Number (101 as well as 261) .
    Otherwise , from the same menu ,  you can also select the Enviornemnt - Display Stock -High light the Stock -Select Display Materials Movement from Enviornement .
    However , you can get the collective list from COOIS /COHV/CO46 /MB25 .
    Try and check
    Regards
    JH

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

  • Display of FI document numbe and material document number

    Hi,
    I want to display both the material document number ( RBKP ) and the acccounting document number ( BSET ) together while posting the Invoice using MIRO transaction.
    Pl provide with your valuable suggestions.
    Regards,
    R. Dillibabu.

    Hi Arif,
    We wanted to generate a number during invoice verification based upon the order type of the PO, As you know it is not possible to generate a order specific material document number but it is possible to generate a order specific accounting document number provided we can select RE or ZE while processing invoice verification.
    This accounting document number will be considered as a claim number for one of the customized business process ( Warranty Claim process ).
    The user has to record the claim number on a daily basis. Currently it is being done by passig the RBKP-BELNR to the BKPF to get the accounting document number ( BELNR ) which is quite tedious.
    Hope the business functionality is quite clear now.
    Regards,
    R. Dillibabu.

  • Not able to see backend material document number in SUS

    Hi,
    A GR is created in ECC. It is avaiable for disply in the supplier's login.  We are able to achieve this.
    The question is "We are not able to see backend (ECC) material document number anywhere on the screen. We are only able to see the SUS Confirmation number (i.e. as per the number range assigned to BUS2233). Is it standard behavior?
    Details: SRM7.0 SP07, ECC Ehp4, Using MM-SUS. Plan driven procurement.
    Ganapathi

    Dear Manjunath,
    Thanks for the response.
    We have noticed that, the back end (ECC) material documents are getting replicated to SUS as we are able to see this number in BBP_PD &  BBP_PDBEH-BE_OBJECT_ID.
    So, let me put the question this way.
    Our issue is with display of document in the portal (BSP Pages).
    For Example, in case of Invoice, the supplier can see the back end MIRO invoice document number with the "External Reference" Label, under Basic Data section. The case is NOT same with GR. The back end (ECC) material document number is NOT seen any of the layout (for end user, who has logged in as supplier).
    Is it standard behavior? If we want that, the suppliers should be able to see the material document number in the portal, when a GR is created in ECC, what settings we have to do?
    Ganapathi

  • Need material document number

    Dear all,
        I have an issue.  Inorder resolve it i need run a run aset up in OL1BW using the material document number.
    I have the process order, period, plant and material, but i need to find the corresponding material document number. Can anyone help me how to proceed further?
    The datasource is 2lis_03_BF.
    Pls also diferntiate between material and materail document number.
    Thanks..
    Regards
    Santhosh Kumar N

    The source for 2LIS_03_BF, as Arun pointed out, are R3/ECC tables MSEG and MKPF.
    Material - Refers to the material number, or part number, that is being managed. Typically, the material on an R3/ECC system is an 18-byte generated number to identify it to the system and has an industry accepted part number (Manufacturer Part Number) as a conversion exit so that you can enter either on R3/ECC and get the correct material number.
    Material Document - Refers to the internal document used for tracking the movement of a material. Examples of material movements would be goods receipts and goods issues. MKPF is the Material Document header table and MSEG has the Material Document line items.
    To find the Material Documents, you're going to have to query the MKPF table in your R3/ECC environment to get the document ranges needed for the setup jobs that you plan on executing.

Maybe you are looking for

  • In Web UI, the top part (frame) is not displaying

    Hello Everyone, After I log into Web UI, but I'm getting error message in top frame of web page saying: An error occurred during initialization of the application An exception occurred during the internal HTTP communicationException Class CX_BSP_WD_H

  • HP Laserjet 4V/MV doesn't work in Snow Leopard

    I ran software update which installed new drivers for HP and Epson with OS 10.6.1, but my HP 4MV (on my network) still doesn't work (was always automatically recognized before). I've spent 2 days trying everything to get this working. If someone at H

  • Why are songs from certain iTunes playlists not syncing correctly on my iPhone 4S or iPad?

    Songs in my playlists within iTunes do not appear within the playlists on both my iPhone 4S or iPad when I sync these devices to my computer... Anyone have an idea for how to remedy this problem?

  • Export and email pdf script

    I am using a script that creates an email version pdf. Does anyone know a way to then put that PDF into an email straightaway. or at the very least open the var myfolder //Exports current document to email version PDF if(app.documents.length != 0){ i

  • Applet checking if file exist and if no copy this file

    Halo, everyone, I'm new to java and I need an applet which is able to check if certain file exist on user's hard drive and if not to copy it. I read that this is possible in certain circumstances, that applet has to be trustes and so on, but that's n