WBS upload

Hi,
I have to upload WBS elements using BAPI. The exact thing is to attached the WBS to a top level PRN depending on the no.
of WBS the PRN can hold.WBS has to be attached to a default SAP cost centre and then attached.
Kindly suggest me how do I proceed with BAPI's in LSMW.
Please tell me the detailed procedure.Thanks.

Hi,
is there any specific reason why u are using this BAPI and not a Batch-Recording in the LSMW?
This works fine (at least for not too big amounts of WBS-elements).
Regards
Lorenz

Similar Messages

  • Enhancement to  CJIC

    We have the requirement to enhance CJIC as below.. Appreciate any help..
    1.     Add project definition field on selection screen
    2.     Add multiple selection functionality on existing WBS element field on selection screen
    3.     Enable WBS upload from Excel to WBS element field on selection screen
    4.     Enable multiple WBS selection within the u2018Distribute Line Itemu2026u2019 screen
    5.     Enable collective processing of multiple WBS elements to a set of common asset
                     receivers via % or value distribution
    Thanks,
    Balaji

    1. Most of the functionality regarding multiple WBS element selection can be obtained by using CJI3 with a cost element group for settlement cost elements.
    2. You should be able to pull the corresponding fields from field selection in CJI3 to see where the settlement has been sent.
    3. If the requirements are stringent, you should get with your ABAPer to copy the program for CJIC and assign it to a Z* transaction. However, this should be last resort. The requirement itself appears to be a "wish list".

  • 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 download and upload long text for project, WBS , Network,

    Hi all,
    I have two isssues.
    1) I am extracting Projects, WBS , Network , Network activity and network activity element from a SAP 4.7 system using bapi's
    BAPI_PROJECTDEF_GETDETAIL
    BAPI_PROJECT_GETINFO
    BAPI_NETWORK_GETINFO
    BAPI_BUS2054_GETDATA
    I am able to get all the details except long text. I want to know how do i extract the long text other than getting it manually by using select_text and Read_text Function module, is there any bapi to achieve this.
    The reason why i am not using Function modules Read_text and Write_text is, object name( TDNAME ) value stored in STXH table for project, wbs and network are the project, wbs and network itself so i dont have any issues with this but the TDname value for activity and activity element are completely different ( Routing number and counter is stored respectively ) which i am not getting as the part of the bapi(BAPI_NETWORK_GETINFO) output.
    2)  I have to upload the extracted Project and it sub object data to ECC 6.0 system , i am able to achieve this by using BAPI's BAPI_PROJECTDET_CREATE, BAPI_PROJECT_MAINTAIN and BAPI_NETWORK_MAINTAIN. I am not able to load the longtext for the same, is there any way to load the long text .
    All help will be greatly appreciated and rewarded.
    Thanks & Regards,
    Rajanidhi Rajasekeran.

    I don't think there is any BAPI to do it.
    We are doing it by read_text & edit_text . required fields for text name can be fetched by following select
      if not e_activity[] is initial.
        select aaufnr aaufpl baplzl bobjnr b~vornr
          into corresponding fields of table t_longtext
          from afko
            as a
        left join afvc
            as b
            on aaufpl = baufpl
           for all entries in  e_activity
           where a~aufnr = e_activity-network
           and a~aufnr is not null.
      endif.
          txtname = wa_longtext-objnr.
          replace c_nv in txtname with sy-mandt.

  • Balance Upload at golive with WBS or Cost Centers

    Hi Gurus,
    Appreciate if you can tell me what should be cutover strategy related to initial customer/vendor and GL balances at the time of GO live, specially related to lines related to WBS and Cost Centers?
    The current live projects which client is having in the system, how we give those wbs elements in balances templates? How that data will go to cost centers? Will we do project settlement just after uploading data to WBS so that real picture can come in cost centers?
    Appreciate if you can please share strategry if we are going live in mid year which is may? and also how to enter p&L items for jan, feb march and april in system, so that client can see their profit and loss?
    Thank You
    Regards,

    Hi,
    Please do recording through transaction code SHDB and enter the available WBS element.
    Once recording has been done include function module  ALSM_EXCEL_TO_INTERNAL_TABLE in that so whenever you download file your flat file will have all those fields taken into consideration while recording.
    Mr Ajay is right some companies don't take P& L items into consideration as they are not carry forward to the next month, but my advise is that you take into consideration P& L items accountwise as you will need to match legacy Trial Balance and SAP Trial balance i.e. it should be 0 (Debit and Credit). If y ou post entire amount to retained earnings account you will not get individual balance in future GLwise which will result no TB individual G/L wise.
    Regards,
    Tejas

  • Wbs in customer/vendor and gl document lines during initial balance upload

    Hi gurus,
    Can we enter wbs in customer/vendor and gl documents lines during upload of opening balance upload?
    What is the impact of this?? Do we need to run project settlement on 1st day after go live to get data in cost center from ar, ap and gl????
    Thanks

    Hi Mohit,
    Why do you want to udpate WBS element for vendor and customer line items. Basic concept of said cost object (WBS element) is transfer values to Fixed assets or GL accounts or any other cost objects like cost center ,Internal order,sales order like that.
    You can update WBS element for all fixed expenses based on settlement rule and allocation types,which you created in customization and assigned cost elements or cost elment group over there. You can update WBS elements for said line items settle after opening balance update.  Please note ,it may not possible to update WBS element for vendor and customer line items.
    Basic cocnept of WBS element is cost collector ( You may use to collect revenue also as per nusiness processes) ,collects the cost from various resources and settle to said above objects. Vendor and customer balances are balance sheet accounts,which can settle through payments.
    Regards
    ManiKumar

  • How to upload and download Long text for WBS, Project, Network

    Hi all,
    I have two isssues.
    1) I am extracting Projects, WBS , Network , Network activity and network activity element from a SAP 4.7 system using bapi's
    BAPI_PROJECTDEF_GETDETAIL
    BAPI_PROJECT_GETINFO
    BAPI_NETWORK_GETINFO
    BAPI_BUS2054_GETDATA
    I am able to get all the details except long text. I want to know how do i extract the long text other than getting it manually by using select_text and Read_text Function module, is there any bapi to achieve this.
    The reason why i am not using Function modules Read_text and Write_text is, object name( TDNAME ) value stored in STXH table for project, wbs and network are the project, wbs and network itself so i dont have any issues with this but the TDname value for activity and activity element are completely different ( Routing number and counter is stored respectively ) which i am not getting as the part of the bapi(BAPI_NETWORK_GETINFO) output.
    2)  I have to upload the extracted Project and it sub object data to ECC 6.0 system , i am able to achieve this by using BAPI's BAPI_PROJECTDET_CREATE, BAPI_PROJECT_MAINTAIN and BAPI_NETWORK_MAINTAIN. I am not able to load the longtext for the same, is there any way to load the long text .
    All help will be greatly appreciated and rewarded.
    Thanks & Regards,
    Rajanidhi Rajasekeran.

    One thread in the correct forum is good enough, no need to double post across ABAP forums.  Thanks.
    Regards,
    Rich Heilman

  • 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

  • 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

  • Upload of Cwip  WBS wise

    Hello,
    in my organisation, FI is active but PS not yet active. Now till date we are posting all the CWIP related entries to manual CWIP account with a reference to WBS Element. WBS are already created. Now, we want to make PS live. My question is:
    Can we upload the CWIP current balance WBS element wise in to SAP, so that it gets debited to the AUC created by SAP. and then we will settle it to the asset when project gets completed? if not what could be the best way
    Regards
    Shailesh

    Hi Shailesh
    Strange when you say that the PS is not active but the values are being uploaded on to WBS elements. Of course you can upload the CWIP balances on to the PS/ WBS elements but be sure to create appropriate settlement rules.
    Regards
    Virendra Malik
    Edited by: Virendra Malik on Nov 15, 2008 11:50 AM

  • 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

  • Upload data thru LSMW -WBS with 3 levels

    Hi PS Experts,
    My situation is like I have to upload data thru LSMW for all Levels!  As I m doing for only L3 WBS with PD it is going upto 14 steps and executing.But for Level 2 and Level 3 it is not executing. In the Step "Read Data" it is showing blank.
    Can v upload these multilevel data thru LSMW? or how is like?
    Thanks in advance,
    Sanju..

    Hi Virendra,
    I think that your solution is very good for my purpose.
    But in my implementation there is no way to insert a new element in an existing WBS, I can only edit attributes for an element already created, for example, in cj02.
    I checked all the menus but i didn't find any useful command.
    Could you send me a screenshot of the keypoint in which you can create the element different from the first level?
    Thank you very much.
    Giorgio

  • 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

  • Change screen field network and upload additional wbs network activity

    Dear All,
    1st. How can i change the screen field company code in network header (assignment tab) to input or required. I tried OPUA but it doesnt show company code. In default  it shows that network header (company code) in display mode.
    2nd. How can i add additional WBS,network and activity using additional enhancement for easy use method. Or in other word, is there any enhancement program..not cj20n / cj20?
    really appreciate.
    nies

    Hi
    2nd. is there any other solutions? users donot convinience to use cj20n / or copy from template? is there badi /program upload to be used? in other words, users can maintain it in excel then upload it..
    Use this BAPI to create WBS elements
    BAPI_BUS2054_CREATE_MULTI
    Sorry for the my last post on the point 1
    The company code for network order is coming from thw WBS element, that you cannot change in network order. This is standard setting.
    Thanks
    S.Murali

Maybe you are looking for

  • Playlists

    With all the constant upgrades to iTunes I now have Apple radio (that I don't need) and all my Playlists no longer exist. How do I restore them?

  • Help with my website - the divs arent holding the text correctly

    hi i have included the html file of my website all of a sudden the text is not staying in the borders, the green border has text and used to move down to the next line and now doesnt can anyone also advise why when you press sapce it jumps down the p

  • Transferring Music

    why wont my songs upload to my new macbook from my iPhone?

  • Whether postgresql-8.2-506.jdbc4 works in a 64 bit operating system?

    Whether **postgresql-8.2-506.jdbc4** works in a 64 bit operating system? Especially I would like to know whether it works in windows server 2008 64 bit operating system.

  • Is it possible to turn off FlashPlayer error pop-up?!

    Hi, Is it possible to bypass or turn off the FlashPlayer 10 error pop-up in browser? I tried the "omit trace actions" and "permit debugging" in Publish Settings but the pop-up still appears in browser testing. The error is well known and I dont need