WBS elements upload

Hi,
What is the difference between Standard WBS element (CJ91) and WBS element (CJ11)
I want to upload WBS elements, which method will you suggest BAPI or BDC?
If it is BDC which T.code shall i use for recording.
Please give me some guidelines,
Regards,
Chandra

Refer BAPI documentation in SE37. Typically all PS BAPIs require initialisation BAPI at start and commit BAPI at end. You need to define a processing unit consisting of all tis. Open the BAPI in SE37 and refer documentation, everything is detailed out there.
Refer a similar thread:
Re: create project
Regards
Edited by: Shrikant Rakate on Aug 18, 2008 7:06 PM

Similar Messages

  • WBS Elements upload with settlement rule& classification

    I have created project profile & WBS elements with a BAPI bapi_project_maintain.
    Now i need to apply characterstic values and settlement rules to those WBS elements.
    I have been searching for a FM since long time.
    I tried with LSMW also,it did not work.
    Only way left to me is to write a BDC programs to full fill this.
    If anybody has got some solution for this let me know.
    regards
    KTSS

    Sreenivas,
    I´m afraid that none of the 3 options is available via standard tools
    I´m so sorry.
    Rgds
    Martina

  • WBS Element upload

    Hi ,
    Can anybody tell me how can WBs created in PS can be uploaded to 0027 (cost distribution) infotype in master of HR.
    Regards,
    Evani

    Evani ..i think you need to get an upload program developed from abapers.
               because i dont see anything standard which does this.
               If you get anything standard ..please let me know.
    regards
    Sandeep

  • Error while uploading Journal with wbs element

    Hi SAP Folks,
    I am trying to upload journal through a customized transaction.
    The journal line item has wbs elements in it.
    While uploading journal it is showing the below error only when I am using a particular cost element from XXXX Cost element group.
    For other cost element from ZZZZ cost element group, it is not showing any error.
    ERROR: This G/L Code is only valid for Capital Projects (C-WBS elem.
    Is there  any transaction code which will link the cost elements to the project codes.
    Please help.
    Thanks in advance.

    Hi Paulo,
    This G/L code is only valid for Capital Projects (C-WBS elem
    Message no. ZCO002
    Prerequisite
    CO Area = 'XXXX'
    AND G/L >= '10000' AND G/L <= '19999'
    Check
    ( WBS Element >= 'x.1' AND
    WBS Element <= 'x.9.99.999.9.9.9' )
    OR
    ( Network >= 'x1' AND
    Network <= 'xZZZZZZZZZZZ' )
    OR
    ( Order >= '700000000000' AND
    Order <= '799999999999' )
    "| PM Orders can use Capital GL codes for Capital Works |"
    Message
    message type - E
    message no. - 002
    Message class - ZCO
    message text - This G/L code is only valid for Capital Projects (C-WBS elem
    Do i need to change anything.
    Error message no. ZCO002 is matching with the message of Validation.
    How do I proceed further??
    Thanks in advance
    Regards,
    Sophia

  • How to use WBS element in Asset master data upload

    Dear All
    Does any body know how to treat field WBS element in Asset master during upload.
    Field POSNR in table ANLA is of 8 characters, but WBS element which is entered in asst master is more than 8 char.
    I vaguely remember tht with wbs system internally assign a different number.
    Has anybody come across this issue?
    Please help
    Thanks
    Sanjeev

    There are in the asset 2 fields for PS
    One is filled when you do an settlement from an WBS (is not possible to fill in)
    The other one you found in the the tab time dependend like cost center.
    This field is available when you have assign the possibilety to do depreciation to an WBS.
    Paul

  • Uploading WBS Elements Via CJ02

    Hi All,
    I have to upload the Wbs elements for the Project from the Transaction CJ02. As there are different levels is heirarchy , and I should double click on each wbs elements which I entered, and then fill in the details information of each wbs element.
    Could u please help me how to upload this data .
    Is there any Bapi or can we upload Via Transaction CJ20n.
    Please suggest be the best approach. with detailed information? Its bit urgent.?
    Appriciate the earliest reply.
    Thanks
    Krishna

    Hi,
    Check below given code. Let me know if you get any error.
    Regarding your question "Index field in IWbsElementTable", there is not INDEX field in IWbsElementTable. By index it means the entry in table. Index = 1 means that first entry in table, index = 2 means second entry in table and so on.
    Let me know if you have any question.
    DATA: lv_seqno(6)  TYPE n   VALUE '000001',
          lc_seqno(6)  TYPE n   VALUE '000000'.
    * Structures and Internal tables used in the BAPI
    DATA  : gs_project_definition       LIKE bapi_project_definition,
            gs_project_definition_upd   LIKE bapi_project_definition_up.
    DATA  : gt_method_project           LIKE bapi_method_project
                                             OCCURS 0 WITH HEADER LINE,
            gt_wbs_element_table_update LIKE bapi_wbs_element_update
                                             OCCURS 0 WITH HEADER LINE,
            gt_wbs_element_table        LIKE bapi_wbs_element
                                             OCCURS 0 WITH HEADER LINE,
            gt_wbs_hierarchie_table     LIKE bapi_wbs_hierarchie
                                             OCCURS 0 WITH HEADER LINE,
            gt_return                   LIKE bapireturn1
                                             OCCURS 0 WITH HEADER LINE,
            gt_return1                  LIKE bapiret2
                                             OCCURS 0 WITH HEADER LINE,
            gt_message_table            LIKE bapi_meth_message
                                             OCCURS 0 WITH HEADER LINE.
    * Populate Project definition
    gs_project_definition-project_definition = 'PD-TRAINING'.
    gs_project_definition-description        = 'Training project'.
    gs_project_definition-project_profile    = 'PPRO001'.
    * Populate Project dafinition update table
    gs_project_definition_upd-project_definition = space.
    * Populate project method update
    gt_method_project-refnumber      = lv_seqno.
    gt_method_project-objecttype     = 'WBS-ELEMENT'.
    gt_method_project-method         = 'CREATE'.
    gt_method_project-objectkey      = 'TRAINING'.
    APPEND gt_method_project.
    lv_seqno = lv_seqno + 1.
    gt_method_project-refnumber      = lv_seqno.
    gt_method_project-objecttype     = 'WBS-ELEMENT'.
    gt_method_project-method         = 'CREATE'.
    gt_method_project-objectkey      = 'TRAINING.1'.
    APPEND gt_method_project.
    lv_seqno = lv_seqno + 1.
    gt_method_project-refnumber      = lv_seqno.
    gt_method_project-objecttype     = 'WBS-ELEMENT'.
    gt_method_project-method         = 'CREATE'.
    gt_method_project-objectkey      = 'TRAINING.2'.
    APPEND gt_method_project.
    gt_method_project-refnumber      = lc_seqno.
    gt_method_project-objecttype     = space.
    gt_method_project-method         = 'SAVE'.
    gt_method_project-objectkey      = space.
    * Populate WBS element
    gt_wbs_element_table-wbs_element        = 'TRAINING'.
    gt_wbs_element_table-project_definition = 'PD-TRAINING'.
    gt_wbs_element_table-description        = 'Whole Project'.
    gt_wbs_element_table-wbs_element        = 'TRAINING.1'.
    gt_wbs_element_table-project_definition = 'PD-TRAINING'.
    gt_wbs_element_table-description        = 'Preparation'.
    gt_wbs_element_table-wbs_element        = 'TRAINING.2'.
    gt_wbs_element_table-project_definition = 'PD-TRAINING'.
    gt_wbs_element_table-description        = 'Execution'.
    * Update the I_WBS_ELEMENT_TABLE_UPDATE table for the BAPI
    * This is done 3 times because there are 3 WBS elements
    * created for the Studio Project
    DO 3 TIMES.
      gt_wbs_element_table_update-wbs_element = 'I'.
      APPEND gt_wbs_element_table_update.
    ENDDO.
    CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
         EXPORTING
              i_project_definition       = gs_project_definition
              i_project_definition_upd   = gs_project_definition_upd
         IMPORTING
              return                     = gt_return
         TABLES
              i_method_project           = gt_method_project
              i_wbs_element_table_update = gt_wbs_element_table_update
              i_wbs_element_table        = gt_wbs_element_table
    *          i_wbs_hierarchie_table     = gt_wbs_hierarchie_table
              e_message_table            = gt_message_table.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
       RETURN        = gt_RETURN1.
    Regards,
    RS

  • Document upload to WBS Element

    Hi Experts,
    How to upload documents to the WBS Elements.
    Do we have any BAPI which can be called for doing this.
    Thanks in advance.....

    Hi,
    In CJ20N, select the WBS and click Document overview button on right handside. A table will appear, click create button at bottom. You can assign existing documents in this manner.
    Try BAPI_DOCUMENT_SAVEOBJECTLINKS.
    Refer this [Link1|http://help.sap.com/saphelp_erp60_sp/helpdata/en/4c/226c6546e611d189470000e829fbbd/frameset.htm]
    [Link2|help.sap.com/printdocu/core/Print46c/en/data/pdf/PSDOC/PSDOC.pdf]
    Regards
    Edited by: Shrikant Rakate on Jun 18, 2008 10:34 AM

  • GL Upload Planning Layout - Available characteristic (WBS element)

    Hi All,
    In the GL upload planning layout, does anyone have any idea why there is no WBS element in the section of the available characteristic?
    I am trying to create a planning layout for GL upload, and I would like the initial screen at the Tcode: GP12N - Enter (New) has selection criteria for user to put in as follows:
    Company code:
    Version:
    Fiscal year:
    Profit center: (in range, if possible)
    cost center: (in range, if possible)
    WBS element: (in range, if possible)
    Kindly advise accordingly.
    Thanks.
    sbmel

    Hi all,
    I found out that the GL planning upload does post to table: FAGLFLEXP; and this table does not have any fields for WBS as well as internal order.
    Does anyone have any idea on this why FAGLFLEXP (or FAGLFLEXA) does not have these fields?
    Is it because this 2 objects are just temporary cost capture object, and therefore should not exist in these 2 tables.
    Kindly advise.
    Thanks and regards,
    sbmel

  • 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

  • Upload of opening finance balances with wbs elements

    Hi Gurus,
    Appreciate if you can please share some knowledge on taking opening FI balances including open vendor and customer invoices with wbs elements..
    We are going live in mid year and p&l items should reflect data of prior periods in the fiscal year...
    Now question is how can we see project wise details in finance of already running projects?????
    If we enter wbs in gl, customer and vendor lines then how will data come in cost and profit center, as project settlement is required to settle on cost center????
    Whats is ideal way to handle such situation??
    One more thing to add that we have activated document splitting on profit center.....
    Please reply back
    Thank you

    Hi,
    if those WBS are statiscall there will not any settlement even if you pass the WBS in docuemnt level if you don't maintain settlement rule it won't settle it. one more option pass the WBS in a/c doucment text filed or assignment then you can easily find it out .
    Regards,
    Raman

  • Updating WBS element in a sales order

    There is application in Project System (PS) module where I am creating the Project using bapi BAPI_PROJECT_MANTAIN and then uploading the budget for the same using bapi KBPP_EXTERN_UPDATE_CO. After this when I am trying to update the sales order to update its WBS element using bapi BAPI_SALESORDER_CHANGE it’s going into short dump. Dump description as follows :
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           SAPLBPFC
    Application Component  FI-FM
    Date and Time          17.07.2014 15:11:07
    Short text of error message:
    System error in : LBPFCFE2 Table:   Report:   Routine: DETERMINE_OBJ_ENQ
    _MODE
    Long text of error message:
    Diagnosis
         An internal error has occurred.
    System Response
         Processing will be discontinued.
    Procedure
         Contact your system manager.
    Technical information about the message:
    Message class....... "BP"
    Number.............. 005
    Variable 1.......... "LBPFCFE2"
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... "DETERMINE_OBJ_ENQ_MODE"
    Whereas when I am running the bapi BAPI_SALESORDER_CHANGE standalone using se37 with same test data its updating sales order properly.
    After debugging the standard bapi I have found out that there is a subroutine determine_obj_enq_mode which is setting the variable u_enq_mode.In our case this variable is blank that’s y its going into dump.I tried hardcoding this variable to 2 then it updates the bapi properly.So will you suggest for the enhancement where we can hardcode this variable or is there any other solution you will suggest.
    Thank you

    There is application in Project System (PS) module where I am creating the Project using bapi BAPI_PROJECT_MANTAIN and then uploading the budget for the same using bapi KBPP_EXTERN_UPDATE_CO. After this when I am trying to update the sales order to update its WBS element using bapi BAPI_SALESORDER_CHANGE it’s going into short dump. Dump description as follows :
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           SAPLBPFC
    Application Component  FI-FM
    Date and Time          17.07.2014 15:11:07
    Short text of error message:
    System error in : LBPFCFE2 Table:   Report:   Routine: DETERMINE_OBJ_ENQ
    _MODE
    Long text of error message:
    Diagnosis
         An internal error has occurred.
    System Response
         Processing will be discontinued.
    Procedure
         Contact your system manager.
    Technical information about the message:
    Message class....... "BP"
    Number.............. 005
    Variable 1.......... "LBPFCFE2"
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... "DETERMINE_OBJ_ENQ_MODE"
    Whereas when I am running the bapi BAPI_SALESORDER_CHANGE standalone using se37 with same test data its updating sales order properly.
    After debugging the standard bapi I have found out that there is a subroutine determine_obj_enq_mode which is setting the variable u_enq_mode.In our case this variable is blank that’s y its going into dump.I tried hardcoding this variable to 2 then it updates the bapi properly.So will you suggest for the enhancement where we can hardcode this variable or is there any other solution you will suggest.
    Thank you

  • Internal orders to WBS Element

    Hi,
    I,m working in a Project System implementation project, where all other modules are already in use.As per the existing process, Internal orders are created for asset accounting.Those are of statistical. All the purchase orders & costs are booked referring to the internal orders, the same cost is directly settled to Asset Under Construction or Asset.As the internal orders are created as statistical, there is no seperate settlement process & all the costs are directly settled either in AUC or in Asset as & when they are incurred(posted).
    Now as we are implementing Project Systems, Internal orders are going to be replaced by WBS Elements. Customer requirement is the same process of online settlement of costs to Assets from WBS Element & he doen't want to settle seperately.
    Now the issue is, 1) how the process can be mapped in SAP?
    I feel creating the WBS elements as statistical, the same process can be mapped. Is it possible/
    2) As one project is already in progress & some postings have been taken place against internal orders, customer wants to see all those postings on new WBS element, now how to migrate the same to respective WBS element in the new system?
    Thanks
    Kishore

    Hi Kishore Ji,
    For your question, simple answer is, you want to continue all AUC under Project Systems.  So far, you have considered statistical internal orders, anyway, which is not possible for you to settle directly.  So, please take that amount generate uploading document by using same account and using WBS element as debit and internal order as credit and status you release for internal orders.
    WBS elements you create as statistical without selecting account assignment category.
    Your problem will be solved.
    Assign points without fail.
    ALL THE BEST.

  • Settlement to cost center posted for statistical WBS element

    We have the following scenario
    Statistical WBS elements with assigned Cost center posted for actual postings
    Network assigned to statistical WBSE and settlement rule on the same WBSE
    On settlement run CJ88  the network costs are transferred from network to Cost Center posted in the WBSE.
    Issue:
    While analysing the active availability control the assigned value is doubled. This happens only of the networks are settled. System considers the Actual values from network + Statistical value from WBSE to caculate the assigned values.
    Simulation details as under.
    SP-SET-02-3  (wbs element)
        COSS 2011 11 0007101000     0001240704 KOAO D INR                 100.00  INR
        NWA 500000002408 0010
            COSS 2011 04 0007101000     0001240704 KOAO O INR                 100.00- INR   S  -- does not contribute to assigned value
            COSP 2011 04 0007101000     0001240704 COIN D INR                 100.00  INR
            COSP 2011 01 0007101000     0001240704 KPPP D INR                 100.00  INR   M   -- does not contribute to assigned value
    Hence the assigned value gets doubled and eating up the budget.
    Anyone encountered similar issues pls share the possible solutions.

    Hi Mohit
    It is against SCN's rules to post the same discussion thread twice. You have already posted a similar question in the below thread. Please refrain from doing this and close one of the threads.
    Initial balance upload of revenue GL accounts with wbs
    Regards
    Sowmya

  • Creating projects and wbs elements

    I am running a conversion and for the upload portion I need to create projects and the relevant wbs elements in the system.  I have been looking over the forums etc and have seen many notes regarding BAPI_BUS2001_SET_STATUS, BAPI_PROJECTDEF_CREATE, and BAPI_PROJECT_MAINTAIN.
    My problem is this.
    I need to update the APPR and PREP system statuses of the projects I create and I can find no way to do this with a BAPI.  I also need to update the location of the project (stort) and the only BAPI I can find that will allow me to do this is BAPI_PROJECT_SAVEREPLICA which seems incorrect to use in this manner.
    in short:
    How do I update project system status of PREP and APPR?
    How do I update project location (stort)?
    Having no luck finding solutions so any help is appreciated.

    Hi,
    I've used these BAPIs but not for your fields. But maybe I can help you. There is no field LOCATION in the project definition but there is field LOCATION on WBS level. So have you tried to change this field on all WBS elements for your project?
    Unfortunately your system statuses are not supported by this BAPI. All supported statuses are mentioned in BAPI documentation. There is a FM STATUS_UPDATE_PROJECT which might help you but you need to be careful what you do. There are some additional FM STATUS_* for generic object status modification but again, you have to be sure that you can set up that system status without any additional checks.
    Good luck

  • Opening balance of WBS elements

    Hi Gurus,
    At go live, how can we upload opening balances of WBS elements.
    Please revert asap.
    Thank You

    Get the open balance information from the users in an excelsheet for all the WBS.
    Use the following  transactions
    Costs -  KB15N ( used for open balance from materials cost)
    Revenue - KB41N
    Secondary costs - KB21N ( used for open balance from Time costs)
    You have to get dummy cost center for using this transactions for data migration.
    Srinivasan Desingh

Maybe you are looking for