Plant for PR in case of Centralized planning plant

Dear All,
In case of centralized planning, if a Service PR is created then  it is taking the plant as the planning plant & not the maintenance plant.
For example: Maintenance pLant A & Maintenance Plant B have a common planning plant as "A" & if a PR is created for maintenance plant "B" then it is taking the plant as "A" & not the other.
please suggest where we can change the plant in case of service pr created through the maintenance order.
Regards,
Ritesh

Hi,
The planning plant will always be passed to the purchase requisition as you have found. Only alternative is to use a user exit
For components use exit COZF0002 (EXIT_SAPLCOZF_002). The exit is called on creating purchase requisitions for components from PM/CS orders. Customer exit COZF0001 can be used for external operations.
This exit allows change of fields in structure EBAN_ORD_CUST. Field WERKS is not included in this structure but you can append this field to the structure.  After that you have to add a line into your exit (example):         
... move afvgd-werks to EBAN_ORD_CUST-WERKS...                      
Through this method it should be possible to change the plant on the requisition.
-Paul
Use the forum Enterprise Asset Management (EAM) for PM/CS specific topics
Enterprise Asset Management (SAP EAM)

Similar Messages

  • BOM is not getting displayed in case of centralized planning plant.

    Dear All,
    there are 2 plants for which we have centralized planning. the users have created Equipment BOM for the two plants. but in case of the second plant for which the planning plant is different from the maintenance plant, the BOM is not getting displayed in the Maintenance Order (i.e. in the components tab).
    kindly through some light on it. whether i have to do some settings for it.
    Regards,
    Ritesh Kapoor

    Hi,
    Yes while using IH01, i have ticked the BOM explosion option, but when i am giving the plant there then only it is displaying the BOM of that equipment.
    Also when i am creating an order for the same equipment, then it does not displays the BOm & shows the message which i have written in my previous mail.
    Ritesh

  • How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    HI,
    How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    Thanks Florin,
    Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
    Points have been rewarded for your help.
    Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
    Note: The Exit will be executed if "exit_cancelled"  statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
    Please check the link for adding the code in Work Item Exits.
    http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
    Please find the Code:
    method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
    Get the context of the workitem
      me->wi_context = im_workitem_context.
    After execution of the workitem call the method AFTER_EXECUTION
      if im_event_name eq swrco_event_after_execution.
        me->after_execution( ).
      endif.
    endmethod.
    METHOD AFTER_EXECUTION.
    This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
      DATA: LCL_L_WID TYPE SWW_WIID,
            L_STATUS TYPE SWR_WISTAT-STATUS,
            L_NEW_STATUS  TYPE SWR_WISTAT,
            L_SWR_MESSAG  TYPE STANDARD TABLE OF SWR_MESSAG,
            L_SWR_MSTRUC  TYPE STANDARD TABLE OF SWR_MSTRUC.
    Get work item
      CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
        RECEIVING
          RE_WORKITEM = LCL_L_WID.
      L_STATUS = 'READY'.
      CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
        EXPORTING
          WORKITEM_ID    = LCL_L_WID
          STATUS         = L_STATUS
          USER           = SY-UNAME
          LANGUAGE       = SY-LANGU
          DO_COMMIT      = 'X'
        IMPORTING
          NEW_STATUS     = L_NEW_STATUS
         RETURN_CODE    = SY-SUBRC
        TABLES
          MESSAGE_LINES  = L_SWR_MESSAG
          MESSAGE_STRUCT = L_SWR_MSTRUC.
      IF SY-SUBRC EQ 0.
      ENDIF.
    ENDMETHOD.
    Thank You Once Again,
    Ajay Kumar Chippa

  • Milestone billing for non project case

    Hi,
    I have a building/room that is going to be rented. I need to adopt Down Payment (%) with open date, which means the customer is have flexibility to choose when he/she wants to finish the payment. e.g: for a wedding, today the customer pay DP, let say 30% of total, and he/she will use the building next year and pay the remaining.
    I  try to explore the proper / suitable solution for this case in SD. I try to use milestone billing plan. I copy as SO doc type OR, copy as item category TOA, copy as billing doc type FAZ and FAS , and use milestone billing plan in item level while creating the SO doc.
    My question is, before I continue to use it, I want to know if It is okay to use milestone biiling plan for non project case? and what is the possible effects?
    thank you,
    Regards,
    Harris

    Hi all SAP ers...
    I want to continue my first question.
    1. Right now I am considering, is it the right concept to use millestone billing plan in my case?
    2. If I use Milestone Billing Plan for Down Payment Process, which point of view do we use? Is it I am the project owner and then I bill the vendor OR I am the Vendor who sends the invoice to the customer/project owner?
    3. Is it "okay", if I use milestone billing plan ? (If the point of view is I am the Vendor who sends the invoice to the customer)
    Regards,
    Harris

  • The delivery date for the PR needs to consider planning Calender Periods

    Hi Friends,
    Please help me in solving in my scenario given below:
    The Planning calender periods are from Monday through Thursday(No Friday and weekends). When there is a Purchase Requisition (PR) planned date on Monday and the GR processing time is one day. The delivery date should be on the before Thursday (Becasue there is no period on Friday).
    But, the delivery date is being created with the before Friday, which shouldn't happen.(Requirement is that Delivery date shouldn't consider that friday, hence, the delivery date needs to be on Thursday).
    NOTE: The lot size settings are Lot sizing Procedure : P(Period lot sizing procedure), Lot-size indicator: K (Period lot size as in Planning Calender), Scheduling : 1 (Period Start = Delivery date).
    Thanks for helping me in advance,
    Surendra Chakka

    Hi Santosh,
    Thanks for your Questions. Below are the explainations:
    1. Can you expalin how your system is behaving at the moment?
    A. Presently the GR Processing time is 1 day for a material in Plant. So, if the user wants to produce on Wednesday (Planned date in PR, provided by the MRP run), then the delivery should be on Tuesday (Because GR processing time is 1 day). In  the same way, he dont wants the delivery to be on Friday. I mean, if he wants to produce on Monday,  he wants the delivery to be on Thursday.
    Only Friday, he don't wants to make the Delivery.(The delivery date should not show Friday in PR's).
    2. Pls explain your original MRP view and planning calendor setting...
    A. For solving of the above issue, we changed the Lot size to copy of "PK" - Period lot size acc to planniong calendar. Then we maintained the Planning calendar, in which the periods are for every Monday, tuesday, wednesday and thursday. Expecting, the delivery  should be excluded for friday, the friday in the planning calendar is not given as a period.
    The scheduling paramter in the Lotsize is tried with both the options (period start = Deliery date and period end = Delivery date).
    Later removed "PD" in MRP type and tried with "R1" Time phase req. But, the precondition for this is to maintain "Forecast req". This is also done. But, then, the system for this material is not responding to the MRP run. It is asking to run the forecast model. We ar not using SOP.
    3. The results thst you get with current setting?
    A. For the planned date in PR of Monday, the delivery date in PR is on the day before monday. i.e., Friday (Saturday and sundays are holidays).
    4. Expected results...?
    A. For the planned date in PR of Monday, the delivery date in PR should be Thursday (the day before monday production).
    Hope, i am clear in my explaination. Please revert back, if you need any more information.
    Thanks and Regards
    Surendra Chakka

  • Database Mail Fails For SQL Server Agent Jobs / Maintenace plans - Why ?

    Database Mail Fails For SQL Server Agent Jobs / Maintenace plans - Why ?
    This has been a very common question I have seen relatedt to Database mail and I thought will post here so if you run into this issue, it could be due to one of the following and also have mentioned below how to get around them. Bottom line is datbase mail works fine with SQL Agent jobs and maintenace plans in SP1 on all platforms.
    1. If you see this on 64 bit platform and on RTM build, this is a bug that is addressed in SP1.
    2. If you see the below error message, it is known issue and this is because of design that requires SQL Agent to restart, if SQL Agent was started before enabling databasemail and setting a new profile. We are evaluating to change this design of not requiring to restart agent for our future release.
    Re: 264] An attempt was made to send an email when no email session has been established
    This problem will go away after restarting SQL Server Agent in this case. Thanks,
    Gops Dwarak, MSFT

    This may be related to the fact that DBMail, by default, shuts itself down after 10 minutes of inactivty.  If the mail service isn't running, you won't be able to queue up any mail messages.
    There may be a built-in mechanism for addressing this problem, but I found that I can detect this situation and start the mail listener before sending db mail.  I use the following in stored procs that need to send email.
    You could increase the inactivity period for db mail shutdown from 600 seconds to some larger value.  It might not make sense to do so, since shutting it down releases its resources back to teh system; if your SQL server only sneds mail infrequently, it might be better to start the mail listener on demand.  Someone with more experience than I might want to add their two cents' worth.  :-)
    /* Check the mail engine. Start the service if is is stopped         */
    /* -- the DB Mail engine shuts down after 10 minutes (of inactivity) */
    /* -- this setting can be changed, but we probably don't need to.    */
    DECLARE @rc INT
    IF NOT EXISTS (SELECT * FROM msdb.sys.service_queues
                   WHERE name = N'ExternalMailQueue' AND is_receive_enabled = 1)
        EXEC @rc = msdb.dbo.sysmail_start_sp
        -- TODO: add handling and logging for any engine start issues

  • Central Planning Format upload program- UPP_MASTER_CHECKIN

    Hi all,
    Does someone know what <b>Central Planning Format upload program- UPP_MASTER_CHECKIN</b> is for SEM-BPS? Any special features I need to know? Thank you.
    J.

    John
    This program is used to make sure the changes made to central layout template applies to all planning layouts in the company. Please read the followin link.
    http://help.sap.com/saphelp_nw04/helpdata/en/24/9ffa0b783d11d4b2fd0050dadfb23f/frameset.htm.
    Hope this helps
    Thanks
    Sat
    PS: Hope your API is is resolved as your previous post if not let us know

  • Since downloading the most current iTunes software I can no longer print the insert (label) for a jewel case.  The songs are printed over each other and can not be read.  Any suggestions?  Thanks.

    Since downloading the most current iTunes software I am no longer able to print an insert (label) for a jewel case.  I click on print, choose jewel case and then it doesn't matter which option I choose for the insert it will only print the songs over each other in a 1 inch section so that it can not be used or read.  If instead of clicking on the jewel case I click on list it works fine and prints an appropriate list.  I have always updated the iTunes software the first time I am offered to do so and I have never had a problem printing the jewel case inserts.  Since this issue is not about a piece of hardware iTunes help will not help me. 

    Did you ever get a response?
    If you so how did you correct the problem?
    I have the exact problem you had.
    Please let me know.
    Thank you
    <Edited by Host>

  • Down Payment processing for Sales orders using Milestone Billing Plan

    Hi,
    The business scenario is as follows.
    The delivery for the sales orders are to be created only after the pre payment( a percentage of the total sales order value) is made by the customer.
    Hence the sales orders while creation are blocked for delivery creation using credit block by means of a userexit.
    The credit manager checks the blocked sales orders using VKM1 transaction and verify if there are any payments made by the customer to cover this pre payment to be made.
    If it is enough to cover then he releases the sales order manually for delivery creation.This is a complex process since there are too many sales orders and the payments made by the customer may not match the amount to be paid(it can be greater or lesser).The customer just pays a huge amount which is to be distributed among the sales orders for pre payments.
    Later, when the invoice is created, the customer account is cleared manually using F-32 transaction for the oldest open invoices.
    Here again there is a huge manual effort involved since he need to distribute the amount against the invoices using oldest open item principle.
    As a solution we are planning to implement "Down Payment processing for Sales orders using Milestone Billing Plan".
    Is this the right solution?
    Can you please give the steps in detail to implement this functionality for above scenario?
    We are using SAP 4.7 version without Project Systems.
    Thanks in advance.
    Regards,
    Ragesh

    Hi Ragesh
    Check the links where you will get the entire down-payment configuration
    [https://forums.sdn.sap.com/post!replydownpayments ]
    Regards
    Srinath

  • I just downloaded the updated version of itunes and now I cannot print a playlist for the jewel case.

    I just downloaded the recent version of itunes and now am unable to print a playlist for the jewel case. 

    I just wanted to post that I found my I-pod cache file and deleted it and now synchronization works fine, so no need for anyone to post an answer to this.   Thank you very much.

  • I need to be able to print or export some photos from iPhoto with the date the photos were taken.  Need this for a legal case.  Any suggestions?

    I need to be able to print or export some photos from iPhoto with the date the photos were taken.  Need this for a legal case.  Any suggestions?

    The date they were taken us in the EXIF data and is included in the export
    However it is trivial to modify it so I doubt that it would hold water in court
    LN

  • How can you block production for a specific product in SNP planning book

    Hi All,
    Looking for a way to manually indicate a decision to prevent production in a specific cell for a product in the SNP planning book utilizing the supply planning and capacity leveling heuristics.  For this requirement the resource would have available capacity during that time period.  It also could plan other products in that time period.  The requirement is for a planner to manually go into the planning book to somehow indicate that the heuristic should not consider that time period as available for a specific product, while still leaving the resource available for other products.
    Has anyone run into this before?  Any experience on how to stop a heurisitc from considering a specific time bucket  for a specific product as available for orders?
    Thanks
    -Mike

    Hello Mike,
    I haven't tried it yet myself but I kow that there is the option in the Planning Book to manually fix several periods for a specific location product. This will prevent the heuristic from planning these periods for the specified product. For details please have a look in the Online Help for SNP under key word "Order Fixing".
    regards
    Christian

  • How to search for upper/lower case using string using JAVA!!!?

    -I am trying to write a program that will examine each letter in the string and count how many time the upper-case letter 'E' appears, and how many times the lower-case letter 'e' appears.
    -I also have to use a JOptionPane.showMessageDialog() to tell the user how many upper and lower case e's were in the string.
    -This will be repeated until the user types the word "Stop". 
    please help if you can
    what i have so far:
    [code]
    public class Project0 {
    public static void main(String[] args) {
      String[] uppercase = {'E'};
      String[] lowercase = {'e'};
      String isOrIsNot, inputWord;
      while (true) {
       // This line asks the user for input by popping out a single window
       // with text input
       inputWord = JOptionPane.showInputDialog(null, "Please enter a sentence");
       if ( inputWord.equals("stop") )
        System.exit(0);
       // if the inputWord is contained within uppercase or
       // lowercase return true
       if (wordIsThere(inputWord, lowercase))
        isOrIsNot = "Number of lower case e's: ";
       if (wordIsThere(inputword, uppercase))
         isOrIsNot = "number of upper case e's: ";
       // Output to a JOptionPane window whether the word is on the list or not
       JOptionPane.showMessageDialog(null, "The word " + inputWord + " " + isOrIsNot + " on the list.");
    } //main
    public static boolean wordIsThere(String findMe, String[] theList) {
      for (int i=0; i<theList.length; ++i) {
       if (findMe.equals(theList[i])) return true;
      return false;
    } // wordIsThere
    } // class Lab4Program1
    [/code]

    So what is your question? Do you get any errors? If so, post them. What doesn't work?
    And crossposted: how to search for upper/lower case using string using JAVA!!!?

  • If I purchase PS for the $9.99 per month plan, will I be able to install / use on more than 1 computer?  (i.e. office and home)

    If I purchase PS for the $9.99 per month plan, will I be able to install / use on more than 1 computer?  (i.e. office and home)

    Yes, the subscription license allows for working installations on two machines.

  • Recommendations for creating dvd case inserts?

    Hello! As far as I can tell, iDVD 6 has no feature for creating dvd case covers/inserts.
    I'd appreciate recommendations for inexpensive or free software for making such covers.
    Thanks!
    David

    You're welcome, David. I'm not familiar with all the Sharpie product line, but the common one that marks anywhere uses a fairly harsh solvent, and in theory could eat through to the reflective coating of the DVD. I found a Memorex product at Fry's Electronics named, "CD Marker." It is labeled non-toxic, water-based.
    Personally, I've not had any problems with the sticky labels (I've used Memorex and CD Stomper labels for a few years) but there are some strong feelings opposed to their use (and I can imagine a problem could come up in 10-15 years). You can do a search in these forums; an alternative is printing directly onto the DVD if you have the right printer and disks.
    John

Maybe you are looking for

  • Not able to print the report I created in pdf portrait using report 6i

    Hi I created a report using oracle report builder 6i in pdf format portrait style. When I run the request from apps instance could see the exact output I wanted from "view output" but am getting printout from the printer I selected in different forma

  • Not recieved my software

    hi have bought adobe lightroom from you 0n the 7th of april but have not recieved it yet its now the 1st of may plese try and track my parcell my order number is   AD004188274EDUK   and my united parcel service number is   1Z 4V4 A49 04 5534 0775

  • SSRS 2008 Bubble chart - How to set the default bubble size?

    Hi, I have a bubble chart. I want to set the size of the bubble in the chart and the size of the bubble in the legend display box to be same. I increased the size of the marker to increase the size of the bubble in the legend display box but it is no

  • USB key :: error -36

    Hi there. I have a problem with a USB stick on my MBP. (15", 3.06Mhz, 4Gb, snow leopard 10.6.2). When I copy big files (less than 4Gb of course) I have intermittent disconnections of the device with an error -36 displayed in finder. Even if I copy sm

  • Validation failed for the field - Bill To Contact, Ship To Contact

    Hi, When I am trying to Import / enter order for a specific customer, i am getting the error. VALIDATION FAILED FOR THE FIELD - BILL TO CONTACT VALIDATION FAILED FOR THE FIELD - SHIP TO CONTACT Has anyone got this error earlier? If you know the resol