Converting Open Sales Orders after MM data changes

Hello,
   We are 'upgrading' a live v4.7 system to now use MRP. We have many open Contracts/Sales Orders with the affected materials. We are looking for a way to have SAP 'recalculate' or 'reload' the material master and VC data for these open orders without having to create new contracts/orders. There are absolutely no changes to the data entered into the contract/order. But because the orders were created with the old material master information they will not generate the MRP requirements unless we go into each order and cancel the line item and re-enter it into the order. This would be a significant amount of work to do either manually or writing a program to create new orders based on the existing orders.
Anyone know of a method or tool that will force SAP to reload the MM/VC config information into these existing open orders?
I would think this is a common issue for SAP upgrades where the new system turns on MRP.
Any help is greatly appreciated and good answers will get points.
John

hello, friend.
i will still research the subject.  but the first thing that comes into my mind is t-code VA05.  with this, you have the option to change the Plant en masse.  so a possible workaround is for you to list a number of sales orders using VA05.  you then sort the line items by Plant.  choose all items with the same plant, change the plant via mass change... then change back to the original plant.  hopefully, the new settings should apply.
do test a few sales orders by doing this for a larger scope.
regards.

Similar Messages

  • How to convert open sales order status to close

    Hi Guru,
    There are lot of sales order in Open status and Overall status is Being processed, i have given the reasoning on Header and Line items and checked the Complete status. I also blocked the billing & delivery by using t-code VA02. when I see the open sales order in VA05 then these sales order exists in VA05 with staus A - Open.
    Please guide / help me that what i have to do to close these order or convert open sales order status in complete or short close.
    Best Regards,

    Thanx Experts,
    It is working, But it is not working in those sales order which order qty, delivery qty, confirm qty = 0, kindly let me know what is the way out to remove such sales order from the open sales order list. I try to delete but SAP says "This document cannot be deleted" Pl. help...
    Thanx for solutions.
    Regards,
    Edited by: VijayAngrish on May 18, 2010 7:48 AM

  • LSMW For Converting Open Sales Orders (not working for more than 1 item)

    Hi,
    I am using following standard object for Open sales orders .
    Object               0090   Sales documents                   
    Method               0000                                     
    Program Name         RVINVB10                                 
    Program Type         D   Direct Input                         
    Its not working for more than 1 line item.
    For more than 1 line item its giving Error saying that
    '102122                         V1                   845
    Print parameter SAPML2 1 is not defined
    Can anybody help me out in this regard.
    Thanks in advance.
    Nitin.

    hello, friend.
    i will still research the subject.  but the first thing that comes into my mind is t-code VA05.  with this, you have the option to change the Plant en masse.  so a possible workaround is for you to list a number of sales orders using VA05.  you then sort the line items by Plant.  choose all items with the same plant, change the plant via mass change... then change back to the original plant.  hopefully, the new settings should apply.
    do test a few sales orders by doing this for a larger scope.
    regards.

  • Query for all open sales order with a date range

    Hi Experts!
    I wrote this query that will look up all open sales order of a particular customer and how much was served:
    SELECT T0.[DocNum] 'OS #', T0.[DocDate] 'Posting Date', T0.[CardName] 'Customer',  T1.[Dscription] 'Item Description',T4.[SalUnitMsr] 'Sales UOM', T4.[InvntryUom] 'Invty UOM', T1.[UseBaseUn] 'Use of Invty UOM' , T1.[Quantity], T1.[Quantity]-T1.[OpenQty] 'Served Qty', T1.[OpenQty] 'Unserved Qty' FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.[DocStatus] = 'O' and T0.[CardName] =[%0]
    However, I don't know how to input a parameter for the date range in a query.  Can anyone help with this issue?
    Your input will be highly appreciated.
    Warm regards,
    Jen

    Hiiiiiii
             Try This.....
    SELECT T0.DocNum 'OS #', T0.DocDate 'Posting Date', T0.CardName 'Customer', T1.Dscription 'Item Description',T4.SalUnitMsr 'Sales UOM', T4.InvntryUom 'Invty UOM', T1.UseBaseUn 'Use of Invty UOM' , T1.Quantity, T1.Quantity, T1.OpenQty 'Served Qty', T1.OpenQty 'Unserved Qty' FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCTG T2 ON T0.GroupNum = T2.GroupNum INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode WHERE T0.DocStatus = 'O' and T0.CardName ='[%0]' and (T0.DocDate>='[%1]' and T0.DocDate<='[%2]')
    Regards,

  • Sales Order availability checks + date changes in POs v Proc Orders

    Am getting into a knot about availability checks.
    I have a MTO process. All my materials have the same planning strategy (MRP3) but are either inhouse manufactured/external (MRP2)
    1. I create a sales order for a subcontracted material so MRP creates a Purchase Requisition which I convert to a Purchase Order..
    OR
    2. I create a sales order for a manufactured material so MRP creates a planned order which I convert to a Process Order
    Let say I have a delivery date in the sales order of September 20th for both scenarios above.
    1. For the subcontract PO, my delivery date is confirmed by the vendor as October 10th so I change the delivery date in the PO. If I run the availabilty check in the sales order, the sales order delivery date changes from September 20th to October 10th.
    Perfect.
    BUT
    2. For the manufactured products, if I change the process order to have a Finish Date of October 10th due to a busy production line, when I go into my sales order and run the availability check, it still comes back with September 20th, i.e. ignores the date on the Process order. Why isn't it updating to October 10th?
    My ATP check is set up to include Production/Process Orders. any suggestions as to what I'm doing wrong?
    Many thanks.

    Hi Shiva
    Here are my availability check settings in OVZG
    All "Stocks" checkboxes are unticked except for "W/O Subcontracting".
    All "In/outward movements" checkboxes are ticked.
    X "check all planned orders"
    X "Take all production orders into account"
    X "Check releases for stock transport orders and requisitions".
    o.

  • Open sales order report with billing date.

    Hi,
    I want to know if there's an available report for open sales order with billing date field.
    Thank you.

    Hi,
    If your case is "Order-related" Billing,you can use the T.Code "VF04" for this purpose.
    One more way is to go for a custom report.
    Make a copy of code of the T.Code "VA05n"(Program Name is "SD_SALES_ORDERS_VIEW").
    Change the code as per your requirement to display the field "Billing Date" in the report.
    Check with your ABAPer if you wish to go for a custom report.
    Regards,
    Krishna.

  • Permanent closure of Open Sales Orders

    Morning Gurus !!
    May be this is an issue with a lot of consultants. Our company wants to close all the open Sales Orders, for which I have suggested giving a Reason for Rejection or a Credit Block to close them. But end users are asking for a method where the closed Sales Orders should not be editable or changable in VA02, they should permanently be closed. 
    For this requirement I searched the forum and found no solution except one thread, which I did not understand, how to implement. I am giving that info here:
    Thread by - Ravi D Mansharamani, Posted on Feb 27, 2008. Topic: Closing of a Sales Order
    "You can use status profile (Transaction BS02) at sales order header and here you can define status 10 as created and status 20 as completed. Now for status 20, you can define objects types wherein you wont allow any changes by clicking on forbidden for a particular status, in this case status 20."
    Now my questions are:
    1. How to implement above suggested method and will it permanently close an open sales order?
    2. If this does not, then is there any way in which we can close an open sales order which cannot be changed in VA02??
    3. If I want to attach a document or a screen shot to a thread, how to do it?
    4. How to know a thread no., if I want to give reference of it in my thread?
    Your valuable suggestions are urgently needed
    With best regards.
    Venkat - Hyd

    Hi Venkat ,
    We can very well do this by using status profile concept.Pls configure as per below.
    1.SPRO -
    S&D u2013 Sales --- Sales Documents u2013Define and Assign Status Profile T Code:BS02
    Define status profile
    2.Assign two statuses to the status profile : Double Click on the newly created status profile to create the statuses
    3.Click on Object types to select the relevant object .Select the object type and save the profile.
    4.Assign status profile to relevant Sales Order Types : VOV8
    5.Finally we can control the closing the closing functionality in Exit.MV45AFZZ .
    Hope it helps,
    Sash.

  • Getting data in GATP Planning area on open Sales Orders yet to be PGI'ed

    This is in context of allocation planning.
    I understand there are two internal GATP relevant key figures AEMENGE (allocation) and KCQTY (incoming sales order quantity) which come over from R3. These two key figures are part of any allocation planning design to track consumption of allocation from sales orders.
    We have a requirement to also get information on open sales orders not PGI'ed into GATP planning area. Is there a way to do this without configuring SNP and only core interface ? (Releasing data from SNP to GATP does not work since the levels are different)

    Hi
    Just to correct you. The tcode is LBWQ and not LBQW.
    Well as per your lines that it is not possible for 400 users to manually feed the data after changes .I totally agree.
    To help get the same functionality we have v3 jobs or direct delta which serves the same job for you.
    This is a job that runs at a regular interval as per you set it in the tcode LBWE.
    If the Datasource is Delta Enabled then only these jobs would be available to run for those data sources and if incase the DS is Full then you dont need these jobs at all.
    Thus once you set your DS as Delta. Go to LBWE select the DS you are working upon for delta
    After finding the DS you see two options update mode and update.
    Update mode -you can choose the type of update mode for example direct, queued and so on.. Generally we use Queued Detla
    Update - you have to set here how do you want it to run and from wat date etc.clickin on job control gives you a window where in u can set all the fields as per ur requirement.
    Once after these are done your job would automatically run and collect the changed records to the delta queue and from there you can pull the same using info pack.
    Hope that clarifies your doubt to some extent.
    Edited by: Puneet Chawla on Jan 29, 2010 8:52 AM

  • How to identify open sales orders by sales representative by due date. ?

    We rely heavily on forecasting our "billing pipeline".   Billing Pipeline is defined in our organization  by:
    All billings for a specified date range + (all open sales orders + deliveries)  not yet billed but due by  a specified due date = Billing Pipeline.  
    The open items list by Sales Orders + Deliveries will accommodate that by the company but does not accommodate a breakdown by sales person.
    I am looking for a way to generate all Sales Orders & Deliveries that are not yet billed by due date for each sales person. 
    Has anyone done this in SAP core reporting or have a query to accomplish this ...?
    Thanks, Dan
    Prograde

    This one will show you Open orders by open lines by Sales Person by Date Range
    You can use the same structure for Open Deliveries. Change Ordr to Odln and RDR1 to DLN1
    Regards,
    M. Jenkins
    SELECT T2.SlpName, T0.DocNum, T0.CardCode, T0.CardName, T0.NumAtCard as 'Cust PO', T1.ItemCode, T1.Dscription, T1.Quantity, T1.OpenQty AS 'Open', T1.Price, (T1.OpenQty * T1.Price) AS 'Total Net', T1.ShipDate FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode WHERE CONVERT(nchar(8), T0.DocDate, 112) >= [%0] AND  CONVERT(nchar(8), T0.DocDate, 112) <= [%1]  and  T1.LineStatus ='o' ORDER BY T2.SlpName, T0.CardName, T0.DocNum
    Edited by: Inc. Cowper on Feb 4, 2009 8:39 PM

  • Open Sales order is Consumed and after it shipped it Unconsumed

    Hi All
    apprcate you help on the issue bellow :
    we manage the forecast Via Oracle forecast set Form name is : MRPFFDIF
    we set the prpfile MRP:Consume Fcst Set Summary to Yes
    Customer expectation is that when running consumption only open sales orders will be consumed
    but when sales order has been consumed and day after shipped and close
    sales order consumed data will be save and not unconsumed when consumption is running again
    the bellow scenario example the issue :
    Day 1
    Forecast Origin Qty = 10
    Open So = 5
    when running consumption forecast current qty will be 5
    On Day 2 we shipped the So qty (5) and it become close
    when running consumption the Origin Qty become 10 and this is not reasonable
    the expectation is that Current Qty will be remain 5 as it was on day1
    Thanks in Advance          

    Hi All
    apprcate you help on the issue bellow :
    we manage the forecast Via Oracle forecast set Form name is : MRPFFDIF
    we set the prpfile MRP:Consume Fcst Set Summary to Yes
    Customer expectation is that when running consumption only open sales orders will be consumed
    but when sales order has been consumed and day after shipped and close
    sales order consumed data will be save and not unconsumed when consumption is running again
    the bellow scenario example the issue :
    Day 1
    Forecast Origin Qty = 10
    Open So = 5
    when running consumption forecast current qty will be 5
    On Day 2 we shipped the So qty (5) and it become close
    when running consumption the Origin Qty become 10 and this is not reasonable
    the expectation is that Current Qty will be remain 5 as it was on day1
    Thanks in Advance          

  • Open sales order value for credit check need to be changed (S066)

    Hi all,
    I need to change open sales order value which is already there in S066 table.
    Previously we had used open order value for credit check. Open order values are already updated in the S066 table.
    Now we dont want to consider open order value for credit check (which is already included in the credit exposure field in FD32).
    When we create sales order system is taking old open order value for credit. Now i have changed not to update open order value for credit check. Now its not updating open order value. But my issue is how to change existing or (previous) open order value for credit?
    Can i change S066 table data directly to '0'. Is it advisable to chage open order value directly from this table?
    Please advise me.
    Regards,
    Babu
    Edited by: babs on May 19, 2010 4:26 PM

    Hi Babs,
    If you doesn't want to reflect the open order value in the structure for this order value ,If the order is not processed kindly delete the line items and the order. Then save the document. Then try to see the structure S066.. This will be modified.
    If you want to modify the value then follow the below process.
    Otherwise delete the line item in the order and change the pricing date and the document date. Re enter the line item again so that it will take it up the new changes.
    I hope it will help.
    Regards,
    SK

  • Open Sales Order values not getting updated after run RVKRED77 & RVKRED88

    Hiiii,
    In Production Server. We run the reports RVKRED77 & RVKRED88. Credit info structure and and Open Sales Order values not getting updated. In FD32, Status - Sales value it showing '0". At the time of creating Sales Order Dynamic Credit check not happening coz of Tables S066 not updating. Please provide me Solution.
    Best Regards,
    Sridhar . P

    Dear Heagal,
    I followed your suggestions and implemented in the Development and moved the changes in to Quality Server. I tested it thoroughly by creating New Customer and maintained Credit Limit. I come to know that Problem is in all Servers. I made 3 changes.
    1. In Pricing Procedure Sub Total A it was not maintained against Net value. I placed it.
    2. Removed Credit groups for Delivery Type.
    3. In OVA8 i maintained Max. Doc Value :99,999,999.00 before it was with 1.00
    I checked the OMO1 Settings it was Asynchronous. As SAP Notes Suggesting to use Synchronous but here it's a client setting. So, It's Can't possible to change. Changes will affect other Company Codes.
    Tested both in DVP and QTY Dynamic Credit Check is working Perfectly and Status in FD33 Sales Value field getting update.
    If i move these changes in to Production, Will i need to run the reports again or not? How it will affect on Old Cusomer Billing and  Credit Limit data. For few of the Customers the Credit Limit data it was exceeded. Please provide me advice. The issue need to be Solved immediately.
    Best Regards,
    Sridhar

  • How to change the pricing rate of Sales Order after delivery is created?

    Is it possible to update(change) the pricing rate which belong to a specific condition type, of the "Sales Orders"  after corresponding delivery is created ?
    number of the Sales Order to be changed is huge. How can I handle this situation ?
    immediate replies would be rewarded

    Repricing is only possible if your pricing record has a valid from date that is equal to or before the pricing date on the order. Otherwise, your pricing rate change will be applicable only from the begin date of that record.
    Assuming that it is allowed by config, you can go to VA02, go to conditions, and then there is small button at the bottom, that says 'Update'. By pressing that, your system will automatically reprice the sales order, provided, as I said, all pre-conditions are met. Once you know that you can do this, then you can adopt any of the technical solutions that Rich had suggested above to do the mass changes.

  • Change of open sales order : using BAPI

    Hi
       this  is ravi
                      can any one help me on this  topic
            1)change of open sales order  using BAPI .With appropriate reason( like header level reason)
                       thanks & regards

    hI,
        chk this FM BAPI_SALESORDER_PROXY_UPLOAD how the FM BAPI_SALESORDER_CHANGE was used
    Check this code,
    REPORT Z_SALES_ORDER_CHANGE
    NO STANDARD PAGE HEADING
    LINE-SIZE 132
    LINE-COUNT 65(0)
    MESSAGE-ID ZZ.
    TABLES: VBAP.
    DATA:
    V_FILEIN(90) TYPE C,
    V_RECIN TYPE I,
    V_RECVBAP TYPE I,
    V_RECORDER TYPE I,
    V_VBELN LIKE VBAP-VBELN,
    ORDERHEADERINX LIKE BAPISDH1X.
    DATA: BEGIN OF I_ORDERS OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    BRGEW(18) TYPE C,
    VOLUM(18) TYPE C,
    END OF I_ORDERS.
    DATA: BEGIN OF I_OUTPUT OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    POSNR LIKE VBAP-POSNR,
    GEWEI LIKE VBAP-GEWEI,
    BRGEW LIKE VBAP-BRGEW,
    VOLUM LIKE VBAP-VOLUM,
    CKWGT TYPE C,
    CKVOL TYPE C,
    END OF I_OUTPUT.
    DATA: BEGIN OF ORDERITEMIN OCCURS 0.
    INCLUDE STRUCTURE BAPISDITM.
    DATA: END OF ORDERITEMIN.
    DATA: BEGIN OF ORDERITEMINX OCCURS 0.
    INCLUDE STRUCTURE BAPISDITMX.
    DATA: END OF ORDERITEMINX.
    DATA: BEGIN OF RETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF RETURN.
    DATA: BEGIN OF BAPIRETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA: END OF BAPIRETURN.
    PARAMETERS:
    P_PATH(45) TYPE C DEFAULT '/usr/users/ftpsapom/' LOWER CASE,
    P_FNAME(32) TYPE C DEFAULT '/sweetjo.txt' LOWER CASE.
    START-OF-SELECTION.
    CONCATENATE PATH AND FILE NAME INTO ONE VARIABLE
    CONCATENATE P_PATH P_FNAME INTO V_FILEIN.
    OPEN DATASET
    IF V_FILEIN IS INITIAL.
    MESSAGE E002 WITH 'FILE' V_FILEIN 'DOES NOT CONTAIN ANY DATA!'.
    ELSE.
    OPEN DATASET V_FILEIN
    FOR INPUT
    IN TEXT MODE.
    IF SY-SUBRC = 0.
    READ DATASET
    DO.
    READ DATASET V_FILEIN INTO I_ORDERS.
    IF SY-SUBRC = 0.
    APPEND I_ORDERS.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    CLOSE DATASET
    CLOSE DATASET V_FILEIN.
    IF SY-SUBRC <> 0.
    MESSAGE E002 WITH 'ERROR - CLOSING' V_FILEIN.
    ENDIF.
    ELSE.
    MESSAGE E002 WITH 'ERROR - COULD NOT OPEN' V_FILEIN.
    ENDIF.
    ENDIF.
    SORT AND REMOVE DUPLICATES FROM I_ORDERS
    SORT I_ORDERS BY VBELN POSNR.
    DELETE ADJACENT DUPLICATES FROM I_ORDERS.
    POPULATE I_OUTPUT
    LOOP AT I_ORDERS.
    SHIFT I_ORDERS-POSNR LEFT DELETING LEADING SPACE.
    CONCATENATE '0' I_ORDERS-POSNR INTO I_ORDERS-POSNR.
    SELECT SINGLE BRGEW VOLUM
    FROM VBAP
    INTO (VBAP-BRGEW, VBAP-VOLUM)
    WHERE VBELN = I_ORDERS-VBELN
    AND POSNR = I_ORDERS-POSNR.
    IF SY-SUBRC = 0.
    IF VBAP-BRGEW = 0.
    I_OUTPUT-CKWGT = 'X'.
    ENDIF.
    IF VBAP-VOLUM = 0.
    I_OUTPUT-CKVOL = 'X'.
    ENDIF.
    I_OUTPUT-VBELN = I_ORDERS-VBELN.
    I_OUTPUT-POSNR = I_ORDERS-POSNR.
    I_OUTPUT-GEWEI = 'ST'.
    I_OUTPUT-BRGEW = I_ORDERS-BRGEW.
    I_OUTPUT-VOLUM = I_ORDERS-VOLUM.
    APPEND I_OUTPUT.
    CLEAR: I_OUTPUT.
    ENDIF.
    V_RECIN = V_RECIN + 1.
    ENDLOOP.
    POPULATE BAPI DATA AND RUN BAPI
    CLEAR: ORDERHEADERINX, ORDERITEMIN, ORDERITEMINX,
    RETURN, BAPIRETURN.
    REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
    ORDERHEADERINX-UPDATEFLAG = 'U'.
    LOOP AT I_OUTPUT WHERE CKWGT = 'X' OR CKVOL = 'X'.
    V_RECVBAP = V_RECVBAP + 1.
    IF I_OUTPUT-VBELN <> V_VBELN AND SY-TABIX <> 1.
    V_RECORDER = V_RECORDER + 1.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = V_VBELN
    ORDER_HEADER_INX = ORDERHEADERINX
    TABLES
    RETURN = RETURN
    ORDER_ITEM_IN = ORDERITEMIN
    ORDER_ITEM_INX = ORDERITEMINX.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPIRETURN.
    WRITE OUT RETURN
    LOOP AT RETURN.
    WRITE: / RETURN.
    ENDLOOP.
    WRITE: / BAPIRETURN.
    SKIP.
    CLEAR: ORDERITEMIN, ORDERITEMINX,
    RETURN, BAPIRETURN.
    REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
    ENDIF.
    ORDERITEMIN-ITM_NUMBER = I_OUTPUT-POSNR.
    ORDERITEMIN-UNTOF_WGHT = I_OUTPUT-GEWEI.
    IF NOT I_OUTPUT-CKWGT IS INITIAL.
    ORDERITEMIN-GROSS_WGHT = I_OUTPUT-BRGEW.
    ORDERITEMINX-GROSS_WGHT = 'X'.
    ENDIF.
    IF NOT I_OUTPUT-CKVOL IS INITIAL.
    ORDERITEMIN-VOLUME = I_OUTPUT-VOLUM.
    ORDERITEMINX-VOLUME = 'X'.
    ENDIF.
    APPEND ORDERITEMIN.
    ORDERITEMINX-ITM_NUMBER = I_OUTPUT-POSNR.
    ORDERITEMINX-UNTOF_WGHT = 'X'.
    ORDERITEMINX-UPDATEFLAG = 'U'.
    APPEND ORDERITEMINX.
    V_VBELN = I_OUTPUT-VBELN.
    ENDLOOP.
    RUN BAPI ON LAST ORDER
    IF NOT ORDERITEMIN IS INITIAL.
    V_RECORDER = V_RECORDER + 1.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = V_VBELN
    ORDER_HEADER_INX = ORDERHEADERINX
    TABLES
    RETURN = RETURN
    ORDER_ITEM_IN = ORDERITEMIN
    ORDER_ITEM_INX = ORDERITEMINX.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPIRETURN.
    WRITE OUT RETURN
    LOOP AT RETURN.
    WRITE: / RETURN.
    ENDLOOP.
    WRITE: / BAPIRETURN.
    SKIP.
    ENDIF.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT FROM FILE ', V_RECIN.
    SKIP.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT OF LINES TO CHANGE ', V_RECVBAP.
    SKIP.
    WRITE OUT RECORD COUNT FROM FILE
    WRITE: / 'RECORD COUNT OF ORDERS TO CHANGE ', V_RECORDER.
    SKIP.
    TOP OF PAGE
    TOP-OF-PAGE.
    WRITE:/1(5) TEXT-H01, 6(8) SY-DATUM MM/DD/YY,
    100(8) TEXT-H02, 126(8) SY-PAGNO.
    WRITE:/1(5) TEXT-H03, 6(8) SY-UZEIT USING EDIT MASK '__:__:__',
    20(77) TEXT-H04,
    100(8) TEXT-H05, 108(25) SY-REPID.
    WRITE:/1(6) TEXT-H06, 8(12) SY-UNAME,
    20(4) TEXT-H07, 25(32) SY-HOST,
    100(13) TEXT-H08, 121(8) SY-SYSID,
    129 '/', 130(3) SY-MANDT.
    ULINE.
    SKIP
    <b>Reward points</b>
    Regards

  • Changes in Sales order materail availabilty date.

    What is impact if we change Sales order materail availabilty date in sales order user exit using some program.

    Hi Mayuresh,
    Big impact.  Impact is smaller if you only intend to push the date into the future.  Could be a big problem if you move the date backward in time.  This means that YOU are now assuming responsibility that the Sales orders will be delivered according to business requirements.  You are also assuming responsibility for ensuring that all ATP data is consistant for these changed orders.
    SAP has constructed their ATP checks so that if you follow their best practices, the system will maintain the Material Availability date according to the business rules you have set.  Any time you artificially move this date backward, you are overriding all of the rules you have set into SAP.  Moving the date forward is usually less of a problem, except that it implies that you intend to send the materials to the customer at a later date.  As long as your Sales dept and your Customers accept this, then it can be done.  With testing.
    Some issues:
    MAD of a particular order affects ATPs of all other sales requirements for the same plant/material.  Altering the MAD of one doc could cause another confirmed sales doc to go on backorder.
    MAD is also passed to MRP and Cap Planning as a requirement.  Altering MADs will probably affect your forecasts and the feasibility of your production plans.
    If this is a non-negotiable requirement for your business, you need to test thoroughly all possible business scenarios.  Everything in Quote-to-Cash, and everything in Procure-to-Pay, using both forward scheduling, backward scheduling, and 'today' scheduling.  Also, you will have to be very careful HOW you change this date (which userexit).  SAP generally recalculates many dates and quanties in a sales doc each time it calculates MAD. All of these dates and quantities need to be consistant for the system to work properly.
    I have participated on a project where this was done.  We had a dozen expert users testing for three  weeks before we signed off and implemented in the live system.  After we implemented, we were STILL making emergency changes to the code and to the business procedures, two months after the implementation.
    Regards,
    DB49

Maybe you are looking for