SAP Material Document Sequence is Decreasing

Dear all,
My Name is Angga, and i have problem with the sequence of GR Doc and Invoice DOC.
When i execute MIGO_GR then i see on tab Purchase Order History , My SAP GR Document sequence is decreasing :
First i do MIGO_GR  with movement type 101 , and i continue to Reverse PO with movement type 102.
The result is :
MVT   |   Material                                 |
102     |   5000373982                         |
101     |   5000373996                         |
as you can see... the reverse po document is smaller than the create GR document...
why is that happen ? and how to solve it ?
Thank you for your kind answer..
regards,
Angga

>
Anggara Mahardika wrote:
> Dear all,
>
> My Name is Angga, and i have problem with the sequence of GR Doc and Invoice DOC.
> When i execute MIGO_GR then i see on tab Purchase Order History , My SAP GR Document sequence is decreasing :
>
> First i do MIGO_GR  with movement type 101 , and i continue to Reverse PO with movement type 102.
>
> The result is :
>
>
>  MVT   |   Material                                 |
> ---------------------------------------------------------
> 102     |   5000373982                         |
> 101     |   5000373996                         |
>
>
> as you can see... the reverse po document is smaller than the create GR document...
>
> why is that happen ? and how to solve it ?
>
> Thank you for your kind answer..
>
>
> regards,
> Angga
strange,
can you paste the below details from BSEG from 5000373982 to  5000373996  
MANDT   MBLNR      MJAHR

Similar Messages

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • Creation of Shipment Document after Saving the Material Document in SAP ETM

    Hi,
    The SAP ETM (Equipment Tools Management) is active in the system.
    As per the process flow We need to create a material document say with movement type 501.
    The moment we save this document the system should create the Shipmenty Document in ETM.
    The required BADI's and the function modules are activated and the required linkages are also activated.
    Still the system does not behave as desired.
    Regards,
    Jeetendra Kulkarni
    Cell No: 9324616023

    Hi, Jeetendra Kulkarni!
    Force the same problem.
    At my Business Workplace get an outbox massage "CEM MM Integration"
    At WF see that Creating CEM ship. doc. failure cause no agent defined.
    But I assigned the following tasks:
       a) Standard task 80000088 Create ETM ShipDoc from MM Doc. Dialog.
       b) Standard task 80000087 ETM ShipDoc GR Try Again?
    for myself as object type US.
    What's wrong?
    Did you resolve this problem?
    Thanks in advance

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

  • Sync of Material document and accounting document during MIGO

    Hi Friends,
    Can we synchronize the Document numbers between Material document (WE) for GR (101) and Accounting documents created for the MIGO transaction????
    We have 50 is assigned to WE. But, we have a gap in numbers of Material document number and Accounting document numbers??? though the document type WE is common for both.
    I have seen that "Buffer" is the culprit. But, not sure how to fix that.
    Appreciate your help in this regard.
    Dev.

    When the document type is same (WE) for both, how come the accounting doc has continuous numbers and Material doc has breaks ( from buffer)????
    document type WE is same for GR for material document and accounting docu but number range are stored diffrentely.
    OMBT is where u store the number range for material document
    and this number range is assigned to group of materia doc we wf wo ww
    OMBA is where u create diffrent number range for accounting document hear U assign WE to ur transaction code and in turn WE is assigned a number range what is created in OMBA, this number range is nothing to do with number range u have created in OMBT.
    when ever u post the docunemt in system
    SAp hav efixed the document type for GR that is WE
    it goes in OMBA in the group of Material documents for goods receipts
    check what is the year and number range assigned and current number so it assignes this number first
    than it go to OMBA  cheks what is the Tcode u are using and what is document type u have assigned to that tcode and it can be any WE or what ever u have assigned to that tcode
    taking that doc type it goes and see what Number range is assigned say 50 and then checks company code and year for this 50 and get the number for accounting doc
    so i think its is clear that material and account are 2 diffrent ranges
    skiping of numbers might be due to buffer
    also go throught following post it will be helpfull
    GR NO SEQUENCE - MISMATCH
    hope this helps

  • Delivery note VS material document

    Hi,
    is there any difference between both of them ?
    rgds

    Hi SAP LEARNER,
    I'm learning SAP too.
    In inventory management, if you execute a booking the system creates a material document.
    For instance if you receive goods against a PO a material document will be generated that contains several things: posting date. transaction code, material number, movement type, etc.
    If you book against a production order (confirmation) you also get a material document that contains the 'result' of your PrdOrd (FG, SFG; the material you've produced) and it contains the withdrawal of the components that you consumed during production.
    You can check material documents via MB03. I recommend you to try MB51 and you'll understand what naterial document is. (MB51 displays the ID of material document > clicking on it you enter the doc and you can examine it).
    When you create a delivery (VL01N) for e.g. a sales order it is possible to print a delivery note. You can send the delivery note via email or physically to your customer (in this case). Independently from SAP you can use delivery note in logistics processes.
    The above mentioned 'delivery doc' is an object in SAP, and you print some informatin from it onto a delivery note.
    It is similar to PO. Purchase order is an object in SAP but you can print out a 'PO'.
    (E.g. in case of MS Excel you can use 'page preview'. Your excel file is much more than this 'page preview' since it may contain formulas, macros, etc. Delivery doc is your 'excel file' and delivery note is your 'page preview'. )
    When you create a delivery document and execute post goods issue, the status of your delivery document will be changed. Due to the 'post goods issue' your stock will be decreased via movement type 601 (e.g.). A material document will be created about this action. Additionally, if you want you can print a delivery note and send it to your partner.
    BR
    Csaba

  • Need an IDOC EDI STEPS for material document(MB03)

    HI ALL,
    i need an IDOC for material document. For example, user in SAP make material document (t-code MIGO or MB11), then automatical is downloading outbound IDOC, which contain information about material document.HOW TO PROCESS IT THROUGH EDI .GIVE THE STEPS.

    like below you can do your settings
    The EDI Configuration required to be done for Transfering IDoc to non SAP System is.
    1. First of all, we need to identify the Transaction Data which is required to be Transfered to external System.(Ex: Sales Order Data or Shipment Data or Delivery Related Data).
    2. Secondly, Identify the IDoc Type & Message Type. IDoc Type can be found in Transaction WE30 & Message Type Can be explored in Transaction WE81.
    3. After that, assign the IDoc Type to Message Type in WE82.
    4. Identify the Selection Program (Outbound) which is generally a Function Module in the Form of IDOC_OUTPUT_<Message Type>. Example, if the Message Type is ORDERS, the FM will be IDOC_OUTPUT_ORDERS.
    5. Assign the Function Module to a Process Code in WE41 (Process Code for Outbound).
    6. Configure Port Definitions in WE21 for which the RFC destinations are to be maintained in Transaction SM59.
    7. Maintain Partner Profiles for the Outbound Message Processing in WE20.
    8. Last, but not the Least, we need to Focus Mainly on Message Control Configuration which is nothing but maintaining the Output Type for the Outbound IDoc to be Triggered for the Sales Order Application or Delivery Application.
    i. In Message Control Configuration, we'll maintain
    a. Condition Tables
    b. Access Sequences
    c. Output Types
    ii. To Create the above elements, we can go to SPRO Transaction and do the same depending on the Application Area such as Sales / Shipping / Logistics Execution etc.
    iii. For Output Types & Access Sequences, we can go to the Transaction NACE or VK01 in which we'll maintain the Output Types / Access Sequences & Condition Records.
    Please note that all the above steps may not be needed if we are using some of the Standard Elements provided by SAP such as Message Type, Process Code, IDoc Type & Selection Program as many of the Standard SAP Applications have their own Elements for different Application Areas.
    For example, if you want to send an Order Confirmation IDoc when the Sales Order is saved, you can use the Message Type ORDRSP, IDoc Type ORDERS05 & Selection Program as IDOC_OUTPUT_ORDRSP.
    However, Message Control Configuration is the Key Factor and is required for all the Applications as per the Customer's / Client's Requirements.

  • BAPI_GOODSMVT_CREATE - Error while posting a Material Document

    Hi Experts,
    We are  trying to do the material document posting using the transaction "MB1C" manually in SAP. The movement type which we are using for the same is "261".  While doing this is, it is asking for a work order number and the Recipient number. We gave the Recipient Number as "123". Material document is created successfully.
    Again using the same transaction  "MB1C" , we are trying to do the reversal of the material document which we posted previously against another work order number for the same material and the serial number if the material is serialised and as well as for the non serialised material.
    Both this case, in SAP the material document is created succesfully. This is done manually in SAP.
    When we are trying to create the material document using the BAPI 'BAPI_GOODSMVT_CREATE', for the above scenario, posting the material document '261' movement type for one work order and the reversal for another work order '262' movement type for the same material (whether it is a serialised or non serialised) we are getting the eror as "RE Qty. transferred exceeded 1 PC: 50,003,695 C001 USED 1200".
    We are passing the following at the item level. MATERIAL Number, Plant, STGE_LOC, ENTRY_QNT, MOVE_TYPE, BATCH, ORDERID, RESERV_NO,  RES_ITEM, ACTIVITY, XSTOB for reversal.
    We are passing the GM_CODE as '05'.
    Please let us know what needs to be changed inorder to create the material document properly without getting errors.
    Thanks in Advance,
    Mohan.

    Hi,
    We fixed this issue by removing the reservation number of the material when we are trying to post the material document with the movement type "262".
    The reason for removing the reservation number for the movement type "262"
    The reservation number is getting created against a work order when we trying to create the work order in IW32. This reservation number is used for validating the stock while we are trying to consume and doing the reversal.
    SAP is allowing us to reverse the consumed quantities only based on the reservartion number and hence we got this error.
    To fix this error, if we are trying to reverse a particular material against a different work order for which it has been consumed previiously, remove the reservation number and item number and try posting the material document.
    Hope this solution will solve your issue:)
    Thanks and Regards,
    Mohan.

  • Creation of Material Documents With Mvt Type

    On Performing Post Goods Issue (PGI) in one Plant in case of Plant to Plant Dispatches, there should be Inbound delivery created for already created Purchase Order (PO). In addition after creation of inbound delivery, there should be material document created with 103 movement. This Material document is triggered when the inbound delivery is saved. Once Warehouse processes are finished, then Post Goods Receipt (PGR) happens, so 101 Movement Type happens for Purchase Order. PGR document should trigger one more material document with 104 movements; this document is reversal for material document with 103 movement type.
    can any one suggest to enhance SAP for this?
    Moderator message : Requirements dumping is not allowed, show the work you have already done. Thread locked.
    Edited by: Vinod Kumar on Oct 21, 2011 5:18 PM

    Hi Nitin,
    Before creating the Service type of product, you have to define the Base category for Service type product. Generally the category for service will be created under the R3 hierarchy R3PRODSTYPE. You can create this category using the TCode:
    COMM_HIERARCHY. Here you have to select the product type as Service and have to assign the set types to the category.
    You can create a service product using the transaction : COMMPR01 -> Click on Service ICON -> Select the Category for Service Type. Then fill in the details for Service Product description, Service ID(Based on number range settings for products), Language.
    Also fill other details like Base Unit of measure, Pricing condition for different sales areas for the service product.
    Since you are using CRM7.0, you can do all these activities using a POWER USER role.
    For more information about Set types and hierarchies please refer the following help link:
    http://help.sap.com/saphelp_crm70/helpdata/EN/46/57672501a208e7e10000000a114a6b/frameset.htm
    Hope this helps!
    Regards,
    Chethan

  • STO - Excise tab not getting displayed in material document after posting.

    Dear all,
    We are facing an STO issue where in after we have done the receipt at the receiving plant with excise, the excise tab does not display in the GR material document.
    It is plant to plant stock transfer with excise, the process that we are following as given below:
    1) STO PO - ME21N
    2) Outbound delivery - VL10B - Post PGI in VL02N
    3) Outgoing excise invoice - J1IIN  - With the key DLFC.
    4) GR - MIGO with excise invoice capture.
    During GR posting in MIGO screen the system does display the excise tab, we enter the outgoing excise number and the corresponding values appear in BED, ECS and HCES. We post the GR material document.
    But after posting the material document if we display the same GR material document it does not show the excise invoice tab. And since we are not having part 1 entry number we are not able to post the part 2 entry in J1IEX.
    Request to please do let us know if we have missed out on any configuration or master data.
    Regards,
    mahesh.

    Hi,
    Do the all customization setting for CIN for reference check the following link for India. and Material management
    http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
    You have to maintain Excise master data for material,vendor and PLant in J1ID .
    reward if helpful,

  • PO number in MB1B - 541 material document

    Hello,
    We have a subcon PO and we reference it and transfer stock to stock with subcontractor ie: movement 541. using Tcode MB1B. However when we view the material document the column for PO is blank. We would like to populate the column with PO number that was referenced during MB1B
    Any suggestions to address this issue.
    Thank you.
    SDatar

    Hi,
    We use subcontracting in our business and had the same issue. We raised a SAP Support call to and the answer was when transferring goods to the vendor using MB1B or ME2O there is no reference to the PO in the material document number. When issuing goods to the Venndor you can enter PO number and it reads the quantities from there but when the movement takes place there is no reference to PO whatsoever.
    If you want this information you prob need a user exit developed.
    Please award points if helpful.
    Kind Regards.
    Adeel Sarwar

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

  • Please provide logic for schedule lines and material document Quantity.

    Hi ABAPers,
    Please help in the following context.
    Is there any connecting or refrence field for which a particular schedule line item are considerd for the goods reciept of a particular material document.
    Also provide the logic.
    19                    34
    15
    14                   35
    11
    10
    If 19 15 14 11 10 are schedule lines, and 34 35 are two recived quantities,
    Then how can be the possible permutations and combinations logic to find out that, 34 = 19 + 15 and
           35 = 141110.
    Thanks in advance...

    Niles Raut wrote:
    Hello Gurus,
    >
    > This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008.  Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
    >
    > When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
    >
    > Is there any sap notes or any other way to fix this?
    >
    > Please guide.
    >
    > Regards
    > Nilesh
    Where is actually the problem, if one only reversed 0 quantity?
    Why do you think you need to reverse this reversal again?
    why with year 2010?
    Dont you do anual inventories?  Such stock counts have corrected your stock anyway. if you start cancelling older movements then you create stock inconsistencies again.

  • Excise duty for some line item of material document is not posted

    Dear CIN Exerts,
    In my Scenario user is Posting Excise invoice for every GR (105) by J1IEX to generate Excise invoice.
    In some Past cases, if there are more then one line item in a GR then Excise value for some material is not showing (May be that time user not Did J1ID (Excise rate maintenance ).
    Now the problem is that we wants to post excise Duty for those material WRT  material document for whom it was not posted.
    Please let me know that how can we do so (excise posting against Material document) so that it get reflected (for those line items for which Excise deuty is not posted)   in MIGO > Document Display> Excise items tab .
    Regards,
    Ashutosh

    Excise posting is not recommended by sap for movements 103 or 105.
    Refer or search for SAP notes with subject CIN Limited functionalities.

  • Capture Excise Invoice for material document created against a PGR

    Hi SD Gurus,
    We have a scenario of reverse subcontracting where we have to receive raw material from vendor, process it and then dispatch the finished goods to the vendor or the vendor's customer.
    For receiving the raw materials, i have created a document type which is copied from standard RE type. Against this order, a returns delivery is created which is then PGR-ed. With reference to the previous document, a service order is created in SD, which is then billed.
    But i am facing a problem when i tried to capture the incoming excise invoice for the raw materials. When i tried to capture the excise against the material document generated for PGR, the system is throwing a error, that it cannot capture the excise for this materia document type.
    I would be greatly obliged if anyone can throw some light on this. Do i need to maintain any special configuration for this? Why is SAP not allowing it? How this can be done?
    With Regards,
    Arindam Datta.

    Dear Arun R,
    You Kindly go to the following path and maintain your movement type over their and do the MIGO.I am very sure at the time ot migo excise tab will come for part-1 updation and subsequently you capture part-2 on J1IEX.
    SPRO->LG->Tax on Goods Movemet->India->Business Transactions->Incoming Excise Invoice->Specify which movement type involve excise Invoices.
    Hope this will help you out.
    Regards
    AKS

Maybe you are looking for

  • My Itunes no longer plays songs or videos, how do I fix it?

    My Itunes no longer plays songs or videos. When I click on a song it it brings the song up into the window at the top of Itunes but it just stays on 0 sec and doesn't ever start. Videos do the same thing: the video box comes up but then doesn't do an

  • SQL Developer export files not visible

    Hi All, I've started using SQL Developer recently and I am completely new to this tool. I've noticed a weird problem. All the export files and the folders I create from SQL Developer is not visible from the normal windows. Say I've executed a query a

  • Can I use two RS-485 cards over one bus?

    I have two PC's with a PCI-485 card each, controlling several FieldPoint modules. I want to implement some sort of redundancy where the inactive PC takes over the RS-485 if the active server fails. When connecting the RS-485 line in parallel, I get a

  • Can i publish an iWeb website to any host?

    I want to use iWeb to build a website but i don't use mobile me. I have a domain name with 1&1 and I have all the relevant ftp information but i can't see how you can publish a site made in iWeb unless it's through mobile me. So does anyone know how

  • Doubt regarding No. of elements at a particular level of a dimension

    Hi, What does the No. of elements at a particular level of a dimension indicate?How do you calculate it? Suppose we have 10 years data and the time dimesion levels goes as Year----Quarter----Month----Date what would be the no of elemets at each level