Work order interface : how to schedule the resources

Hello,
I am trying to reschedule a job and to replace the resources of this group by alternate resources : I have inserted one line in the WIP_JOB_SCHEDULE_INTERFACE and one line in the table and WIP_JOB_DTLS_INTERFACE.
After importing these group, I get the following result :
- the job is correctly reschedule (the start date is the start date I entered in the interface, and the end date is computed forward from this date).
- the operation start date and end date are correct (same as the job dates)
-the resources have been correctly changed (replaced by the replacement group)
But the resource schedule dates have not changed .
How can I have the resources reschedule using the interface ?
Thanks in advance.

Are you loading start_date and completion_date into wip_job_dtls_interface?
Not the same as first_unit_start_date, last_unit_start_date, etc.

Similar Messages

  • Example Work Order Interface - Resource add

    Can anyone give me an example load script for wip_job_schedule_interface and wip_job_dtls_interface tables? The documentation has a couple of errors and if I could just see one example that works I think I could figure it out. I have an existing work order and just want to be able to add a resource using the work order interface.
    Any help you can give me would be greatly appreciated!!
    Thanks,
    Joe
    p.s. I am getting invalid value for load type when I use the following:
    insert into wip_job_schedule_interface(
    allow_explosion
    ,created_by
    ,created_by_name
    ,creation_date
    ,group_id
    ,header_id
    ,last_update_date
    ,last_updated_by
    ,last_updated_by_name
    ,load_type
    ,process_phase
    ,process_status
    ,wip_entity_id
    --,wip_entity_name
    --,line_code
    --,line_id
    ,organization_id
    --,organization_code
    ,start_quantity
    values(
    'Y'                               --allow explosion
    ,'1008119'                     --created_by
    ,'JCOLLINS'                     -- created by name
    ,sysdate           -- creation date
    ,'104747'      -- GROUP ID USE WIP_JOB_SCHEDULE_INTERFACE_S
    ,'2'                              --HEADER_ID
    ,sysdate                    -- last_update_date
    ,'1008119'                --last updated by
    ,'JCOLLINS'               --last updated by name
    ,'3'                    --load_type
    ,'2'                    --process_phase
    ,'1'                    --process_status
    ,'136715'                    --wip_entity_id
    ,'3159'                    --,organization_id
    ,'1'
    insert into wip_job_dtls_interface(
    --parent_header_id,
    group_id,
    assigned_units,
    autocharge_type,
    basis_type,
    completion_date,
    load_type, -- 1 for loading a resource
    operation_seq_num,
    process_phase,
    process_status,
    resource_id_old,
    resource_id_new,
    resource_seq_num,
    scheduled_flag,
    standard_rate_flag,
    start_date,
    usage_rate_or_amount,
    uom_code,     
    wip_entity_id,
    --wip_entity_name,
    organization_id,
    substitution_type,
    last_update_date,
    last_updated_by,
    creation_date,
    created_by,
    schedule_seq_num
    values(
    --'2'                              
    '104747'                -- group_id
    ,'1'                          --assigned_units,
    ,'1'                          --autocharge_type,
    ,'1'                          --basis_type,
    ,sysdate + 360               --completion_date,
    ,'1'                          load_type,                            1 for loading a resource
    ,'10'                          --operation_seq_num,
    ,'2'                         --process_phase,
    , '1'                          --process_status,
    ,'4267'                         --resource_id_old
    ,'4267'                         --rsource_id_new
    ,'50'                         --resource_seq_num,
    , '1'                         --scheduled_flag,
    ,'1'                          --standard_rate_flag,
    ,sysdate                     -- start_date,
    ,'1'                          --usage_rate_or_amount
    ,'HR'                          -- uom_code,     
    ,'136715'                     -- wip_entity_id
    ,'3159'                     -- organization_id
    ,'3'                          -- substitiution_type
    ,sysdate                     -- last_update_date
    ,'1068'                     --last_updated_by
    ,sysdate                     -- creation_date
    ,'1068'                     -- created by
    ,'40'                         --schedule_seq_number
    );

    Please find an example : we replace a group of resources by another group of resources:
    INSERT INTO WIP_JOB_SCHEDULE_INTERFACE
    (group_id
    ,header_id
    ,wip_entity_id
    ,organization_id
    ,first_unit_start_date
    ,firm_planned_flag
    ,status_type
    ,load_type
    ,process_phase
    ,process_status
    ,description
    ,created_by
    ,creation_date
    ,last_update_date
    ,last_update_login
    ,last_updated_by)
    VALUES
    (i_group_id
    ,i_job_id
    ,i_job_id
    ,i_organization_id
    ,i_first_unit_start_date
    ,i_firm_planned_flag
    ,1 -- STATUS_TYPE: Unreleased
    ,3 -- LOAD_TYPE: Update standard or non-standard Discrete Job
    ,2 -- PROCESS_PHASE: Validation
    ,1 -- PROCESS_STATUS: Pending
    ,i_description
    ,g_created_by
    ,g_creation_date
    ,g_last_update_date
    ,g_ast_update_login
    ,g_last_updated_by);
    INSERT INTO WIP_JOB_DTLS_INTERFACE
    (group_id
    ,wip_entity_id
    ,organization_id
    ,parent_header_id
    ,operation_seq_num
    ,department_id
    ,resource_id_old
    ,replacement_group_num
    ,resource_seq_num
    ,resource_id_new
    ,usage_rate_or_amount
    ,uom_code
    ,load_type
    ,substitution_type
    ,process_phase
    ,process_status
    ,description
    ,created_by
    ,creation_date
    ,last_update_date
    ,last_update_login
    ,last_updated_by)
    VALUES
    (i_group_id
    ,i_job_id
    ,i_organization_id
    ,i_job_id
    ,r_operations.operation_seq_num
    ,r_operations.department_id
    ,r_operations.resource_id
    ,r_operations.replacement_group_num
    ,r_operations.resource_seq_num
    ,r_operations.new_resource_id
    ,r_operations.usage_rate_or_amount
    ,r_operations.uom_code
    ,1 -- resource
    ,3 -- change
    ,2 -- validation
    ,1 -- pending
    ,i_description
    ,g_created_by
    ,g_creation_date
    ,g_last_update_date
    ,g_last_update_login
    ,g_last_updated_by);

  • IDM : How to get the Resource name in Exclude Rule during Reconciliation?

    Hi
    Problem Statement => How to get the Resource name in Exclude Rule during Reconciliation.
    Problem Description => Apparently, we use exclude rule for not consider some account during reconciliation.
    I need the resource name in exculde rule during reconciliation. I tried with getResources() method which is an inbuilt method.But it gives all the resources are aviablable in the repository (IDM). I need only the current reconcilied resource name instead of fetching all the resouce.
    Can any one please help how to get the resource name in exclude rule during reconciliation?
    Thanks in advance for you help.
    Thanks,
    Chellappan

    Hi,
    Thanks for your reply.
    I have 50 resouces and these resouces using the same kind of exclude rules. In the exclude rule, i am using resource name to do some work. If i get the resouce name in exclude rule, then i can use the same exculde rule for 50 resources. This will minimise the rule count from 50 to 1. For that, i need resouce name.
    Thanks,
    Chellappan Sampath.

  • How to schedule the eCATT objects ?

    Hi,
    I have developed the eCATT objects & incorporated in the Test Catalog.Right now
    i would like to schedule the Test Catalog for collective execution,so i would really appreciate if anybody has any clues regarding how to schedule the Test Catalog (eCATT objects) ?
    Warm Regards,
    Ananth.

    Hi,
    I really didn't work on this. But i have one idea on how to do it.
    There are some function modules for eCATT scripts. (try searching catty in SE37). Use those FMs in a ABAP program and just schedule the ABAP program as you want.
    Hope this help.
    Cheers,
    Prasad Babu,
    http://prasadbabu.blogspot.com

  • How to schedule the back job scheduling

    how to schedule the back job for bdc , can we use it for both call transaction and session method . how to schedule the back job schedulinng for lsmw

    hi,
    Use t-code SM36 for scheduling.
    <b>Do reward.</b>

  • How to schedule the job to run evry Sunday at 12 P.M IST.

    Hi Experts,
    I want to schedule a job which will run evry Sunday at 12 P.M IST.
    I have written the below script.
    [code]BEGIN
      SYS.DBMS_SCHEDULER.CREATE_JOB
           job_name        => 'SERVICE_SAL_FS.SAL_MESSAGE_BUFFER_PURGE_JOB'
          ,start_date      =>  SYSTIMESTAMP
          ,repeat_interval => 'FREQ=WEEKLY; BYDAY=SUN; BYHOUR=12;BYMINUTE=0; BYSECOND=0;'
          ,end_date        =>  NULL
          ,job_class       => 'DEFAULT_JOB_CLASS'
          ,job_type        => 'STORED_PROCEDURE'
          ,job_action      => 'SERVICE_SAL_FS.SAL_MESSAGE_BUFFER_PURGE_PROC'
          ,comments        => 'Run at 12 P.M.IST every Sunday'
          ,enabled            => TRUE
    END;[/code]
    But the server in US.
    [code]SELECT sysdate from Dual;
    6/11/2013 3:58:58 AM
    --But the time in India is 02:28 PM [/code]
    How to convert the timezone to IST.
    Please help me how to schedule the job to run evry Sunday at 12 P.M IST.
    Thanks.

    Did you read DBMS_SCHEDULER docs:
      The calendaring syntax does not allow you to specify a time zone. Instead the Scheduler retrieves the time zone from the start_date argument. If jobs must follow daylight savings adjustments you must make sure that you specify a region name for the time zone of the start_date. For example specifying the start_date time zone as 'US/Eastern' in New York will make sure that daylight saving adjustments are automatically applied. If instead the time zone of the start_date is set to an absolute offset, such as '-5:00', daylight savings adjustments are not followed and your job execution will be off by an hour half of the year.
      When start_date is NULL, the Scheduler will determine the time zone for the repeat interval as follows: 
    It will check whether the session time zone is a region name. The session time zone can be set by either:
    Issuing an ALTER SESSION statement, for example:
    SQL> ALTER SESSION SET time_zone = 'Asia/Shanghai'; 
      Setting the ORA_SDTZ environment variable.
      If the session time zone is an absolute offset instead of a region name, the Scheduler will use the value of the DEFAULT_TIMEZONE Scheduler attribute. For more information, see the SET_SCHEDULER_ATTRIBUTE Procedure.
      If the DEFAULT_TIMEZONE attribute is NULL, the Scheduler will use the time zone of systimestamp when the job or window is enabled.
    SY.

  • How to schedule the background job using current selection screen field val

    Hello Friends,
    How to schedule the background job using current selection screen field values.
    after completion of the job the spool should be sent as a mail to SAP Inbox.
    Is there any way to create the variant dynamically by reading the current selection screen values.
    Thanks,
    Ravi

    Hi,
    To get the variant details you can use teh following FM.
    'RS_VARIANT_CONTENTS'.
    Regards,
    Ankur Parab

  • How to schedule the background job daily twice?

    Hi,
    How to schedule the background job daily twice? any conditions?
    Regards,
    Srihitha

    see the step by step procedure.
    Scheduling Background Jobs:
    1. Background jobs are scheduled by Basis administrators using transaction SM36.
    2. To run a report in a background, a job needs to be created with a step using the report name
    and a variant for selection parameters. It is recommended to create a separate variant for each
    scheduled job to produce results for specific dates (e.g. previous month) or organizational units (e.g.
    company codes).
    3. While defining the step, the spool parameters needs to be specified
    (Step-> Print Specifications->Properties) to secure the output of the report and help authorized users
    to find the spool request. The following parameters needs to be maintained:
    a. Time of printing: set to “Send to SAP spooler Only for now”
    b. Name – abbreviated name to identify the job output
    c. Title – free form description for the report output
    d. Authorization – a value defined by Security in user profiles to allow those users to access
    this spool request (authorization object S_SPO_ACT, value SPOAUTH). Only users with matching
    authorization value in their profiles will be able to see the output.
    e. Department – set to appropriate department/functional area name. This field can be used in
    a search later.
    f. Retention period – set to “Do not delete” if the report output needs to be retained for more
    than 8 days. Once the archiving/document repository solution is in place the spool requests could
    be automatically moved to the archive/repository. Storage Mode parameter on the same screen
    could be used to immediately send the output to archive instead of creating a spool request.
    Configuring user access:
    1. To access a report output created by a background job, a user must have at
    least access to SP01 (Spool requests) transaction without restriction on the user
    name (however by itself it will not let the user to see all spool requests). To have
    that access the user must have S_ADMI_FCD authorization object in the profile with
    SPOR (or SP01) value of S_ADMI_FCD parameter (maintained by Security).
    2. To access a particular job’s output in the spool, the user must have
    S_SPO_ACT object in the profile with SPOAUTH parameter matching the value used
    in the Print Specifications of the job (see p. 3.d above).
    3. Levels of access to the spool (display, print once, reprint, download, etc) are
    controlled by SPOACTION parameter of S_SPO_ACT. The user must have at least
    BASE access (display).
    On-line reports:
    1. Exactly the same configuration can be maintained for any output produced
    from R/3. If a user clicks “Parameters” button on a SAP Printer selection dialog, it
    allows to specify all the parameters as described in p. 3 of
    “Scheduling background jobs” section. Thus any output created by an online report
    can be saved and accessed by any user authorized to access that spool request
    (access restriction provided by the Authorization field of the spool request
    attributes, see p. 3.d of “Scheduling background jobs” section).
    Access to report’s output:
    1. A user that had proper access (see Configuring user access above) can
    retrieve a job/report output through transaction SP01.
    2. The selection screen can be configured by clicking “Further selection
    criteria…” button (e.g. to bring “Spool request name (suffix 2)” field or hide other
    fields).
    3. The following fields can be used to search for a specific output (Note that
    Created By must be blank when searching for scheduled job’s outputs)
    a. Spool request name (suffix 2) – corresponds to a spool name in p. 3.b in
    “Scheduling background jobs” section above).
    b. Date created – to find an output of a job that ran within a certain date range.
    c. Title – corresponds to spool Title in p. 3.c in “Scheduling background jobs”
    section above).
    d. Department - corresponds to spool Department in p. 3.e in “Scheduling
    background jobs” section above).
    4. Upon entering selection criteria, the user clicks the Execute button to
    retrieve the list of matching spool requests.
    5. From the spool list the user can use several function such as view the
    content of a spool request, print the spool request, view attributed of the spool
    request, etc. (some functions may need special authorization, see p.3 in
    Configuring user access)
    a. Click the Print button to print the spool request with the default attributes
    (usually defined with the job definition). It will print it on a printer that was
    specified when a job was created.
    b. Click the “Print with changed attributed” button to print the spool request
    with the different attributes (e.g. changing the printer name).
    c. Click the “Display contents” button to preview the spool request contents. A
    Print and Download functions are available from the preview mode.

  • How to schedule the webi report based on data changes in the report data

    Hello,
    I want  to schedule a webi report based on data change in a column in the report.
    The scenario is something like below:
    1. If a data of a particular column changes from 2 to 3 than I would like to schedule this report and sent it to users mail box.
    I know how to apply alerts or schedule a report or data tracking for capturing changes in the report but I dont know how to schedule the report only for data changes.
    Anybody done this before.
    Thanks
    Gaurav

    Hi,
    May be these links can help you:
    http://devnet.magicsoftware.com/en/library?book=en/iBOLT/&page=SAP_R_3_Master_Data_Distribution_Defining_Change_Pointers.htm
    SEM-BCS: Load from data stream schedule
    Attribute Change Run

  • How to link the resource bundle in JSF implemented in  eclipse?

    Kindly help me out

    This is how I called the resource bundle in JSF
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <f:view>
    <f:loadBundle basename="constantsUIProp" var="prop"/>
    <h:form>
    <h:inputText maxlength="#{prop.AREA_CODE_MAX}"></h:inputText>
    </h:form>
    </f:view>
    </body>
    </html>
    when i tend to build, it shows an error like+ Resource bundle cannot be found on the classpath+
    I have saved the resource bundle in WebContent/Web-Inf/classes/constantsUIProp

  • How will schedule the BW report in the Background ?

    Hi
    Small query, i have one management report in the BI, which should be run early morning and send mail to the GM,
    We can schedule the ABAP report but no the BW !!!!
    How will schedule the BW report in the Background ?
    How the mail send to the GM ?
    Please advise us
    REgards
    Anwer Waseem
    SAP BASIS

    Reporting Agent will be only supported in the 3.X runtime in 2004s,start using Bex Broadcaster.Reporting agent is going to be obsolete or is would say.
    All the new functionalities will be implemented in Broadcaster only.
    Advantage -The old Reporting Agent in BW 3.x could pre-calculate the data of a template and access it through the URL . It could not broadcast queries, workbooks or web templates by email or to KM folders.
    https://websmp203.sap-ag.de/~sapdownload/011000358700004219392005E/ERQA_INFOBROADCASTING.PDF
    http://csc-studentweb.lrc.edu/swp/Berg/articles/Reporting_Analytics_2006_Broadcasting_v10.ppt
    Note 760775 - Settings for Information Broadcasting
    Hope it Helps
    Chetan
    @CP..

  • How to schedule the process chain

    hi
    guys,
                       how to schedule the process chain to run on thirsday and friday b/w 8pm to 11:55pm which has already been scheduled for daily loads at 9am to 11am?
    (Tell me the answer in detail)
    your regards
    suresh

    Hi Suresh,
    If you want to change in the Production system, you may not have the Authorizations. If you have authorization;
    1. Goto RSPC-->double click on the Process chain
    2. double click on the Start variant of the process chain-->Click on the EDIT button
    3. Click on the CHANGE SELECTIONS then click on the DATE/TIME Tab;
    4. There pls give from which date this process chain has to run to with your requirement time,
    then give the time and select the periodic job and select with your requirement.
    Save and exit.
    It is done!!
    Hope you understood.
    Regards,
    Ravi Kanth

  • How to schedule the process chain fr the report

    hai experts,
    i have a query which i need to generate for every five hours? i know that we can generate the report thr process chain but i dont know how to build that..
    my question is how to schedule the report,how to build the process chain,....
    can any one plz tell me how to start this generating report for every five hours
    thanks in advance..points will be alloted surely ,i need this urgently..
    Suri

    First of all you need to Identify the InfoObjects if you want to take up Master Data Loads, and if you want take up transaction loads then select the Data Targets to which the data has to be updated. Then plan the dataflow accordingly.
    You want to create a Process Chain, Go to RSPC, and then select the create option and from the Process categories available on the left handside drag and drop the Start process, then define the Variant for the same. In the same way you need to identify the other Process Types available on the lefthand side. For Eg: Start Process>Load to ODS>Activation of ODS Data>Delete Indexes for the InfoCube>Load to InfoCube>Create Indexes>Delete Overlapping Req-->Agg. Rollup.
    This is how you need to specify the dataflow, several other Process Types also included based on the requirement For Eg: Sending Mail Alerts when the Job is Success or Terminated.
    Also, have a look at this links to make urself clear about the steps in creating Process Chain.
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    Hope it helps.
    Regards,
    Archna

  • How to Manage the Resource Master in Primavera Enterprise Version

    We are using P6 enterprise version in our company having a central database. We had created our own unique resources and standardised across the enterprise and is Admin protected. However we often have to import some schedules sent by our consultant/client. In those schedules they have their own resources.
    So when we import these schedules, it also imports the resources along with it and pollutes our resource master.
    Can anyone let me know, how to manage such a situation.
    Regards

    We have met this issue. You have few ways to deal with it, but each has its own +ve and -ve.
    1- You may create a separate "Working" db into which you can import those files and keep them there only. Your master db shall be used for maters and your own program only.
    2- You may do the same for checking the resourses, vet them before importing into the final db
    3- P3 and MSP importation allows you to select the node to which the resources will be located. We have created a resource node called "Imported Resources" and dumped all those resources into it. Our users don't have access to that node so those resources can only be used on the imported program and can't be assigned to any other program / activity
    4- Enforce your supply chain to use the same resource list. We managed to do that for our main and subcontractors. That formed part of their contracts.

  • How to destroy the resource contained in resourcebundle.getBundle

    Hi
    I have one problem here.
    I m using ResourceBundle class to load the local values
    from portal_local.properties.
    well its works fine but when i make some changes in this file.The changes r not reflected in the result.Resourcebundle reflects the older values cached in it.
    is their any way so that we can destroy that cache contained in resourcebundle and then load the new file again.
    thanks for any help
    Map globalProperties = PropertyUtils.toMap(ResourceBundle.getBundle(global));
    the whole function is like that
    private static Map loadResources(String global, String local) {
    //getTimeStamp();
    Map globalProperties = PropertyUtils.toMap(ResourceBundle.getBundle(global));
    try {
    globalProperties.putAll(PropertyUtils.toMap(ResourceBundle.getBundle(local)));
    } catch (MissingResourceException e) {
    // We only bother with the local resources if the file's present. The
    // getBundle() will fail if portal_local is missing
    return globalProperties;

    My problem is also that the resource bundle cache cannot be cleared.
    1. you can load a propertyfile from classpath (resourcebundle), but it is cached, and read only once.
    2. you can load a propertyfile if there is where your class is, but then users should see java classes, which is not the best i think.
    At last somebody should tell me how to create a user friendly customizable app, which can be modofied by properties at runtime!

Maybe you are looking for

  • Can't download to a new computer? Getting message this code has already been redeemed.

    I switched to a new laptop and when I tried to redownload creative cloud I was unable to get my full version back. When I try to redeem and download I get an error message. The most it let me do was run a 30 day trial for each program to get by. This

  • Error code 500 internal server error

    I got a computer from my brother. It has windows 7 starter on it. It has been running fine, but now it says that the Microsoft teredo tunneling adapter driver is not working. It also gives me an error code 500 internal server error, when I try to sea

  • Different Page sizes in the same Framemaker Document

    Is there any way in Framemaker to create different page sizes ( say A4 & A3) simultaneously, either as body pages or master pages, in a long, multi-page document ? The long pages (A3 size) will be folded and tucked inside to fit the width of the A4 s

  • Installed HP Printer in Chinese by mistake

    I installed the software for my new HP D2660 printer.  When the CD ran, it was running in Chinese.  The language I'm using on my PC is English.  Not sure why it launched in Chinese, but I ran the install anyway as I was able to figure out what button

  • "Stamping " PDF documents using "Tools / Comment &  Markup"

    I used to be able to "stamp" PDF documents using "Tools/ Comment & Markup/ Stamp", then PDF the document, and the stamp became part of the document. Now it is not "saving" the stamp. It stamp no longer shows on the PDF'd document after I run the "PDF