Changing WBS element in copy routine.

Hello All,
I need to change WBS elemnet of specific sales order when i create this with treference to master sales order.
I am changing in Routine FV45C151(Enhancement spot implementation), But while saving this routine is being triggered twice before save. Because of this what ever the value i am changing that is being refreshed with the old value ....
How can i control this?
My intension is i need to trigger my code which creates new WBS element and assigns this new value to the new documnet only Once..
Any Idea..
Regards,
Krishna.

I resolved it on my own..
i created a z table and i am sending this data temporarily and deleting after succesful processing..
Thanks.

Similar Messages

  • Change WBS element from Sales order

    Hi...
    I have created one sales order with WBS element assignment then I have created billing document and released to accountingu2026.
    Accounting and controlling documents are fineu2026
    After creation of accounting document system is allowing to change or delete the WBS element at sales order item levelu2026same time profit centre field does not allow to change or delete
    We donu2019t want to user to change WBS element after creation of accounting documentu2026that field should be shown in greyu2026
    Please help me to solve this issueu2026
    Thanks,
    Raj

    Hi,
    You can create a Transaction Variant for the transaction VA02 in which you have to maintain the WBS Element field as output only.
    1. Go to SHD0, enter VA02 in Transaction & give a name to the transaction variant and press Create.
    2. Enter an order no., go to the item "Account Assignment" tab.
    3. Check "Output Only" against WBS Element in the screen listing all the tabstrips & Fields.
    4. Exit & Save.
    You will be returned to the SHD0 screen.
    Select the "Standard Variants" Tab under "Standard Vriants" tab. Press activate to activate the Transaction Variant.
    Go to VA02 to test the variant. You will get the WBS Element disabled.
    Revert in case of any doubts.
    Regards,
    Vijay

  • Checking WBS elements when changing WBS element group

    Dear Gurus,
    Well I am a technical consultant, I use to dwell in the ABAP forum, so maybe I am going to say things without much sense, if so please tell me.
    I have a problem. One of our customers uses transaction KJH2 to change WBS elements groups and they have asked us to check the WBS elements that the users can put in the transaction.
    If a user adds a new WBS range both the WBS elements have to exist in the system, we have to check it somehow, probably using a user-exit or a BADI.
    The problem is that I have been looking for a BADI or a USER-EXIT for many hours and I have been unable to find one which allows us to check this, same when the user inputs the WBS element as when we save the changes.
    Somebody has some help? Any advice would be apreciated.
    In the while I will keep trying to find it and if I succeed I will post it here anyhow.
    So long I have put a break-point in the 'CL_EXITHANDLER' class and I have checked the BADIs that can be used when I make the process, none can be useful I think. I have tried to find a USER-EXIT and I have foud none.
    Thanks in advance to everyone.

    Hi Ayan,
    Maybe you are right and we can't use a BADI for this. But we have a customer which has requested us to code this data check so I have to try.
    I agree that this is master data but it is a simple data check without many consecuences (at least it seems so to me), maybe there is a way to do this.
    Right now I think I am going to stop this until Monday as the FI consultant is now on vacation.
    Thanks a lot for your reply.

  • How to change WBS Element in FI Entry for Asset

    Hi all,
    I have a scenario where an asset has been capitalized with  WBS element 1. After several months we realized that it has to go to WBS element 2.
    We update the Asset Master Data with a new WBS Element 2.
    Depreciation from this date onwards is posted to WBS Element 2 (this is expected), but in FI the asset acquisition cost is still in WBS element 1.
    Does anyone know how to rectify the FI document with correct WBS element i.e  WBS Element 2
    Any advice would be greatly appreciated
    Regards
    Pramod Saraswat

    Hi Pramod,
    In posted document you cant change the WBS element.
    In order to post on WBS 2 , you have to reverse the acquisation entry posted on WBS1. Then update correct one in  asset master then post acquisation.
    Ravi

  • Changing WBS element in PO

    Hi
    In my Purchase Order, earlier it was account assigned to a WBS element A. When we ran CJI3, it showed the same. But now the account assignment of WBS element was changed to B. I have no idea how this got changed. I only can check from the Purchase Order history and found that "Profit center has been changed for the item".
    How this could have happened? Any info reg this will be helpful. Thanks.
    Reagrds
    Ram

    Hi,
    You can check the same in item >envoirnment-> changes.
    Also if your PO is made wrt PR & some one has changed the wbs in PO only then it will not show correct commitment values in PS reports.
    If you want your data to be correct then you give authroization only to your Planning team to change the WBS element. You can ask your consultant to make these fields as grey when PR is converted to PO.
    regards,
    Vinay

  • Change WBS element short ID

    Hi,
    I am facing the following problem.
    In transaction code 'CJ02', WBS element 'A.000690.0002' is changed by mistake to 'A.000722'.
    When the user tries to put back the same short ID   'A.000690.0002' , he is getting the following error.
    'WBS element A.000690.0002 version FREI_VERSION already exists'.
    Can anyone help in resolving the issue.
    All the help and efforts will be highly appreciated.
    Regards,
    Ranga

    Hi,
    Customizing is most likely set to make a status - triggered project version automatically. Once this version is created system will not allow you to make a WBS with the same key, though in the operational project a WBS with that key no longer exists. If you run CN41, opting version data in DB profile and inputting version key in selection screen, you should be able to see this WBS.
    Hence there seems to be no remedy for the problem.
    Muraleedharan.R

  • Change WBS element from non-statistical to statistical

    Hi all,
    In the control tab of a WBS element, I am trying to change it from non-statistical to statistical. However, the checkbox is grayed out and not allowing me.
    I have tried using transaction CNMASS for this but I am getting error CJ727: Changing the contents of the field is not permitted
    How can I resolve this?
    Thanks,

    i guess you have released the wbse. so system will not allow to indicate the statistical check box. as per standard you
    have the indicate the check box before you release the wbse.
    if you haven't the wbse then check the field status of statistical in opuk.
    regards,

  • 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 WBS Element (Investment Measure) after an AR is approved

    Experts,
    Is there a way to change a WBS Element (Investment Measure) after an AR has been already released/approved.
    All thoughts/options/views would be duly appreciated.
    Thanks,

    Well we have a scenario where in a User created an AR and assigned a wrong WBS Element (Investment Measure) to it - The AR got approved and then got released.
    So what are the options to update to fix this?

  • I want to change WBS element in appropriation request

    Hi guys,
    I have assigned wrong WBS to an appropriation request, now i want to delete or change the Wrong WBS.
    Is it possible in SAP-R3.  How?
    Regsrds,
    Bhanu

    Hi Avinash,
    First of all thanks for your immediate reply, thing is that we dont assign any budget for this WBS, now we want to delete this WBS, what would be the procedure for deleting WBS after approved status of appropriate request.
    How to reverse the budgeted amount from WBS to position id, plz let me know the process steps, as i am new to this IM.
    Regards,
    Bhanu
    Edited by: MUNNY BHANU on Feb 2, 2009 11:10 AM
    Edited by: MUNNY BHANU on Feb 2, 2009 11:11 AM

  • WBS element change

    I have a question for the project system,
    As a part of restructuring process I have to open some of the WBS element of co.code 0400 to co.code 0015, from the 01/01/2007.
    Is it possible to change the co.code in WBS elements of co.code 0400 or  i should create new wbs elements by copying from co.code 0400 and then  assign them to co.code 0015

    Hi,
    I would transfer it to new wbs-el. too - as Jonathan said.
    Andreas

  • BAPI for settlement rules in WBS Elements

    Hi,
    Is there any standard bapi, method, or whatever... to create / modify settlement rules for WBS Elements?.
    Rgds,
    Jose

    Look at BAPI/FM of FG CJ2054
    BAPI_BUS2054_CHANGE_MULTI     Change WBS Elements by BAPI
    BAPI_BUS2054_CREATE_MULTI     Create WBS Elements by BAPI
    BAPI_BUS2054_DELETE_MULTI     Delete WBS Elements by BAPI
    BAPI_BUS2054_GET_GUID_FROM_KEY     Read the GUIDs Using the WBS Keys
    BAPI_BUS2054_GET_KEY_FROM_GUID     Read the WBS Keys Using the GUIDs
    CJ2054_CHANGE     
    CJ2054_CREATE     
    CJ2054_DELETE     
    CJ2054_WBSELEMENT_CHANGE_STRU     
    MAP2I_BAPI_BUS2054_CHG_TO_PRPS     
    MAP2I_BAPI_BUS2054_NEW_TO_PRPS     
    MAP2I_BAPI_BUS2054_UPD_TO_PRPS     
    Regards

  • Is there any BAPI for Upload Documents of WBS elements?

    Hi Guys,
                 Can anbody tell me is there any BAPI for Uploading Documents  of WBS elements ?
    Thanks,
    Gopi.

    hi
    check these BAPI
    Change WBS Elements Using BAPI                                                                               
    BAPI_BUS2054_CHANGE_MULTI           
    Create WBS Elements Using BAPI 
    BAPI_BUS2054_CREATE_MULTI                                                               
    Delete WBS Elements Using BAPI                                                                               
    BAPI_BUS2054_DELETE_MULTI                                                               
    Detail Data for WBS Elements                                                                               
    BAPI_BUS2054_GETDATA                                                                      
    Reading the GUIDs using the WBS Key
    BAPI_BUS2054_GET_GUID_FROM_KEY                                                     
    Reading the WBS Key using the GUIDs                                              
    BAPI_BUS2054_GET_KEY_FROM_GUID                                                                               
    Check Existence of a WBS Element                                                 
    BAPI_PROJECT_EXISTENCECHECK                                                                               
    Element                                                 
    thnks
    sitaram

  • Problem while creating WBS elements using LSMW

    Hello experts,
    I am able to create Project Definitions using LSMW. (using recording)
    But there is a problem while creating WBS elements.
    Tcode CJ20 has table control and that will become problem for multiple rows (levels).
    Can anyone suggest a solution to mass upload WBS elements?
    Thanks for your valuable advice.

    Hi,
    Instead of using "BAPI_PROJECT_MAINTAIN", use following solution. We are using this solution and it is working pretty good.
    If the WBS element is already created and you want to create one more with same data, first get the WBS related information using BAPI_PROJECT_GETINFO as you are doing currently.
    I am using different sets of BAPIs to create project, create / change WBS element.
    I use function module from Function group CJ2001 ( Project related BAPIs ), CJ2054 ( WBS related BAPIs ) and PS_BAPI ( pre/post processing BAPIs ). There are specific order in which you need to execute these BAPIs.
    For example if you want to create / change the WBS element, the BAPIs sequence is:
    <b>1. BAPI_PS_INITIALIZATION
    2. BAPI_BUS2054_CREATE_MULTI ( to create  WBS )
             or
    2. BAPI_BUS2054_CHANGE_MULTI ( to change WBS )
    3. BAPI_PS_PRECOMMIT
    4. BAPI_TRANSACTION_COMMIT</b>
    Check the documentation of BAPI "BAPI_BUS2054_CREATE_MULTI " to see how these function modules work.
    Let me know if you need further information.
    Regards,
    RS

  • Copying WBS element (a/c assignment ) from sales order  to Service order

    HI Controllers,
    I got one requirement it is , we need to copy the account assignment (WBS element ) from sales order line item to service order line item . Morever same  wbs element shud be used to create automatic settlement rule in service order.
    This should also work even if user changes the WBS element later. i.e, updated WBS element should again update service order and settlement rule automatically.
    << Moderator message - Everyone's problem is important. Please do not ask for help quickly. >>
    Thanks in advance
    Sneha
    Edited by: Rob Burbank on Apr 25, 2011 1:39 PM

    Hi Sneha
    You can use Exit MV45AFZB in order to copy the account assignment objects... Use the Form  USEREXIT_MOVE_FIELD_TO_COBL with in MV45AFZB
    You can use the same exit to update your settlement rule as well
    br, Ajay M

Maybe you are looking for

  • SSO to IC WebClient

    Dear All,                  I am using CRM 5.0 and NW 2004s. I have configured Single Sign-On for this also. but when i am accessig the IC WebClient it ask me for login window. Other than IC WebClient other applications of CRM are working fine. So is

  • If I install Bootcamp will I lose apps I already have installed on my computer?

    I've been using my mbkpro for over a year now, so if the process of trying to setup Bootcamp at this point means my drive gets wiped, it would take me forever to reinstall all my apps and files from scratch. So my query is: 1. Can I install Bootcamp

  • Adobe Camera Raw 7.2 for Photoshop Elements 10?

    I have a new camera (Sony RX100) and it's RAW fies are not supported by Adobe until ACR 7.2.  My version of PSE 10 has ACR 6.7. I spent the morning trying to figure out if I can install ACR 7.2 into PSE10.  What should happen is that I click on Help>

  • External Harddrive won't mount anymore

    Hi Guys, I recently copied over a load of stuff from my harddrive to my iMac but today it seems not to be playing ball. I've looked up the drive on Drive Utility and it is recognised there except i can't repair, mount or verify the drive. Has anybody

  • Trying to understand relative file sizes

    I have a 19 second clip (ACVHD MTS file) that i'm experimenting with. It's 23MB in size. 1440x1080i I used VoltaicHd to convert the MTS file into AIC. The result of that conversion was a file 284MB in size (and apparently 1920x1080i -- not sure how t