Scheduling date & time in order

Hi All,
          From where system picks Scheduling start & finish date & time in order.
regards
sunil

HI
based upon the routing or task lsit opearation hours the system caliculates the time.
and your work centre workning times
when the order is called based on scheduling the start time comes to the start date and time the routing hours are added.
with this the end date and time comes in order.
-ashok

Similar Messages

  • Basic and scheduling  dates & time calculation in process order creation

    Hi guru's,
    i have one requirement, i need to calculate and display the basic and scheduled dates & times based on the given input i.e material , plant , process order type , quantity , UOM and scheduling type ( for corresponding scheduling type user will provide either start date or finish date ) using RFC. can  u plz provide any function module for this purpose or logic for calculating the same  , as i am working on version 4.7ee .
    Awaiting for a quick response.
    Regards,
    Madan

    Dear Rohan,
    1.Check the length of break timings defined in the resource that is assigned in the phase.
    2.Check in OPUZ whether for the process order type and plant combination whether scheduling is to include the break time also
    (whether the check box for scheduling with breaks) is included.
    Check and revert back.
    Regards
    Mangalraj.S

  • Updating Scheduling data for Purchase Order

    Hi,
    I need a function module which can update the scheduling data for purchase order in EKET table. Normally we create Purchase Order as a reference from purchase requisition through BAPI_PO_CREATE1. That time it takes care of all the scenarios. But as per the requirement I want to create a PO which is created from more than one Purchase Requistions so I can't use the said BAPI. But still I am using this BAPI and after creation is completed I am updating the Requistions. The same scenario is taken care in ME59N, but I can't copy that code because of some requirements. So could any one please give me the idea to replicate the same functionality with any function module or other ways.
    Thanks
    Somnath paul

    try to pass all u sheduling related fields to POSCHEDULE and make sure u have enabled POSCHEDULEX along with sheduling related fields .....also (if no changes  are there  leave it with space )...
    this will definetly update not only eket table ....it will update every table regarding to purchase order,ekpo,ekko,eket ...etc
    Example of population of BAPI interface in the Function
    Parameter: POHEADER
    COMP_CODE            =                    1000
    DOC_TYPE             =                    NB
    ITEM_INTVL           =                    00001
    VENDOR               =                    0000001000
    PMNTTRMS             =                     0001
    PURCH_ORG            =                     1000
    PUR_GROUP            =                     001
    CURRENCY             =                     EUR
    Parameter: POHEADERX
    COMP_CODE            =                     X
    DOC_TYPE             =                     X
    ITEM_INTVL           =                     X
    VENDOR               =                     X
    PMNTTRMS             =                     X
    PURCH_ORG            =                     X
    PUR_GROUP            =                     X
    Parameter: POITEM
    PO_ITEM              =                     00001
    MATERIAL             =                    100-100
    PLANT                =                    1000
    STGE_LOC             =                    0001
    QUANTITY             =                    15.000
    TAX_CODE             =                    V0
    ITEM_CAT             =                     0
    ACCTASSCAT           =                    K
      Parameter: POITEMX
      PO_ITEM              =                    00001
      MATERIAL             =                    X
      PLANT                =                    X
      STGE_LOC             =                    X
      QUANTITY             =                    X
      TAX_CODE             =                    X
      ITEM_CAT             =                    X
      ACCTASSCAT           =                    X
      Parameter: POSCHEDULE
      PO_ITEM              =                    00001
      SCHED_LINE           =                    0001
      DELIVERY_DATE        =                    02.12.2002
      QUANTITY             =                    6.000
      PO_ITEM              =                    00001
      SCHED_LINE           =                    0002
      DELIVERY_DATE        =                    03.12.2002
      QUANTITY             =                    5.000
      PO_ITEM              =                    00001
      SCHED_LINE           =                    0003
      DELIVERY_DATE        =                    04.12.2002
      QUANTITY             =                    4.000
      Parameter: POSCHEDULEX
      PO_ITEM              =                    00001
      SCHED_LINE           =                    0001
      PO_ITEMX             =                    X
      SCHED_LINEX          =                    X
      DELIVERY_DATE        =                    X
      QUANTITY             =                    X
      PO_ITEM              =                    00001
      SCHED_LINE           =                    0002
    Parameter: POACCOUNT
    PO_ITEM              =                    00001
    SERIAL_NO            =                    01
    QUANTITY             =                    15.000
    GL_ACCOUNT           =                    0000400000
    COSTCENTER           =                    0000001000
    CO_AREA              =                    1000
    Parameter: POACCOUNTX
    PO_ITEM              =                    00001
    SERIAL_NO            =                    01
    QUANTITY             =                    X
    GL_ACCOUNT           =                    X
    COSTCENTER           =                    X
    CO_AREA              =                    X
    Parameter: POCOND
    ITM_NUMBER           =                    000001
    COND_ST_NO           =                    001
    COND_TYPE            =                    PB00
    COND_VALUE           =                    79.900000000
    CURRENCY             =                    EUR
    CURRENCY_ISO         =                    EUR
    COND_UNIT            =                    KG
    COND_P_UNT           =                    1
    CHANGE_ID            =                    U
    Parameter: POCONDX
    ITM_NUMBER           =                    000001
    COND_ST_NO           =                    000
    ITM_NUMBERX          =                    X
    COND_TYPE            =                    X
    COND_VALUE           =                    X
    CURRENCY             =                    X
    CHANGE_ID            =                    X
    Parameter: POPARTNER
    PARTNERDESC          =                    OA
    LANGU                =                    EN
    BUSPARTNO            =                    0000001100
    PARTNERDESC          =                    GS
    LANGU                =                    EN
    BUSPARTNO            =                    0000001200
    PARTNERDESC          =                    PI
    LANGU                =                    EN
    BUSPARTNO            =                    0000001000
    reward points if helpful....

  • Identify Jobs that are not running on their Scheduled date time

    I have 29 scheduled jobs that run at different intervals of time. Some run once a day. few others run on hourly basis while others run on Sundays.
    I was working on a query that would let me know if a particular job did not run on its scheduled date and time.
    SELECT * from all_scheduler_jobs WHERE state <>'DISABLED'; will give me a list of all jobs that I have to monitor and that are not in the disabled state. But how can I verify that the jobs are running at their scheduled date time?
    Any help please? I need to create a view of all such jobs and then plan to send an alert so that appropriate action can be taken and it is assured that all important jobs run as per schedule.
    Thanks.

    Hi,
    I can see 2 approaches.
    - for jobs that have run but ran very late you should query dba_scheduler_job_run_details and filter by the difference between req_start_date and actual_start_date
    - for jobs that should have run but shouldn't, query for DBA_SCHEDULER_JOBS jobs that are SCHEDULED where next_run_date is in the past
    Hope this helps,
    Ravi.

  • BAPI PROCESS ORDER Creation u2013 can the SCHEDULE Date/Time be specified?

    I am currently using BAPI_PROCORD_CREATE to create a Process Order from an inbound IDOC.  This works well, when I pass the following fields:
    BAPI Parameter ORDERDATA
    ORDER_NUMBER      Process Order number (EXTERNAL)
    MATERIAL      Material to be produced
    PLANT              Plant
    ORDER_TYPE      Order Type
    BASIC_START_DATE Start Date
    BASIC_START_TIME Start Time
    BASIC_END_DATE   Basic End Date
    BASIC_END_TIME   Basic End Time
    QUANTITY         Process Order Quantity
    QUANTITY_UOM     Quantity Unit of Measure
    However, I have a requirement to also specify the SCHEDULED Start Date (GSTRS) and End Dates (GLTRS), but the BAPI parameters do not the SCHEDULE Dates to be specified.
    I have also used the functions CLOI_CHANGES_UPL_31 and CLOI_CHANGES_UPL_45 to create Process Orders successfully, but neither of these allow for the SCHEDULE dates to be passed in.  
    Does anyone know how I might be able to achieve such a result?
    I am trying to avoid the use of CALL TRANSACTION on COR1, so would be grateful if anyone has any thoughts.   
    In the mean time, Iu2019ll ask the business if it would be possible to apply any rules by whereby if we specified a BASIC_START_DATE, whether it would be able to derive the correct schedule date accordingly.
    PPu2019s not one of my better modules, so apologies if whatu2019s been asked above is a stupid question!
    Alistair

    HI...
    Pls chk in scheduling control for detailed scheduling in T code OPUZ. and change the scheduling type forwards to forwards in time and backwards to backwards in time.
    Now when ever you would create the order system would ask the scheduling dates either start or finish in stead of Basic dates.
    Instead of using BAPI you could make a simple LSMW pogram. It would talk 5 min.
    This is a standard SAP functionality to select Basic dates because SAP consider all master data for scheduling like Schedule margin key.
    I think It would help you.
    Regards
    Vivek

  • Editing of scheduled dates in Process Order Operations

    Hello,
    I have a requirement, in which the client would like to change the Scheduled dates in the operation details of a process order.
    In the header screen of a process order, if we change the basic start / finish dates (depending on forward or backward scheduling), and reschedule the process order, the process order is rescheduled, with the new dates.
    The client's requirement is, they should be able to change the Scheduled dates in the tab "Operation - Dates", of the "Operation overview" screen, in a process order. Normally the field is not editable, and the system calculates the dates, based on the start / finish dates, entered in the process order header.
    I would like to know, what is the way out, to meet this requirement.
    Thanks.

    Hi,
    As every body else is explaining it is not possible for standard SAP ,  as of normal business or any business scenario why would a client want to change the operation dates from Production order ( still not understood.....)
    There are two options to do that:
    1) Copy the whole transaction ( programmes ) into some Z - transaction and in the programme you can change the object ( CO_VG_OPR_*) from being grayed out.
    This will alllow you to change the dates.
    2) you can go for enhancement with the following FM
        BAPI_ALM_ORDER_MAINTAIN
    I suggest you to clear these things with client.These things require more of ABAP work.
    And as said changing the standard behaviour of the system can cause performance issues.
    Please close the thread if satisfied.
    prakash

  • Scheduling dates from sales order not confirmed

    Hi All,
    I have configured CRM_APO_ECC integration in system. But getting few error on CR$M-APO side. Can you please sugest on these queries:
    1. order entered in CRM, ATP check is triggered in GATP & confirm dates & vendor (plant) populated with 2 schedule lines. But when I save the order, I get RED signal on item details tab, also I could not see order in RRP3.
    2. Second query is regarding RBA. I have configured location sub rule. But when the qty in initial plant is less, it does not give me the substitute location, rather it proposes me later date considering the checking horizon maintained in product master.
    But when I manipulate the same material with error (i.e. by removal of ATP group in product-loc master), and create order for same material, I can see the rule in place when ATP is triggered and can see 2 line items on ATP screen, first showing RED light (for which ATP grp isnt maintained) and 2nd is one with substitute location. In this case, it works. Where is my config missing?
    Please help me with these 2 situations.
    Many thanks,
    AP.

    Hi All,
    I got answer to this (i.e. query # 2), rule based plant was not available when triggered from CRM.
    Now i can see it, Solution is - Activation of preselection activation key. I activated it in APO Requirements profile for CRM & also in Check instructions.
    Thus I can see all sub plants.
    However, my 1st query is still under search. My scheduling dates are not getting confirmed. Following is the scenario:
    initial plant (USA1) has no stock in RRP3, but still showing green & accepting orders:
    When I chose alternative plant USA2 where I have stock, 2 scheduling lines are generated, 1 for initial plant & 2nd for USA2. There is no error message till then. And when I hit save, I get availability confirmation error, schedule line is not confirmed.
    After saving, only one line item remains, and plant is USA1, i.e. initial where there is not stock.
    Can you please suggest what config might be missing?
    Thansk,
    AP.

  • Regarding scheduling dates & time

    Hi,
    1)i have created a production order for a finish material "A" mentioning finish dates 21/05/08.
    2)order qty is 100 kg's time taken is 1 hour( i.e. 24:00 to 23:00).
    NOW,
    3) when i create the production order for the same material "A" again, for the qty 200 kg's & finish date is 21/05/08.
    4) finish time is taking from 24:00 instead of 23:00.
    Actually it should start from 23:00 right????
    i think i missed out some settings.
    i need all of your suggestions for the above problem.
    thanks/regards
    vish

    Hi ,
                Scheduling depends on the option you select on MD02 screen , if you have selected Determine basic dates then it will search In house production time mentioned in material master . If you select 2 nd option i.e lead time scheduling and capacity planning then system will refer routing ( cap requirements will also be created ).
    R/3 does not consider capacity while scheduling the order so check either in house production time or from routing check scheduling results for 100 or 200 quantity .
    Reward if useful .
    Neal .

  • Time scheduling by the Plan order (MD02)

    Hi,
    Does the the scheduling margin time be considered by (start and finish date) for plan order after MD02.
    If yes how can I customize the system
    Is the Time scheduling important for the plan order or only for the production order?
    I've set in the Material master for my Material 4 days by the scheduling margin.
    When I execute MD02. The system doesn't consider the 4 days by (start and finish date)  from the plan order.
    It only consider the Goods receipt processing time.
    Is the Goods receipt processing time relevant only for the plan order and the scheduling margin time for the production order?
    Thanks.

    Dear ,
    Did you miaintain the Scheuling Margin Key in OPPR , Material Master -MRP2 and routing ??
    Generally , to define the order float  we need the scheduling margin key in OPPQ .The scheduling margin key is copied from the material master -MRP2 view . The float before production or float after production and the release period are defined in the scheduling margin key
    For Customizing you need to go in OPPR or in   Shop Floor Control, by choosing Operations --> Scheduling --> Define Scheduling Margin Key . This key gets  transferred when the production order is created from planned order or direct production order  These values can be changed in the production ordr only .
    While running MRP , it will not cosider the SMK  for scheuling purpose  because MRP does not carry our detail scehduling based on Work Centre available capacity  where as it takes the routing operation time and perfomr the scheuling to gerenrate the Planned Order Dates .
    refer  this expert comments : Scheduling Dates for Planned Order and Production orders
    Regards,
    JH

  • Scheduling type for production order.

    Hi Gurus,
    i have some doubts about production order scheduling. i have run a scenario OF MTO to Understand The Scheduling. i had created a BOM with  two components. The inhouse production Time of header Material is 3 days.and the scheduling Margin key is op2   flt aft1  flt bfr 1    rl per 2
    after creating a sales order i had run MRP in MD50 by selecting scheduling 1 Basic Date Determination. it has taken the 3 days of in house production time and praposed dates.18th as starting date and 20th as finish date.and planed opening period is in past. and it has not praposed any scheduled dates in planned orders.
    if i convert the planned order in to production order it is praposing the scheduled dates.
    scenario 2.
    if i run the mrp for the same order by taking scheduling type as 2 lead time scheduling.       in planned order itself it is showing sheduled start date and scheduled finsh date. (which not shown in basic date run).
    1.so is it mean that what ever the scheduling type we are using in MRP run is only applicable to create Planned orders only while convrting the planned orders in to production order dates will be re detemind. is this currect or wrong?
    2.in which scheduling type system will not consider the scheduling margin key?
    please help me to understand these questions.
    Thanks&regards,
    Venkat Bolla.

    Hi Venkat,
    When MRP is run with '1' Basic Scheduling - Schedule Margin Key is not considered. As you rightly observed it considers the Inhouse Production days mentioned in materials master for fixing the start date. This is exactly to days.
    When MRP is run with '2' Lead Time Scheduling - Schedule Margin Key is considered. Dates are calculated from Routing and Capacity requirement calculations are also done. Here calculation are exact to the seconds.
    Schedule Margin Key takes effect only for lead time scheduling. Production dates are calculated from the float times of the SMK in the material master and times from the individual operations maintained in routing.
    When planned order derived from Basic scheduling is converted to production order it is subjected to lead time scheduling and thus production dates are calculated
    Refer to the below discussions on the same topic.
    http://scn.sap.com/thread/1535577
    http://scn.sap.com/thread/1554548
    Thanks & Regards,
    Ramagiri

  • Update scheduling data in material master

    Hi,
    How to update scheduling data from Process order to master recipe in mass. As I can schedule recipe in C202 and update the sceduled data in material master by CA96 & CA97 transactions. But i wants to schedule master recipe in mass. Is there any way to mass update it ?
    Regards
    Amit

    Hello
    I have tested in my internal test systems and system correctly updated the material master using CA97, without aky kind of previous scheduling of the master recipe.
    Can you please provide a more detailed description of the issue? What is happening if you try to run CA97 without running the scheduling of the mater recipe? How are you running CA97?
    You may also try CA97N, which is a newer version of CA97.
    BR
    Caetano

  • Read PO delivery schedule data

    Hi SAPPERS,
    Is there any FM or table, were I can find delivery schedule data from purchase order-?
    thanks for your help
    Saso

    Hi,
    You can get delivery schedule data for each line item of PO in EKET table.
    Regards
    Radhika

  • How does the GR processing time affect the scheduling of the process order & the latest start date in the operation.

    Hi
    Can anyone explain  how does the GR processing time affect the scheduling of the process order & the latest start date in the operation overview.

    Hi
    GR processing time means number of workdays required after receiving the material in storage.
    Check this link:GR Processing time
    Regards,
    Anupam Sharma

  • Schedule Delivery Date in Sale Order

    Dear All,
    I have an order on 03.11.2009 (today) and its last delivery date is 15.11.2009. It means that I have to deliver the complete order on or before 15.11.2009.
    So where can I put this date in Sales Order?
    Regards,
    Vishal

    Hi Vishal,
    Your Last Delivery Date can be entered in the "Requested Delivery Date" field in the sales order.
    By doing so, the system will give us a confirmation that whether the delivery can be made possible on the Requested Delivery Date or NOT (The status can be seen by going in to the Schedule Line Level of your line item).
    The system also gives us the NEXT POSSIBLE DELIVERY DATE with the confirmed  Quantity as a Second Line item in the Schedule line level.
    The System considers mainly the Material Available Date to come to a conclusion on the Delivery Date of the goods. Also, there are other activities (Loading Time, Transporation Planning Time etc) for which some time will take and that also need to be considered (The same can be seen by going in to the Schedule Line Level of your line item and then click the Shipping button).
    Your Scenario: In your case, the delivery can happen ON OR BEFORE the Last Delivery Date.
    So for that follow the steps:
    Step 1: Put the Last Deliv Date in to the "Requested Deliv Date" field in Sales Order.
    Step 2: After enetering the other necessary details in the sales order then Save it. Now go the Schedule Line level of your line item and look for the Confirmation of the Delivery Quantity on the Requested Delivery Date.
    If Yes: Then its your wish that you can Prepond the Delivery Date by giving the required Delivery date during your delivery document creation.
    If No:
    Then you have look for the Next Possible date. OR Make sure that you can manage all your other activities like Loading, Transporation Planning etc. in 10 - 12 days time and make your material Availabilty today and do the delivery.
    Reagrds

  • Sales order item data & sales order schedule data

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
    Many thanks,
    Matt

    > Hello,
    >
    > I have a Sales Orders cube which is pulling data from
    > two DSOs (one for sales order item data and the other
    > for sales order schedule data). The common fields
    > between these two DSOs is the Sales Order number but
    > in my cube I have dual entries for each Sales Order
    > document (item and schedule info).
    >
    Two previous remarks:
    1) If you need to report on very detailed data consider doing an info-set joining both datastores. 2 reasons why:
    - not a good idea to report on very detailed information (sales order, GI dates) on cube level, if you have a scenario with lots of data. You end up with big dimension tables a poor report times;
    - there are better alternatives, like drill-through from cube query to DS query with report to report interface or Datastore-based reporting...so...
    With this solution you do not need to change the data model, I think, but test to be sure. See if the reporting times are acceptable. If not...
    2) First confirm your requirements, because what you show in your example as "to-be" have details that do not make sense, probably..
    - if you have more that one schedule line for each item then you would have many times the item information like material/price;
    - if not or if you could cope with that, then you can consider:
    2.1) create a new DS that agregattes from the previous on, with the same key of sales order item; do you have schedule line kf's? if so you these KF's should be additive in DS update; But if you may have more one scheduled line for 1 item then you have to decide what to do with the GI data (keep the last one posted, use code..) and other characteristics.
    2.2) update the shedule line datasource to the sales order item DS; same comments apply.
    2.3) maintain the missing data in the cube update rules from sheduled lines DS. Using code, refer to the respective item in the order item ODS. You would have to make sure that DS's data are correctly activated before updating the infocube.
    What solutions to choose?
    2.1 is better in terms of flexibility and architecture...because you could re-arrange the new DS to answer future needs, without loosing the 1st line DS's data;
    2.2 choose if data volumes and disk space are a concern...
    or
    2.3 it's OK, but i do not like it because of what explained in point 1...
    Message was edited by:
            Miguel Costa

Maybe you are looking for