Material document display with ordering address

Hello all,
When we create a purchase order and do not order from the "main" (VN) vendor but from an ordering address (OA), and post the goods receipt (101) against this PO, then the material document records only the VN number and not the ordered from number. 
Is there a list/display that shows all material documents for an order from address versus the vendor address?
Thanks,
Annabelle R.

Thank you very much.
In addition, as per SAP Library:
Purchasing > Master Records from the Purchasing View > Vendor Master Data > Partner Roles in Purchasing:
"In the Logistics Information System (LIS) and in the Business Information Warehouse (SAP BW), you can only run analyses for vendors. You cannot run analyses for any of the other partner roles supplied in the standard system."

Similar Messages

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

  • BAPI for material documents by production order

    I'm looking for a BAPI that will provide the list of material documents for a given production order. This is similiar to the functionality provided by the COOIS transaction using: "Documented Goods Movements" as the list type. I've looked at BAPI_GOODSMVT_GETITEMS. However this BAPI does not contain a method to select by production order.
    Message was edited by:
            Glenn Doherty

    HI
        Check this link it wuld be helpful to you
    'BAPI_ALM_ORDER_MAINTAIN' for change in service order.

  • Material documents display

    How can we display several material documents on a single screen, may be in a tabular form.
    Regards
    VS

    Hi
    Use MB51 (Material Document list). After displaying the list of material documents, go to --> detail list. You will get list in tabular form.
    If you want modify columns, go to Settings --> Lay out --> Current
    You can choose whatever you want to display in tabular form.
    hope it helps.
    regards
    Srinivas

  • Unique record to display, with ORDER BY

    Table order
    Order_Number, Cust_Name
    222, XYZ
    223, XYZ
    224, ABC
    Table Product
    Order_Number, p_name
    222, p1
    222, p2
    222, p3
    223, p1
    223, p4
    here i need to display only 2 records (1 record for one order number) but with ORDER BY as below
    SELECT Order_Number, Cust_Name
    FROM order o
    INNER JOIN Product p ON (o.Order_Number = p.Order_Number)
    WHERE o.Cust_Name = 'XYZ'
    ORDER BY p_name;
    1) If i put DISTINCT, below error
    SQL Error: ORA-01791: not a SELECTed expression
    01791. 00000 - "not a SELECTed expression"
    2) If i put GROUP BY, below error
    SQL Error: ORA-00979: not a GROUP BY expression
    00979. 00000 - "not a GROUP BY expression"
    please help me to form the query

    Try this
    select o.order_number, o.cust_name
      from (
    select o.*,p.*, row_number() over(partition by o.order_number order by p.p_name)
      from order o
      join product p
        on o.order_number = p.order_number
    where o.cust_name = 'XYZ'
    where rno = 1

  • Two material document posted with reservation

    Hi,
    can any one help to know do any note is avaliable to fix an issue, system is allowing to make two material document with one reservation if we have two simultanious session one for that reservation.
    eg. resrvation no. 1111111 For 100 KG of Mat XXXX
    so mat doc 22222 and 33333 got posted with 100 KG using same reservation
    can any one help on this
    Any Updates
    Thanks
    Test
    Edited by: Test on Feb 23, 2010 9:16 AM

    Hi,
    Is there any split valution for that material.have you checked with the document no ranges in OMBT.
    Thanks & Regard's

  • Material Inquiry display with maximum informations/ DBM

    Kindly let me know if DBM can provide all the following informations at Material Inquiry level.
    At MMBE ( Stock overview level) , only a few of the informations listed are available.
    Parts Enquiry level display
               Part Number- Part Description- Manufacturer- Model- Main Group-Sub Group
               ABC Code - Hazardous Nature Definition- UOM, Creation Date
               Sale Price- Last Issues /sale price
               Ordered Qty- Shipped Qty- Last Receipt Date- Back ordered Qty- supplier
               Superseded from- Superseded by- Alternate number - Exchange Parts-
               Multiple Location Codes,
               conf. Stock- Un conf. Receipt- Unconfirmed issues-Reserved Stock-
               Available Stock-Free Stock
               Monthly Movement, Last 1-_________Sales history
    Thanks & Regards
    Babu

    Check the step-by-step guide at http://www.scribd.com/doc/7071503/SAP-Query-Step-by-Step-Guide-12Aug2008 and write SAP query to achieve what you want

  • Material Cost display on Order

    I have created a value category Z1 - Material and assigned a cost element. Then In the maintenance order I have selected a material in component tab. The material has same cost element that is assigned to value category Z1. But cost of material is still not appearing. Moving avarage price is appearing in the purchasing data. Which setting is still remaining?
    Regards,
    VM

    Objective is to have planned and actual cost display of material and exrternal services on the maintenance order :-
    I am writing the setting which I have done so far:
    1. Define value categories Z1 and Z2. Z1= Material and Z2=External Services.
    2. Assignment of cost element on value category. Z1= say '1234' and Z2= say '5678' these cost elements I have received from CO.
    3. Material and services which I am selecting on the PM order have the same cost elements as assigned in cost elements.
    4. Now define new cost variant ZPMO for PM orders.
    5. Define new valuation variant 016.
    6. In this valuation variant setting will be like this:
        a. Material tab - Strategy sequence should be like this, 1. value price according to price control in mat.
                                                                                    2. MAV
                                                                                    3. Standard price.
        b. Activity type- Strategy sequence should be like this,  1. Plan price for the period
           CO version plan/activity - 0
        c. External processing - net quotation price
    7. Costing parameters are assigned to PM orders.
    After these settings I am creating PM order. External Service's planned cost is displaying on the order but material cost is not displaying.
    I have checked the CONTROL tab cost variant ZPMO is assigned there in Costing variant for planned costs
    as well as actual cost. RA key(000001) is also displaying.
    Still some setting is remaining. I think it may be something very basic. Can any body tell me about it ?
    Regards,
    VM

  • No material document created with BAPI_GOODSMVT_CREATE

    Hi all,
    I try to perform an IM transfer with 323 movement from BAPI_GOODSMVT_CREATE.
    It works with IM to IM storage location.
    It doesn't work when IM target storage location is connected to WM warehouse number and schould create an inbound delivery :
    the return code from the bapi is 0, there is no message in return table and no document number generated.
    (same data in MB1B works witout any problem)
    can you help me please ?

    thanks for your answers !
    I already try to find an OSS note (213 notes about this BAPI)...
    the call to the bapi is not performed directly, i use an intermediate storage in a table "ZGOODSMVT" which i use for other movements without any problem (same fields than BAPI parameters).
    (the 323 works when IM destination storage location is not connected to WM warehouse number).
    here is the code from first prog :
    form mvt_323.
    clear zgoodsmvt.
    zgoodsmvt-ref_doc_yr = mkpf-budat(4).
    zgoodsmvt-ref_doc = mkpf-mblnr.
    zgoodsmvt-ref_doc_it = mseg-zeile.
    zgoodsmvt-nseq = 0.
    zgoodsmvt-pstng_date = mkpf-budat.
    zgoodsmvt-doc_date = mkpf-budat.
    zgoodsmvt-ref_doc_no = mkpf-mblnr.
    zgoodsmvt-header_txt = 'Transfert automatique'.
    zgoodsmvt-gm_code = '04'. " Transfert
    zgoodsmvt-material = mseg-matnr.
    zgoodsmvt-plant = mseg-werks.
    zgoodsmvt-stge_loc = mseg-lgort.
    zgoodsmvt-batch = mseg-charg.
    zgoodsmvt-move_type = '323'.
    zgoodsmvt-entry_qnt = mseg-erfmg.
    zgoodsmvt-entry_uom = mseg-erfme.
    zgoodsmvt-item_text = 'Transfert automatique'.
    zgoodsmvt-move_plant = mseg-werks.
    zgoodsmvt-move_stloc = 'BVSG'.
    zgoodsmvt-batch = mseg-charg.
    zgoodsmvt-udate = sy-datum.
    zgoodsmvt-uname = sy-uname.
    zgoodsmvt-utime = sy-uzeit.
    INSERT zgoodsmvt.
    IF sy-subrc ne 0.
    retco = sy-subrc.
    EXIT.
    ENDIF.
    endform.
    here is the code from second prog :
      SELECT * FROM zgoodsmvt APPENDING CORRESPONDING FIELDS OF TABLE t
                              WHERE type NE 'S'.
      LOOP AT t.
        CLEAR  : ti, tr, ir.
        REFRESH: ti, tr.
        FREE   : ti, tr.
        MOVE-CORRESPONDING: t TO w_goodsmvt_header, t TO w_goodsmvt_code.
        MOVE-CORRESPONDING: t TO ti, t TO ir.
        APPEND ti. " item
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            goodsmvt_header             = w_goodsmvt_header
            goodsmvt_code               = w_goodsmvt_code
            testrun                     = ptestrun
        IMPORTING
            GOODSMVT_HEADRET            =
            materialdocument            = w_materialdocument
            matdocumentyear             = w_matdocumentyear
          TABLES
            goodsmvt_item               = ti
            GOODSMVT_SERIALNUMBER       =
            return                      = tr.
        IF sy-subrc NE 0. " tjr à 0, les erreurs sont ds TR
          WRITE:/ text-250, sy-subrc.
        ENDIF.
    Thank you for your help,
    regards
    Eric

  • Change Documents display with BDT enhancement

    Dear all,
    I have come across below statement while reading SAP help about BDTs
    The BDT offers the display of change documents as a generic service. All application objects and their applications can take advantage of this service through events CHGD1, CHGD2, CHGD3 and CHGD4.
    Please guide me how to implement the change document functionality for BDT screen.
    Thanks and Regards,
    Chandra Madapati
    Removed code tags
    Edited by: Rob Burbank on Dec 7, 2011 9:29 AM

    Hello,
    this article is used for Contract Account, but it is similar.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70d0507d-c39d-2b10-a18d-f559293a75ed?QuickLink=index&overridelayout=true]
    br dez

  • 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

  • Material document & Accounting document

    Hi Friends,
    Please explain me difference between Material document & Accounting document.
    Vipul.

    Hi Vipul,
    Material document
    In the Inventory Management system, when a goods movement is posted, a material document is generated that serves as proof of the movement and as a source of information for any applications that follow.
    A material document consists of a header and at least one item. The header contains general data about the movement (for example, its date). Each item describes one movement.
    Accounting document
    If the movement is relevant for Financial Accounting (that is, if it leads to an update of the G/L accounts), an accounting document is created parallel to the material document.
    In some cases, several accounting documents are created for a single material document. This might be the case, for example, if you have two material document items with different plants that belong to different company codes.
    The G/L accounts involved in a goods movement are updated through an automatic account assignment.
    For goods receipts for purchase orders, goods movements for stock transport orders and consignment withdrawals, business partners may have different local currencies. Therefore, as well as the local currency, the accounting document must also contain another currency for processing and postings. For this purpose, accounting documents created as a result of these goods movements will automatically be managed in the local currency and in the document currency. You can switch between both currencies by choosing Settings ® Currency display.
    Regards,
    Raja.

  • Performance issue while selecting material documents MKPF & MSEG

    Hello,
    I'm facing performance issues in production while selecting Material documents for Sales order and item based on the Sales order Stock.
    Here is the query :
    I'm first selecting data from ebew table which is the Sales order Stock table then this query.
        IF ibew[] IS NOT INITIAL AND ignore_material_documents IS INITIAL.
    *     Select the Material documents created for the the sales orders.
          SELECT mkpf~mblnr mkpf~budat
                 mseg~matnr mseg~mat_kdauf mseg~mat_kdpos mseg~shkzg
                 mseg~dmbtr mseg~menge
           INTO  CORRESPONDING FIELDS OF TABLE i_mseg
           FROM  mkpf INNER JOIN mseg
           ON    mkpf~mandt = mseg~mandt
           AND   mkpf~mblnr = mseg~mblnr
           AND   mkpf~mjahr = mseg~mjahr
           FOR   ALL entries IN ibew
           WHERE mseg~matnr      = ibew-matnr
           AND   mseg~werks         = ibew-bwkey
           AND   mseg~mat_kdauf   = ibew-vbeln
           AND   mseg~mat_kdpos  = ibew-posnr.
          SORT i_mseg BY mat_kdauf ASCENDING
                         mat_kdpos ASCENDING
                         budat     DESCENDING.
        ENDIF.
    I need to select the material documents because the end users want to see the stock as on certain date for the sales orders and only material document lines can give this information. Also EBEW table gives Stock only for current date.
    For Example :
    If the report was run for Stock date 30th Sept 2008, but  on the 5th Oct 2008, then I need to consider the goods movements after 30th Sept and add if stock was issued or subtract if stock was added.
    I know there is an Index MSEG~M in database system on mseg, however I don't know the Storage location LGORT and Movement types BWART that should be considered, so I tried to use all the Storage locations and Movement types available in the system, but this caused the query to run even slower than before.
    I could create an index for the fields mentioned in where clause , but it would be an overhead anyways.
    Your help will be appreciated. Thanks in advance
    regards,
    Advait

    Hi Thomas,
    Thanks for your reply. the performance of the query has significantly improved than before after switching the join from mseg join mkpf.
    Actually, I even tried without join and looped using field symbols ,this is working slightly faster than the switched join.
    Here are the result ,  tried with 371 records as our sandbox doesn't have too many entries unfortunately ,
    Results before switching the join  146036 microseconds
    Results after swithing the join        38029 microseconds
    Results w/o join                           28068 microseconds for selection and 5725 microseconds for looping
    Thanks again.
    regards,
    Advait

  • Wrong exchange rates ...How to reverse the material document.

    Hello,
    I have an issue with Exchange  rates . By mistake we have entered wrong exchange rates in OB08 and created purchase order and done the goods receipt with wrong exchange rates after that we have corrected the  same in OB08  later when we have done invoice receipt it has taken the new exchange rate which is correct.
    Now   i want to reverse the  invoice document & Material document  . When i have reverse the invoice document  it has taken the new exchange rate.
    Whereas when i am doing  reversal  of  material document it not taking wrong exchange rate it is taking the present exchange rate.
    Please advice how i can reverse the material document exactly with  same exchange rates  as it done for GR or How i will settle this difference amount.
    Thanks.
    Ashok

    When i have reverse the invoice document it has taken the new exchange rate.
    Maintain  exchange rate in purchase order,Tick mark fixed,Reverse/Cancel invoice document it will reverse with p.o ex. rate.
    Please advice how i can reverse the material document exactly with same exchange rates as it done for GR
    Maintain desired exchange rate in OB08 for GR Posting date,Cancel material document
    Also check
    SAP Note 518114 - FAQ: Goods movements in foreign currency
    Edited by: Jeyakanthan A on May 3, 2010 4:52 PM

  • 542 Material document issue

    Dear all,
    We have sent material to another plant for placing stock using 57F4 challan,challan return date is about to expire soon,
    so we made 542 mvmt with reference to purchase order,material is brought back to orginal plant location,
    But problem here is purchase order number is not captured any where in material document,it is also not captured in MB51
    report,becoz we want to list out 542 material document for purchase orders,
    Why purchase order no. is not captured in material document/MB51 report
    eventhough we do 542 movment in MB1B with reference to purchase order ?
    Jeyakanthan

    Eventhough we make p.o field as required entry for 542 material document(MB1B,MBST),
    it will not be reflected in any reports by standard.
    Alternate solution will be to develop a customized z program to validate p.o number then only 542 movement to happen
    or
    else cancel material document with suitable reason for movement to track it in reports.

Maybe you are looking for