How to delete firmed schedule line collectively.

Dear All,
Greetings...
Please give your valuable input to carry out the collective deletion of firmed schedule lines.
Thanks in advanc,
VIjay

please check this link..
[https://forums.sdn.sap.com/click.jspa?searchID=25906013&messageID=4862339]
karthick

Similar Messages

  • How to delete confirmed schedule lines, without executing the ATP check?

    Sales and Distribution: Concerning ATP (product allocation)
    Situation:
    Step 1: An order is created with priority low. Quantities are confirmed for line items.
    Step 2: A second order is created with a higher priority. No confirmed quantities.
    Rescheduling program (SDV03V02) is then executed. This selects and sorts the orders in the correct order.
    The confirmed quantities for the first (low priority) order should now be freed up, to be able to allocate those quantities to the second (high priority) order.
    The problem I am facing is that the confirmed quantities are NOT released.
    We cannot use BAPI_SALESORDER_CHANGE or SD_SALESDOCUMENT_CHANGE to delete or modify the schedule lines, because these function modules execute the ATP check again. And when that happens, quantities are again confirmed and assigned.
    How can we get rid of the confirmed schedule lines, without executing the ATP check?
    Thanks,
    Edwin.

    Found a solution to the problem:
    In the Rescheduling program we export a parameter to the memory, to make it possible to delete schedule lines without executing the ATP check.
    Deleting of the schedule lines is done with a BAPI, which will call the ATP check automatically for ATP relevant materials. This we want to stop from happening (only when calling the BAPI).
    After the BAPI has been called we FREE the MEMORY ID.
    The parameter is imported again in Customer-Exit EXIT_SAPLATPC_001.
    Transaction.. SMOD
    Enhancement.. ATP00001
    Component.... EXIT_SAPLATPC_001,
    Include...... ZXATPU01.
    The customer exit is used in function AVAILABILITY_CHECK_CONTROLLER, just before calling function 'AVAILABILITY_CHECK'.
    Simply refreshing the ATP tables in the customer-exit, will prevent the ATP check from being executed (because we removed the list containing the materials for which the ATP check needs to be done). As a result, the function 'AVAILABILITY_CHECK' will not be processed.

  • How to delete a schedule line from a PO

    Hi experts,
    Could you please help me out. Supplier confirmed twice through web which results in over commitment, now one of the schedule line need to be deleted for an item. How to do this..Please help.
    Regards
    Vinoth

    Hi Vinoth,
    Go to SPRO>Supply Network Collaboration>Basic Settings>Validation>SAP Standard Settings-->Display Settings for Standard Validation Profiles
    Click on Position button and enter Validation Profile=POC3,Validation check=PO_ITMOVERDELIVERY.
    Now check the following
    status =active ,
    Message type=E,
    save mode=DO not Save message ,
    Continuation=Continue Check.
    If it is not there goto SPRO>Supply Network Collaboration>Basic Settings>Validation>Own Settings-->Maintain Settings in Validation Profiles
    Validation Profile=POC3,
    Validation check=PO_ITMOVERDELIVERY.
    status =active ,
    Message type=E,
    save mode=DO not Save message ,
    Continuation=Continue Check.
    and save the setting.
    Thanks,
    Nikhil

  • 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

  • MRP Type P1 and late firm schedule lines

    Hello All,
         We are using MRP Type P1 which firms our schedule agreement schedule lines within the planning time fence (as desired).  However, sometimes the supplier is late on delivery and the firm schedule line goes into the past.
         Is it possible to have MRP move the firm schedule line delivery date to today instead of going into the past?
         Thank you,
         Jerry

    Hi ,
    Bring process forward (reschedule in)
    Within this rescheduling horizon, the net requirements calculation checks whether, after a requirement, a firmed receipt exists, which can be used to cover this requirement. Then the system displays a rescheduling date as well as the exception message Bring process forward for this receipt. The net requirements calculation then uses this receipt and the system will only create another procurement proposal if the receipt quantity is not sufficient to cover the complete requirement. Several firmed receipts can be used to cover one requirement.
    It does not take in to account the GR processing time and it is purely based on the stock requirement date , parameters in Procurement and Scheduling in the Material Master
    So it will consume the requirement  backward scheduling and bring the Process forward.
    Kumar which  strategy are you using ?  scheduling agreement is of weekly , daily or monthly bucket ?
    How many days SA bring to Production and How many days SA for forecast you are doing ?
    Are you using any Program to convert these SA in to PIR and upload ( using any program ) .
    Regards,
    Jayavimal
    Edited by: jaya vimal on Jun 16, 2010 1:33 PM

  • Unable to delete delivery schedule lines in MD04

    Hello All,
    In an intercompany process, plant A (receiving plant) placed an order
    through Schedule Agreement on plant B (sending plant). Accordingly
    schedule lines are released. Plant A received material but schedule
    lines are still reflecting in plant B of same qty's.. but not in plant
    A. Now we are unable to delete / remove schedule lines in plant B of
    stock / requirement list (tcode MD04).
    We would like to know why we are unable to delete these schedule lines
    in plant B. Pls. let us know how we can delete?
    Thanks

    But again system is not allowing to receive, stating qty is exceed over SA / PO.
    I have not seen that you mentioned this earlier. Instead you wrote earlier:
    In SA history we see only goods receipt happened through movement type 101 followed by invoice receipt. From supplying plant there was NO out bound or goods issue happened. .
    CAn you start again explaining your situation as it is totally unclear if you have problems with receipt or with goods issue?
    Of course you should only receive after it was issued.
    You should double click the message to get the long text along with the message number. the message number would help us to find a solution for you.

  • System is not firming schedule line automatically

    Hello,
    I want to know how the end and start date of planning time fence is calculated and why system is not firming schedule line automatically.
    In Material master I am using MRP type P1 and GR processing time 1 day, planned delivery time 1 day, planning time fence is 7 days. Lot size key EX
    Today is 19.11.2008. And I have requirement of this material coming from FG on 20.11.2008.In MD04 transaction system is showing End of planning time fence is 28.11.2008 which is fine as per material master (+ 7 days excluding sat & Sunday).
    When I run MRP for FG, system generates schedule line for this material procured form vendor for the required qty on 28.11.2008 with exception message (30-Plan process according to schedule20.11.08).
    As per firming type P1 system should automatically firm the order since requirement date is on 20.11.2008 and it should show the schedule line on 20.11.2008 not on 28.11.2008
    But when I change the delivery date manually from 28.11.2008 to 20.11.2008 it firms the schedule line.
    Please suggest what can be the solution
    Regards
    Nanhe Babu

    Dear,
    Check your MRP type and Planning time fence defined in mrp 1 view of material master?
    Firm zone (go-ahead for production)
    One of two periods specifying the degree to which the delivery schedule lines of a scheduling agreement release are classified as firm or semi-firm.
    Use
    ! Firm zone I Trade-off zone I
    !--!-II> Days
    SA release creation date Schedule line date
    Firm zone: (go-ahead for production)
    If the date of a schedule line lies within the firm zone, the vendor has the go-ahead to produce the relevant quantity with the assurance that the orderer will bear any and all material and production costs associated with the scheduled quantity in the event of subsequent cancellation by the latter.
    1. Another way of handling your issue is by using the manual firming .
    2. In mdo4 in the Edit menu u will find a Set firming date.
    3. Now you can select this and this will give u a popup for entering a date.
    4.When u give a date in this and hit enter.
    Also please note delivery schedule lines in ME38 (even it is created automatically), in Planning time fence, will get affected by MRP run.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • Deletion of schedule line in PO using BAPI_PO_CHANGE

    Hi ,
    Can anyone give me the code to delete a schedule line in a po using the bapi bapi_po_change.
    Useful answers will be rewarded.
    Regards,
    Sowmya.

    Hi,
    Refer below code
    *&      Form  sub_populate_data
          text
    FORM sub_populate_data .
    *--Local Variables
      DATA : l_ipdate      TYPE rc65a-datefrom,
             l_fdate       TYPE sy-datum.
      IF NOT it_succ_file[] IS INITIAL.
        LOOP AT it_succ_file INTO st_succ_file.
          st_ipfile = st_succ_file.
    *--Sales Document
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = st_ipfile-vbeln
            IMPORTING
              output = st_salesdoc.
          st_ord_headx-updateflag = c_u.
    *--Sales Document Item
          st_schedule_line-itm_number = st_ipfile-posnr.
          st_schedule_linex-itm_number = st_ipfile-posnr.
          st_schedule_linex-updateflag = c_i.
    *--Schedule line date
          l_ipdate = st_ipfile-edatu.
    *--Call function module to convert the date format into current user format
          CALL FUNCTION 'CY_CONVERT_DATE'
            EXPORTING
              date_string_imp = l_ipdate
            IMPORTING
              date_exp        = l_fdate.
          st_schedule_line-dlv_date = l_fdate.
          st_schedule_linex-dlv_date = c_chk.
          st_schedule_line-req_date = l_fdate.
          st_schedule_linex-req_date = c_chk.
    *--Order quantity in sales units
          st_schedule_line-req_qty = st_ipfile-wmeng.
          st_schedule_linex-req_qty = c_chk.
          APPEND st_schedule_line TO it_schedule_line.
          APPEND st_schedule_linex TO it_schedule_linex.
    *--Clear
          CLEAR : st_schedule_line,
                  st_schedule_linex.
          AT END OF posnr.
    *--Perform to delete the existing schedule line
            PERFORM sub_delete_schedule_line.
          ENDAT.
          AT END OF vbeln.
    *--Clear
            CLEAR : st_erfile.
            READ TABLE it_erfile INTO st_erfile WITH KEY vbeln = st_ipfile-vbeln
                                                         posnr = st_ipfile-posnr
                                                         BINARY SEARCH.
            IF sy-subrc EQ 0.
              g_error_records = g_error_records + 1.
              g_total_records = g_total_records + 1.
            ELSE.
    *--Call the bapi to update sales order schedule line
              PERFORM sub_call_bapi.
            ENDIF.
          ENDAT.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " sub_populate_data
    *&      Form  sub_call_bapi
          text
    FORM sub_call_bapi.
      g_total_records = g_total_records + 1.
    *--Call BAPI to update sales order schedule line for simulation mode
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = st_salesdoc
          order_header_inx = st_ord_headx
          simulation       = c_chk
        TABLES
          return           = it_return
          schedule_lines   = it_schedule_line
          schedule_linesx  = it_schedule_linex.
      IF NOT it_return[] IS INITIAL.
        READ TABLE it_return INTO st_return WITH KEY type = c_e.
        IF sy-subrc EQ 0.
          g_error_records = g_error_records + 1.
        ELSE.
          REFRESH : it_return.
    *--Call BAPI to update sales order schedule line
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument    = st_salesdoc
              order_header_inx = st_ord_headx
            TABLES
              return           = it_return
              schedule_lines   = it_schedule_line
              schedule_linesx  = it_schedule_linex.
        ENDIF.
        LOOP AT it_return INTO st_return
                          WHERE type EQ c_e.
          st_erfile = st_ipfile.
          st_erfile-message = st_return-message.
          APPEND st_erfile TO it_erfile.
          APPEND st_erfile TO it_file.
          CLEAR : st_return.
        ENDLOOP.
      ENDIF.
      IF it_file[] IS INITIAL.
    *--Call BAPI transaction commit to change the schedule line
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = c_chk.
      ELSE.
        ROLLBACK WORK.
    *--Call BAPI transaction rollback to rollback the schedule line
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      ENDIF.
    *--Clear
      CLEAR : st_salesdoc,
              st_ord_headx.
    *--Refresh
      REFRESH : it_return,
                it_schedule_line,
                it_schedule_linex.
    ENDFORM.                    " sub_call_bapi
    Regards,
    Prashant

  • Mass Deletion of Schedule Lines

    Dear Friends,
    Our client's requirement is to mass delete the schedule lines generated through MRP by wrong production schedule. They want to delete it once in a month.
    regards,
    Ask

    Dear,
    I'm not sure just try this,
    Go to SM30 table MASSFLDLST
    add field LOEKZ
    You defined in customizing table T161 field STAKO- LOEKZ
    Then you can delete it through MEMASSSA T.Code
    Else better you use tools like LSMW to close those unwanted schedule lines.
    Regards,
    R>brahmankar

  • Deletion OF schedule LInes from APO SPP(Spare Parts Planning) through ABAP.

    Dear All,
    I need to delete the schedule Lines from APO SPP(spare parts planning ) system.I am looking for any available BAPI provided by SAP for this purpose.Please provide me help if any of you folks previously in your project went through this requirement.
    If any other way is there other than BAPI please suggest.
    Regards
    Mukesh Pandey

    Hi Siddartha,
    That option is not working.
    Thanks

  • Deletion of schedule lines

    Hi,
    Is it possible to delete the schedule lines in mass in 4.6 versions. I know that it is possible in ECC 6.0.
    Regards
    Nilesh

    Hello Pravin,
    You correctly know that it is possible to delete the schedule lines in ECC 6.0.
    But unfortunately there is no transaction by which mass deletion of schedule line is possible in 4.6.
    User has to delete it individaully.
    Thanks

  • How to delete the specified line in file?

    How to delete the specified line in file? In case of deleting a specified line in a file, how to do?
    Line 1
    Line 2
    Line 3
    Line 4
    Line 5
    The case is a file including the above content. Now I wanna to delete the "Line 3" and how to realize the action in Java?

    An alternative solution can be :
    import java.io.LineNumberReader;
    import java.io.IOException;
    import java.io.File;
    import java.io.FileReader;
    import java.io.BufferedWriter;
    import java.io.FileWriter;
    import java.io.PrintWriter;
    public class LineDeleter {
    public static void main(String args[]){
    try {
    //suppose you want to delete line 3
         int lineToBeDeleted = 3;
         File f = new File("line.txt");
         long fileSize = f.length();
    //Wrap the FileReader with a LineNumberReader. It will help you
    //identify the lines.
    LineNumberReader lnr = new LineNumberReader( new FileReader(f));
    //Wrap the FileWriter object with BufferedWriter object. Create it with the buffersize
    //equal to the file size.
         BufferedWriter bw = new BufferedWriter(new FileWriter(new File("line1.txt")),(int)fileSize);
    //Wrap BufferedWriter object with PrintWriter so that it allows you
    //to print line by line
    PrintWriter pw = new PrintWriter(bw);
         String s=null;
         while ( (s=lnr.readLine())!=null ){
              System.out.println(s);
              int lineNumber = lnr.getLineNumber();
    //match the line number
              if(! (lineNumber==lineToBeDeleted)){
                   pw.println(s);
              pw.flush();
              lnr.close();
              pw.close();
         catch(Exception e){System.out.println(e);}
    If you want you can rename the line1.txt to the original file name.
    I hope this helps.Good luck!!!!!!

  • How to delete a whole line in cmd prompt in Linux

    Hi all,
    How to delete a whole line in cmd prompt in Linux using short key?
    ex: [oracle@host1 ~]$ cd /u01/app/oracle/product/11.2.0/dbhome_1/
    Thanks

    yes ctrl+ak or ctrl+eu both are better. if you look from that perspective, go end and delete will be the same job too. (ctrl+eu) (but for me in such a command line, for example cding in to the directories ,the cursor will be at the end of the line %99 of the time :) )
    about ctrl-t,
    Drag the character before the cursor forward over the character at the cursor, moving the cursor forward as well. If the insertion point is at the end of the line, then this transposes the last two characters of the line.
    for ex:
    misspelled command date -> daet -> ctrl+t -> date
    or
    misspelled command $APPPL_TO -> place the cursor on third P press ctrl+t repeateadly till the P will come to the end -> APPL_TOP

  • How to delete the horiz line of addresses beneath the address bar

    How to delete the horiz line of addresses beneath the address window. They are not affected by the "delete recent sites" tool.

    Do you mean the tab bar?
    See [[Tabbed browsing]]

Maybe you are looking for

  • Macbook screen is black

    MacBook 2007 starts up to black screen. When plugged into external monitor, it shows the native startup screen without menu bar, icons, or dock. The pointer shows and responds to the mouse, but there is nothing to click on. Any suggestions? Thanks. -

  • Calling a vi in scilab script

    Hello! What I'm trying to do here is the following: I am developping a VI that uses a certain algorithm to function. I put the algorithm into a Scilab script structure, no problem here I already did that. The problem is, during the execution of the s

  • To put WML Content  in JSP.?

    hi all....i m working with one mobile application ..in that i want to put my wml content in jsp ....can i put all wml content and tag in jsp ......if yes then could u give me sample for that one so it will be appriciate me.... regards.....

  • JRockit 8.1 dumps on RH Linux AS 2.1, kernel v2.4.9-e.3smp

    Hi All, I am using JRockit 8.1 SDK and it dumped on RH Linux AS 2.1, kernel v2.4.9-e.3smp. The machine configuration is Xeon,3.06 GHZ Dual CPU with hyperthreading disable. My program runs multiple threads and each of them tries to do Inet Address loo

  • At&t +1 (1) (216)116-11 error invalid number please resend using 10 digit mobile number

    tried all the method proposed for former similar questions. None works. Even more confused about whether it is the problem of AT&T or apple or both? How can I solve it. It's really annoying!