Change WBS status

Hello
I am trying to migrate some statuses from one project to another.
I am using  BAPI_BUS2054_GET_STATUS for reading the old wbs status and BAPI_BUS2054_SET_STATUS to set the status to the new wbs
My Problem is that i have several old WBS that have for ex the status REL  AALK RESA SETC  .This result is beeing return in form of 4 lines in the system  status table :
WBS1   REL
WBS1   AALK
WBS1   RESA
WBS1   SETC
and when i try to give these 4 lines as parameter to the   BAPI_BUS2054_SET_STATUS  bapi, i get the error that :
"WBS Element SP/10000XX appears more than once"
How can i set this status to the new WBS?
thank you

Hi,
you can process only one WBS in each LUW. So you have to call COMMIT after each WBS element not after each WBS element and status.
Here is a quote from BAPI documentation
You can call up the BAPI as often as you like until a Logical Unit of
Work (LUW) is closed with the BAPI BAPI_PS_PRECOMMIT and BAPI COMMIT
WORK.
Only one project or WBS element from a project can be processed in a
LUW.
Cheers

Similar Messages

  • Changing task status in code

    Hi Experts,
    I saw in a thread that different functions were advised to be used whenever changing WBS status programmatically:
    System status change of WBS element
    I was wondering if a similar list also exists for task status. I need functions that perform the same checks when changing status than the standard for:
    releasing tasks
    confirming partially / completely tasks
    teco tasks
    Thanks in advance
    Kind regards,
    Neil

    Not aware regardging Program availability. But the same if you are amuaaly able to set up and to avoid ling time in data upload / Migration.. You can develop BDC and use the same for the changing status of task. I believe  by task, you  are referrring  network activity.
    Regards
    Nitin P.

  • WBS Status Profile

    How to mass change WBS Status Profile?

    Hi Amit,
    CNMASS is the standard transaction to carry out mass change of WBS elements,network,activities,activity elements, relationships,milestones.
    I doubt whether you can caary out mass change of WBS status profile directly.
    You will require ABAPer to do this.
    Please see one similar post on the subject in the link below.
    Mass change for user fields for WBS
    Regards
    Tushar
    PS: Reward points if useful.

  • Table for WBS status change with date

    Hi,
    Please assist me with a table name which should have WBS status with date on which statis was changed.
    Thanks,
    Manish.

    Hi
    You can use program (SE38) RBSVCDOC to track these changes. Else go manually in CJ20N to track these status changes.
    Use JCDS and JEST table for any other reporting on it.
    *Kindly mark your thread once your query is resolved.*
    Regards
    Saurabh

  • How to Change WBS Element Status Profile

    Dear PS Experts,
    Once Status profile is set for WBS element, system is not allowing to change the same.
    What should I do to change the status profile?
    Moreover I will like to know the Table details in which Status profile details are kept for a WBS Element.
    Thanking you all.

    Hi,
    You can change the status profile on 'Control' tab of Project Definition. But this change will be effective for new WBS elements. I dont think you can change status profile for existing WBS. You will have to delete and re-create them.
    Status proflie for WBS is stored in JSTO table. Get OBJNR for WBS from PRPS table and insert in JSTO table to get status profile.
    Regards
    Shrikant

  • Change the status of WBS from REL to CLSD.

    How do I change the status of WBS element from REL to CLSD manually in the transaction CJ02.
    The top level WBS element is in REL state so whenever I create a new WBS it is automatically set to REL state.
    Please tell me how do I change the status to CLSD manually as this field is disabled for editing.

    Hi Abhishek,
    I presume that this may be the information massage. It is because you may be having your project end date (Actual finish) later in the year 2008 and you are trying to close the project before specified date of finish.
    Thanks
    Hemant

  • Regading function module to change User Status IN CJ02

    Hi All,
    I need to chage System status from Budget Assigned(BDAS) to Release. Can any body help me is there any FM to change this status.Tell me ASAP
    Thanks,
    Sagar.

    Hi,
    BAPI_BUS2001_SET_STATUS: For Project Defn, WBS
    BAPI_BUS2002_SET_STATUS: For Networks
    Regards

  • Change Profile Status

    I have a project e.g OT/83009 which has an incorect WBS Status Profile.
    The profile was initially set as YPS00003 - should have been YPS00004.
    I have changed the profile on the project definition to YPS00004 but the WBS elements are still showing YPS00003 in them and are all grayed out so i cant change them...
    It has set the User status on the WBS elements attached as appv and will
    not let me change it in order to set to QACP.
    Is it possible to set the user status of the WBS elements to YPS00004??
    Thanks
    Ishy

    hi,
    Once a user status is set, you cannot change the status profile of the WBS.
    Muraleedharan.R
    091 9880028904

  • Change in status network For superseded and obsolete Status

    Hi All
    Users are incorrectly changing the status of Controlled Documents from Superseded (SU) and Obsolete (OB)…….. to Cancelled (CA).
    SAP DMS Process should not allow Controlled Documents that are status Superseded (SU) or Obsolete (OB) to be changed to status Cancelled (CA).
    According to me Cancelled status can be attend at any stage. there is no Configuration like excluding Cancelled status from any 1 of the status.
    kindly suggest on this Issue as how we can Approach on this
    Thanks in advance

    Hi Shankar,
    I guess you can do this from SPRO.
    project systems>>Structures>>Operative Structures>>Work breakdown Structures
    Check if you can do this in WBS User status and Create project profile.
    Regards,
    Gautham Paspala

  • Prevent Material PO creation till WBS status is released

    Hi All,
    Please suggest how can I prevent creation of material PO giving WBS assignment till WBS is released.
    I know I can control it through System Status (Drawback is cross client setting) and User status.
    Anyother method?
    Thank You
    Regards
    Maneesh

    Hi,
    This is standard functionality in SAP that you can create PR and PO without allocating budget to the WBS Element.So create a user status that will prohibit the system to create PR and PO in CRTD system status.
    The steps are:
    Go to OK02 and create a user status .
    then create two statuses NBUD and BUDG.
    1.under NBUD & BUDG choose object type WBS .
    2.In NBUD Forbid the Material purchase order,Material Purchase Requistion and Release.
    3.In BUDG set Budgting and allow Release.
    So system will not allow to release a project without allocating Budget.
    Once you allocate budget system will change the status from NBUD To BUDG.
    Take care.
    Muzamil

  • Picking status in Out. delivery changed to status A after GR post with MB0A

    Hi,
    I am facing an issue in our production system, these is the scenario:
    - Replenishment delivery
    - ZPicking confirmation idoc sucessfully picked the outbound delivery and post the GI.  The material was cut and it was batch splitted.
    - Then it was performed a GR (mov 101)  against a stock transfer order via MB0A.
    - After this GR posted, the status of picking of the parent material of the batch split was changed from status " " (Not relevant) to status "A" (Not yet processed).
    - Also the status at header level was changed.
    Current status of the delivery
    Header Status
    Picking Confirmation --> B
    Total Gds mvt status --> B
    Item Status
    Item 10:
        Pick confirmation --> A
        Goods movt --> B
    We have tried to reverse the GI to generate it again and reset the statuses but it is not possible to do it via VL09 neither MBST, etc.
    Any idea on how to correct this problem?
    Thanks,

    Hi,
    What is the moment type being taken for PGI through idoc?check the moment type definition for its allowable transactions and foe reverse.
    Regards,

  • Usage decision follow up action change of status in equipment

    Hello every one, I am having calibration scenerio in my project. All process is running properly but the issue which i am having is that when i am giving usage decision i should get a pop up to change the status of the equipment which is not coming in my case. i have checked followup action whch PM_QM there i have activated 2 Funtion modules one is for automatic TECO of order which is working properly and second is change to status in equipment master which is not working for me. Kindly give some guidance to me on same.
    Regards
    Abhishek

    Helloo,
    Please let me know the equipment type you are using.
    If you are using equipment type other than Q then u may get such type of issues.
    Please try out with equipmetn type Q or P
    Thanks

  • Changing the status of Equipment in a follow up action

    Hi All,
               I have a requirement in which a function module will be triggered for a particular Follow up action.
    In this FM we have to determine the equipment and the Maintenance Order , if both are available , status of the equipment
    should change to 'A' , status of maintenance - order = 'Technically completed' and Maintenance Notification = 'Notification Completed' .
    How can this be done.? I am able to change the status of Maintenance order and notification but can anyone help me in
    determining the equipment and changing its status to 'A'. ?
    Thanks in advance.
    Vasuki

    Hi Gajesh,
                     The process is as follows :
    1) During Calibration of a product,depending on the technician's User decision , 3 follow up actions are created.
    2) Each follow up action has one FM associated with it, which is customised in      SPRO > Display IMG > Quality Management > Quality Inspection > Inspection Lot Completion > Define follow-Up Action .
    3) In the first case ( first Follow up action when the inspection is successful) the first FM is triggered. In this FM we have to perform the following steps :
                                   a) Determine the Maintenance Order and the equipment.
                                   b) Incase both are available, status of equipmnt should be changed to 'A',
                                       Maintenance Order should be changed to 'Technically completed' and
                                       Maintenance Notification to 'Notification Completed' .
    If you need further info pls let me know.
    Thanks,
    Vasuki

  • Change of Status is not working in WebUI

    Hello All,
    Iam facing a problem in changing the status of the item in web UI requirement as follows.
    We need to set the item status from the To be Closed to Close.The status To be closed is set by an contract processor and schedules the Action .i.e Close item Once the contract approver execuets the action.It need to be change to Closed and the item end date need to be set to the date when the Action is execueted
    I have done my coding in the Execute method for the action Close item by using the FM CRM_ORDER_MAINTAIN
    to change the item enddate and CRM_STATUS_CHANGE_EXTERN to change the Status to Closed and the Commit Work .My code is working fine in GUI but this is not working in WebUI . I can only see it when i execute the action go to the edit mode.
    Can any one help me out in this regards.
    Thanks in Advance.
    Regards,
    Kiran Posanapalli.
    Edited by: posanapalli kiran on Feb 15, 2010 7:16 PM

    Hi Kiran,
    we're having the same issue that an opportunity is updated in the normal Gui but not in the WebUI when using FM CRM_ORDER_MAINTAIN.
    What coding did you use for fixing this?
    Kind regards,
    Roy Willems

  • Change Checkbox status at runtime

    Hi,
    I've got a question about checkboxes.
    How do I change the status of a checkbox from unchecked to checked (or vice versa) at runtime?
    How can I access it's values to say something like this:
    if (cond1 = true) then
    checkbox1 = 'CHECKED'
    else
    checkbox1 = 'UNCHECKED'
    pls help me.
    Thanks!

    Hello,
    Take a look at this thread -
    Re: reference checkbox.checked value in javascript
    If you're using a fairly recent version of Apex you can use the $x and $v syntax rather than html_GetElement, like this -
    if ($x('item').checked == false) {
    alert("The checkbox is not checked!");
    }Hope this helps,
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

Maybe you are looking for

  • Problems with Fios and video games.

    Hi, I switched from Time Warner Cable to Fios last month and I've been having problems with my internet going down on ALL computers whenever ONE of them plays a game online.  I know it sounds strange, but as far as we can tell, it's only caused by vi

  • View History of Print Jobs alongside w/ corresponding Form Name and Printer

    Hi guys, Just a small question. I have to do a particualr investigtion of a particular Job Order(Service). One of them includes checking the print history of its corresponding form name(sapscript), and printer device used for it. Is there a SAP table

  • Create XML with XSLT help

    Hi, I would like to create an XML which map to XSLT. The data that I have to produce XML is just a very small data, for example ArrayList<Integer> myList. So I need to create an XML from myList. I'm not sure what technology solution I should choose.

  • TS2755 Can't send texts

    I can receive text messages and iMessages but when I open them they say they haven't been opened and I cannot reply to them my phone just freezes. I have reset my phone back to the basic settings but haven't restored it can someone tell me what to do

  • Finalize prevents "resource leak"?

    As far as I can tell, " +Effective Java+ " (by Joshua Bloch) is the most recommended Java text. Therefore, I am assuming the author is credible, maybe on par with the best on this forum. Then, here is a quote from the book: ".... there is a severe pe