Consume PIR with Delivery, instead of with Sales Order

Hi Experts,
I am posting this question here, because in PP forum I did not find solution.
Is it possible and how, planned independent requirements (PIR) to be consumed not with sales orders, but with outbound deliveries?
I did the following customizing - created Z1 plannign strategy as a copy of strategy 40. In Z1 I changed the customer requirements type from KSV to 011 (Delivery requirement). Requirements transfer is disabled for sales orders and is enabled for deliveries.
When delivery is created it is displayed and planned from MRP but it does not consume the PIR.
Consumption mode and periods, as well as strategy Z1 are maintained in my material master.
Please advise is this possible and how?
Thanks in advance,
Nikolay

Hi Madhu and thank you for reply.
Please find my answers bellow.
1) Customer requirements will be taken into account first OK.
Yes, but not SO, just outbound delivery.
2) Sales orders that exceed planned independent requirements can influence production OK.
Not sales orders, but deliveries must influence the production.
3) The most important factor is the ability to react flexibly to the customer demand OK.
OK
4) Planned Independent requirements are allocated and reduced during sales order processing OK.
The consumption must be done upon delivery, not on sales order.
5) PIR's will be reduced at goods issue for delivery OK.
I want to have PIR reduced when delivery is created.
Thanks and waiting for your reply.
BR,
Nikolay

Similar Messages

  • Problem with updating serial numbers in sales order!

    Hi,
    I am trying to update serial numbers for a sales order in SAP. I tried using both SERNR_ADD_TO_AU and SERNR_ADD_TO_DOCUMENT. However, in both cases the FM returned the number of serial numbers created but these did not reflect in the sales order. The code for both is as below:
    WA_SERXX-SDAUFNR = '0000001733'.
    WA_SERXX-POSNR = '000010'.
    WA_SERXX-KUNDE = '0000009000'.
    WA_SERXX-VBTYP = 'C'.
    WA_SERXX-SD_AUART = 'OR'.
    WA_SERXX-SD_POSTYP = 'TAN'.
    WA_SERNR-SERNR = '000000001234ABCDAR'.
    APPEND WA_SERNR TO IT_SERNR.
    WA_SERNR-SERNR = '000000001234ABCDAQ'.
    APPEND WA_SERNR TO IT_SERNR.
    CALL FUNCTION 'SERNR_ADD_TO_DOCUMENT'
      EXPORTING
        operation                       = 'SDAU'
        objkopf                         = 'SER02'
        serxx                           = wa_serxx
        material                        = 'P1-TEST'
       PROFILE                         = 'Z001'
        quantity                        = '2'
      M_CHARGE                        =
       J_VORGANG                       = 'PMS2'
      KMATNR                          =
      CUOBJ                           =
      R_MATERIAL                      =
      BSTCH                           =
      BSTUP                           =
      SNBWG                           =
      EMATN                           =
      KDAUF                           =
      KDPOS                           =
      AUTOMATIC                       = ' '
      NO_ENQUEUE                      = ' '
      MORE_ALLOWED                    = ' '
      BUDAT                           =
    IMPORTING
       ANZSN                           = anzsn
       NEW_OBKNR                       = new_obknr
       SERIAL_COMMIT                   = serial_commit
       STATUS_NOT_ALLOWED              = status_not_allowed
      tables
        sernr                           = IT_SERNR
        r_sernr                         = it_ser1
      XVBPA                           =
    CHANGING
      T_SMESG                         =
    EXCEPTIONS
      KONFIGURATIONS_ERROR            = 1
      GENERAL_SERIAL_ERROR            = 2
      NO_PROFILE_OPERATION            = 3
      DIFFERENCE_IN_HEADER_DATA       = 4
      OTHERS                          = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    commit work and wait.
    CALL FUNCTION 'SERNR_ADD_TO_AU'
      EXPORTING
        sernr                       = '000000001234ABCDAR'
        profile                     = 'Z001'
        material                    = 'P1-TEST'
      M_CHARGE                    =
        quantity                    = '1'
      J_VORGANG                   = 'PMS2'
      KMATNR                      =
      CUOBJ                       =
        document                    = '0000001733'
        item                        = '000010'
        debitor                     = '0000009000'
        vbtyp                       = 'C'
        sd_auart                    = 'OR'
        sd_postyp                   = 'TAN'
    IMPORTING
       ANZSN                       = ANZSN
      ZEILEN_ID                   =
       SERIAL_COMMIT               = SERIAL_COMMIT
    EXCEPTIONS
      KONFIGURATIONS_ERROR        = 1
      SERIALNUMBER_ERRORS         = 2
      SERIALNUMBER_WARNINGS       = 3
      NO_PROFILE_OPERATION        = 4
      OTHERS                      = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK AND WAIT.

    hi,
    In order to maintain customer specific serial numbers you can do the following steps:
    1. Maintain the serial numbers provided by your client in tcode IQ01. this will create the customer serial numbers in the system.
    2. In the material master under Sales View maintain the serial number profile as 0002. this is sap standard.
    3. Once the above has been maintained you can assign serial numbers at the time of delivery and NOT in sales order.
    I hope this helps.
    Regards,
    Vishesh

  • Creation of compliants with reference to r/3 sales order.

    dear friends
    Is it possible to create compliants in CRM with reference to r/3 sales order? if answer is yes please provide  the solution how to configure the same.
    regards
    naveen

    Hi Naveen
    I dont know why you want to create complaints with respect to the sales order.
    The usual process the companies follow is to create complaints wrt to the invoice number.
    But incase you wish to create complaints wrt to sales order, then you can use implementation of a BAdI CRM_COPY_BADI_EXT for the same in the CRM system which will allow you to create a complaint in CRM System wrt sales order in ECC.The path for the same in CRM system is IMG>CRM>Transactions> Settings for Complaints> Integration>Business Add-Ins for Document Referencing> Business Add-In: Create Complaints with Reference to External Document
    Secondly maintian the assignment between the Business Object type of referenced doc and Transaction type using path IMG>CRM>Transactions> Settings for Complaints> Integration>Business Add-Ins for Document Referencing> Assign Business Object Types to Transaction Types
    Now go to CRMD_ORDER and open the transaction type CRLP, you will get pop-up for creation of complaint where you can choose the transaction type and business object type and reference sales order number/ invoice number and create the complaint.
    Hope this will help
    Regards,
    Rekha Dadwal
    You gain a point for every point that you reward. So reward helpful answers generously

  • WBS with billing element but no Sales Order

    Trying to write a SQ01 query to find WBS with billing element but no sales order assigned.  Can anyone help?

    VBRP is the billing item table, OP is asking about the sales documents.
    Queries for something that does not exist might be tricky. Use the tables/fields mentioned above (not VBRP), but make sure to use LEFT JOIN to VBAP. In this case you'll get blank/initial values in the query when no sales record exist. If you do a regular INNER JOIN then you just won't see the WBS that don't have VBAK/VBAP records.

  • WBS with billing element but no sales order assigned

    Trying to write a SQ01 query to find WBS with billing element but no sales order assigned. Can anyone help?

    Such WBS elements can be identified using CN43N report also using proper filtering criteria.
    Fileting criterias:
    Billing element.
    Order accepted status.

  • Partial delivery per item in sales order and ATP - schedule lines

    Hi,
    I've problem regarding ATP- schedule lines and partial delivery flag.
    In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
    Please look at next example.
    Customer requires:
    10 PCS of materail A on date X. Only 5 PCS are available on date X.
    10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
    So if we create outbound delivery on date X it will contain only 5 PCS of material  A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
    Problem is with material B.
    The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
    That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
    Do you know how to fix this problem?

    Hi,
    I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
    Example in same sales order we have:
    Schedule line for item A:
    DATE X confirmed quantity 10
    Schedule line for an item B.
    DATE X confirmed quanitity 0 (zeroe)
    DATE Y confirmed quantity 10.
    I would like to create outbond delivery on date X with:
    item A quantity 10
    item B quantity 0.
    And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
    Do you know how to do that?
    Regards

  • Sceduling as per the delivery confirmation date in sales order

    Hi,
    I am working with planning strategy 50 and using availabilty check as per ATP.
    When I create the sales order and check the availabilty, system confirms the delivery after TRLT(current date+TRLT).But when I run MRP,system creates a planned order on the req delivery date date.
    (Req date - GR Processing Time - In-House Production time) so that Planned Order is available on the req delivery date.
    As the system confirms the delivery after TRLT,I want my planned order's availabilty on the same date.
    to summarise,I don't want system to consider the Reqmt date as reqd delivery date of the sales order but the conformed delivery date of the sales order.
    I appreciate your help in letting me know if there is any way we can do this.
    Regards,
    Sastry
    Edited by: Sastry Krishna on Dec 13, 2008 4:45 PM

    Hi,
    Can you check what is the Variant (dates filed) specified by going to SM37 transaction.do as below,
    Goto SM37 transaction and give job name and then execute then select check box against date you scheduled job and then CtrlShiftF9,now place cursor on program/command and from the menu Goto-->Variant,here you check if any date range there.
    Regards,
    Chandra

  • Error when trying to create a delivery note from a sales order -  Internal error (-2010) occurred

    Hi
    I am trying to create a delivery note form a sales order in B1 V9 PL8 and I am getting the following error -
    Internal error (-2010) occurred
    The code has been working but we seem to be getting problems now
    Can anyone suggest anything please ?
    Copy of the code attached
    Thanks
    Andy

    Hi Andrew,
    Try replacing this line:
    odel.Lines.BaseLine = lineno - 1
    with this:
    odel.Lines.BaseLine = oorder.Lines.LineNum
    Beni.

  • Usage of delivery without reference to sales order

    Hi ,
    I want to know in which business scenarios we will create the delivery document without reference by usiing VL01NO followed by billing document.
    Anticipating a positive response
    Best Regards,
    Goutham

    Hello Sachin,
    I want to make a delivery without ref to sales order. But I want to block it after saving it. How to do that ?
    Use TCode VL02NO
    Can I assign a block at schedule line category level. Will that block the delivery ? Will this be an item block if this is possible !
    Delivery block at  schedule line category level will not block deliver doc, whereas, it will not allow you to create delivery doc with reference to that sales order with delivery block.
    Now for your requirement, to block a delivery doc for further processing. Maintain or select appropriate Reason for Rejection in Delivery Doc Item.
    Regards
    JP

  • VL10C double delivery notes for one sales order

    Dear all,
    Currently we encountered an very strange issue in our SAP.  we found that via VL10C, SAP create two duplicated ourbound delivery notes for one sales order, which resulted in a double items and amount in the billing document. These two deliveries notes are complete the same, which were created with 7 sec interval via VL10C. Check in the sales order, we can see delivery Qty was double against order Qty for all the items.
    does anyone have a clue on this issue? your effort and feedback will be most applicated!
    Thanks & Best Regards,
    Kyo NG

    Hi,
    I forgot this possible cause. Check Note 61148 - VL04 VL02 AME807 AME815: Insert to table VETVG and related notes, specially Note 931297 - VL10x, VL10HU - Duplicate entries displayed in STO.
    Regards,
    Eduardo

  • Create 2 different delivery types for one sales order

    Hi,
    When sales agent is placing sales order at customer site, customer declares as well products or returned packages he would like to return. our business need is to combine all items (return products,  return packages and ordered items) into one sales order.
    However, we would like to split the sales order into 2 different delivery types. Sales order customizing dictates only one default delivery type per order.
    We can set up split criteria via copy control according to item category, but how can we intervene during creation of deliveries and set up a rule to determine different delivery type then default for return items ?
    Thanks,
    Assaf tzur

    Dear Assaf,
    Through copy control settings you can create two delivery types for single sales order but you have to select the delivery type manually while creating delivery.
    If you want automatic process then you need go for some Zdevelopment with the help of ABAPer.
    I hope this will help you,
    Regard,
    Murali.

  • Delivery date on the sales order

    Hi frnds
    I am facing an issue here. When the sales order comes of credit hold the system proposes a new delivery date in the sales order. How can i change the settings to avoid the system from assigning weekends(Saturday & Sunday) as the delivery date????
    I have checked that the factory calendar is set for weekdays only and also the propose del date is check marked in VOV8, OVX5 & OX10 have factory calendar asssigned but i am not able to figure out how to restrict the delivery date to weekdays to be proposed by the system.!!!
    Am i missing something???
    Will appreciate your suggestions.
    null

    Hi,
    The fields needs to be activated in the filed group in accounting.
    The path is SPRO -> Financial accouting -> Accounts Receivables and Accounts Payables -> Customer accounts -> Master data -> Preparations for creating Customer master data -> Define account groups with screen layout.
    Shiva

  • One Outbound delivery document per multiple sales orders

    hi,
    We are trying to acheive to create one outbound delivery document for multiple sales order with some custom logic in user exit (which exit to use).
    Is it possible? If so can you please give some inputs?
    thanks
    Manohar

    Chk out the following link for the relebant userexit.
    https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
    Regards,
    AK

  • Pricing in outbound delivery without ref to sales order

    Hello,
    I am creating a delivery without ref to sales order. I need to do pricing in the delivery for the material sold.
    1 ) I have never done the above. can someone tell  what are the config steps for  the same and what is the t code to create condition records (is it same as VK11 ).
    2 ) secondly I need to carry the pricing in the delivery to the proform invoice created with ref to delivery. How to do the same.
    regards
    Pamela

    Hi
    1 ) I have never done the above. can someone tell what are the config steps for the same and what is the t code to create
    condition records (is it same as VK11 ).
    Yes You need to maintain Condition Records Through VK11 only
    2 ) secondly I need to carry the pricing in the delivery to the proform invoice created with ref to delivery. How to do the same.
    But i am not why you required pricing procedure in delivery , but most the cases Delivery level we required Freight Charges
    At the time of Pro-forma Invoice system will pick the pricing procedure and you can check
    if you still want pricing procedure in Delivery level , assign Pricing procedure to Delivery Type
    Menu Path: SPRO> Logistics Execution>Shipping>Basic Shipping Functions>Pricing--->Define Pricing Procedures for Delivery
    Regards,
    Prasanna

  • Block in delivery without ref to sales order

    Hi,
    I want to make a delivery without ref to sales order. But I want to block it after saving it. How to do that ?
    Can I assign a block at schedule line category level. Will that block the delivery ? Will this be an item block if this is  possible !
    regards
    Sachin

    Hello Sachin,
    I want to make a delivery without ref to sales order. But I want to block it after saving it. How to do that ?
    Use TCode VL02NO
    Can I assign a block at schedule line category level. Will that block the delivery ? Will this be an item block if this is possible !
    Delivery block at  schedule line category level will not block deliver doc, whereas, it will not allow you to create delivery doc with reference to that sales order with delivery block.
    Now for your requirement, to block a delivery doc for further processing. Maintain or select appropriate Reason for Rejection in Delivery Doc Item.
    Regards
    JP

Maybe you are looking for