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

Similar Messages

  • SAP New GL Document Splitting with WBS Element

    Dear Experts,
    In my company, current document splitting is defined as follows:
    “Document Splitting Characteristics for GL Accounting” is at Profit Center & Segment Level
    “Document Splitting Characteristics for Controlling” is at Cost Center Level
    Please can someone confirm I can bring over the Document Splitting at WBS Level as well? And if so, I will have to create them under “Document Splitting Characteristics for Controlling” and provide "WBS Element" in addition to "Cost Center"
    Secondly, if I go and change the config, is there any other config I need to change or update?
    Thanks & Regards,

    Hi Raj
    Check the Field Status Group of the highlighted GL account.. Is wbse set to optional?  Is it a balance sheet account?
    If yes, then its justified that wbse is not populated.
    Document Splitting chars for controlling has a different purpose
    Br. Ajay M

  • 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

  • Assigning of PR document types to Network and WBS Element

    Dear Experts,
    We have created Purchase Requisition document type as ZPRJ for Project system to create a automatic PR. When we run Project Builder the Auto PR will get create for Network by selecting the PR document type ZPRJ. But PR for WBS element instead of selecting ZPRJ it is selecting NB document type. Our requirement is whenever PR generate through Project builder it should create for doc. type ZPRJ.
    Please let me know how to assign the ZPRJ PR document type for WBS Element. For both document type NB & ZPRJ we have maintain same number ranges but it should select only ZPRJ document type for WBS element & Network.
    Thanks & regards
    Dhanu

    OPTT will help you.
    Regards

  • Assigning of PR document types to Network and WBS Element to create auto PR

    Dear Experts,
    We have created Purchase Requisition document type as ZPRJ for Project system to create a automatic PR. When we run Project Builder the Auto PR will get create for Network by selecting the PR document type ZPRJ. But PR for WBS element instead of selecting ZPRJ it is selecting NB document type. Our requirement is whenever PR generate through Project builder it should create for doc. type ZPRJ.
    Please let me know how to assign the ZPRJ PR document type for WBS Element. For both document type NB & ZPRJ we have maintain same number ranges but it should select only ZPRJ document type for WBS element & Network.
    Thanks & regards
    Dhanu

    OPTT will help you.
    Regards

  • How to attaching the documents to WBS element in projects .

    Hi Friends,
    Can any one explain me how to attaching the documents in project WBS element. We have u201CDMSu201D server. But I donu2019t know the process. Please explain me step by step the entire process of attaching documents to WBS elements in project.
    Regards,
    Hari Krishan

    Hi...
    Im adding to Expert..Venkats reply.
    Plz see this link
    http://help.sap.com/saphelp_45b/helpdata/en/95/5fdf348840ee64e10000009b38f83b/frameset.htm
    Regards
    Chandra

  • Project/WBS element documents - in CJ20N

    Hello everybody,
    I have a requirement to implement documents into PS module.
    The tasks are:
    1) attach document to proj. definitioon/wbs element
    2) select the right document from list of templates
    3) automatically fill in the data
    4) possibility od manual change - mainly in CJ20N
    5) verisons & statuses
    I have in my mind three possible solutions, but as I've never done that before, I can't decide which one will satisfy my needs.
    a) Documents assigned to WBS element (cv01n can create such a document - I don't know how to maintein them)
    b) Somehow connect documents from Business document navigator (OAOR transaction)
    c) Somehow connect Smartforms to definition/wbs element
    Can anyone give me an overview and/or the way how to accomplish this task?
    Thanks for any suggestions.
    Petr

    Hi, Thanks for your reply.
    Two questions:
    1) How do I connect it to the CJ20N (project Builder) to be able to change the document over there
    2) Can I put there fields of the generated document, which I must fill manually (keyboard) - because the information can't be retrieved from the system
    Thanks
    Petr

  • 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

  • WBS element reg

    Hi SAP Gurus,
    When I am trying to create PR/PO the following error is appearing
    In document item 010 WBS element 026140008316, budget for WBS element
    0261400083 for fiscal year 2009 was exceeded by 87,070.95 EGP.
    Can you pl.throw some light on this issue

    Hi,
    this is a budget availability control error.
    go to CJ30 and increase the budget of that perticular WBS by said amount if your business allows the same.
    Regards,
    Amit

  • How to post actual in WBS element.

    Hi There,
    I have one typical situation here.
    My company dont have Project system in SAP. now they are implementing PS.
    They wanted to bring all projects and Wbs element in SAP
    They have budget on XYZ wbs elemnt is about 150,000 USD. and they have spend 100,000.
    so i want to post 100,000 as actual.
    So they can have avialable balance of 50,000 USD.
    can anyone tell me the procedure. ?
    Thanks in advance..

    For any movement of goods receipt or goods issues, system posts FI documenet and system looks for WBS element also.
    After entering WBS element only system posts FI document. 
    In some cases we need to buy without purchase order (Oils/Lubricants/Spare parts etc.), in such case we use direct FI purchases (F-02) and posts  FI document and enters WBS element and system posts directly to WBS
    Srinivas

  • Error no WBS billing element found while substituting WBS element

    Hello,
    I've this error while doing an intercompany billing.
    I have to companies with cross company process in CO.
    I've one project with only one WBS element, and I've insert it in the purchase.
    I've chequed Billing documents in the WBS element.
    Any suggestion?
    Thanks in advance
    Emilio Roldan

    Dear expert
               /thread/1505596 [original link is broken]
              Error no WBS billing element found while substituting WBS element 00050923
    Regards
          Ajeesh.s

  • Rectifying WBS Element from FI - Acquisition Entry in 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 via asset module.
    Any advice would be greatly appreciated
    Regards
    Pramod Saraswat

    Aquasition postings and depreciation postings are 2 compleet different things in SAP.
    You post an aquasition postings on a balance sheet account, as statistical information in the posting I think you give the WBS number.
    When you change the WBS for the depreciation cost then from that date the depreciation costs is posted on WBS 2.   For SAP there is nor reason to change the WBS from the aquasition costs.
    A WBS is not an organiasational unit in SAP like company code, profit center, BA. 
    For these objects you have to do a transfer,
    ABUMN - Transfer within Company Code
    ABT1N - Intercompany Asset Transfer

  • 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

  • WBS element in Material Document List Report

    Hi Guru,
         I have a problem about WBS element which is not show up any data in Material Document List (MB51) movement type 281 and 281 Q event I add WBS in the document.  Anyone know how can i config or do anything to let the system show up, please let me know.
         Thanks in advance.

    Hi,
    Go to SPRO > MM > Inventory Management and Physical Inventory > Reporting > Define Field Selection for Material Document List > Here for Program Name "RM07DOCS", Table "MSEG" add field "MAT_PSPNR" (Valuated Sales Order Stock WBS Element) and activate "Output" indicator.
    And Then check in MB51

  • 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

Maybe you are looking for