Change the routing assigned to a job by program

Is there an API, or any procedure which allow to change by program the routing of a WIP job (validate the changes and replace the primary routing which imply replace the old operations and resources by the alternate routing resources and operation, and reschedule the job) ?
The purpose is to Mass change the routings on jobs (for example: change the routing of all the unreleased jo of an item category).
Thanks in advance.

You have to:
- eliminate the stock of that material/batch
- mark the batch master with deletion flag
- archive the batch master
http://help.sap.com/erp2005_ehp_04/helpdata/EN/eb/650362e5a511d285ed0000e82013e8/frameset.htm
After archiving you should be alble to do a GR with same batch number for another material...hopefully...
Edited by: Csaba Szommer on Jul 19, 2010 8:31 AM

Similar Messages

  • Send a mail with change history while changing the Routing (T-Code CA02),

    Hi All,
    I need to send a mail with change history while changing the Routing (T-Code CA02), Please let me know how can implement this scenario.
    I am trying to find out any workflow is there for the same but we have workflow for Routing creating and Display, we donu2019t have workflow for change.
    Please suggest meu2026u2026u2026u2026
    Thanks,
    Amjad.

    Hi All,
    I need to send a mail with change history while changing the Routing (T-Code CA02), Please let me know how can implement this scenario.
    I am trying to find out any workflow is there for the same but we have workflow for Routing creating and Display, we donu2019t have workflow for change.
    Please suggest meu2026u2026u2026u2026
    Thanks,
    Amjad.

  • Can we change the Day assignment in IT 2011

    Hi All,
    I have a query about Day assignment in IT 2011. My clients wants to change the day assignment in IT 2011 according to the requirement. I know that we can change the day assignment manually in IT 2011 . But it is a hard task to do for all employee.
    So is there any config or programme to alien this day assignment according to our requirement.
    I need your help to resolve this requirement.
    Regards,
    Tanuja

    Thanks Sikinder for your quick reply.
    Can it be the only way to do so. Is there any Config to solve this issue?
    Kindly suggest.
    regards,
    Tanuja

  • Changing the Cost assignment

    Hi,
    I need a clarification.
    I know that  we cannot change the account assignmnet of the PO item if there are invoices posted.
    If I revert back the invoices, will I be able to change the account assignemetn in the PO again?
    Kindly clarify?
    Thanks in advance.
    Regards
    Ramesh

    Hello,
    Yes, you can change the account assignment in this.
    Thanks and regards,
    Gaurav

  • Error message while changing the delimit date of a job in ppome

    Hi experts,
    I have delimited a job in ppome to date 11.05.2011. But now i want to remove that delimit date and change it to unlimited(31.12.2999). when iam trying to change the delimit date it is showing a popup message 'select a date between 15.11.2008 and 11.05.2011'. Can anyone say why it is showing this message. how can i delimit that job again to 31.12.2999.? Same problem with the position also.
    Pls help...

    Dear Priaynka,
    Thanx for ur reply, I am again furnishing below the details:-
    I have to change the Valuation Class of the material :-
    7 POS for which Goods Receipt & Invoice Receipt have been done from period 1 to 7.
    1 PO for which Goods Receipt & Invoice Receipt have not been made.
    All the material reced in period 1-7 have been consumed by MFBF. Now no material is available in the material in that plant.
    Should I change the valuation class by deleting the line item of all the PO's  7 POs + 1 PO.
    Please advise, as the fresh PO will be made with new val class and GR/IR and Consyumption will happen after the change is made.
    Please advise if I am wrong in the procedure.
    Regards,
    Alok

  • HP deskjet 3050 no longer connects to wireless since changing the router

    The printer no longer prints to wireles or when connected via USB for that matter. Recently changed routers and now it doesn't pick up the printer. I have tried to reinstall the software and that hasn't made a difference. Help please!!

    Hi nikki879,
    Here is a way you can connect the printer to your router:
    -Restore network defaults inside the wireless menu on the printer front panel.
    -From your computer, connect wireless to the printer's network (it should be a name similar to HP-Setup-xx-Deskjet 3050A J611).
    -After successfully connecting to the printer, open your web browser and type in 192.168.223.1 in the addressbar and press enter.
    -Click on Wireless Setup Wizard
    -Select your router and enter the password to connect the printer to the router.
    Rerun the printer software from your computer to rediscover the printer over the network.
    Show support by clicking the Thumbs Up in the post that resolved your problem. Doing so will help other forum members find their solutions too.

  • How to change the user for an event job as SAP_MONITORING_STARTUP_DISPATCH

    Hi experts!
    We change the user that execute all our jobs. I can change the user JOB-BW for JOB-BI for this job SAP_CCMS_MONI_BATCH_STARTUP_DP, but the problem is when this job is executed by event for this other job SAP_MONITORING_STARTUP_DISPATCH, but i can't change the user JOB-BW for JOB-BI for this event
    Could you tell me, how i do the change user for this job.
    Best Regards
    Ramon Sanchez

    Hi!
    My problem have been solved. The job SAP_CCMS_MONI_BATCH_STARTUP_DP is automatically created by
    Job SAP_CCMS_MONI_BATCH_DP. It is an event triggered job to handle the startup-methods which are to be processed in batch.
    The event is SAP_MONITORING_STARTUP_DISPATCH; I only select the job in SM37 and specify this event and after made the search the job  SAP_CCMS_MONI_BATCH_STARTUP_DP i only change the user.
    Thank you all for your help!
    Ramon Sanchez

  • Changing the scale of a eprint job

    Is it possible to change the setting for the scale of an eprint job?  I need to print something to be 110% to enlarge it for our clients.  Thank you.

    Hi there, if you are printing by sending an email attachment to the printers email address its not possible to edit the print settings. If you are printing via the ePrint mobile print app from a smartphone or tablet then you do have the option of adjusting print settings but scaling is not one of them.
    Sorry about that.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • How do we change the router password??

    Does anyone know how to change the password for the router so it's not just the password on the bottom of the router??

        Let's look further into this ALS08JDS87! Are you referring to the Verizon Wireless 4G LTE Broadband Router? If so, you can access Configuration Tool to make security changes. View visuals here http://vz.to/1e7QijP Please feel free to reach out or visit us here http://bit.ly/yN1P80 anytime. Thank you.
    TominqueBo_VZW
    Follow us on Twitter @VZWSupport

  • Can I change the route of an animated map in iMovie?

    I am making a video of a recent cruise our family took, and the map animation just makes a straight line from place to place.  However we went from Key West to Grand Cayman and the route goes right over Cuba, which is difficult to do on a boat .  Is there anyway to make the route swing around Cuba?  It will just make the animation of our route look a lot more authentic. Thx. 

    RiverShark wrote:
    Is there a way to put in 3rd & 4th intermediate destinations via coordinates?  So then maybe I could input coordinates in the ocean and the line would go through those.  But even if that's possible (which I cannot find that it is) I assume it would make a "dot stop" at them which I don't wnat to do.
    Sorry, I don't think I'm going to be much help. If you're pulling photos from iPhoto, then you can adjust the Place and Time/Date the photo was taken using those iPhoto tools. The changes should be reflected in iMovie either automatically or by reimporting the photo to iMovie. This would make a "dot stop," but I don't think there's a way around that.
    Hopefully someone else has a better idea.

  • How to change the header of Material BOM in a program for alternative BOM ?

    Requirement: An Inbound IDOC creates /change/delete Alternative Material BOM. The Alternative Material BOM can have alternative values from 1 to 99.
    ISSUE: I am good with CREATE and DELETE BOM. The issue is with CHANGE of header Material BOM. The fields which we need to change in the header is the base quantity, BOM status, Lot Size from and Lot Size to. Please note that I am able to change the item details of the BOM with FM CSAI_BOM_MAINTAIN. I find no FM /BAPI which would change the header of a material BOM.
    Please NOTE that I am using BAPI_MATERIAL_BOM_GROUP_CREATE to create alternative Material BOM. This has a parameter in TABLES called "VARIANTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL .Also ,there is another parameter in TABLES called "ITEMASSIGNMENTS" which has a field CS_FUNCTION which can have value from NEW/CHG/DEL which implies this FM will allow us to change the BOM. But this does not work when I use it for CHANGE scenario with CHG value. I debugged this BAPI and observed it requires a STNLR(Bill of Material) value . This field is not there in any of the structure. I am not sure if I am passing the right parameters to it.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?
    Here is the code I am using:
    *& Report  ZTEST_S_E
    REPORT  ZTEST_S_E.
    * This code will create a material BoM for the material
    * MAINMATERIAL with the components COMPON1 and COMPON2.
    * Data Declaration
    DATA:
    it_bomgroup LIKE bapi1080_bgr_c OCCURS 0 WITH HEADER LINE,
    it_variants LIKE bapi1080_bom_c OCCURS 0 WITH HEADER LINE,
    it_items LIKE bapi1080_itm_c OCCURS 0 WITH HEADER LINE,
    it_matrel LIKE bapi1080_mbm_c OCCURS 0 WITH HEADER LINE,
    it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,
    it_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    * Fill the data
    * Material BoM Group Header Data
    CLEAR it_bomgroup.
    it_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.
    it_bomgroup-object_type = 'BOM'.
    it_bomgroup-object_id = 'SIMPLE1'.
    it_bomgroup-bom_usage = '1'. " YOU COULD CHANGE THE BOM USAGE TO YOUR
    *NEEDS
    it_bomgroup-ltxt_lang = sy-langu.
    it_bomgroup-technical_type = ' '.
    it_bomgroup-bom_text = 'Simple BoM - FM'.
    APPEND it_bomgroup.
    * Header Details of the different variants
    CLEAR it_variants.
    it_variants-CHANGE_NO  = '500000000349'.
    it_variants-bom_group_identification = 'BAPI_SMP_COL1'.
    it_variants-object_type = 'BOM'.
    it_variants-object_id = 'SIMPLE1'.
    it_variants-alternative_bom = '01'.
    it_variants-bom_status = '01'.
    it_variants-base_qty = '2.000'.
    it_variants-valid_from_date = sy-datum.
    it_variants-function = 'CHG'.
    APPEND it_variants.
    * Details of the items of the variants
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_items-item_no = '0010'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '2'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    CLEAR it_items.
    it_items-bom_group_identification = 'BAPI_SMP_COL1'.
    it_items-object_type = 'ITM'.
    it_items-object_id = 'SIMPLE1'.
    it_itemas-change_no = '500000000138'.
    it_items-item_no = '0020'.
    it_items-item_cat = 'L'.
    it_items-component = '030790490'.
    it_items-comp_qty = '3'.
    it_items-valid_from_date = sy-datum.
    APPEND it_items.
    * Details of the materials of the different variants
    CLEAR it_matrel.
    it_matrel-bom_group_identification = 'BAPI_SMP_COL1'.
    it_matrel-material = '030790490'.
    it_matrel-bom_usage = '1'.
    it_matrel-alternative_bom = '01'.
    APPEND it_matrel.
    * Linking items to the corresponding variants
    CLEAR it_itemas.
    it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_itemas-sub_object_type = 'ITM'.
    it_itemas-sub_object_id = 'SIMPLE1'.
    it_itemas-super_object_type = 'BOM'.
    it_itemas-super_object_id = 'SIMPLE1'.
    it_itemas-valid_from_date = sy-datum.
    it_itemas-function = 'CHG'.
    APPEND it_itemas.
    * Create variants
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
    all_error = 'X'
    TABLES
    bomgroup = it_bomgroup
    variants = it_variants
    items = it_items
    materialrelations = it_matrel
    itemassignments = it_itemas
    return = it_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT it_return.
    WRITE:/ it_return-type, it_return-id, it_return-number,
    it_return-message.
    ENDLOOP.
    Let me know if the parameters are passed correctly for CHANGE scenario.
    Also let me know if there is any other way(FM/BAPI)  to update the Header of the Material BOM ?

    Try doing something like this:
    class MyJTextArea extends JTextArea {
        public boolean keyDown(Event evt,int key) {
            if(key == 13 || key == 10) { // or whatever ascii codes enter may have
                // move carret to next line
            } else {
                super.keyDown(evt, key);
    }which means you have got to catch the enter-key before the actutal JTextArea does this.
    p.s. look at my post, maybe you can help me, too.
    http://forum.java.sun.com/thread.jsp?forum=5&thread=465803&tstart=0&trange=100

  • Change the value of parameter in smartfrom by program lines...!

    Hi experts.........!
    i want to change the value of parameter 'x1' which i import from program has a value 'ECNC' and want to display in output of smartfrom as 'ECNEC'. how i change it from program lines.
    I use program lines to change its value....... use input parameter 'x1' and output paramter 'x1'
    and program lines are
    IF x1 = 'ECNC'.
    x1 = 'ECNEC'.
    ENDIF.
    and in condition i use
    x1 = 'ECNC'
    but it doesn't effect output is same as it show the value of x1 = 'ECNC' when i execute the program.
    How i change the value of x1 to 'ECNEC'
    Plz help me.......!
    Thanx in advance....!

    Hi ,
    Have you declared the Variable X1 under Global Definitions ?
    please debug the Smartform by the following way.
    Goto the generated Function module - > Search for your Variable X1 ( Choose Main program )- >  Set Break point
    Debugger will be called after giving printing parameter automatically. Check it whether value get changed ( Your Code is working or not ).

  • How to change the Time Zone of a selected user programically ?

    Hi all,
    I have a specific requirement to develope using Webdynpro. I want to programically change the Time ZOne of a selected  user. Could some one help me . I promise to award points for the solution.
    Thank you in advance
    Regards
    Maruti

    Hi,
    Kindly have a look at the following threads,
    Re: Timezone of current User
    Re: Changing the Time Zone attribute
    Regards,
    Saravanan K

  • Maps changes the route?

    A friend emailed me a Google Maps link for directions to his cottage. When I opened his email on my iPhone and followed the link, the Maps application launched, good, BUT it altered the directions and gave me a new route. Any ideas why this would happen? Is there a way to "lock" these direction so Maps doesn't make any changes?
    Cheers,
    Logan

    Route
    Routes are determined depending on the following criteria:
    Country and departure zone (departure zone of the shipping point)  - Please check shipping pt Definition
    Shipping conditions agreed in the sales order                               - check at VOV8 (document type)
    The shipping condition is defined in shipping point determination.  
    Transportation group of the material                                             - check at material master in MM02
    Country and transportation zone (receiving zone) of the ship-to party - check at XD02 (general data)
    Storage location
    It is determined from shipping pt +delivering plant + storage conditions.
    Please goto OVL3 and check u have assigned all the entries properly.
    hope it is useful
    Reward points if it is useful..

  • Is there a way to change the Recurring Schedule of timer job Expiration Policy in SP online ?

    I'm using SharePoint Online. I want to run a rule every day on the items of a list.
    To do this, I went into Information management policy settings
    of my list and enabled Retention. There, I added a daily event and set the
    Recurrence to 1 day.
    After 24 hours, nothing occurs.
    I guess the default schedule for the Information management policy
    and the Expiration policy timer jobs are set to 1 week (as is the case for 2010 and 2013 on premise versions) but I'll have to wait a couple of weeks to be sure.
    Does anyone know how to change this setting ? any workaround ?
    Thanks !

    Nope, none i can think of. We have no control over that level of behaviour within SharePoint and have to accept the MS standard offering.

Maybe you are looking for