Sales order MAD re-calculation

Hi All,
When BOP runs for a sales order, sometimes MAD of requested schedule line is updated as current date, Requested Delivery Date remains same though. This happens either when sales order gets zero confirmed quantity, or a new schedule line is created with a confirmed quantity, i.e. sales order is not confirmed on RDD.
E.g.
Initial situation on 01.05.2014:
RDD - 01.06.2014
MAD - 20.05.2014
Confirmed quantity is zero.
Then BOP runs on 01.07.2014
RDD - 01.06.2014 remains same
MAD - 01.07.2014 - this is updated via BOP, and as can be seen, MAD and RDD is in incorrect order in this new situation, which is not welcome by the users.
Confirmed quantity is zero.
This causes issues in reporting. When we get reports based on MAD (custom reports), it seems in this situation that this order is not a backorder, but actually it is. Original MAD calculated based on RDD is not stored in VBEP.
Has anyone had similar issue?
One solution I am thinking is in the custom report, we can calculate MAD based on RDD, instead of reading MAD from standard tables. Can anybody suggest a function we can use in our custom program?
Thanks,
E

Hi EE,
As correctly understood this is standard functionality . IF BOP is running today & MAD in first schedule line is in past , then it will update it to today's date.
  This is to ensure that the requirement date goes to production as today's date and not past date.
You can't really manufacture in past. ( I hope it makes sense logically).
Coming to your reporting problem , you can create an additional field in the sales order line item which can store the MAD when the SO is created for the first time. If it is not required to be shown to users , then you can just store it in a custom table.
Regards,
Jit

Similar Messages

  • Sales order made on Agent

    Hi Experts,
    I have senario, where Agent is booking the Sales order. After that he decide to whom the goods to be sold and then the delivery & Invoice will be made on that parties name.
    Kindly advise how this case will map in the SAP.
    Regards,
    Datta Kharat

    Rahul,
    Once you select one customer in delivery consolidation field and after that next time when you change this field to onther customer this option will not work. you have to complete one by one process.
    like sales order - delivery - A/R invoice on first BP (after that change delivery conolidation BP)
    make sales order - delivery - A/R invoice on second BP.
    which makes lot of confusion, I think customizing new form will be suitable.
    Regards,
    Datta Kharat

  • Sales Order Pricing Modifiers Calculation

    I have a Scenario.. I have a fixed Container Cost & another charge(say for eg: handling charges). How can I price this in Sales order using Advanced Pricing? I will be charging the customers for this, so need to modify the unit selling price along with charges. ? A simple illustration for more clarity.
    My Container Cost = 200 USD & Handling = 200 USD. My maximum shipment quantity is 100 in one order.
    So if I ship 20 units of item A(unit price=70) & 20 units of Item B(Unit price = 200), then my Unit selling price must be, 400/40(total quantity) = 10 + unit cost. ie. Item A SO price will be 80 & Item B = 210, after applying the modifier.
    I created a formula & created a modifier of type Surcharge List. Level I tried "Order" & Pricing Phase "Modifiers for BOOK Event" & level/phase as "Order/Header Level Adjustments".. but its not applying, showing error processing formula. The application method is coming as Percent & not allowing other values.
    I tried the combination of Level/Pricing Phase as "Group of Lines/All Lines Adjustment" & Application method as "New Price" (options are: Percent,Amount,Lumpsum/New Price). Its applying once for each line. ie. For line1 in SO, Item A for 20 Quantities, the unit price adjusting to 70+ (400/20) = 90/unit . Similarly when i give Item B, 20 Qty, its 200 +(400/20) = 220.. ie its doubling the extra charges on each line.
    I want it to calculate one for the total quantity.(ie Given the above scenario(Total 40 Qty), by unit price after modifier must be 80 & 210 for item A & item B)
    Thanks,
    Ranjith

    Thanks...Seems to be a bit complicated thing as I am new to pricing.... Even I had tried some mapping attribute rule.. but concurrent program errored..:(.. Confusing but Interesting module.. lot of time taking for R&D..
    Main aim is I want the Unit selling price to be updated for every line of items in the SO.
    Cheers,
    Ranjith

  • Base price calculation in sales order using Routines.

    Dear all,
    I have a requirement related to usage of routine in pricing procedure. The requirement is as given below.
    A base price for a material is entered in the contract manually using a customized condition record.Later a sales order will be raised with reference to contract. now we need to bring the price entered in the contract to sales order after some calculations done using a customized "Z TABLE"
    We are trying to use routines to trigger to calculate the base price in the sales order.
    Please suggest what type of routine to be used in such cases(ex formula,pricing etc)
    Also please go through the below mentioned example for better understanding.
    Contract price : Quantity 3: base price 10,000 per day Total : 30,000 perday
    ZTABLE : number of days per month will be maintained in the table based on the working days.
    Sale Order : Quantity 1 : Month working days 23 total 2,30,000 (We need to calculate this total and display as base price in sales order)
    Please suggest how to address this using routines.

    Dear Mudigonda,
    As per your scenario you are creating sales order with reference to the contract and here in contract you are maintaining the manual price . that means the same manual price has to copy to sales order level then as per the calculation rule it will multiply with your Z table value .
    For this requirement you can make some changes in copy control from contract to sales order, here at item category level you have to change pricing type to 'B' so that what ever your manual price value will populate to sales order level after that due to calculation rule value will change .
    Regards,,
    C.B Reddy.

  • Cust  for Item number calculation when creating/changing a sales orders

    Hi
      I need to know if the item number when capturing/ modifying  a sales order can be calculated automatically with some route in the customizing,  or do I need to do it with some user exit in the sales order entry?.
    Thanks!
    Regards
    Soraya

    Hi,
    Goto the T.Code "VOV8".
    Select your order type.Details.
    Goto the "Number systems" tab.
    Maintain the value as "10" or "15" like this any number as per your requirement for the field "Item no.increment".
    So that the main item will be incremented by the number you specified here.Suppose you specified the number as "10" the line item numbers would be 10,20,30,.....
    Next is if you maintain the value for the field "Sub-item increment" then the sub items will be incremented by the number you specified here.
    It would be mainly used in the case of BOM.
    To get the numbers from the order,goto the T.Code "SE11/SE16".
    Enter the table name as "VBAP".
    Pass the order number.Execute.
    You will get the all line items with numbers.
    Regards,
    Krishna.

  • Sales Order : Calcul delivery date with only working days

    HI,
    When I create sale order, the delivery date is calculed with the number of days mentionned in type of sale document. SAP add this number of days into the day's date.
    Is it possible to calculate this delivery date only with working days in the corporate calendar ???
    Thank's

    HI
    Delivery date in the Sales order will be calculated the calender only basedon the Transportation lead time and Pick/Pack time and excluding the holidays
    Please cross the same in your instance
    Regards,
    Ram.

  • Plan costs calculation during results analysis of sales order

    Hi Experts,
    I am in process of implementing sales order costing. I am facing a problem during result analysis with plan costs data.
    We have a sales order for which production order is generated. Cost object is sales order.
    Say, sales order cost estimate which is the plan costs --> is $ 1000 (which includes prod order COGM of $ 600) (So remaining sales and admin costs are $ 400)
    Plan cost of production order is $ 550 (as per production order cost analysis report)
    While calculating the result analysis for sales order, system is calculating the plan costs data as $ 1000 + $ 550 = $ 1550
    As a result, I feel plan costs data during result analysis is over calculated.
    I feel either plan costs should be $ 1000 (as it already includes COGM part)
    or
    $ 950 which is (plan cost of production order $ 550 + sales and admin costs of $ 400)
    Could some one explain me why result analysis shows plan costs data as $ 1500 and if I need to rectify how can I do so.
    Thanks,
    GAN

    Any suggestions please.
    Edited by: DSK on Feb 9, 2012 6:16 AM
    Edited by: DSK on Feb 13, 2012 4:39 AM

  • 50% tax calculation in sales order

    Hi everyone,
    I have maintain LST in custome master and material for 50% tax ,and also I have maintain condition record for 50%,But in sales order  tax is calculated at 100% tax.How I can get 50% Tax value in sales order.
    Example, basic price -  100
                   Bed                16
                   Ecess -            3
                   tatal              116.5
                   LST(3%)          3.5 (it is 100% tax,but I want 50% as 1.75)
    how can I get
    Regards
    Prabudh

    Maintain the Condition record with the combination of customer tax clasification and material tax clasification (50%) of LST 1.75%
    then system will calculate 50 % tax OW system will not caluculate automatically 50 % by mentioning the material Tax classification(50%)
    if you have any clarifications let me know
    reward ponts if helpful
    Regards
    Sriram

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • Make to Order - where is Sale Order Stock

    Hi All
    I have a Configurable Product, say Book. The Customer places the Order say for 1000 Books but does not give the details of the Ship-to parties. The Order is taken into Production and the Ship-to particulars are available one day prior to the despatch. The requirement is that the User has to create multiple Ship-tos in 1 Sales Order (Costing, Wastage calculation etc., is done Sales Order-wise) and will enter the Quantities for the Ship-to parties only when he receives the despatch instructions from his Customer.
    The Sales Order initially is created for 1000 Nos with no Ship-to Party being entered at the Item level (Item No: 10, Material # Book; the Classification editor contains the required Characterstics when the Order for 1000Nos is entered for the first time). The Order is produced and the Stock is available as Sale Order Stock for 1000 Nos. When the despatch details are received, the Ship-to parties are entered in the Sales Order {Sales Order entry will now look as: Item # 10, Book, 700 Nos for Ship-to # 1 and Item # 20, Book, 300 Nos for Ship-to # 2}. When the 2nd Line Item is entered in the Sales Order, the Classification Editor opens once again, though this is ignored and no values are set.
    Issue:
    a) Delivery could not be handled through VL10; it had to be done through VL01N.
    Delivery could be created and PGI done for Ship-to # 1 only but unable to do PGI for 300 Nos for Ship-to # 2. The error I get is that there is no Sales Order Stock (1000 Nos have been produced initially and after doing PGI the balance of 300 Nos (meant for Ship-to # 2) is getting displayed in MMBE but is appearing as Item # 10. The Requirement Class is shown as KEM in the Sales Order.
    b) When the 2nd Line Item (Item # 20) is entered in the Sales Order, the Schedule Line shows about 7 days into the future although Sale Order Stock is available.
    Have I missed something?
    Regards
    Ramana ND

    Manoj
    The so-called 2nd Line item is nothing but the same Material and this Quantityis already available in Sale Ordertock (part of 1000 Nos); this had to be shown as a 2nd Line Item coz there is a different Ship-to party. Btw... the requirement Class type in the Procurement Tab in VA01 for both the Line Items shows KEM...
    My question is: why is the so-called 2nd Line Item is being treated separately? The Order is for 1000 Nos and all I am doing is splitting the Quantity between the 2 Ship-to.. The Sales OrderStock clearly shows 1000 Nos which I am not able to Ship-to #2 coz Item # 20 does not show Stock in MMBE ... Only Item # 10 has Stock of 3000 Nos ...
    Regards
    Ramana ND

  • Report regarding sales orders

    hi,
    how to create a report to display all sales orders made by customers...
    regards
    kalpana

    Hi,
      you can use VA05 transaction for displaying the sales orders made by customers.
      OR
      create a program which selects the record from the table VBAK by filtering the sold-to party (KUNNR)..And for other partners from the table VBPA..
    Thanks
    Naren

  • Inserting Pricing condition in Sales order when saving the sales order

    Dear ABAPers,
           My customers requirement is when saving the sales order new pricing condition has to be updated in the line item.for this i am using the User Exit 'USEREXIT_SAVE_DOCUMENT_PREPARE' ( MV45AFZZ).While saving the Sales order i am calculating the Price and updating in the Pricing conditions.
    In XKOMV internal table i am appending the pricing condition.But the problem is ,it is not calculating the taxes and it is Updating in VBAK and VBAP.
    How to do this.
    Thanks & Regards,
    Ashok.

    Dear ABAPers,
    I have Solved this Problem.
    Thanks & Regards,
    Ashok.

  • Automatically cr. block Sales Order once they reach within the Cr. Horizon

    How to automatically credit block Sales order made outside the Cr. Horizon, once they reach into the Cr. horizon.
    I have tried testing the same through Program RVKRED08, but it works for some orders if the Cr. horizon is maintained for 60days.
    But does not block if the Cr. horizon is maintained for 30days.
    Thanks in Advance

    if you specify horizon date, the system consider al the values
    which falls under this date. the system will not take into account if the values fall after the horizon date.
    EX: if you specify horizon date 2 months. Then system consider the open values which falls with in two months. if
    the value fall after the two months, the system ill not take into account.
    If your horizion date is 30 days and shcedule line date is in 30 days, system will check credit managemnt and blocks or unblocks.

  • VA01 user exit to manually insert condition record for sales order

    Hello Experts,
    I have a req. to find a user exit through which I can insert a new condition record for a sales order everytime a sales order is created.
    Whenever a sales order is created I should check whether condition types X and Y are being generated for the particular sales order.If yes I have to insert a new condition record with type Z for that sales order after some calculations.
    Does anybody have an idea which user exit should be used so that my new condition comes up in the CONDITIONS tab for the sales order item.
    Thanks in anticipation.
    Vipul

    Hi,
    What I suggest is suppose you want condition type say 'XXX' to appear with some calculated value only when condition type 'X' & 'Y' are present, then let the consultant define that condition type in pricing procedure, with 'Manual Entry not allowd flag on, so that nobody can overwrite the value calculated by your routine in condition type 'XXX'  & let him 'attach; a routine say 901 to it. Now via VOFM in routine 901 you can put your logic. In routine 901 you can loop at xkomv & check if both condition types viz. 'X' & 'Y' are present. IF yes then calculate the value of condition type 'XXX' as per the logic required & pass it on to SAP by xkomv-kwert = w_amount, where w_amount is the value calculated by you as per the logic required.
    I hope this helps,
    Regards
    Raju Chitale

  • Calculation of dates in Sales order in gATP

    Hi
    Can anybody please tell me how scheduling works for the following dates in sales orders for materials planned in gATP.
    1) Unloading date 2) Delivery date 3) Goods issue date 4) Loading date 5) Material availability date 6) Transportation planning
    My understanding is that gATP gives the MAD date and other remaining dates like transportation planning date, unload date etc are calculated using master data in the calling system eg ECC.
    We are facing an issue in our system where if a material is planned in ECC, it has all dates in the sales order calculated as expected based on ECC master data.
    If the same material is planned in gATP, it simply copies the MAD date to all other dates. So it is not considering the pick/pack , transportationplanning times from the ECC master data.
    Is this standard system behaviour and to avoid this  Do we need to activate Scheduling in gATP along with master data maintenence in APO ?or any user exit plus execution steps is avaialble to by pass APO master data mentaince.
    Appreciate your responses...Regards - Amit

    Amit,
    We are facing an issue in our system where if a material is planned in ECC, it has all dates in the sales order calculated as expected based on ECC master data.
    If the same material is planned in gATP, it simply copies the MAD date to all other dates.
    The system where the parts are planned is irrelevant.  The important issue is the system where the ATP is conducted.
    My understanding is that gATP gives the MAD date and other remaining dates like transportation planning date, unload date etc are calculated using master data in the calling system e.g. ECC.
    I have never seen that statement validated in any SAP documentation.
    From online help:
    SAP R/3 uses the order type to determine whether shipment scheduling or transportation scheduling should be executed.
    If scheduling is activated, SAP R/3 determines a plant for the material for each item. If it is specified in the integration model that the availability check should take place in SAP APO for a material in this plant, transportation and shipment scheduling also takes place in SAP APO.
    Standard SAP APO GATP supplies three different methods for shipment scheduling.  If you are conducting ATP in APO, and you have not configured one of the three scheduling methods, then shipment scheduling does not take place, and the system will react as you have described.  
    Read up on it here
    http://help.sap.com/saphelp_scm70/helpdata/EN/05/f8923945b12c4de10000000a114084/frameset.htm
    Best Regards,
    DB49

Maybe you are looking for

  • FDMEE import script not working

    Hi, I had a simple import script in FDM Classic that was removing every lines of data from a source file for every amount lower than 0.50 and higher than-0.50.  The FDM Classic import script was: Function Remove_50(strField, strRecord) 'Purpose: To s

  • How to Pass internal table from a program to Samrt form

    Hi Pals I want to pass an internal table which I have declared in the program to Smartform..can you please help me asap. Regards Praveen

  • When resize window, the picture will disappear

    my code is : G11_G3(int x, int y, int w, int h) {      super("G11_G3");           this.setBounds(x, y, w, h);      this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);      this.setVisible(true);      content=this.getContentPane();      MouseInputLis

  • Linking a PDF to a SQL Server

    Is there a way to filling, ie customer information fields, using a SQL server using a PDF? I am trying to create a document that allows the company I work for to create a Invoice using the information they already have on their server.

  • Is there a version of Lightroom 5 that allows for installs on 3 or more computers?

    I know that when you purchase Lightroom 5 you can use it on up to two computers, but not simultaneously. I was wondering if there's a specific package where you can install the software on multiple computers and still be able to use it whenever you w