Changing of Schedule line

Hi Friends,
I have a below mentioned issue.
We have nearly 500 sales order created on jan 1st 2010 and which are scheduled for the delivey on April 2nd 2010.
But now the stock is ready and we want to deliver all the sales orders.
So my question is how to change the schedule lines for the current date to all the sales orders inorder to deliver the stock immediately.
Kindly provide me the solution ASAP
Thanks
RAM

Hi
When you run a V_V2 rescheduling program, by inputting material and plant, all the open sale order (back orders) schedule lines get confirmed.
Then you can proceed with delivery creation through VL01n or vl10e etc.
thank you
Anirudh

Similar Messages

  • Delivery Date needs to be changed on Schedule lines

    Hi All-
    I am using BAPI_SALESORDER_CHANGE, to update the delivery date on the schedule lines...If I have 2 lines of schedule, needs to be updated the second one ETENR '0002'...
    Bapi returns message that successfully processed, when I go back and look at Sales order, I don't se any changes on schedule line..
    I am pssing into BAPI, sales doc and schedule line with the delivery date and the flag 'U'..and also I am using BAPI commit...
    But, let me know if I am missing something and also let me know is it possible to change schedule delivery date or not?
    Thanks,
    Sony

    Hi
    Please follow this process.
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data.
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

  • How to change the schedule line date in SO with reference to value contract

    Hi SD Guru's,
    I need to change the schedule line date in the sales order with reference to the value contract by using some algorithm that i will write. The problem that i can't find the suitable place to add the algorithm. I can't add it to the Copy control because there is no schedule lines in value contract and copy control for schedule lines does no exist.
    I can not add to user exit MV45AFZZ  , because order that was created with reference to the value contract, does not go through this user exit.
    Do you have some ideas where i can add it?
    Thanks and Regards
    Viky
    Edited by: Viky Sloutsky on Oct 20, 2010 12:43 PM

    Hello Viky
    How about using program MV45AFZB- USEREXIT_CHECK_VBEP or USEREXIT_MOVE_FIELD_TO_VBEPKOM
    or program FV45EFZ1- USEREXIT_CHANGE_SALES_ORDER
    Does the program go through these exits when an order is created with ref to a value contract??
    Also I am wondering why you need to change a Schedule line determined by Availability check and/or delivery scheduling?

  • KANBAN cycle - Change of Schedule line dellivery date.

    Hi,
    I have some queries in KANABAN scenario
    1) How to change the schedule line delivery date generated from KANBAN cycle.
    2)How to avoid generation of schedule lines from KANABAN if the Scheduling agreement was not released.
    regards,
    Kannaiah Naidu

    Hi,
    1.It is not possible to change the schedule lines of the Scheduling agreement with kanban indicator. Only work arround solution is to remove the kanban indicator. Then you can change the schedule line.
    2.Using user exit, during emptying of the bin check whether scheduling agreement is released on not.If not released generate error.
    Regards,
    Krishna A S V

  • Change the schedule line committed qty in PO items using ME_PROCESS_PO_CUST

    Dear Experts,
    I want to make the PO item schedule line committed quantity MNG02 field to zero, for this purpose I wrote the logic as below.
    but its not changing the committed quantity to zero. Please advice me.
    method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
    DATA: lwa_po_header TYPE REF TO if_purchase_order_mm,
            lwa_mepoheader TYPE mepoheader,
            lwa_mepoitem TYPE mepoitem,
            lwa_mepoitemx TYPE mepoitemx,
            lwa_ekko TYPE ekko,
            lwa_ekpo TYPE ekpo,
            lwa_ekpv TYPE ekpv,
            lwa_eket TYPE eket,
            tp_minqty TYPE min_qty,
            tp_clabs TYPE labst,
            tp_kosch TYPE kosch,
            tp_werks TYPE werks_d,
            tp_tdid type tdid,
            ta_textlines type MMPUR_T_TEXTLINES,
            lwa_textlines LIKE LINE OF ta_textlines,
            lwa_minstk TYPE zminstk.
      DATA: schedules TYPE PURCHASE_ORDER_SCHEDULES,
            schedule LIKE LINE OF schedules,
            lwa_schedule TYPE meposchedule,
            tp_mtvfp TYPE mtvfp,
            tp_avqty TYPE BSTMG,
            tp_minqty1 TYPE BSTMG.
      if sy-tcode = 'ME21N'.
    Get PO Header data
        lwa_po_header = im_item->get_header( ).
        lwa_mepoheader = lwa_po_header->get_data( ).
        MOVE-CORRESPONDING lwa_mepoheader TO lwa_ekko.
    Get PO Item data
        lwa_mepoitem = im_item->get_data( ).
        MOVE-CORRESPONDING lwa_mepoitem TO lwa_ekpo.
    *-> Get schedule line data
                  CALL METHOD im_item->get_schedules
                    RECEIVING
                      re_schedules = schedules.
                  LOOP AT schedules INTO schedule.
                    CALL METHOD schedule-schedule->get_data
                      RECEIVING
                        re_data = lwa_schedule.
    *-> Change Committed quantity
                    lwa_schedule-mng02 = 0.
                    CALL METHOD schedule-schedule->set_data
                      EXPORTING
                        im_data = lwa_schedule.
                  ENDLOOP.
                    CALL METHOD im_item->set_data
                      EXPORTING
                        im_data = lwa_mepoitem.
        ENDIF.
    endmethod.

    Hi Siddu,
    Please finf enclosed with the suedo code.
    DATA: LS_MEPOITEM TYPE MEPOITEM,
                LS_OBJ TYPE REF TO IF_PURCHASE_ORDER_MM,
                LS_MEPOHEADER TYPE MEPOHEADER.
    *IM_ITEM is ur importing parameter
    in order to get the  item details :
    LS_MEPOITEM = IM_ITEM->GET_DATA( ).
    *In order to get the current document type
      LS_OBJ = IM_ITEM->GET_HEADER( ).
      LS_MEPOHEADER = LS_OBJ->GET_DATA( ).
    Now you have your document type in LS_MEPOHEADER-bsart ...
    IF LS_MEPOHEADER-bsart ... = ur custom doc type .
    *Set the return item = 'X'.
    LS_MEPOITEM-RETPO = 'X'.
        CALL METHOD IM_ITEM->SET_DATA
          EXPORTING
            IM_DATA = LS_MEPOITEM.
    ENDIF.
    Hope this helps you,,,
    Regards,
    Deepak.

  • VA02 changing the Schedule line

    Hi All,
    I have an issue where in one Sales order is created. after saving the order whenever you open in change mode(VA02), and though you do not make any changes, when it prompts for Save you say yes. Then if you see the changes made for the order in Environment-> chnges,  for a perticular line item the schedule line two is deleted and created agian. It will be saved by the user id of the user who opend the order in the change mode.
    when it promts for save, If you say NO, then no changes will be recorded.
    Kindly help me with the issue.
    Please let me know If any OSS notes exists for correction. Its happening only with a perticular order.
    Thanks
    Swathi

    Dear Swathi,
    Not sure if this is a standard issue. Could you please check with your ABAPer if they have done any changes in the user exit specific to orders?
    thank you
    Venkatesh SP

  • MASS CHANGE IN SCHEDULE LINE DATE

    Hi All,
    Will u advise whether it is possible to change schedule line date in MASS
    Example. We are having make to order scenario. Sales order is prepared with 25 different line items with shipment date 10 th Feb. Out of these 25 items 10 items are ready by 20 th Jan. If we want to ship these goods on 20 th Jan. we have to change schedule line date item wise.
    Is there any way that we can make this change in a mass without changing delivery date of the sales order.
    Thanks
    Ravi

    V_V2 calls a program that can be 'customized' since it consist of 2 phases:
    1) selection phase
    2) rescheduling phase
    You can copy program SDV03V02 into a custom one and add your own selection criteria without altering the second part of it.
    I alreay made it and it works fine even when upgrading.
    regards
    Roberto Mazzali
    pls. reward if helpful

  • Purchase Ord delivery date changes SO schedule line date?

    Hi,
    I am purchasing a drop ship item as per sales order. The account assignment in the purchase order is the Sales order. 
    Why in some cases the schedule line date in the sales order changes when I change the delivery date in the purchase order? whereas in other cases it does not.
    Please help me out with this question.
    Sincerely.
    Puja

    Puja,
    The SO schedule line date should not change when you change the purchase order delivery date.
    However, if you change the PO del date, AND a user performs re-ATP against the sales order, OR if you are running backorder processing (rescheduling) of sales docs, then the SD item/schedule date may change to match the changed availability situation caused by the change of the delivery date of the PO.
    Look in the sales order in VA03, then Environment>changes.  Look to see if anyone or anything has 'touched' the SO item that is home to the schedule lines that were affected.
    Regards,
    DB49

  • MD04 firm schedule line - ME38 schedule line manualy changed

    Hello Gurus,
    many users change manually quantity in schedule lines but then the schedule is locked and becomes firm in MD04 ( * ) so that MRP does not take this quantity into account.
    How to change this behaviour as I want the MRP to take this modification into account ?
    Thanks a lot.

    Hi,
    When your users change a schedule line they are automatically firmed as the system can only assume that they know more about the supply position than it does.
    MRP does take the quantity into account, however, it is not allowed to change the date nor the quantity, so any increase or decrease in demand is reflected in the first unfirmed schedule line.
    This behaviour is not configurable.
    If the firmed schedule line is not correct because the user has made a change in error then you need to set the quantity to zero so that the schedule line is deleted. MRP will then create a new schedule line in line with the planning parameters and current stocks / demand.
    Hope that has answered your question
    Alex Dixon

  • BAPI to read and change schedule lines in APO

    Hello experts,
    We want to firm schedule lines inside the firm zone of the APO procurement scheduling agreements with a daily job. For this we are trying to use BAPI BAPI_POSRVAPS_GETLIST3 and BAPI_POSRVAPS_SAVEMULTI3. The getlist one does not return schedule lines, it returns purchase orders and purchase requisitions. Are these the right bapis to read and change schedule lines in APO? or is there anyother one we can use?
    Thanks and regards,
    Ergul

    Hi,
             You can use the below code to read the schedule lines.
    Checking a session exists
        CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
          IMPORTING
            ev_simsession = gv_sims
            es_gen_params = gv_params.
    If not create a new session and read it
        IF gv_sims IS INITIAL.
          CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_CREATE'
            IMPORTING
              ev_simsession = gv_sims.
          CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
            IMPORTING
              ev_simsession = gv_sims
              es_gen_params = gv_params.
          g_cre_chk = 'X'.
        ENDIF.
    CALL FUNCTION '/SAPAPO/CMDS_TPSRC_GET'
        EXPORTING
          iv_ebeln                       = p_l_t_acknh_ebeln
          iv_ebelp                       = p_l_t_acknh_ebelp
        TABLES
          et_tpsrc_all                   = lt_tpsrc
        EXCEPTIONS
          matid_not_found                = 1
          locfrom_not_found              = 2
          locto_not_found                = 3
          scheduling_agreement_not_found = 4
          error_selecting_schedagreement = 5
          OTHERS                         = 6.
      IF sy-subrc = 0.
    reading the scheduling agreement records
        READ TABLE lt_tpsrc INTO ls_tpsrc INDEX 1.
        CALL FUNCTION '/SAPAPO/PWB_BZQID_GET_ORDER'
          EXPORTING
            iv_simid               = '000'
            iv_bzqid               = ls_tpsrc-bzqid
          IMPORTING
            ev_ordid               = lv_iordid
          EXCEPTIONS
            lc_connect_failed      = 1
            no_elements            = 2
            unit_conversion_failed = 3
            OTHERS                 = 4.
        IF sy-subrc = 0.
          CALL FUNCTION '/SAPAPO/PWB_GET_RELATED_ORDERS'
            EXPORTING
              iv_ordid             = lv_iordid
              iv_order_type     = '16'
              iv_simid            = '000'
            IMPORTING
              ev_ordid          = lv_eordid
            EXCEPTIONS
              order_not_found   = 1
              lc_connect_failed = 2
              no_elements       = 3
              OTHERS            = 4.
          IF sy-subrc = 0.
            APPEND lv_eordid TO lt_ordid.
            CALL FUNCTION '/SAPAPO/DM_PO_READ'
              EXPORTING
                iv_simsession     = gv_sims
                is_gen_params     = gv_params
                it_ordid          = lt_ordid
              IMPORTING
                et_schedule       = p_lt_sched
              EXCEPTIONS
                lc_connect_failed = 1
                lc_com_error      = 2
                lc_appl_error     = 3
                OTHERS            = 4.
          ENDIF.
        ENDIF.
      ENDIF.
    Use '/SAPAPO/CMDS_SNP_MM_ORD_MODIFY' function module to change the schedule lines (Pass '16' to iv_order_type parameter).
    Let me know if u have any issues.
    Regards,
    Siva.

  • Schedule line date changes after each MRP run

    Dear Experts,
    Clarification needed on how the system plans the MM schedule lines.
    Setting: Start in the past not allowed.
                  3 days for processing of order
    The issue is after each MRP run the system is moving the schedule line to the current date + 3 days for processing + the planned delivery time.
    If the schedule line is not firmed, after each MRP run ( which happens everyday) the system is moving the schedule line and then giving an alert saying the " order has to be rescheduled to the previous day"
    on the second day after the mrp run the system moves the schedule line again by one more day and gives the rescheduling date as " -2 days from today"
    this change is happening every day after the planning run. - because of this there are really no backorders ( schedule line in the past ) in the system. we were not able to know if the vendor is actually delayed in this case.
    can you kindly suggest what went wrong here ??
    we are using strategy 10 for the planning of procured parts. Let me know if more info is needed.
    Note: we are also using stock transfer process for some procured parts. there too the PR date gets changed after each MRP run. There there is no lead time in this case. the order is placed on the same day as the requirement as both plants are nearby. There the PR date is changing everyday to the current date.
    your advice would be of great help
    thanks
    Nagendra Kumar

    Hi Caetano,
    thanks for your suggestion
    Yes, we use firm zone for few of the vendors. there the system don't change the schedule lines.
    Also for the stock transfer PR's there is no firm zone and the lead time is one day. in this case it changes everyday after the MRP run.
    the stock transfer PR's leads to the creation of Schedule lines from the source plant. Since this PR gets changed everyday. the alerts coming out of MD07 gets changed and we really did not know if this order is delayed or not.  In the source plant we use the firm zone to avoid moving the schedule line. But then the alerts are always not correct.
    is there any setting which helps in not moving the PR everyday without using " start in the past"
    thanks
    Nagendra Kumar

  • How to Change Schedule line Quantity in BADI 'ORDER_SAVE'

    Hi,
    I need to change the Schedule line quantity While Order saving. I am writing the code in ORDER_SAVE BADI. Using the Header guid i am reading the details and changing the quantity in Schedule line structure. How can i pass those values in to Memory so that order quantity will change. I try to Use CRM_ORDER_MAINTAIN but not able to change the quantity. Can an

    Hi,
    You need the One Order Function Module - CRM_ORDER_MAINTAIN to update the Schedule line value. So, you need to have a look at all the fields that are necessary to fill using the Tables and Structures. If you have the header guid, then you can probably pass the guid to CRM_ORDER_READ to read the values and then fill in the entries necessary to make the changes.
    You can also debug the order code to get a feel of the necessary changes.
    Hope this helps.
    Thanks,
    Samantak.

  • Re: Check Schedule Line Date Change

    Hi,
    I need to prevent the user from manually changing the schedule line date, but still allow
    BAPI_SALESDOCUMENT_CHANGE to do the same when required.
    I have tried checking the SL date change in user-exits USEREXIT_MOVE_FIELD_TO_VBEP,
    USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT, but have been unsuccessful.
    Any pointers appreciated.
    Thanks,
    GShankar

    Hello Girija,
    I  have used similar concept for something else in Sales order and i know it will work for schedule line as well. I propose two solutions;
    1. While saving the sales order let the User-Exit grey out the 'schedule line' feild and create a table with key 'approver' and User ID feild and let User-Exit Validate this 'Approver's User ID which will be seperately fed into the system (these User Id can be of those who are allowed to change the Schedule line).
    2. Instead of Creating Table for 'Approver - User ID' you could Use Status Management. In this case you could allow system to grey the 'Schedule Line' Feild in some stauts and the user may be allowed to Change in some other User Status. Eg:Status-'Schedule line Change' May allow system to Change the Feild in this case you table will have to be maintained only once or can be hardcoded to check the status and behave accordingly.
    I hope I was Clear in explaining the logic. Good luck

  • Change schedule line date

    Dear All,
    I have a requirement where required delivery date for one divisions material
    in sale order and STO should automatically propose todays date plus 10 days i.e.
    if any sale order or STO created today then required delivery date in STO and
    SO should show 24.10.2010.
    Accordingly we have maintained planned delivery time in material master 10 days in MRP2
    view and it is working fine but another requirement is that user can reschedule the
    delivery and he can change the schedule line date in So (RV45A-ETDAT) before or after
    10 days in VA02 but it is not allowing to change it is considering todays date + 10 days.
    In STO it is allowing for change the delivery date (MEPO1320-EEIND).
    Plz advice how I can make the field RV45A-ETDAT changeable in sale order through VA02.
    Regards,
    sps.

    Hello,
    If you want a sales order to have the requested delivery date automatically populated with today's date +10 business days, this can be maintained via the following SPRO path:
    SAP IMG --> Sales and Distribution --> Sales --> Sales Documents --> Sales Document Header --> Define Sales Document Types
    Go into the sales document type you would like to maintain.  In the section "Requested delivery date/pricing date/purchase order date", there is a field Lead Time in Days.  Put 10 in here, and the requested delivery date will automatically be set to +10 days when an order is being created.
    Planned delivery time in the material master is for when you're out of stock and the system proposes the next available delivery date.  If you have stock on hand, when the availability check runs the system will use the line level delivery date.  At order entry, when a line item created this line level delivery date is taken from the requested delivery date.
    I hope this helps you.

  • Schedule Line Category change-USER EXIT

    REQUIREMENT:
    When saving a SALES ORDER, Change the schedule line category on the SALES ORDER from CP(Standard Availability Check) to CS(Third Party Processing u2013Trigger Purchase Requisition)
    Initially when we create the SALES ORDER, we have Schedule line category CP to generate schedule lines based on stock availability
    SO Date- 09/14/2010
    Schedule line 0001--- 09/14/2010 --- Confirmed Qty (0) --- Sched Line Categ(CP)
    Schedule line 0002--- 09/16/2010 --- Confirmed Qty (1) --- Sched Line Categ(CP)
    Config Change: We have changed the Schedule line category- CS to turn off Purchase Order Scheduling (Indicator turned off--P.req.del.scheduling)so that when we change the schedule line category, no PO scheduling happens again
    Our requirement is that when saving the sales order, we want to change both the schedule lines item category-0001/0002 from CP to CS
    SO Date- 09/14/2010
    Schedule line 0001--- 09/14/2010 --- Confirmed Qty (0) --- Sched Line Categ(CS)
    Schedule line 0002--- 09/16/2010 --- Confirmed Qty (1) --- Sched Line Categ(CS)
    After saving the order, a Purchase Requisition is generated for the Schedule Line 0002..
    MY QUESTION:
    Is this possible using the BAPI_SALESORDER_CHANGE without changing the dates on the schedule lines or deleting any schedule line
    Thanks
    Kumar

    Hello Kumar,
    Please check the User exit and let us know whether your requirment is met or not.
    #USEREXIT_MOVE_FIELD_TO_VBEP
    Use this user exit to assign values to new fields at the level of the sales document schedule lines.
    The user exit is called up at the end of the FORM routine VBEP_FUELLEN.
    Regards,
    Sarthak

Maybe you are looking for

  • Mini dvi to hdmi connection issues

    Trying to set up my 2007 imac to my Panasonic tv. I have a mini dvi to hdmi converter and an hdmi cable connected to my tv. I only get a blank screen on the tv, but it seems that the computer is connecting. When i go into sytem preferences for displa

  • ODI 11g : How to migrate ODI objects ?

    Hello, We need to migrate our ODI 11g objects (Packages,Interfaces, DataServers, DataStores and so on) from UAT to PROD environment. For that, we have the following option in our mind. Option - create ODI Master and Work repositories on PROD environm

  • CS3 Bridge won't start

    For the first time, Bridge won't start-up either from CS3 or the XP Programs areas in Startup. I downloaded and inrtalled the CS3 Bridge 2.1.1 update and it did not help. I get the Message: The app failed to initilize properly (Oxc0000022). Click OK

  • Trade in macbook pro

    i see on the Apple recycle scheme where you may trade your old computers in for money however when i am saying what compuetr i have i only see options for older macbooks i am wondering do Apple buy back the 2011 models of their computers , because th

  • Macbook slow to start-up and displays unusual start-up screen

    Hey everyone, For the last week or so my Macbook has been behaving strangely when I start it up from sleep: it displays the screen you would normally get after your battery has fully emptied and you have just powered up your computer again (I'm not 1