Sales Order to Purchase Requisition Problem

Dear All,
The scenario is PR is generated against Sales Order.
Error:
The sales order has only one line item with single schedule line. When the PR was generated it was having 2 line items. Also the in Sales Order the schedule line shows that it is corresponding with line item 20 of PR (and not line item 10).
Question is
1) why the system has generated two line items in PR where as the SO has only one line item.
2) Secondly why the SO is showing confirmation on Line Item 20 of PR and not line item 10 of PR.
The change log of SO does not show any changes made through VA02.
This has happened to one document only.
Please guide.
Thanks in advance.

Dear Raja Shekhar,
Please check the material if it is BOM material.
And check the exlosion level of the BOM in sales order.
If the there are sub items in the material it will give both the line itmes in PR.
Kindly check and confirm.
Thanks & regards
Rasik Waghela

Similar Messages

  • Link tables of Sales Order and Purchase Requisition

    Hi,
    thru which tables we can get the data of purchase requistion for a sales order.
    regards,
    balu

    Dear Balu,
    the fields VBEP-BANFN and VBEP-BNFPO are filled in the third-party process only. It means that there is 1:1 connection between the schedule line of the sales order and the purchase requisition. In the third-party process during saving the sales order the purchase requisition is created automatically and is linked to the order.
    If the fields are empty, it means, you have no third-party process and no 1:1 connection between the sales order and the purchase requisition. Probably the sales order created normal requirements, which generate purchase requisition(s) after MRP run. In this case you cannot see the purchase requisition from the sales order as there is no 1:1 connection. You have no chance to get the data from sales order to the purchase requisition.
    The only possibility which you (may be, it depends on the process) have, is to find sales order numbers from the purchase requisition: so to develop the process backwards. These data are stored in the database table EBKN: Purchase Requisition Account Assignment.
    Please use the following fields:
    EBKN-BANFN  - Purchase requisition number (key field)
    EBKN-BNFPO  - Item number of purchase requisition (key field)
    EBKN-LOEKZ  - Deletion indicator in purchasing document (key field, can be helpful)
    The corresponding sales orders are stored in:
    EBKN-VBELN  - Sales Document Number
    EBKN-VBELP  - Sales Document Item
    EBKN-VETEN  - Schedule line number
    I hope, this information will help you further and will solve your problem.
    Kind regards,
    Akmal Vakhidov
    Development Support SD, SAP, Walldorf/Germany

  • Copy control from Sales Order  to Purchase requisition

    Can any one guide me how to set this, which fields need to be copied from Sales order to Purchase requisition.
    Vasu

    I don't think so sap has provided this kind of control but you can configure certain things as item category level for thirdparty in SD
    SPRO-SD-sales-sales document-sales document item-define item categories
    here you can check for item category TAS or you can create your own

  • Data Transfer from Sales Order to Purchase Requisition

    We are trying to transfer data from Sales Order to purchase requisition in an individual purchase scenario.
    We want to copy value in KUWEV-KUNNR in Sales Order and paste in CMMDA-KUNNR on purchase requisiton.
    So in user-exit "USEREXIT_MOVE_FIELD_TO_ME_REQ" on include "MV45AFZB" we added the following code:
    FORM USEREXIT_MOVE_FIELD_TO_ME_REQ.
    DATA:   BEGIN OF IT_VBEP OCCURS 0,
            VBELN LIKE VBEP-VBELN,
            BANFN LIKE VBEP-BANFN,
            KUNWE LIKE VEPVG-KUNWE,
            END OF IT_VBEP.
    DATA: BEGIN OF TI_VBAK OCCURS 0.
            INCLUDE STRUCTURE IT_VBEP.
    DATA: END OF TI_VBAK.
        SELECT A~VBELN   B~KUNWE
          INTO CORRESPONDING FIELDS OF TABLE IT_VBEP
        FROM  VBAK AS A INNER JOIN VEPVG AS B
                              ON B~VBELN = A~VBELN
        WHERE A~AUART EQ 'PDIR'.
       LOOP AT EBKN.
           LOOP AT IT_VBEP.
                IF IT_VBEP-VBELN = EBKN-VBELN.
                  IT_VBEP-BANFN = EBKN-BANFN.
                ENDIF.
                MODIFY IT_VBEP.
           ENDLOOP.
       ENDLOOP.
    *Break-point.
    SORT IT_VBEP BY vbeln.
    LOOP AT IT_VBEP.
      IF EBAN-BANFN = IT_VBEP-BANFN.
        EBAN-KUNNR = IT_VBEP-kunwe.
        MODIFY EBAN.
      ENDIF.
    ENDLOOP.
    * Example
    * EBAN-LIFNR = zzfield1.
    * EBKN-KOSTL = zzfield2.
    ENDFORM.
    *eject
    Right now it turns random values on the purchase requisition field.
    Edited by: Carlos Salazar on Sep 15, 2010 5:19 PM
    Moderator message: please use more descriptive subject lines from now on.
    Edited by: Thomas Zloch on Sep 15, 2010 5:26 PM
    Edited by: Carlos Salazar on Sep 15, 2010 5:30 PM

    Hi,
    Why are you using only the following line to read the VBEP table?
    WHERE A~AUART EQ 'PDIR'.
    Shouldn't you be using a sales document number or something more specific than document type?
    Regards,    Andy

  • Third Party Sales order related Purchase requisition Kicking twice one line

    Hi,
    Purchase requisiotn related with Third Party Scenario kicking Twice one line item, The same line item is appearing one time in Sales Order but when we check Purchase requisition it is showing twice.
    Example
    S.O
    Item 10            QTY                 Plant
    XYZ                100 pcs             1100
    after saving sales order Purchase requisition generates automatically. When we check Purchase requisition its showing like
    PR#
    Item 10          QTY                     Plant
    XYZ               100 PCS                1100
    Item 20          QTY                     Plant
    XYZ               100 PCS                1100
    When we check purchase requisition in Sales Order  Schedule line  item reference it shows PR number with line item 20.
    Please help me out on this issue. We are unable to replicate this on quality client.
    Thanks,
    Naveen....

    Hi
    The account assignment category X has been maintained in
    schedule line category CS and it is recommended by SAP
    Yes perfectly right
    SAP recommends only X as account assignment category for CS
    If the PR is created successfully then there is no problem with  related to SD configurations
    The error message is more of an MM error
    You need to check with an MM expert why that happens while creating PO from PR
    I feel since this happns while saving the transaction there might be some userexit used which may be root cause
    System error (error in method PO_CHECK)
    Message no. ME816
    As per my knowledge this is not a standard error
    Because of activation of some userexit this is triggered
    Functionally this is a MM area error
    From SD side everything is correct
    Regards
    Raja

  • Passing text information from sales order to purchase requisition

    Hi
    My requirement is in third party processing. I want to pass line time text in sales order to the purchase requisition created in a third party processing.
    My question : is it possible in standard config setting?
    If not, Is there any user exit to address this
    please send us valuable inputs
    Thanks
    Sriram.

    Dear Sriram,
    Try this,
    Go through this IMG path do the required settings
    SPRO>IMG>Material Management>Purchasing>Purchase Requisition-->Texts for Purchase Requisitions.
    -->Define Text Types here you can define the Text type same as sales order Text type for Purchage requesition .
    -->Define Copying Rules -->Here you select the Text type(Newly defined) to which text type you want to copy the sales order text then click on Text Linkage -->New Entries in the New entries screen you enter
    Sequence
    Source Object as Sales order
    Source Text
    Fix as blank -Text automatically adopted in target object
                      Finally save the settings.
    Now you create third party sales order system will copy the sales order text to the Purchase requesition
    I hope this will help you,
    Regards,
    Murali.

  • Item text from sales order to purchase requisition

    Hi Experts,
    I have below queries ,
    1. What are the controls to generate/create a purchase requisition from a sales order.
    Is this possible that a Pur. req generated from a sales order but sales order is not its account assignment.
    How item text from the sales order can be copied to purchase Requisition, does settings in purchase requisition in SPRO (Purchasing Purchase req-text for purchase req----define copying rules) works only for automatically created Pur req.??
    item text from sales order can be copied for PR created through MRP or planned orders converted to PR.??
    I will appreciate if someone can provide me documentation on basics of sales and distribution at my email
    [email protected]
    Thanks in advance
    anand

    hello, friend.
    i can only answer part of your question as i am not sure of the others.  however, yes... you can automatically create a purchase requisition from the sales order. 
    one example is third party sales.  because of the item category group that you specified in the material master, the sales document determines an item category (and schedule line) that controls the creation of the purchase requisition.  here, the system knows that you must source the material from your vendor for delivery to your customer.
    further, as in the above case, when your company creates the PO with reference to the PR, your company appears as the buying entity but the ship-to address is that of your customer.
    i did not understand your question on account assignment.  please elaborate and we'll see if we can come up with the answer.
    if you wish to see documentation, you could refer to SAP's article on Third Party Sales.  other scenarios such as just-in-time inventory for trading companies or make-to-order companies may also apply.
    regards.

  • Relation between sales order and purchase requisition in MTO senario

    Hi:
    guru,In MTO sinarnio,for example strategy group is 20 or 50,how to get the raw material requisition according to every sales order item,semi-finished production orders should be exploded to raw material purchase requisition.In other words, how to beulid the relation between them and which tables data can be retrieved?your advice will be appreciated.

    Hi Wang,
    To view Sales Order Itemwise status, use MD4C.
    Keep patience becuase in first go through it may look bit confusing.
    Secondly, to generate Component requirements there are two ways.
    1) Use MD41 - Run it on FERT code. It will generate requirements upto last level of BOM
    or
    2) Use MD02
    2nd option would not work if MRP type 'M0' or equivalent is used in FERT Material master. In that case only 1st option would work.
    Hope your question is answered.

  • Sales order to purchase requisition items

    Hello Experts:
    I have a situation in which Sales order is created via IDOC.
    Line 10 and Line 30 of Sales order creates a purchase requisition and subsequently
    a purchase order.
    What I see in the document flow is following-
    1. Line 10 of Sales order is referenced by Line 10 of PO.
    2. Line 30 of Sales order is referenced by Line 20 of PO.
    3. Line 30 of Sales order is referenced by Line 10 of PO. (This is the issue)
    I am not able to figure out why line 30 of
    Sales order is referenced again by Line 10 of PO.
    Pls help.                 
    Thanks,
    RR

    Here is the screen shot

  • Sales order to purchase requisition

    HI ,
              I am trying to create a PR automatically from sales order , but when creating a sales order , I am manually enabling the check box for "GR based IV" and "GR non valuated " in sales order so that its copied to PR accordingly ,
    Can anyone suggest me the pointers so that this indicators are enabled automatically .
    Thanks ,

    First of all you can't see the GR based IV on Req
    you will find GR non valuated, Good receipt and invoice receipt
    To get this all defualt----find the A/C assignemtn category you use for this kind of req
    in std SAP use C for SO
    go to SPRO_MM_Purchasing-account assignment-maintian a/c categories
    here make your setting for your A/C category and it will defualt to reqs.

  • Copy Control From Sales Order to Purchase Order

    Hi Experts,
    I want to ask how the copy control from Sales Order to Purchase Document can be done? Because they are instances that the users have some items in the Sales Orders not copied to Purchase Document.
    Thanks a lot!

    Hi Experts,
    I have seen the documentation for 3rd Party Sales, thanks to some suggestions. However, there is a report which does not work in our Test Environment, the program name is SDMFSTRP. As suggested by some forums, this is another way of connecting Sales Order to the created Purchase Requisition. So I'd like to ask if there are other ways to connect the 3rd Party Sales to the created Purchase Requisition.
    And also may I know your scenarios when there will be missing items from Sales Order to Purchase Requisition. There are some instances that from Indent Orders, some SO items are not copied to PR.
    Thanks a lot!

  • Block Plan Order and Purchase Requisition in Sales order creation.

    Please tell me, how to block Plan Order and Purchase Requisition while creating Sales Order. When we create a sales order, plan order and purchase requisitions are also created by their own, please tell me, how can we block them while creating sales order. Please do let me know as soon as possible.

    hi,
    generally thy wil not be created automatically.
    may be som configuration or exit is used in ur system.
    check in debugging mode while saving ur salesorder.

  • I am facing a problem in the sales order the purchase requistion no is not

    Hello SD Gurus,
    I am facing a prob in the sales order the purchase requistion is not coming, is there any config settings is required.
    In my bcness process after creating the SO automatically through wokflow the Purchase order will trigger.
    I have checked in the SO which is existing in the schedule line the purchase requistion is not showing.
    In the schedule line functionality is perfect.
    Other than this is it required more..............
    Gurus i am waiting for your reply.......................
    Regards,
    Kishore

    Hi kishore
    Firstly in VOV6 select the schedule line CS and check wheather in that schedule line the following data has been maintained or not
    Document type : NB
    Item category :    5( Third party)
    Account assignment category : X (  Account assignment )
    Secondly go to VOV7 and select the item category TAS and check the following data
    Automatic PO generation has been checked on or not
    Billing relevance should be F
    Regards
    Srinath

  • 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

  • Copy Factors from Sales Order to Purchase Order

    Hello together,
    A customer of our company works with the factors because they have a lot of packages with a different count of pieces.
    They create automatically a Purchase Order on the basic sales order. But the problem is, that the factors are set to 1 (Note: 908842). The Workaround doesn't help them really. Is this problem (if it is one?!?) in the near future intended to fix?
    Kindly regards,
    Bastian Hofmeister

    Hello Bastian Hofmeister,
    The note mentioned clearly that this is not a problem and there is no future development would be done for this function.  Only UDF could be copied, not the factor.
    Thanks,
    Gordon

Maybe you are looking for

  • Erro interface NTB2B - atualização de Support Package GRC / PI - SP 19

    Pessoal, Estou usando o cenário do NTB2B Z, daquela forma que criamos um Software Component novo e incluimos o SSL-NFE nas dependencias, e depois modificamos o interface mapping. O cenário já estava configurado e estava funcionando no SP18 do GRC (SA

  • F4IF_INT_TABLE_VALUE_REQUEST Problem

    Hi Folks, I have problem with FM F4IF_INT_TABLE_VALUE_REQUEST Here is the scenario. i have interbnal table tbwerks[] that contains plant and description(two fields). DATA: BEGIN OF tbwerks OCCURS 10,        werks LIKE t001w-werks,        name1 like t

  • Why can't I see the list view in the file browser

    In the file browser for FCP X, I can see the files in the thumbnail view but when I choose "list view", I see nothing.

  • Binding a Shared Varable to multiple MODBUS registers

    A simple question, but can't seem to find an answer: I have a project library with a serial MODBUS i/o server setup. In this library I have several shared variables that are bound to registers on the remote device through the MODBUS protocol, and thi

  • Need the approach for passing source to proxy and idocs

    Hi PI mates, i  was struck in implementing one scenario.here is my scenario..i am getting source message (webservice call) and i need to pass it to table fields and as well standard idocs at the same time...for updating tables we are going with proxy