PR getting duplicated from Sale order

Dear Experts,
We have a schedule line category defined for drop shipment Z1 which is having provision of automatic PR creation when sale order is created and saved. I created a sale order with 2 line items and saved and PR too is created automatically upon saving. The problem is that the PR is having 3 lines items where as the sale order is having 2 line items. One line is getting duplicated. Pls tell me what could be possible reason for duplication.
regards,
Gopal

Hi Gopal ,
It cant be the case ,as the 100% the PR checks the Line items in the sales order.
so check the quantity in the sales order and the Qunatity in PR.
and check the item details-- Account assignment details of the PR.
Whether they belong to the same Sales order and the most important thing ..the same line item..
check the above you will have some clue..
Hope so it helps
Regards
Anjanna

Similar Messages

  • Price in invoice is not getting copied from Sales order

    Hi,
    In my case when i create a sales order...my VPRS condition is taking price 4.020,24 (@335.02/PC). When i create a Invoice it is coming with 4.020,22 value and .02 is coming in different condition type ZDIF ( Rounding diff) automatically. When i check my PGI accounting document there also price 4.020,22  hits the G/L account.
    Now able to understand why .02 value is going in the ZDIF condition ?
    Need help
    Regards
    Nitin

    Hi Nitin,
    Rounding condition is coming in picture because there will some difference in PR00 and VPRS.
    Generally VPRS is a statistical condition type and it is just used for viewing purpose not a part of calculation.
    So you can go to V/08, select your pricing procedure and then control data.
    In that find out VPRS condition type and click on statistical, then it wont come in calculation.
    If you want that this should be copied then you have to made changes in copy control.
    Go to VTFA if you are making billing document with reference to order document.
    Go to VTFL if you are making billing document with reference to delivery document.
    Select your combination of billing document and delivery document/order document.
    Then go to item level and select you item category and then click on detail
    In that you will find pricing type just change that pricing type to D.
    Now it will copy pricing as it is from sales order.
    Hope so it will solve your problem
    Regards
    Raj.

  • How to get PO from sales order item in CRM

    Hi,
    I am building a BI extractor which needs PO for a given complaint. I am able to get the sales order/item for a complaint using crm_order_read FM. Is there anyway to get the PO based on this SO-item. Are their tables that link these two.
    Thanks!

    Table CRMD_ORDERADM_I -> Give Item GUID in filed GUID and get the document header guid in field HEADER. Then use function module CRM_ORDER_READ and table ET_SALES to get the Sales Data for the right item. The PO you are interested in can be any of the fields related to PO in this set. Usually it is PO_NUMBER_UC.
    Alternately, if you want to use only the table reads use this.
    1. Table CRMD_LINK --> get the record with GUID = Item GUID and OBJTYPE_SET = 11 (for Sales Set)
    2. Table CRMD_SALES --> get the record with GUID = CRMD_LINK-GUID_SET
    Get your PO information from this Sales set record for your item. But since, PO is usually associated with the header, you can do the same as above but with the GUID = Header GUID in the CRMD_LINK table.

  • Get quotation from Sales Order?

    Hi,
    I have the following code and its taking a lot of time on the database. Could you help me fine tune this?
      SELECT k~vbeln      "Sales Document
             p~posnr      "Sales Document Item
             k~vkorg      "Sales Organization
             k~vkbur      "sales office
             k~vtweg      "Distribution Channel
             p~werks      "plant
             p~lgort      "storage location
             k~spart      "Division
             p~matnr      "Material Number
             p~vrkme      "unit of measure
             p~netwr      "net value
             p~waerk      "currency
             p~arktx      "Short Text for Sales Order Item
             p~kwmeng     "Target quantity in sales units
             p~pstyv      "Sales document item category
             a~kunnr      "Sold-to-To Party
             k~auart      "sales type               
             k~audat      "sales order doc. date    
             k~bstdk      "cust. PO date
             k~bstnk      "cust. PO no. (text)      
        INTO CORRESPONDING FIELDS OF TABLE gt_item
    *Sales Document: Header Data
        FROM vbak AS k
    *Sales Document: Item Data
        INNER JOIN vbap AS p
        ON pvbeln = kvbeln
    *Sales Document: Partner
        INNER JOIN vbpa AS a
        ON ( avbeln = kvbeln
         AND a~posnr = '000000'
         AND a~parvw = c_sold_to )
        WHERE k~vbeln IN s_vbeln
          AND k~auart IN s_auart
          AND k~erdat IN s_erdat
          AND k~vkorg IN s_vkorg
          AND k~vtweg IN s_vtweg
          AND k~spart IN s_spart
          AND k~vkbur IN s_vkbur
          AND p~lgort IN s_lgort
          AND a~kunnr IN s_kunnr.
    After selecting the sales data I need to check whether there exists any Quotation for the above SO's. I wrote the following code but its taking a hell lot of time bcoz im trying to find out a preceding document from subsequent document.
    SELECT VBELV
            POSNV
            VBELN
            POSNN
            VBTYP_N INTO TABLE GT_VBFA_B
                    FROM VBFA
                    FOR ALL ENTRIES IN GT_ITEM
                    WHERE VBELN = GT_ITEM-VBELN
                      AND POSNN = GT_ITEM-POSNR
                      AND VBTYP_V = C_QUOTATION.
    Any suggestions would be greatly appreciated.

    Hi karthik,
    I think why not have th first query as an inner join between vbak and vbap only usin all its primary keys and then use other query to select data from partner tablbe in other internal table and then read it into the final table with your required structure.
    This will help in having all required data faster because the vbpa's data will be on application server while you are readeing the sam for the final table and hence it will make the execution.
    I think this should work because with more inner joins the underlying database would have to run many queries to get the actual data from database , and everything else seems to be fine as you have used appropriate tables and appropriate keys in the select query , just try this option out.
    Thank You!
    Regards.
    Sunmit.

  • Automatic PR Creation from Sales order

    Hi All,
              This is with respect to PR creation from Sales order for 3rd party items.
    I am able to create PR from standard sales order and i dont have any issues with that.  I have used schedule line categories which is configured with Order type Z2, Item rel for dlvy checked and Acct assigment group as E.
    Now my question is , I want to copy partners from sales order to Purchas req. Currently some partners are getting transferred from Sales order to P.Req, But not all there in sales order. Where do we control the data that can be copied from Sales order to P. Req
    Thank you
    Kris

    Hi,
    Genrating PR, Mostely depends on shedule line,see which shedule line u r determining for HIGH LEVEL ITEM ,for that shedule line maintain setting is VOV6.
    kapil

  • PO Text copy from Sales Order to Purchase Order

    Dear friends,
    Hope everyone is doing fine.
    I have the following business requirement for two situations
    Scenario 1) Purchase Order text from the Sales order has to be copied to the purchase order. Here sales order is converted to purchase requisition, and later the requisition is converted to the purchase Order.
    The standard SAP config is working absolutely fine for this.
    Scenario 2) Purchase Order text from the Sales Order has to be copied ot the purchase order. Here sales order is converted into a planned order, planned order is converted into purchase requisition, and later the requisition is converted to the purchase Order. For this situation, the text is not getting copied from Sales order to the requisition/purchase order.
    This is not working as of now with the configuration for the above scenario 1.
    Please throw some light to solve the scenario 2.
    Please let me know if there is a config or do we need to use any user exit or BADI to achieve this.
    Thanks in advance.
    Regards

    Hi Sam Matt ;
    You can benefit from MM:Define copy rules for PR texts .
    I checked , you can copy from sales order , like a belowed screens.
      Regards.
      M.Ozgur Unal

  • How material transfers from sales order to service order

    Hi All,
    In case of sales order (Debit memo request or quotation) created from service order, material in service order is transferred to sales order via DIP profile.
    but in case of,
    service order created from sales order how the material flows from sales order to service order.
    In customer service module.

    If Service Order gets created from Sales order, operations & components are transferred to Service order through Service Product assignment in Sales Order.
    Service Product will be created in MM01 & this will be linked to Task list in OISD. By assigning this Service Product in Sales Order, Service order will be created automatically with the assigned Task list.

  • To get the configuration detials of a material from sales order

    Hi Gurus,
    I know we can get the configuration details of a material from Purchase order using function module 'ME_VAR_GET_CLASSIFICATION'. I need an equivalent function module for getting configuration details of a material from sales order. Is there any?...
    thanks in advance...

    Hi Gurus,
    Myy probelm is solved. I used the same funcitton module ME_VAR_GET_CLASSIFICATION. wiht Material and configuration as the inputs. then i used table CABN to filter the hidden characteristics using the field ACTVE.
    This link in SDN will be more useful. please try this.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/2007/09/12/classification+concept&showcomments=true

  • Getting the Net Price from sales order into PO

    Hi All,
    I want to get the netprice from sales order to PO just before creating the PO.
    Is there any user exit for that.
    Thanks,
    Praveen

    where u are creating PO ? How u are passing Sales Order Number to PO ?
    regards
    Peram

  • VERSION FIELD FROM SALES ORDER NOT APPEARING IN COOIS REPORT

    DEAR ALL,
      I am working on make to order scenario. Version field from sales order not updated when im taking MRP Run for specific Sales order in COOIS Report. But when iam creating production order with T. COde CO08 field getting updated. Its very important to get vrsion field as we have maintain old sales order No. in same. How this problem will get resolved?
    Regards
    Atul

    Atul,
    "MRP run" does not normally create production orders, MRP creates Planned orders.  Planned orders do not contain Sales order version.   I have never used this field before, but I would not be surprised if the behavior you are describing is 'standard'.  When you create a production order using CO08, you are creating a 'production order with reference to a Sales order' (which contains Sales Version).  When you create a production order using, say, CO40 or CO41, or using a program such as PPBICO40 in Batch, you are creating a 'production order with reference to a Planned order', (which does not contain version).
    If it is imperative that you have the Sales Order version number in all production orders, you could see if Planning Strategy 82 (Assemble to order) production orders contain the data you seek.  Otherwise, I am afraid you will have to have your ABAPers write some custom code to update this field in the production order.
    Another way to get sales order data into the production order, that does NOT require custom code, is by using Item Texts in the Sales order.  Any text placed in the Sales Order Item Text Field Production Memo (Text ID 0006) can be configured to be duplicated automatically in the Production order in an MTO environment.  Production Memo then displays as another Tab in CO02.
    Regards,
    DB49

  • Address not copied from Sales order/Delivery to Shipment Document

    Hello Experts,
    I need your help on Addrss of ship to in shipment document.
    Sales Order[VA01] >> Delivery [Vl01N]>> Shipment [VT01N].
    User changed the Address of ship to party (Header level) in Sales Order and It reflected to delivery as well and I believe It should also update the address in Shipment document.
    But when I checked the Address of the Customer/Unloading point in Shipment Document [VT03N] (as below) I found It was not updated It was same as Customer Master Record and I believe It directly copied from Customer Master Record.
    BUT While creating the Shipment system is copying the data from Customer master Record not from Sales Order /Delivery. Logically system should copy the updated address from Order/Delivery BUT It is directly copying from Customer Master i don't know where is the setting of this ??
    Can anybody help me on this ? How system takes the customer (ship to party) address in shipment ? Where are the setting of these.
    What I need to do so system take the updated address from Sales Order/Delivery not from Customer Master Record (Ship to party).
    Can I change the address of customer in shipment document ??
    Awaiting your precious reply.
    Thanks,

    Hello Samir,
    Thanks for your response.
    I think you get my question in wrong way.
    I am sayingCustomer master data was not changed.
    User just changed the Address in Order (Order > Header >> Partner tab >> Change ship to address/overwrite ship to address).
    Overwritten Address / Updated address are copying in Delivery BUT not in Shipment document.
    What I need to do?  system should copy the updated address from Sales Order/Delivery BUT it is copying from Ship to party.
    I hope this time i am clear to explain my issue.
    Thanks,

  • Revenue not flowing from Sales order to PS so no WIP in PS/WIP

    Hi,
    We are following PS with MTO scenario.
    For calculating WIP in projects we are unable to get the actual revenue flow from Sales order to PS so entire amount in PS/WBS is sitting in WIP but its wrong.
    User wants to do the Delivery and billing form Sales order only.
    Can you please help us how to calculate the WIP in this scenaio.
    Thanks,

    Hi,
    Have you made the account assignment as WBS Element in the SO line item. Ift his is done, once you create an invoice from SO the actual revenue will get updated in WBS Element.
    Regards
    Sreekanth

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • Sending Components to SC-Vendor from Sale Order Stock

    Hi
    Anybody can throw some lights on following Issue…..
    Our Customer is Placing Order with Us….It is an MTO Scenario….
    The Product is Assembly…
    In that Assembly, we have to Send some components to our Sub Contracting Vendor…and get back  one HALB Product….
    To create Sub Contracting PO…I have to create PO in ME21N with Item Category “L” and Acc.***.Category “E”…Here In Item Details, Material Data…The BOM is getting Exploded…..
    Now I want to send my Components( Which is also belongs to  Spl.Stock “E”) to my SC-Vendor…in ME2O…But Here I am not getting any Selection…ie) the Components which I want to send to my SC-Vendor based on that PO from Sale Order Stock “E” is not flowing in ME2O…
    Pl. Guide me How can I send components to my SC-Vendor based on my PO with Item Category “L” and Acc.***. Category “E”…
    Your Immediate response in this is highly appreciated…
    Regards
    S.Baskaran.

    use tcode MB1B with movement type 541 and choose TO PURCHASE ORDER and give the purchase order details here.
    regards,
    indranil

  • Quantity getting confirmed in sales order without any stock.

    Hi
    My issue is that , the schedule lines are getting confirmed in sales order , even though i have not posted any stock. How to prevent this from happening ?

    Hi Jalaj001, 
    --Go to T.Code  MM02 & in Sales:General/plant data assign availability check as 01 or 02 instead of KP.
    --In MRP 1 -mention MRP Type as PD-Planned MRP
    --Go VOV6 & select your Schedule line category & check mark the Availability
    --Go T.Code OVZ9 & select your availability check control & uncheck the Check without RLT in Replenishment lead Time.
    Let me know if your problem is solved
    Regards
    Pradeep

Maybe you are looking for

  • When I click on Compose in my gmail acct. I get the error #000. Then nothing works. Gmail info sent me to you.

    When I am in my gmail acct. and click on "Compose" the box comes up and I can type in it, but an error message #000 appears at the top. It says it will retry in "so many minutes" and never does. It just adds time. The retry button only adds to the ti

  • OC4J Deployment from JDeveloper 10.1.3 Webservice Instantiation ERROR

    I am trying to deploy an EJB web service from JDeveloper 10.1.3 and keep getting this error: InstantiationException. Note: in the readme.txt, it describes running OC4J with the EBJ3.0 option. (OC4J -start -ejb3) -start [-ejb3] : start OC4J with EJB30

  • Regarding - Tilde symbol in 'SELECT' Query

    Hi all,        Kindly tell me whether this type of Select query statement with where conition is correct, can we use it. Also tell me whether it will fetch correct data at any point of time. Types : BEGIN OF ty_sector ,                     sector    

  • Cq62-423nr cpu upgrade question

    hello all: i would like to upgrade my cpu from a single core to a dual core. i need to know which dual core processors are compatible with my notebook. i have a CQ62-423NR ty in advance for any help This question was solved. View Solution.

  • Can't get Two-Sided checkbox to "stick"

    For a while now I've been having a problem getting my printing presets to remember the two-sided checkbox. I select the preset (Named "Two Sided", then check the Two-Sided box. Then select SAVE under the presets dropdown, and the two-sided checkbox i