Get the PO # wrt the material document #

Hi All,
I need to populate the PO # and PO item # in the Accounting document items while doing the MRKO (Consignment and pipeline settlement). For this i am using the user exit 'ZXM08U11'. But in the user exit i am not able to get the PO# and PO Item # wrt the material document.
Please suggest how to fetch the PO# wrt the material docuement # which i can populate the same in BSEG table.
Let me know if there is any alternate solution to find the same.
Thanks,
Santosh

>
kiran dasari wrote:
> Hi Vijay,
>
> Look at VBFA. This is sales flow table. You Input the preceeding document and item number and get the subsequent document and item numbers.
>
> Hope this helps.
>
> Thanks
> Kiran
Have you read the question before answering ? Question is for MM document and you are telling Sales scenario. This is what we call SPAMMING the forum.
Regards
Karthik D

Similar Messages

  • Finding the idoc number for material document

    Hi,
    I have a material document which was created by an idoc. How do I know the idoc number that has created this material doc?
    We have lots of idocs coming from external systems which do GI, GR, transfer postings etc. With the material document , not able to trace which idoc created it.
    Regards

    Hi Ramees,
    "Refer the Tables MKPF / MSEG inorder to get the IDOC no's for Material Docs. "
    But how can it be found for Transfer posting documents where no PO history exist !!
    Alex.

  • Copying the VPRS from PGI material document to Billing

    Hi ,
    We have a requirement to copy the cost price VPRS from PGI - Accounting document to the Billing
    I explored some configuration in copy controls by putting the Price source as E which will copy the cost price from the PGI to the Billing
    But i found that it will do only when the Material price control in the Material master is V and not for S ( not sure there may be other settings also)
    The scenario is , Order will be created ( lets say) in May and the dellivery is done in June
    Mean while at the end of May the cost price will change only for the sales order in MR21 as Special sales order ( only for the order) and PGI is done in subsequent month
    In the next month the price will effect the PGI and when i do the billing, the cost price is fetching from the Sales document and not from the PGI
    Hope i am clear in explaining the requirement
    Please let me know if there is any standard configuration available
    regards,
    santosh

    Hi,
    Hi in copy control delivery to billing at item level
    Maintain PRICING TYPE - N (Transfer pricing components unchanged, NEW COST)
    kapil

  • Where to change the cost center in material document?

    Hi everyone,
    I have a problem. Last month, I've created a new business area, with its own division and cost center.
    In the test client, the whole process of creating requisition, PO, goods receive, cancel goods receive (return to vendor), create sales order, delivery and goods issue went well.
    But, today, when one of my users tried to cancel goods receive (movement type 102), the following error message was displayed:
    KMXX/KM11 CTR belong to business area M110 not M140.
    Since the PO was created for a stock item, there is no account assignment, so I am wondering if I have missed out something in configuration, especially in defining account assignment for automatic posting? Can anyone help?
    Thank you very much.
    Anisah

    HI,
    There should have been some changes done in the system after thr initial docs were created.
    Please ensure that the said cost centre of interest is assigned to the appropriate Business area.
    The error seems to be an invalid combination of the Business area to the cost centre.
    If not then please maintain the same.
    Hope this helps.
    Regards,
    Prasanna
    Award pls if helpful.

  • Report to get correct posting date of material document?

    I have material number (matnr) and plant (werks). Which report do I use to get posting date of material document (mkpf-budat) ? Thanks!

    Hi,
    Use MB51 or MB5B as per your convenience.U will get the Matl Doc,Mov Type & Posting Date.
    Award points if helpful
    Thanks & Regards
    Saeed Arif

  • Tax not appearing in accounting doc wrt a material document

    Hi All,
    In one material doc's accounting doc, tax lines are not appearing. I wanted to know how the system picks up the tax code for a material doc posting. Here the posting is an inventory posting.
    Regards
    Rudra

    Basically there has been no tax calculation for an Accounting doc .User wants to know why so?
    He is telling why the tax lines are not appearing. As stated above, its a material doc which when posted,
    generated the stated accounting doc.The movt type is 702.
    Please let me know why there has been no tax line items in the accounting doc.

  • How to get the number of Item in Material Document?

    Hi all.
    I'm using the BAPI_GOODSMVT_CREATE, and want to get the Item number in Material Document of every entry in the internal table. How can I do that?
    Thanks in advance.

    Hi YiNing
    You can use this code after calling BAPI.
          SELECT SINGLE mblnr
           INTO CORRESPONDING FIELDS OF wa_mkpf
           FROM mkpf
           WHERE mblnr = p_mblnr.
          IF sy-subrc EQ 0.
            EXIT.
          ELSE.
            CALL FUNCTION 'RZL_SLEEP'
              EXPORTING
                seconds        = 2
              EXCEPTIONS
                argument_error = 1
                OTHERS         = 2.
          ENDIF.
    *Check material document number is in table MKPF
      CHECK wa_mkpf-mblnr IS NOT INITIAL.
      REFRESH : i_mseg[],i_ser03[],i_objk[]..
      SELECT matnr charg vfdat erfmg erfme mblnr zeile
             INTO CORRESPONDING FIELDS OF TABLE i_mseg
             FROM mseg
             WHERE mblnr = wa_mkpf-mblnr.
    Here you will get  the item in material number (ZEILE).
    Regards,
    Mukesh Kumar

  • Error while cancelling the material document. MIGO

    i am getting following error while cancelling material document
    You cannot cancel GR, since inspection lot is already partly posted
    Message no. QA046
    Diagnosis
    You are attempting to reverse a goods receipt although quantity postings have already been made from the inspection lot. This means that stock for the goods receipt has already been transferred and, for this reason, a cancelation of the document is no longer possible.
    Procedure
    Ensure that the postings in QM (within the usage decision transactions) are carried out.

    hi,
    You can't do cancellation here just because you have given some lot/qty to QI:
    2 ways:
    1. Don't do cancellation, make returns for the rest of the qty...
    2. Take back the qty in the Unrestrcited stock back and then try to do cancellations...
    Regards
    Priyanka.P

  • 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

  • Reconciliation of material document wrt excise document created later.

    Hi All,
          My client use to sent material for subcontracting purpose to a vendor .The process cycle is like this .Create a subcontracting order then issue raw material to vendor using 541/MB1B .Then creation of challan J1IF01 wrt this GI document .Then goods receipt 101/MIGO.Then reconciliation of challan in J1IFQ wrt GR document .
            Now if we will follow the process everything is fine.
           But the problem is they have maintained a scheduling agreement for this subcontracting .They have been doing GI for last 4 months wrt this PO hence as many subcontracting challan and they have done several GR .But they have not done reconciliation for all the GR document .So now vendor stock at MBLB and J1IFR is not matching .
             Finally we found out the no of GRs which are not reconciled by tallying MB51 /vendor/543 to J1IFR .While we are trying to reconcile pending GR documents wrt current challan system is giving error  "Ëxcise document is posted later to material document 8I576 "
               How I will reconcile the challans wrt previuos GR documents .
    Regards
    Abhijit Das
    Edited by: ABHIJIT DAS on Sep 24, 2008 5:54 AM

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

  • Material document getting with mvt 552 during ticketing

    Hi,
    I am creating ticketing activities  for STO using movement scenario 16, with reference to the nomination i have posted two ticket documents, it had created the STO delivery in the back ground and material document also got created with movement type 641, When i create the final ticket , the final delivery is also created with corresponding material document. At this point of time , system is creating another material document with movement type 552. In the stock overview for the plant all the stock is reverted back.
    Any ide
    Issue is resolved.
    Message was edited by: Srinivas Josyula

    Hi Srinivas,
    Can you please elaborate the cause and resolution of the issue so that others benefit from your experience.
    Regards,

  • Error (Short Dump) while posting any Material document

    Hello All Experts,
    I am facing an error (short dump) while doing all material document related transactions (for example MIGO,MB1A etc) . I am getting the below message:-
    Short text of error message:
    Document number 1000 5000000000 2009 was already assigned
    Earlier, I had posted some material documents using the same transactions.
    Kindly help
    Regards,
    Atul

    Hi Atul,
    Please use T-code OMBT to check the number range status of material document. You can click on the 'Intervals' button to check the 'Current number', the last material document number the system was created so far. Try to change the 'Current number' to a number greater than 5000000001, save the change, and post material document again.
    Hope it can solve your issue.
    Cheers

  • Referance material document of 103 is not updating in 105 material document

    Dear All,
    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.
    What is the reason for Referance material document of 103 is not updating in 105 material document at item level in Purchase order Tab.
    Regards,
    Vinay

    Hi,
      I was faced this issue yesterday and finally find it caused by the check box ' Based-GR IV' in the PO.
    Twig Chan

  • Error in material document posting

    I am getting an error while posting goods receipt.
    Number range for trans. / event type WA in year 2007
    does not exist.
    I have defined the number ranges for accounting
    documents, for material and physical inventory
    documents and for reservations in inventory management
    and physical inventory documents. The group WA is
    attached to the group material documents for goods
    movement types and inventory differences.
    I have also used transaction OBH2 to copy the number
    ranges to the fiscal year 2007.
    Why am I still getting this error? Are there some
    settings I have not made?
    Please help me.
    Thanks,
    Ranganath Charyulu

    Hello Ranganath,
    Go to t-code OMBT
    - Click on Change Groups (F5)
    - select the check box wich includes WA (the Number Range Object Material document Grouping)
    - Click on Change (Pen)
    - Go to Edit -> Insert year
    - Give 2007 and give the new number ranges.
    Hope this will help.
    Regards
    Arif Mansuri

  • 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

Maybe you are looking for