WBS element creation error

Hi All,
I am trying to create WBS element using BAPI BAPI_BUS2054_CREATE_MULTI. The sequence is as follows:
BAPI_PS_INITIALIZATION
BAPI_BUS2054_CREATE_MULTI
BAPI_PS_PRECOMMIT
The error while creating element is :
Final check of the project definition and the WBS elements: Error
Any pointers on this why I am getting this error and what needs to be done?
Thanks,
Seema

Hi Seema,
After the BAPI BAPI_PS_PRECOMMIT you have to call explicitily
COMMIT WORK AND WAIT.
You can have those details in the documentation of the BAPI "BAPI_BUS2054_CREATE_MULTI".
Regards,
Smart Varghese

Similar Messages

  • WBS element exceed error

    hi:
       We are using SRM5.0 with ECS.I transfer PR into srm with plan driven procurement.
       When I creat a PO for this PR and check it, the error message occurs,says item 001 wbs element *** exceed budget, I could not save the PO but hold it,so I think this error message was not the one from  R/3.I am just wondering ,what budget does the system check?
              Hope some could help me.Tks.

    Usually, 99% of this issues can be solved when you read and understand the SRM budget check note 520717 and read as well the related notes esp. regarding the CO-report RKACSHOW -- here you see and understand, how and where the budget data are stored on CO-tables and how the AVAC - availibility control works.
    You can debug as well -- out of the BBP_PD-Form PROCDOC_CROSS_CHECKS the FM BBP_PD_COMMITMENT_FILL_ITAB is called. Here the data are mapped into backend structures in way ERP-backend requires it. Before the RFC-call is made please look up how exactly the structures are filled. This is something you need to understand whether  there are some special tolerance-limits maintained on the CO side. You'll find these AVAC-tolerance limits in the CO-IO resp. WBS customizing (ask a CO-friend if you don't find it right away;). There you see exactly the tolerance linked to certain document type etc.
    You can debug as well from the RFC call on -- once you're on the ERP side set a breakpoint at FM RWIN_CHECK -- here all check for Accounting are loaded. One of these checks refers to CO-AVAC. It is something like K_...BUDGET... or K_...OPEN_ITEM or K_...AVC....You have to look up yourself as this is just too long ago.
    Cheers,
    Richard

  • WBS Element Creation Using BAPI

    Friends,
    While creating the WBS element using the bapi,
    BAPI_BUS2054_CREATE_MULTI   I'm getting an error in Return parameter of bapi.the error is
    "Individual check for creating the object WBS Element CRA.011 required"
    FYI: CRA.011 is nothing but the WBS element which i'm trying to create.
    Pls help me in this. Advise me what are the mandatory fields to be passed in the it_wbs_element table of bapi.
    Thanks.

    Hi Karthikeya,
    I think the project profile which you are using has a different mask and the WBS element you are passing is different to the BAPI.
    Are you able to create manually from CJ01 using the same WBS element?
    Create a project manually and it will give the list of the mandatory fields set in the config. Using that list populate the BAPI struture accordingly.
    Hope this helps.
    Thanks
    Lakshman.

  • BADI/User Exit for WBS element creation (CRM to R/3)

    In CRM 4.0 once a Campaign or Trade Promotion is created, a WBS is also automatically in R/3 (tcode CJ20N)
    I have a requirement to fill out the 'user fields' at the WBS element level when the campaign/TPM status is set to Release.
    I also need to fill out the 'company code' at the Project Definition level.
    Could you let me know if there's a badi or user exit that i can use in order to achieve these requirements?
    Your help will be much appreciated.
    Thanks
    Elynor

    Hi Tomasz,
    Thanks for your reply. Could you give me a hint on how to use these Badis since the passing parameters cannot be changed?
    A sample code would be helpful
    Many Thanks.

  • WBS Element Creation

    Hi Friends,
      Can anyone give me a clue of how to create a WBS Element in Background? Is there any Function Module or BAPIs available?
    Prompt replies would be rewarded.
    Thanks in advance.
    Regards,
    Tamilarasan.

    REPORT Z_TEST_PMB .
    DATA: ipd type BAPI_PROJECT_DEFINITION,
          imp type table of BAPI_METHOD_PROJECT with header line,
          iwbs type table of BAPI_WBS_ELEMENT with header line,
          em type table of BAPI_METH_MESSAGE with header line.
    ipd-project_definition = 'PS02'.
    imp-refnumber = '1'.
    imp-objecttype = 'WBS-ELEMENT'.
    imp-method = 'CREATE'.
    imp-objectkey = ' PS024'.
    append imp.
    clear imp.
    imp-method = 'SAVE'.
    append imp.
    iwbs-PROJECT_DEFINITION ='PS02'.
    iwbs-WBS_ELEMENT = 'PS024'.
    iwbs-DESCRIPTION = 'Preparation'.
    append iwbs.
    break mackowskit.
    CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
      EXPORTING
        i_project_definition               = ipd
        i_project_definition_upd           = ''
      tables
        i_method_project                   = imp
       I_WBS_ELEMENT_TABLE                = iwbs
       E_MESSAGE_TABLE                    = em.

  • WBS Element creation and link to SD process

    Hi,
    I am involved in aproject, where they sell services.
    In this scenario, please help me understand the WBS role and linkage to SD processes.
    I was trying to create a contract, wherein it prompts to create a new WBS.
    I like to create new WBS element, can anyone please let me have the steps involved in this ??
    Please help me understand by experts.
    Thanks in advance.

    Hi,
    WBS is required in order to plan and post revenue. Also in case of milestone billing, dates are copied from WBS in billing plan.
    You can create single WBS thru tcode: CJ11. For simplicity you can give the sales order number as WBS number, enter a Project Profile.
    Let me know if you face any issues. I assume that you are not interested in entire WBS structure and a single element will suffice.
    Regards

  • Restriction on no. of WBS elements creation

    Hello Experts,
    Is there anyway can I restrict the no. of WBS elements that can be allowed to get created below a Superior WBS element ?
    Also, is there a way to restrict the no. of Orders in which a WBS can be assigned to ?
    Thanks.
    Bala

    Hi Pal,
    Thanks for your reply.. but the problem is the no.  of WBS created will be in double digits and it is not fixed , it varies from proj to proj ..
    is there any User exit available for this ?
    Thanks
    Bala

  • WBS Element settlement error

    Dear All
    My query is the prj is EP & WBS El is EP-99, under EP-99 the avialable values are Rs192,523/- as per different cost element wise. Those values have to settled on an one AUC-asset & the value will be settled periodicaly. My posted values are in 10th/2008 & I want to settled the said  values in 10th prd. But after processing of CJ88 the error has been raised "There no accured amounts settlement is not possible" Also note that Other WBSE has been settled under said prj.
    Please help me.
    Regards
    Avijit Barman

    Dear All
    My query is the prj is EP & WBS El is EP-99, under EP-99 the avialable values are Rs192,523/- as per different cost element wise. Those values have to settled on an one AUC-asset & the value will be settled periodicaly. My posted values are in 10th/2008 & I want to settled the said  values in 10th prd. But after processing of CJ88 the error has been raised "There no accured amounts settlement is not possible" Also note that Other WBSE has been settled under said prj.
    Please help me.
    Regards
    Avijit Barman

  • Issue in BAPI_PS_PRECOMMIT in mass creation of WBS Elements

    Hi,
    I am facing a issue with BAPI_PS_PRECOMMIT.
    we have the following WBS Hierarchy:
    S - Proj, (level1)
    S-XXX WBS Element (level2)
    S-XXX-001 WBS Element (level3)
    I have created a program for mass creation of WBS elements creation
    which uses the following BAPI's
    BAPI_PS_INITIALIZATION
    BAPI_BUS2054_CREATE_MULTI
    BAPI_PS_PRECOMMIT
    BAPI_TRANSACTION_COMMIT
    The proj: 'S' and the level2 WBS element: 'S-XXX' already exist in the system.
    When I run the program for delta load, so as to create the following level3 WBS elements:
    S-XXX-001
    S-XXX-002
    S-XXX-003
    The system is throwing the following errors at the BAPI_PS_PRECOMMIT:
    1. Final Check of the project definition and WBS elements: Error
    2. Validation unsuccessful
    Pls help me on this.
    Thanks,
    Deepak

    Check the WBS elements doesn't exist already in your system.
    Here is what I coded some days back for deletion of Network Activities, most of the things are same.
    You are doing for WBS element.
    * Call to initialization BAPI Before Delete
          CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
    * Call to Network Activity Deletion BAPI
          CALL FUNCTION 'BAPI_BUS2002_ACT_DELETE_MULTI'
            EXPORTING
              i_number           = t_bapi_activity-network
            TABLES
              it_delete_activity = l_t_del_vornr
              et_return = l_t_bapiret2.
          DELETE l_t_bapiret2 WHERE type <> 'E'.
          READ TABLE l_t_bapiret2 INDEX 1.
          IF sy-subrc EQ 0.                                      "If error in Deletion
            MOVE: f_idoc_contrl-docnum TO t_idoc_status-docnum,
                  l_t_bapiret2-type TO t_idoc_status-msgty,
                  'CNIF_PI' TO t_idoc_status-msgid,
                  l_t_bapiret2-number TO t_idoc_status-msgno,
                  l_t_bapiret2-message TO t_idoc_status-msgv1.
                  MOVE c_idoc_status_error TO t_idoc_status-status.
                  APPEND t_idoc_status.
                  ROLLBACK WORK.
                  EXIT.
          ELSE.                                                  "If Delete is successful COMMIT
    * Call to PreCOMMIT BAPI
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
             TABLES
               ET_RETURN       = l_t_bapiret3.
    * Call COMMIT BAPI
    *        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          ENDIF.
    The other solution is use BAPI_PROJECT_MAINTAIN.

  • Multiple milestone creation issue for WBS element  'BAPI_PROJECT_MAINTAIN'?

    Hi all,
    I am using 'BAPI_PROJECT_MAINTAIN' to  create Project definition,WBS element & milestone for WBS at once.
    The program is working fine if one wbs element have one milestone.
    But If any of the WBS elements have more than one milestone, the milestones are not creating properly.
    The bottom level WBS milestones are creating for some higher level  WBS. some milestones are not at all
    creating. I am not getting any error message.
    Code for mile stone section is :
    **fill milsestone data for WBS in BAPI structures
            lv_mlstno = lv_mlstno + 1.
            it_wbsmilestone-milestone_number = lv_mlstno.
            it_wbsmilestone-wbs_element  = it_wbsdata-ID.
            it_wbsmilestone-milestone_usage = it_wbsdata-mlstn.
            concatenate it_wbsdata-edatu+6(4) it_wbsdata-edatu+3(2) it_wbsdata-edatu(2) into it_wbsmilestone-FIXED_MILESTONE_DATE_BASIC.
            it_wbsmilestone-SALES_DOC_DATE_INIDICATOR = it_wbsdata-faktp.
            it_wbsmilestone-INVOICE_PERCENTAGE   = it_wbsdata-fproz.
            append it_wbsmilestone.
            clear it_wbsmilestone.
    **fill milsestone data for WBS in BAPI update structures
            it_wbsmilestoneupd-milestone_number = cs_x.
            it_wbsmilestoneupd-wbs_element  = cs_x.
            it_wbsmilestoneupd-wbs_element  = cs_x.
            it_wbsmilestoneupd-milestone_usage = cs_x.
            it_wbsmilestoneUPD-FIXED_MILESTONE_DATE_BASIC = cs_x.
            it_wbsmilestoneupd-SALES_DOC_DATE_INIDICATOR = cs_x.
            it_wbsmilestoneupd-INVOICE_PERCENTAGE   = cs_x.
            append it_wbsmilestoneUPD.
            clear it_wbsmilestoneUPD.
    **Fill bapi table method project1 for the creation of WBS milestone
    **milestone will be created only after the creation of WBS elements first
    **lv_refnum is  the link to wbs element, which is already appened to it_methodproject
              it_methodproject-refnumber   = lv_refnum.
              it_methodproject-objecttype  = 'WBS Milestone'.
              it_methodproject-method      = 'Create'.
              append it_methodproject.
              clear it_methodproject.
          endif.
    How to resolve the issue?
    Please help.
    Thanks,
    vamshi

    Hi Ravi,
    Thanks for your continuous reply.
    The problem is solved.
    I  have passed the, reference number of WBS element  creation to milestone creation  in the 'Method' table.
    Thatswhy it is picking wrongly.
    I have corrected this by passing different reference numbers to WBS and milestone creations
    based on their tables.
    Thanks,
    Vamshi

  • WBS Elements not getting created in ECC Project System from CRM 7.0

    Dear all,
    We are trying to integrate SAP CRM 7.0 with SAP ECC-PS module. The objective is to bring in the marketing plan and elements data from the CRM system, and to create the corresponding WBS in project system. We have done most of the configuration as recommended by SAP in both the systems, and we see that the BDOCS are getting generated and sent to the ECC system. The following steps have been successfully completed:
    1.       Set up the RFC connections between the two systems
    2.       Selected the connection type as Middleware in CRM system.
    3.       Installed the cProject Add on in CRM box.
    4.       Created a project scenario (with project and network profiles) in the PS system and assigned the same in the CRM system.
    5.       The Project Scenario in PS config has the same name as the Project Type in CRM config.
    6.       Created and released the campaign ids being created in the CRM system.
    As already mentioned, we can see that the BDOCS are coming to the ECC system and are getting stored in BDOC_TRACK table. However the issue is that the corresponding WBS elements are not getting generated in the ECC system. Is there anything that that we are missing in the ECC box which would trigger the WBS element creation?
    Request you all to share your inputs which would be immensely beneficial for us in achieving this integration.
    Thanks and Kind Regards,
    Aditya Shrivastava

    Hello Aditya,
    We too are facing this issue.. if you have resolved the issue could you please let us know the solution ?
    Some inputs related to our system,
    We have upgrade from CRM 4.0 to CRM 7.0 SP07 and R/3 backend system is on 4.7 SP27, earlier we have completed the upgrade on sandbox without any issues which was upgrade to CRM 7.0 SP04 but with SP07 we are facing the problem of WBS Element not getting created in R/3.
    Your help is highly appreciated.
    Thanks & Regards,
    Sumukh Kapoor.

  • Create a WBS Element level 3 Using BAPI_BUS2054_CREATE_MULTI

    i have to create a new WBS element level 3 but i have some customs fields to use in the WBS element creation. Fields that i should take from prps ( prps-zzx, prps-zzy ).
    Any suggestion?

    i have to create a new WBS element level 3 but i have some customs fields to use in the WBS element creation. Fields that i should take from prps ( prps-zzx, prps-zzy ).
    Any suggestion?

  • Creation of project definition and wbs element

    I want creation of project definition and wbs element upto 4 level using bapis.
    i am using transaction cj27,cj01,cj02
    which function module to use for this??

    Hi,
    to create project definition with customer fields the BAPI you should use is : BAPI_BUS2001_CREATE
    to create WBS elements with different levels and specific fields the BAPI you should use is BAPI_BUS2054_CREATE_MULTI
    these bapi must be used in the sequence of call :
    BAPI_PS_INITIALIZATION
    BAPI_BUS2001_CREATE / BAPI_BUS2054_CREATE_MULTI
    BAPI_PS_PRECOMMIT
    BAPI_TRANSACTION_COMMIT
    before using the bapi, you must apply OSS note :
    637345 - Syntax error with enhanced PS tables
    i sent you the oss note to your mail
    please reward points if helpfull.

  • Creation of sales order/wbs element

    Hi SAP gurus,
    While creating a sales order after entering the WBS element, I am getting an error
    Profit Ctr not consistent between Plant and Material/WBS for line item 0010
    can somebody throw light and help to solve.
    regards
    Pranav shah

    Hi ,
    check the plant for your material and in your project. both should be same.
    cheers,
    sumith

  • Error while Creating WBS element using BAPI 'BAPI_BUS2054_CREATE_MULTI'

    Hi Expert,
    I've a requirement to create WBS elements using BAPI. And I am using BAPIs in the following manner.
    CALL FUNCTION 'BAPI_PS_INITIALIZATION'
      CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
        EXPORTING
          i_project_definition = g_pdwbs
      TABLES
        it_wbs_element             = it_wbs_element
       et_return                  = it_return
      EXTENSIONIN                =
      EXTENSIONOUT               =
        CALL FUNCTION 'BAPI_PS_PRECOMMIT'
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    When I do so I am getting the below errors. Please suggest.
    "Individual check for creating the object WBS Element C-497082 required ".
    "Individual check for creating the object WBS Element C-497082-0001 required".
    Please suggest how to correct this error. 
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 18, 2008 5:25 PM

    I am getting the same error, but I cannot figure it out how to detect it and fix it.  Will you please share your solution?
    Thanks,

Maybe you are looking for

  • Proxy error while running the financial report in workspace.

    Hi, We are using the Hyperion financial reporting 9.3.1 with Essbase as a data source. While running a report in workspace, we are getting the 'Proxy error' meassage, which is following- "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> '<html><hea

  • Error message: "USB device drawing too much power"; Battery will no longer hold a charge. Help?

    A few months back a jump drive broke while inserted in my Macbook (the computer fell sideways and cracked the jump drive). That particular USB port no longer works and I keep receiving an error message that tells me a USB device is drawing too much p

  • How would I create a screen with links after a person logs into their computer?

    I have been asked to create a custom welcome screen that would load after a person logs into their computer . This screen is to have links to a couple of items. but I need this to show after they log in and before they see their desktop. How do I do

  • Connecting to third-party WEP router

    I have a wireless router with a WEP hexadecimal password I can change and choose from 64-bit (10 digit password required) or 128 bit (26 digit password required). I have had no problem connecting computers and a wireless printer to it. However, AX is

  • Permissions when transferring files

    Hi. Hope someone can help, because this is driving me nuts. I have a laptop, and a Mac Mini connected to the TV in my house. I have a video file on my laptop. Through my home network, I copy the file to my Mac Mini. No problem. But when I open the fi