Automatic PR based on Sales order, stock not on special stock E

Hi,
I woudl like to know if it is possible to have a kind of Individual PO, without having special stock, stock dedicated to SO. In other words, I would like to have the strong link between SO and PO, but keeping the flexibilty of normal stock.
We want that the PO is linked with SO in a way or another (and automatic generation of PR like for TAB items would be perfect to us, but we could imagine to have it only through the tracking number of the PR), and we want that when we receipt PO, this is done on storage location stock, not on SO stock.
Any idea to reach it ?
thank you for your help.
Regards,
Christelle

Hi,
Its possible if you create a Schedule Line Category with PR type and without movement type.  After creating this you have to do as usual assignments for item category and schedule line category.
Hope this works.
Thanks
Krishna.

Similar Messages

  • MB51 sales order no. not visible

    Dear SAP GURU's
    There is a problem in MB51 where if the special stock indicator is 'E' (Orders in hand) then only the sales order is available else it is not available.
    why?
    please explain
    Regards

    I checked in our SAP internal system and
    see that the sales order number is MSEG-KDAUF @ MB51
    Please refer to the SAP  note 388375 which descibes the behaviour of 
    the system. From release 4.5B on, the fields "MSEG-MAT_KDAUF" and       
    "MAT_KDPOS" contain the sales order as identifier for special            
    stock "E". These both fields are filled in all MM document items with    
    special stock indicator "MSEG-SOBKZ" = "E". This is independent from     
    the valuation of the special sales order stocks.                                                                               
    The other fields "MSEG-KDAUF" and "MSEG-KDPOS" contain the account       
    assigment of the movement. They are only filled when the movement has    
    an account assigment to a sales order item.                                                                               
    MSEG-KDAUF is not filled if the movement does not have an account        
    assignment to a sales order item.                                                                               
    If MSEG-KDAUF is not filled, hence it will not display in MB51.

  • What setting to mandate that invoice is created based on sales order NOT...

    Hi,everyone
    Could you tell me the detailed configuration  to mandate that invoice is created based on sales order NOT delivery documents.
    Additionaly, I need to define this rule at headquarter and apply it all lower-level companies.  how to do it.
    thanks you very much

    Dear Humility,
    Could you tell me the detailed configuration to mandate that invoice is created based on sales order NOT delivery documents.
    This is quite possible through copy control settings between sales order and billing document
    In standard billing type F1 will billed with reference to the sales order OR,so you can copy those settings then rename to your document types and itemcategory.
    Go to VTFA transaction click n change icon then select billing type F1 and order type OR then click on Copy As icon (F6)and change the document types(maintain your docuemnt types).
    To copy item level settings
    Now you come back to initial screen agin you select billing type F1 and order type OR then click on item here you select standard item category then click on Copy as Icon (F6) here you maintain your itemcategory.
    Note:- Don't change the satndard settings you just copy
    Additionaly, I need to define this rule at headquarter and apply it all lower-level companies. how to do it.
    For this you can take help of your BASIS people they will full fill with the roles and authorisation settings.
    I hope this will help you,
    Regards,
    Murali.

  • How to Add Delivery Note based on sales Order

    How to add a delivery note based on sales order.
    say i have a order no. 10 and linenumber 0 to 3.
    each time i book with order no 10 and line no.3,i need to add to delivery note.
    i also in need of adding just one Header and Multiple lines(Header for order Number - 10 and multiple lines for each Booking ).
    How can i achieve this.

    Hi
    You can search the samples....C:\-->Program files->SAP----->SDK->Samples->DiAPI----->OrderandInvoice...
    Here invoice is added for a particular sales order.....the same can be done for delivery.....
    Hope it helps

  • Restriction for items from Purchase Order based on Sale Order

    Hi !
           We create PO directly from Sale Order ( by ticking Option under Logistic tab, 'Purchase Order') for customer C01 (for eg).
    From the PO created, we post GRPO.
    Now our need is,
    Assume if 10 Qty is been ordered in such a way and been received (GRPO posted). it 'll add on to the stock account i.e will increase stock qty at our whse.
    is it possible to restrict these 10 qty of item from being sold to any other Customer other than whom hav ordered i.e if we create sale order for C02 the SBO should not take the items received from PO created based on Sales Order created for C01?
    Meera.

    Meera,
    Which version of SBO are you using 2005 or 2007?
    I don't think Serial numbers can help in this scenario.  There is no hard allocation or blocking possible using Serial numbers.
    This is the Work around I am thinking about.
    Set the items to be Batch Managed - On Every Transaction
    When performing Goods Receipt, enter the Sales Order Number as the Batch Number
    When creating the delivery, using SBO_SP_TransactionNotification we can easily check the Batch of the Item being selected and verify it with the BaseRef of Delivery lines to match with Sales Order number.
    If the numbers don't match we can warn user with message, "The items batch reserved for Sales Order xyz"
    Even if you make a mistake when entering the batch number same as Sales Order number when doing a goods receipt. It can still be traced and blocked during delivery.
    Hint: The Batch table records the Goods Receipt transaction along with the BaseDocument number, Base Ref, etc
    If you decide to go this route, I could help you further.
    Let me know
    Suda

  • MTO Sales order is NOT a COST OBJECT

    Hi All,
    I'm working on MTO process and i have some question.i would like to clarify MTO process.
    If we are using Valuated MTO process and Sales order is NOT a COST OBJECT
    1.Are we going to run material cost estimate for MTO materials?
    2.How can i configure or make Sales order is NOT a Cost Object?
    3.If Saleso order is not a cost object,how production order process will work from controlling point of you?are we going calculate WIP on production order and WIP is settled to sales order or FI/PCA?
    4.Once production order is complete,Goods Receipt will post to Inventory or Sales order stock?
    5.Once production order is complete,we are going to calculate variance on production orders?
    Any help is appreciated...
    Thanks,
    Anusha

    Hi,
    When the MTO is created from sales end it will create the Planned order then it will convert to Production or Process order.
    Once the production do GR or confirm Produced QTY the stock will go to Sales stock not to inventory stock.From there the sales can do PGI to customer.once PGI has done the account entry for the customer account will take place automatically.
    Once the production completed the Production order need to calculate for the variance & the Settlement need to be done for the production order against the Material which you produced & sale to customer.The difference & variane amount will post to Price difference & moved to Product cost of the material automatically & COPA entry will be done automatically.
    The MTO Material need to run for the Cost estimate also.
    The WIP can be calculated & difference can be posted against the production order & the material which you produce.
    The Process is same as the Make TO Stock scenario.Only the difference is the Production will get generate automatically when the MTO order get created & the stock will post to sales stock automatically.Rest the CO part is same as MTS scenario.
    Regards,
    Raj

  • Consumption of sales orders based on Sales order Doc Date

    Hi Guys
    I am using 40 Strategy currently. The consumption of sales orders now happens based on requirement delivery date. But my customer want to serve his customers based on first come first serve as the production is always getting delayed. Now irrespective of req. del date, the stock should be consumed based on the sales order document creation date to fulfill first come first serve concept.
    I am not finding suitable requirement class in SAP. Please help
    Regards
    KP

    Hi Krishna,
    The scenario is quite not clear...Could you please brief it out further.
    Because, in strategy 40, if a sales order comes in then sytem checks for any avaliable stock is there or not. If not then it looks for any open proposals available for PIR's, if so then it consumes the PIR based on consumption mode and period defined in material master or MRP group. If no open proposals, then system creates the new one.
    So always the first come sales order will be consuming the stock or PIR, until the next MRP run.
    Today a sales order has been coming in for 100 qty on 07.09.2014 delivery date and consumes the available stock of 100.
    Tomorrow, another sales order has een coming in for same qty but delivery on 05.09.2014, then in next MRP run system will consume the 100 qty for 05.09.2014 and a proposal will be generated for
    07.09.2014
    If the business scenario is something like above, then to avoid this, a PGI job can be scheduled always as next step to MRP run so, that PGI will be done for all the sales order which has stock and rest will be in error log. By this way one production plant can ensure that always the first incoming sales order is delivered.
    Also an another option would be is to run the transaction V_V2 to reschedule the sales order before delivery, this will work out if the sales order line items are not account assigned. In this reschedule transaction, priorities can be given for item date of creation as 1 and followed by delivery priority and rest....
    Please check out and let us know even if you have diffrent solution as well.
    Regards,
    Chinna

  • Sales Order is not consider for MRP in MRP Type PD and Strategy 40

    Sales Order quantity is not consider for net requirement calculating in MRP.
    My MRP Type is PD and Strategy 40.
    Also in MD04 Sales order is not appearing.

    Dear,
    Requirements to MD04 will flow based on the settings you maintain in OVZ9 for the combination of "Availability Check" and "Checking Rule". Here whatever fields you choose under the tab "In/outward movements", that will be considered.
    It may be because of Requirement type Missing at schedule line category level . In MD04 requirement are pass on Either Individually or collectively . In Case of Individual each schedule line create one entry in MD04 ( Stock Requirement list)
    So check the materail master for checking group is maintain or not?
    Please refer this thread also,
    Re: Sale order not reflecting in MD04
    After that run MRP again and check the result.
    Regards,
    R.Brahmankar

  • Sales order qty not confirmed when delivery done with partial qty

    Hi Guru's
    Need your help............
    We have issue in drop shipment scenario process. Sales order created with 10 line items from CRM and order released from CRM and replicated order to ECC and backend created PR also. After that user set reject status for all items so that PR line items also deleted, again user released rejection status for all items and line items updated in the same PR with different line item number for materials then PO & GR also done in ECC and stock also allocated for sales order line items but still sales order qty not confirmed in CRM sales order. 
    I checked all configurations regarding availability check but could not found.
    Example:
         Sales order line item qty: 4            -      2 qty confirmed (delivered).
         For remaining qty (2 items)I have done GR. After GR It is allocated to sales order but it is not confirming the order quantity.
    plz help me to fix this issue?
    regards
    sai

    Hi,
    Please check In ERP transaction OVZJ, for the sales org, distribution channel, and division that is being used in the affected sales orders, set the Avail. Check Rule to 'E'. Then retest the issue, as this might help.
    Regards
    Gavin

  • Creating a Service Order automatically when saving a Sales Order

    Hello SDN,
    I'm trying to have SAP automatically create a Service Order when a Sales Order is created. To this end, I've tried implementing BADI workitem_template and have been using method before_update. I've been using BAPI BAPI_ALM_ORDER_MAINTAIN to create the service order.
    The problem is that in order for the BAPI to save the service order, the sales order needs to be fully saved and operational. Otherwise it just keeps saying 'sales order does not exist'. So the problem is that the BADI is intervening too soon in the saving process. The temporary sales order numbers have been replaced with actual ones, but the records do not show in the database just yet. I think there's a commit that still needs to be done or something.
    However, I cannot find a BADI or user exit that intervenes after the sales order is saved into the database, so this leaves me stranded.
    Any suggestions would be heartily apprechiated.
    Kind Regards,
    Niels.
    Edited by: Niels Ruelens on Feb 20, 2008 4:20 PM
    Edited by: Niels Ruelens on Feb 20, 2008 4:22 PM

    Following your suggestions, I've created an update function module and inserted it into the USEREXIT_SAVE_DOCUMENT. In this function module, I'm calling the BAPI.
    Problem with this approach is that I cannot debug, nor is he actually doing anything. Here's the code that is put in the function. Is there anything wrong with the way I call the BAPI perhaps?
      DATA:
        lt_srule     TYPE TABLE OF bapi_alm_order_srule,
        lt_bheader   TYPE TABLE OF bapi_alm_order_headers_i,
        lt_srule_up  TYPE TABLE OF bapi_alm_order_srule_up,
        lt_methods   TYPE TABLE OF bapi_alm_order_method,
        lt_return    TYPE TABLE OF bapiret2,
        ls_vbak      TYPE vbak,
        ls_vbap      TYPE vbap,
        ls_bheader   TYPE bapi_alm_order_headers_i,
    *    ls_header    TYPE cobai_s_header,
        ls_prps      TYPE prps,
        ls_srule     TYPE bapi_alm_order_srule,
        ls_srule_up  TYPE bapi_alm_order_srule_up,
        ls_methods   TYPE bapi_alm_order_method.
    *    ls_item      TYPE cobai_s_item.
      SELECT SINGLE * INTO ls_vbak
      FROM vbak
      WHERE vbeln = vbeln.
      SELECT SINGLE * INTO ls_vbap
      FROM vbap
      WHERE vbeln = vbeln.
      FREE: lt_methods, lt_bheader, lt_srule.
    * Fill methods
      CLEAR ls_methods.
      ls_methods-refnumber  = 1.
      ls_methods-objecttype = 'HEADER'.
      ls_methods-method     = 'CREATE'.
      ls_methods-objectkey  = '%00000000001'.
      APPEND ls_methods TO lt_methods.
    *  CLEAR ls_methods.
    *  ls_methods-refnumber  = 1.
    *  ls_methods-objecttype = 'SRULE'.
    *  ls_methods-method     = 'CREATE'.
    *  ls_methods-objectkey  = '%00000000001'.
    *  APPEND ls_methods TO lt_methods.
      CLEAR ls_methods.
      ls_methods-refnumber  = 1.
      ls_methods-objecttype = ''.
      ls_methods-method     = 'SAVE'.
      ls_methods-objectkey  = '%00000000001'.
      APPEND ls_methods TO lt_methods.
    * Fill header
      CLEAR ls_bheader.
      ls_bheader-orderid    = '%00000000001'.
      ls_bheader-order_type = 'ZM02'.
      ls_bheader-funct_loc  = 'FERBL_TD5C_DER'.
      ls_bheader-planplant  = 'B006'.
      ls_bheader-sales_ord  = vbeln.
      ls_bheader-s_ord_item = '00010'.
      APPEND ls_bheader TO lt_bheader.
    ** Convert the internal WBS to an external WBS element
    *  SELECT SINGLE * INTO ls_prps
    *  FROM prps
    *  WHERE pspnr = ls_vbap-ps_psp_pnr.
    **   Fill settlement rules
    *  ls_srule-objnr =   ls_item-aufnr.
    ****    ls_srule-sales_ord = caufvd_imp-kdauf_aufk.
    ****    ls_srule-s_ord_item = caufvd_imp-kdpos_aufk.
    *  ls_srule-wbs_element = ls_item-projn.
    *  ls_srule-settl_type = 'FUL'.
    *  ls_srule-percentage = 100.
    *  ls_srule-extnr = 1.
    *  APPEND ls_srule TO lt_srule.
    *  ls_srule_up-wbs_element = 'X'.
    *  ls_srule_up-sales_ord = 'X'.
    *  ls_srule_up-s_ord_item = 'X'.
    *  ls_srule_up-orderid = 'X'.
    *  ls_srule_up-settl_type = 'X'.
    *  ls_srule_up-percentage = 'X'.
    *  ls_srule_up-extnr = 'X'.
    *  APPEND ls_srule_up TO lt_srule_up.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          it_methods              = lt_methods
          it_header               = lt_bheader
    *          IT_HEADER_UP            =
    *          IT_HEADER_SRV           =
    *          IT_HEADER_SRV_UP        =
    *          IT_USERSTATUS           =
    *          IT_PARTNER              =
    *          IT_PARTNER_UP           =
    *          IT_OPERATION            =
    *          IT_OPERATION_UP         =
    *          IT_RELATION             =
    *          IT_RELATION_UP          =
    *          IT_COMPONENT            =
    *          IT_COMPONENT_UP         =
    *          IT_OBJECTLIST           =
    *          IT_OBJECTLIST_UP        =
    *          IT_OLIST_RELATION       =
    *          IT_TEXT                 =
    *          IT_TEXT_LINES           =
    *     it_srule                = lt_srule
    *     it_srule_up             = lt_srule_up
    *          IT_TASKLISTS            =
    *          EXTENSION_IN            =
             return                  = lt_return.
    *          ET_NUMBERS              =.
      IF sy-subrc = 0.
      ENDIF.
    Edited by: Niels Ruelens on Feb 20, 2008 4:58 PM

  • It still shows confirmed quantity at sales order in case of no stock

    Hi,
    I have the availability check configuration, but my requirement for 0 confirmed quantities at sales order in case of no stock is not working. That is- It still shows confirmed quantity at sales order in case of no stock. Please suggest. 
    All the setting for availability check is done. I have set the accumulation as 3 in checking group. But still not working.
    Thanks
    Mauryan

    Dear Mauryan,
    ATP check will work if you have already turned on ATP check in the following 3 transactions:
    OVZ2
    OVZG
    OVZ8
    You need to turn on ATP at your checking group, requirement class, and schedule line category. If one of them is off, then ATP check will not work. See note 547512, Q1.
    Claire

  • The pricing procedure in Sales order is not getting copied into invoice

    The pricing procedure in Sales order is not getting copied into invoice.
    I have created a document type (pricing procedure),based on the document type ,pricing procedure determination is done.
    So while creating sales order the pricing procedure is determined but when invoice is created the pricing doesnt refelect in the invoice.How to over come this problem

    Hi
    Please check the in OVKK, weather you have maintained correctly or not.Also check in the Billing document type details what is the Document pricing procedure that has been maintained.
    Regards
    Srinath

  • Purchase order based on Sales order

    Hi,
    I try to create Purchase order based on Sales order.
    The error message :
    "Base document card and target document card do not match"
    My code:
    oPurOrder.Lines.BaseEntry=oSalesOrder.DocEntry
    oPurOrder.Lines.BaseLine=oSalesOrder.Lines.Linenum
    oPurOrder.Lines.BaseType=17
    Could you help me please ?
    Tks.
    Laetitia

    Hi,
    Looking at your code I will check how you fill the fields in the oPurOrder object because the code you copied is only for the document lines and the error refers to the document itself (maybe you forgot to assign the cardcode property).
    If you are basing the document, a good and reliable method is to export the base to a xml file and load the target using this file. This way you garantee that all the info of the document is copied. After that you could use your code to update the info you want to change the same way you pasted it in your post.
    Hope it helps,
    -M

  • Material documents based on Sales order

    Dear Experts,
    We are developing a report where I need to extract the list of material documents with movement type 411E and 412E based on the sales order. This data is available in MSEG but after designing the report, Its performance was  very poor hence we could not move the report to production.
    As MSEG is a cluster table it is taking to much time. I checked other tables MKPF MSSA but nothing is working out. Is there any way out to improve the performance of the report by taking the list of material documents based on sales order and movement types 411E and 412E .
    Please suggest me with suitable solution.
    I will reward the points immediately.
    With Regards
    Uday

    Hope you are not trying to join MKPF and MSEG currently:
    821722 - Performance of the join on MSEG and MKPF
    If you are below release 606 in your system, this note will have to be implemented in your system to bring redundant fields of MKPF into MSEG for performance improvement:
    1516684 - MKPF fields added to MSEG - Performance optimization
    The blog shared by Jurgen is pretty well explained. In addition have a look at these notes:
    1638997 - Performance: CKMDUVMAT selection with new fields in MSEG
    1558298 - MB5B: Redesign of selection for performance optimization
    1550000 - MB51: Redesign of selection for performance optimization

  • Automatic Billing Creation Through Sales Order Output Type

    I have requirement to create Automatic Billing document when Sales Order has been created.
    Any Suggestion.
    Regards
    Vijay Maurya

    Hi,
    it is not supported by standard SAP.in cash sales and rush orders, delivery will be created automatically because of the settings assigned in their respective sales document types.u please check VOV8 t-code.go to the details of BV(CS) and RO.there, Create Delivery field is there and shipping conditions should be 10.
    for ur requirement, u contact ur ABAPer and ask him to put one field like Create Billing Automatically in ur sales document..then it may be possible..
    hope it helps..
    regards..
    yogi..

Maybe you are looking for

  • Adobe Pro - will not print word documents to pdf.. keeps crashing

    Hello, I have Acrobat Pro and when I try to print Word documents it says printing... and then crashes. The window to select the name of the pdf to print to never pops up. The Word program crashes and reopens. The print icon appears on the system tray

  • Problem with currency format setting

    hello experts, i have one currency filed FDES-WRSHB = 25706515.32. i want this field to be converted into currency format which user have selected. for ex if user setting for currency in SU01 is 1,23,456.89 then this currency should be converted to 2

  • Blank Projects vs. Responsive Projects

    I normally develop using the Captivate Blank Project as my customers are not normally concerned about responsiveness yet. However, I may be soon working for a new customer that may. So, I wanted to know a few things. 1. Can I make a Blank Project Res

  • Xml query help

    I have the XML below stored in a table in an XML field. I wish to query this record for the <HISTORY_BLOCK> data and get on record for each <row>. ie. I want to do something like Select      extractvalue(detail, '/S12/HISTORY_BLOCK/RESULT’),      ext

  • IVI Sharded Components non compatible avec 64-BIT Windows XP?

    Bonjour, Je voudrais savoir si IVI Sharded Components est compatible avec  64-BIT Windows XP ou non ? J'ai déjà cherché sur votre forum et votre dernière publication sur ce sujet date de 2010  : http://forums.ni.com/t5/Multifunction-DAQ/Probleme-inst