Rescheduling based on delivery priority

Hello All,
I have a rescheduling scenario as below -
I have a material number 1700 with 2 batches
Batch A1700 with  70 CSE and
Batch B1700 with 30 CSE.
2 orders were created for this material with 50 CSE each.
Order 1 with 50 confirmed qty and  delivery priority 1
order 2 with 50 confirmed qty with delivery priority 3
Now after this the batch B1700 was put on restricted status so that effective stock is now 70 CSE.
The scope of check does not include the restricted status.
Now i manually did an availability check in order 1 and reduced the confirmed qty from 50 CSE to 10 CSE.
Now when i run the rescheduling via V_V2 i expect that for order 1 confirmed qty will be changed from 10 CSE to 50 CSE and order 2 it will be changed from 50 CS to 20 CSE, since the batch B1700 is restricted and the delivery priority of order 1 is higher than order 2.
But what is happening is that for order 1 confirmed qty gets changed from 10 CSE to 50 CSE, but for order 2 the qty gets changed from 50 CSE to 0 CSE instead of 20 CSE.
Can you please help me understand why the order 2 is not getting the 20 CSE as expected.
Thanks
Shobhit

Go to SE11 type your table LIPS, enter and then press Ctl + Shift + F10, it will take you to selection screen,
in that you can type the desired item cat in the field PSTYV.
here is your report of Del doc no according to item cat.
Suhas

Similar Messages

  • How to List Sales Orders based on Creation Date and Delivery Priority

    Dear all,
    How can we list Sales Orders based on creation date and delivery priority.
    I tried using vl10a transaction code, but there we can see sales order based on delivery date.
    we need to list all sales order based on delivery priority and sales order creation date.
    can any one of you tell me which standard report gives such kind of report. Your suggestions will be highly appreciated.
    Thank you
    Raghu Ram

    Hi Raghu,
    There is no st report available as per your req.
    Using SQVI, you develope one report that is list of sales orders based on your req.
    SQVI is used to convert a Quick View into a query.
    Quick Viewer:
    The Quick Viewer allows you to define reports without having to program yourself. The Quick
    Viewer is especially useful for new users and occasional use.
    Quick Viewer is a tool for generating reports. SAP Query offers the user a whole range of options for defining reports. SAP Query also supports different kinds of reports such as basic lists, statistics, and ranked lists. Quick Viewer, on the other hand, is a tool that allows even relatively inexperienced users to create basic lists.
    Quick View definitions are user-dependent. You can transfer a Quick View into SAP Query in order to make reports, for example, accessible to additional users, or to use the other functions available in SAP Query.
    The following is a comparison of Quick Views and queries:
    Quick Views possess the same functional attributes as queries. However, only basic lists may be defined with Quick Views.
    In contrast to queries, no user group assignment is necessary with Quick Views. Each user has his/her own personal list of Quick Views. Quick Views cannot be exchanged between users. Quick Views may, however, be converted to queries and then be made available to other users in a specific user group.
    Info Sets are not required for Quick View definition. Whenever you define a Quick View, you can specify its data source explicitly. Tables, database views, table joins, logical databases, and even Info Sets, can all serve as data sources for a Quick View. You can only use additional tables and additional fields if you use an Info Set as a data source.
    The Quick Viewer uses various controls. Certain hardware and software requirements must also be fulfilled before you can use the Quick Viewer.
    To define a Quick View, you select certain fields according to your data source that determine the structure of your report. The report can be executed in basis mode with standard layout or may be edited using drag and drop and the other toolbox functions available in WYSIWYG mode.
    Reports created using the Quick Viewer may also be passed to external programs (Excel, for example).
    Call the Quick Viewer using System -> Services -> Quick Viewer (or transaction SQVI).
    Enter the name of the Quick View. Quick View names can contain a maximum of 14 characters.
    Choose Create.
    Enter a title for the Quick View and remarks, if you think they are relevant.
    If you do not want to base your list on a table, use the possible entries pushbutton in the Data source field to select another data source. You can choose logical databases or Info Sets. In addition, you may also create table joins. For further information, see Selecting a Data Source.
    Choose Basis mode if you want to create the list directly with no list design. Choose Layout mode if you want to define the layout of your list yourself.
    SQVI Table Quick viewer – Used to created quick client dependent reports
    Probably the easiest and most flexible way to do this is thru one of the ABAP query transactions.
    Transaction SQVI can do this and it has a very good help function that explains how it works... the drawback is that it is only for one user.
    You can play around with it and see if it meets your needs...
    The query results will come back in an ALV Grid or Excel... you can select what fields are returned, and have a selection screen to enter the search criteria.
    You can get the report by joining the tables VBAK and VBAP.
    If you have any queries, i will forward screen shots to your id.
    Reward points pls.
    Regards,
    Govind.

  • User exit for XD01 with delivery priority

    Hi ,
    I am using a user exit EXIT_SAPMF02D_001 for customer master.Below is the piece of code .I am just displaying message based on delivery priority field in the customer master .
    But the probleam is when user only change the value in delivery priority field then only my message should come .But now my logic executes when ever no changes in the delivery priority field also and any touch other than this field also getting the message.
    Means the value in the delivery priority field  not refreshed in the customer master screen .Thats why the message is coming any time when not touching the field also.
    so can somebody suggest what to do?My logic should work only when delivery priority field only changed.
    TABLES:tpakd.
    DATA:l_lprio TYPE lprio,
         l_kztlf TYPE kztlf,
         l_antlf TYPE antlf.
    DATA:l_lp(2) TYPE c VALUE '03',
         l_kz(1) TYPE c VALUE 'B',
         l_an(1) TYPE c VALUE '1'.
    SELECT SINGLE * FROM tpakd
                    INTO tpakd
                    WHERE parvw = 'WE'
                      AND ktokd = i_kna1-ktokd.
    IF sy-subrc = 0 .
      MOVE i_knvv-lprio TO l_lprio.
      MOVE i_knvv-kztlf TO l_kztlf.
      MOVE i_knvv-antlf TO l_antlf.
      IF l_lprio = l_lp AND ( l_kztlf NE l_kz OR l_antlf NE l_an )  .
        MESSAGE w534(zm).
        ELSEIF l_lprio IS NOT INITIAL
                AND ( l_kztlf IS NOT INITIAL
                OR  l_antlf IS NOT  INITIAL
                OR  l_antlf NE '0'
                OR  l_antlf NE '9' ).
        MESSAGE w534(zm) .
      ENDIF.
    ELSE.
      EXIT.
    ENDIF.

    HI
    I think something doesn't sound good in this control
    ELSEIF l_lprio IS NOT INITIAL
      AND ( l_kztlf IS NOT INITIAL
           OR l_antlf IS NOT INITIAL                  "<-------
           OR l_antlf NE '0'
           OR l_antlf NE '9' ).
        MESSAGE w534(zm) .
    ENDIF.
    The control for L_ANTIF seems to be always valid, probably you should use AND insted of OR
    ELSEIF l_lprio IS NOT INITIAL
      AND ( l_kztlf IS NOT INITIAL
           OR ( l_antlf IS NOT INITIAL                  "<-------
           AND l_antlf NE '0'
           AND l_antlf NE '9' ) ).
        MESSAGE w534(zm) .
    ENDIF.
    Max
    Max

  • How to change value of Delivery Priority field (VBAP-LPRIO) after Delivery

    HI,
    I want to modify the value of Delivery Priority(VBAP-LPRIO) based on the delivery quantity modified (LIPSD-G_LFIMG)as per availability of credit limit.
    Is there any user exit available for this ?
    Thanks in Advance,
    Nitin

    Hi Christian,
    Thanks for the reply.
    Actually i have modified quiantity as per Credit Limit Available after modifying it as per Stock in Exit "RV03VFZZ" In Routine 'USEREXIT_AVAILABILITY_OUT USING VALUE(US_ATPPR).'
    Now i need to set the priority to (VBAP-LPRIO) to '99' based on the quantity modified if it is less than the Stock available.
    My requirement is if as per Stock QTY 20 is available but if as per credit if 10 are available then delivery should be done for 1o QTY instead of blocking the delivery completely.
    I checked also reagarding updation of sales order field if any but its not there.
    Can you please through some light on this .
    Thanks & regards,
    Nitin

  • Change sales order delivery priority in CIF

    Block the transfer of sales order line delivery priorities values (ECC/R3 field LPRIO) transferred from ECC thru the CIF.
    Hard code and assign a value of 1 to the APO delivery priority field (APO field LIFPRIO) upon transfer of sales order line items.
    To change prirority I used user exit APOCF010 but it didn't work properly so can anyone let me know which user exit or badi will help me to change the priority.

    Raghav
    When you say APOCF010 is not working correctly, what is the exact problem you are facing ? In which table are you looking ? Have you tried CIF'ing a new sales orders from ECC to APO ?
    Also try adding LPRIO to the field catalog (SPRO --> Advanced Planning and Optimization --> Global
    Available-to-Promise --> Rules-Based Availability Check --> Define Condition Table (Maintain Field Catalog).
    Rishi Menon

  • How to change delivery priority in stock transfer schedule agreements.

    Hi Experts,
    we have an issue, the delivery priority is changed in the customer master recently and the deliveries created for the old schedule agreements pick the old delivery priority. we need to change the delivery priority in schedule agreements.
    Is there a way to change the delivery priority(in item shipping data) in stock transfer schedule agreement(doc type= LU).
    I tried changing it in ME32L but its just a display.
    Thanks
    Mahendra

    Hi All,
    Can any one reply to this.
    Thanks
    Mahendra

  • How to sort based on my priority in Activity search view.

    Hi,
    In Activity Search category ddlb should show based on my priority order but its showing default based on ascending order based on alphabetical order. How can I assign the values based on my priority how can I archive this? I want to sort based on my values.
    Component : BT126S_APPT
    View : BT126S_APPT/ApptSQ
    CN : BTQACT
    Attribute : CATEGORY
    can redefine get_v_category in search view please guide me.
    Regards,
    Jemmi.

    method GET_DQUERY_DEFINITIONS.
    *CALL METHOD SUPER->GET_DQUERY_DEFINITIONS
    RECEIVING
       RT_RESULT =
    Method returns value help definitions of advanced search
    The method is called from the advanced search tag as a base of its operation
    Take value help definitions from cache if possible
    NO adjustments are done! - Take the operators as set in vrmc_dq
      FIELD-SYMBOLS: <rt_result> TYPE crms_thtmlb_search_field_info.
      DATA: lv_getter TYPE string,
            lv_cnode  TYPE REF TO cl_bsp_wd_context_node_asp,
            lv_operator TYPE crm_thtmlb_search_operator.
           category  TYPE REF TO cl_bsp_wd_context_node_asp.
      lv_cnode = me->get_dquery_cnode( ).
      IF lv_cnode IS BOUND.
        Delegate operation to advanced search context node
        me->dquery_valuehelps = lv_cnode->get_dquery_valuehelps( ).
        rt_result = me->dquery_valuehelps.
      ENDIF.
      LOOP AT rt_result ASSIGNING <rt_result>.
            IF <RT_RESULT>-FIELD = <category>
            DELETE <RT_RESULT>-DDLB_OPTIONS WHERE KEY '001' OR
            KEY '003' OR
            KEY '005' OR
            KEY '006' OR
            KEY '201' OR
            KEY '401'.
            ENDIF.
        LOOP AT <rt_result>-operators  INTO lv_operator.
          CASE lv_operator.
            WHEN 'NM'. "'EM' OR  'NM' OR 'SW'.
              DELETE <rt_result>-operators INDEX sy-tabix.
            WHEN 'EQ'.
              IF sy-tabix > 1.
                DELETE <rt_result>-operators INDEX sy-tabix.
                INSERT 'EQ' INTO <rt_result>-operators INDEX 1.
              ENDIF.
          ENDCASE.
        ENDLOOP.
        CONCATENATE 'GET_V_' <rt_result>-field INTO lv_getter.
        TRANSLATE lv_getter TO UPPER CASE.                    "#EC SYNTCHAR
        TRY.
            CALL METHOD me->(lv_getter)
              CHANGING
                cs_result = <rt_result>.
          CATCH cx_sy_dyn_call_illegal_method.
        no V-Getter found
        ENDTRY.
      ENDLOOP.
    ENDMETHOD.
    it's showing error Field "<CATEGORY>" is unknown. It is not contained in one of the specified tables nor is it defined by a "DATA" statement. "DATA" statement.

  • Commitment-update based on periodic base, based on delivery date. FI_E008

    Hi gurus:
    In our system, we are using profile update 000350.
    The purchase orders consume budget based on delivery date.
    When posting an invoice, it is necessary that the commitment reduction
    (amount type 0200) is posted with the invoice posting date and not the
    delivery date of the purchase order.
    This requires defining that value type 51 takes commitment update based
    on periods.
    By selecting the commitment update based on periods, it is not possible
    to determine the period by the delivery date. System displays an error
    message FI_E008.
    We need commitment-update to be based on periodic base, based on the
    delivery date.
    Could you help me. Thanks

    Hi,
    I don't think it's possible: PBET implies using posting date as basis date in the most cases. Tthere are some exceptions, but they don't apply to purchase orders (v.type 51).
    Regards,
    Eli

  • Escalation process in Service Ticket based on the Priority,DueDate & Status

    Hi Experts,
    What is the standard way of Escalation process in SAP CRM Service Ticket management based on the Priority, Due Date and Status together. SLA can be usde with Service Ticket ?
    Based on the status, priority and due date/Time, how can I re-assign the ticket and send mail to the specific responsible employee or department to work on the ticket.
    Thanks
    Shaik Chand

    Hi Chand,
    pls check this below link ..
    http://help.sap.com/saphelp_sm40/helpdata/en/ec/7c83dc4ded11d5992600508b6b8b11/content.htm
    Regards,
    Raghu

  • BAPI function module to get condition type and its values based on delivery number?

    Hi All,
    I would like to have the BAPI function module to get condition type value based on delivery number before invoice is created.please provide detail program for as a reference .please reply as soon as possible its urgent.
    Regards,
    saaikumar.

    If you haven't already, you may first need to search via the SAP transaction "BAPI" in the area this is applicable to.  Failing that I do hope you get an answer.

  • Exit/ BAdi to change delivery priority in ME21n while creating STO

    Hi,
    I'm trying to create STO through transaction ME21N. After entering the header data and material no. when i press enter i'm able to see the item level data. Here in item details, under tab 'Shipping' there is a field 'Delivery priority'. I want to influence this field. Is there any user exit / BAdi available that can be used to modify this field when i press enter after entering the header data and material??( i.e. Before Save).
    I have tried creating implementation in BAdi 'ME_PROCESS_PO_CUST'. But during testing control was not stopping at the break-point.
    Please suggest me solution to this problem.

    Hi
    Create an Implementation ME_PROCESS_PO_CUST  (like   Z_ME_PROCESS_PO_CUST) and check the method
    IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM     Processing of Item Data
    and keep a break-point   u have SET_SHIPPING_DATA  and GET_SHIPPING_DATA Methods
    INterface Name  :::IF_PURCHASE_ORDER_ITEM_MM
    EKPV--LPRIO  for Delivery Priority
    surya

  • Budget Check Based on delivery date on FM

    Hi Experts,
    Is there any way to control budget check for PR/PO based on delivery date and not the posting date in FM?
    Appreciate your help. Thanks !

    It can be done with T-code OF39.
    <a href="http://img221.imageshack.us/i/of39.png/">[IMG]http://img221.imageshack.us/img221/1507/of39.th.png[/IMG]</a>
    Credit to Eli Klovski for his wonderful post.
    Best Regards,
    zalazax

  • CRM 4.0 ABAP Changing the Delivery priority of an Order

    I tried changing the Delivery priority of an Order forcefully through the program  which I was able to do successfully using both the function modules CRM_SHIPPING_PUT_OB and CRM_SHIPPING_MAINTAIN  but when I tried changing the Delivery priority forcefully through the ORDER SAVE badi method-change before update using all the three function modules CRM_SHIPPING_PUT_OB, CRM_SHIPPING_MAINTAIN and CRM_ORDER_MAINTAIN it didn't work. I also tried to change it using the shipping BADI but it didn't work.
    Please Advise !!!!

    Hello Gerwin,
    Maybe you have to change the start event of your action to another one that occurs outside the CRM_ORDER_SAVE.
    There is another thread in the forum called "CRM BADI" where Aidan create an action that save a document.
    He is facing some problems too, but it seems that it is not a recursive call problem.
    Take a look at it...
    Regards,
    Mauricio

  • Delivery Priority problem

    Hi all,
    i have an issue with the Delivery priority of an Item in the CRM Order. My issue is in the order display (using crmd_order tcode) i am able to see the Delivery priority of an item in the Shipping Tab.
    While i am checking with the same in the table crmd_shipping, i am unable to find the records for the same item number.
    i am following like below.
    Order number->Order header guid (crmd_orderadm_h)> Item guids (crmd_orderadm_i)-> crmd_link-guid_hi -
    >crmd_link-guid_set------>crmd_shipping_guid -
    here i will get the DELIVERY priority...
    Please help me on this..
    regards,
    Kishore

    hi,
    small correction..
    I have a check box in the shipping Tab at item level called <b></b>Order Combination<b></b>
    (Specifies whether sales transactions can be combined during delivery creation.)
    If i check this box, i will get the delivery priority value in the crmd_shipping table.
    plz anyone explain about this check box .
    regards,
    Kishore

  • Delivery Priority not determine in STO

    Hello,
    While I am creating a STO, all the shipping data is determined, but not the Delivery Priority(LPRIO).
    I understand this should be taken from the Customer master (Shipping TAB), assigned to the Plant.
    Customer is properly maintained. If I create a Sales Order for this one, the Delivery Priority is determined there.
    The problem is in the STO, I do  not know why it is not determined here.
    Any idea?
    Regards
    Brian

    Hi,
    In STO, you would have created the receiving plant as a customer in the sending plant sales area.
    Check whether you have maintained the delivery priority in this customer master shipping data.
    Once you maintain, the same will appear when you create a STO document.
    Thanks & Regards,

Maybe you are looking for

  • SOAP-PI-File scenario: synchronous file pickup possible without ccBPM?

    Hi, is it possible that I pick up a file synchronous without usage of ccBPM? What I'd like to achieve: I'd like to send a filename in the body of a SOAP request. Depending on that filename, I'd like to collect that file on the filesystem and send it

  • Exporting audio with markers button is greyed out.... ANY HELP MUCH APPRECIATED!

    Hello so, background to the story. Now peak pro is defunkt on OSX I am trying to use Audition to create cdmasters. The idea being I will compile the album in audition, export wav files of each track including gaps and compile DDPi master in Sonoris D

  • Z10 not answering incoming calls

    I have a weird new issue with my z10 (my only issue so far). When an incoming call happens, the screen goes to the PHONE app and freezes there. I cannot do anything to answer the call. Then when the person leaves me a voicemail, I can't get the dialp

  • Java Application

    Hi, Is there any freeware where i  can use to build basic java skills for writing XI UDF as well as developing modules etc. It would be great if it also incorporates XML validation and XSD generation. As I need to install in my Company laptop, i need

  • Trying to download reader

    So every time i try to download it i get error message saying ; only one instance can run. i'm baffled ! when i go to task manager in processes it shows reader exe. is running but hours later it doesn't setup ? wtf ?