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

Similar Messages

  • Statistical WBS elements-Budgeting and Use

    Hi Guys,
    Need some KT from you all regarding Statistical WBS Elements.My queries are
    1.Can a statistical WBS element be budgeted? If yes how are the Budget  distributed to those below.
    2..If a level 2 WBS is marked statistical and it has 3 WBS under it which are Acc asignment element then how is the budget distributed.
    3.can you provide some good example of the use of Statistical WBS element?
    Thanks in Advance
    ssk

    Hi Shourya,
    1. As mentioned above Statistical WBS can be budgeted like any operative project and the budget can further be divided into lower level WBS elements and Availaility Control can be activated on these.
    2. Again as stated above the budget distribution is normal. For ex- If a level 2 WBS is statistical and level 2's underneath that are real WBS.
    3. We can use the Statistical WBS for capital projects. For ex- We can assign a Statistical WBS in Master record of AUC for Availability control of budget for Capital spending. And then when we create a PO with Account Assignment category A with same AUC, budget control (Availability control) is activated through the statistical WBS.
    Someone might ask but why we want to use WBS for budget control why not I/O? It's because it provides more visibility over different departments (divided by structure). And via this process we can see all our PO's on AUC directly from Asset Explorer (AW01N).
    Hope it helps.
    Thanks,
    BS

  • 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

  • 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.

  • 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

  • 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.

  • Difference between WBS element and internal order?

    What is the main difference between WBS element number and internal order number?
    Points will be given!

    Hi,
    WBS:
    The work breakdown structure (WBS) is a model of the project that organizes project tasks into a hierarchy.
    It is the functional basis for further planning steps in a project, for example, for process planning, cost planning, scheduling, capacity planning or costing, as well as project control.
    It gives you a clear picture of the project and facilitates the coordination and implementation of the project from a management standpoint.
    It shows the work involved in a project.
    check this link also
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/a9/8a853488601e33e10000009b38f83b/frameset.htm
    Internal order:
    Internal orders are normally used to plan, collect, and settle the costs of internal jobs and tasks. The SAP system enables you to monitor your internal orders throughout their entire life-cycle; from initial creation, through the planning and posting of all the actual costs, to the final settlement and archiving:
    check this link also
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/a9/ab7f68414111d182b10000e829fbfe/frameset.htm
    if this helps,please assign points.
    Thanks,
    Rau

  • 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

  • Relationship between tables milestone and wbs element

    Hi  Guys,
    1.I have taken two tables in my source code retieving milestone number(mlst_zaehl), usage(mlstn),and wbs element(pspsnr)
    from TABLE MLST and the other table is PRPS(WBS ELEMENT TABLE, and the fields are psphi(project) , and pspnr(wbs elemrnt,
    The problem is i am not getting the project (psphi)  FROM PRPS TABLE and the link field is PRPS-PSPNR = MLST-PSPNR.
    2.Other requiremnt is  in the same program, iam getting reservation quantity and also DELIVERY QUANTITY
    if delivery qty equal to reservation quantity then exit  and if the reservation qty is NOT equal to delivery qty,
    i need to UPDATE the corressponding USAGE , MILESTONE TEXT, AND QTY in milestone table MLST.
    please let me know any function to update milestone or BAPI or i sahll use BDC.
    Reagrds
    subbara

    Hi
    I think you want to link MLST and PRPS tables to get the milestone fields...
    From Table MLST - Mile stone number - MLST_ZAEHL and WBS element - PSPNR, link the WBS elements with PRPS table - WBS element - PSPNR and for project - PSPHI (Current Project Number).
    For project number you can take from PRPS - PSPHI or from PROJ table
    - Pithan

  • 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.

  • Config for Cost & budgeting at activity level and WBS element level in PS

    Dear GURU's,
    please suggest me how to do the spro configuration for budgeting and costing, here my requirement is I need to do cost planning and budgeting at WBS element level and Activity level. We two deferent types of projects.
    Regards,
    Bha

    Hi Bhanu,
    Cost planning in projects can be done through two techinques:
    I.  Manual cost planning (at WBS level)
    1.  Overall planning (Struture-oreiented planning)
    2.  Detailed planning (Cost element planning)
    3.  Unit costing
    4.  Easy cost planning form
    II.  Automatic cost planning using networks and assigned orders
    For customizing:  Use transaction OPUV  and enter the required entries for cost planning.
    Budget can do only at WBS level.  For configuration do the following steps:
    1.  Create Budget profile - OPS9
    2.  Assign Budget profile in Project profile - OPSA
    3.  Then allot budget to your project - CJ30
    hope it will be very clear.  Appreciate with point if it useful.
    Thanks and Regards
    vetrivelan

  • Settlement of order -WBS Element

    Dear Experts,
    Can any one tell me what is meant by WBS element and in what scenario,PM orders settlement rule created with category as WBS.If possible tell me with any practical example.
    regards
    KRISHNAN

    Dear,
    Dear,
    Budget: Amount of resources allocated under a particular head in a financial year.
    Budget Control: Having/ creating a control on the resources allocated in a financial year.
    Original Budget: The initial budget that you have allocated to a WBS element.
    Supplement of Budget: One time/ discrete increment in the original budget.
    Return of Budget: Taking out the unutilized portion of the budget.
    Transfer of Budget: Transferring the budget among two or more expense heads.
    Project Definition: A framework for a business undertaking with a fixed goal to achieve with given resources.
    The project definition contains dates and organizational information that are binding for the entire project.
    WBS Element: Individual structural element in a work breakdown structure (WBS) representing the hierarchical organization of an R/3 project. Describes either a concrete task or a partial one that can be further subdivided.
    Proposed Business Process
    Assume there are seven expense heads in maintenance department. There may be addition of expense head in near future.
    Based on the maintenance heads, maintenance department will create a project in project system. This project will be used for ‘statistical purpose’ only & will not have any financial implication.
    Upon creation of a project, WBS elements will be created as per the expense heads. So for each expense head, there will be one top level WBS element. Again these WBS elements will be divided in twelve WBS elements. These twelve WBS elements represent twelve calendar months.
    Budget will be allocated to each WBS element & the WBS element will be released from the project.
    Maintenance department will create maintenance orders as per their work requirements. These orders will be settled to cost centre, which is maintained in the settlement rule. Also WBS element will have to be mentioned in each order so that the budget control can take place. So as to capture cost from each maintenance order, the WBS element field will be made ‘mandatory field’ in maintenance order.
    So when a maintenance order is released, system will do a budget check against the WBS element mentioned. If the budget check status is OK, order is released or else it will stopped from release. If the order is stopped from release, maintenance department will have to supplement the budget. Upon supplementing, the order is released again & the maintenance cost such as, labour, material costs can be booked on the order. Again the order cost is settled to cost centre & at the same time, budget is consumed from the respective WBS element.
    Every year, maintenance department will copy the previous year’s project so as to save time & efforts to create project & WBS elements. And the maintenance department will assign the budget allocated to each WBS element in a financial year.
    It is also possible to return the unutilised budget or, transfer of budget from one WBS element to another.
    Create a project CJ20N
    Create WBS element CJ20N
    Assign Budget to WBS elementsKO22
    Display assigned Budget KO23
    Supplement Budget KO24
    Display Supplement budget KO25
    Return Budget KO26
    Display Return budget KO27
    Transfer of budget CJ34
    Hope u wull get ur answer
    Regards
    Rakesh

  • Table for description of  WBS element status

    hi guys ,
    i use BAPI_BUS2054_GET_STATUS to get WBS element status and it return value of REL  , in which table can i get the description of REL ?

    hi
    hope u will get some idea from this code:-
    Reward if help.
    Adding WBS Element in Proper Hierarchy from a Text File.
    *& Include ZBAPIWBS
    *& Report Z_BAPI_CJ20N
    REPORT Z_BAPI_CJ20N.
    INCLUDE ZBAPICJ20NTOP.
    INCLUDE ZBAPICJ20NFILEUP.
    INCLUDE ZBAPICJ20NLOGIC.
    *& Include ZBAPICJ20NTOP
    DATA: BEGIN OF ITMAIN OCCURS 0,
    PROJECT_DEFINITION TYPE PS_PSPID,
    DESCRIPTION TYPE PS_POST1,
    PROJECT_PROFILE TYPE PROFIDPROJ,
    BUS_AREA TYPE GSBER,
    WBS_ELEMENT TYPE PS_POSID,
    WBS_DESCRIPTION TYPE PS_POST1,
    END OF ITMAIN,WA_MAIN LIKE LINE OF ITMAIN,ITWBS LIKE STANDARD
    TABLE OF ITMAIN WITH HEADER LINE, ITMAIN2 LIKE STANDARD TABLE OF
    ITMAIN.
    DATA: ITPRJDEF TYPE STANDARD TABLE OF BAPI_PROJECT_DEFINITION WITH
    HEADER LINE,WA_PRJDEF LIKE LINE OF ITPRJDEF.
    DATA: ITPRJDEFUP TYPE STANDARD TABLE OF BAPI_PROJECT_DEFINITION_UP WITH
    HEADER LINE, WA_PRJDEFUP LIKE LINE OF ITPRJDEFUP.
    DATA: ITMETPRJ TYPE STANDARD TABLE OF BAPI_METHOD_PROJECT,
    WA_METPRJ LIKE LINE OF ITMETPRJ.
    DATA: RETURN TYPE BAPIRETURN1,MSG TYPE STANDARD TABLE OF
    BAPI_METH_MESSAGE WITH HEADER LINE.
    DATA: LINES TYPE I,REFNO TYPE I VALUE 0.
    DESCRIBE TABLE ITMAIN LINES LINES.
    DATA: METTYPE TYPE STRING VALUE 'Create'.
    DATA: WA_DUPLI LIKE LINE OF ITMAIN.
    WA_DUPLI-PROJECT_DEFINITION = 'JB'.
    DATA: SPLIT1(50) TYPE C.
    DATA: PREVWBS TYPE PS_POSID VALUE ' ',
    LEFTWBS TYPE PS_POSID VALUE ' '.
    DATA: POS TYPE I VALUE 1.
    DATA: OFF TYPE I VALUE 0,MODE TYPE I,INDEX1 TYPE I VALUE 0,
    INDEX2 TYPE I VALUE 0,INDEX3 TYPE I VALUE 0,
    INDEX4 TYPE I VALUE 0,INDEX5 TYPE I VALUE 0,
    POS2 TYPE I VALUE 0,FLAG TYPE I VALUE 0.
    DATA: ITBUS TYPE STANDARD TABLE OF BAPI_BUS2054_NEW,
    WA_BUS LIKE LINE OF ITBUS, RET TYPE STANDARD TABLE OF BAPIRET2,
    WA_RET LIKE LINE OF RET, ITBUS2 LIKE STANDARD TABLE OF BAPI_BUS2054_NEW,
    WA_BUS2 LIKE LINE OF ITBUS, WA_BUS3 LIKE LINE OF ITBUS.
    DATA: BAPIRET TYPE BAPIRETURN1,
    PROJEX TYPE BAPI_PROJECT_DEFINITION_EX.
    *& Include ZBAPICJ20NFILEUP
    CALL FUNCTION 'UPLOAD'
    EXPORTING
    FILENAME = ' '
    FILETYPE = 'DAT'
    TABLES
    DATA_TAB = ITMAIN .
    *& Include ZBAPICJ20NLOGIC
    SORT ITMAIN BY PROJECT_DEFINITION WBS_ELEMENT.
    LOOP AT ITMAIN INTO WA_MAIN.
    IF WA_DUPLI-PROJECT_DEFINITION <> WA_MAIN-PROJECT_DEFINITION.
    WA_PRJDEF-PROJECT_DEFINITION = WA_MAIN-PROJECT_DEFINITION.
    WA_PRJDEF-DESCRIPTION = WA_MAIN-DESCRIPTION.
    WA_PRJDEF-PROJECT_PROFILE = WA_MAIN-PROJECT_PROFILE.
    WA_PRJDEF-BUS_AREA = WA_MAIN-BUS_AREA.
    WA_PRJDEFUP-PROJECT_DEFINITION = 'X'.
    WA_PRJDEFUP-DESCRIPTION = 'X'.
    WA_PRJDEFUP-PROJECT_PROFILE = 'X'.
    WA_PRJDEFUP-BUS_AREA = 'X'.
    WA_METPRJ-REFNUMBER = REFNO + 1 .
    WA_METPRJ-OBJECTTYPE = 'ProjectDefinition'.
    WA_METPRJ-METHOD = METTYPE.
    WA_METPRJ-OBJECTKEY = WA_MAIN-PROJECT_DEFINITION.
    APPEND WA_METPRJ TO ITMETPRJ.
    WA_METPRJ-REFNUMBER = ''.
    WA_METPRJ-OBJECTTYPE = ''.
    WA_METPRJ-METHOD = 'Save'.
    WA_METPRJ-OBJECTKEY = ''.
    APPEND WA_METPRJ TO ITMETPRJ.
    CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
    EXPORTING
    I_PROJECT_DEFINITION = WA_PRJDEF
    I_PROJECT_DEFINITION_UPD = WA_PRJDEFUP
    IMPORTING
    RETURN = RETURN
    TABLES
    I_METHOD_PROJECT = ITMETPRJ
    E_MESSAGE_TABLE = MSG.
    IF SY-SUBRC = 0.
    FLAG = 1.
    ENDIF.
    WA_DUPLI-PROJECT_DEFINITION = WA_MAIN-PROJECT_DEFINITION.
    COMMIT WORK.
    DELETE ITMETPRJ FROM 1 TO 2.
    INCLUDE ZBAPIWBS_ALL.
    ENDIF.
    ENDLOOP.
    *& Include ZBAPIWBS_ALL
    LOOP AT ITMAIN INTO WA_MAIN WHERE PROJECT_DEFINITION = WA_DUPLI-PROJECT_DEFINITION.
    APPEND WA_MAIN TO ITWBS.
    ENDLOOP.
    *Sort the table
    LOOP AT ITWBS INTO WA_MAIN.
    SPLIT1 = WA_MAIN-WBS_ELEMENT.
    POS = 0.
    LOOP AT ITWBS WHERE WBS_ELEMENT <> SPLIT1.
    IF STRLEN( ITWBS-WBS_ELEMENT ) = STRLEN( SPLIT1 ).
    IF POS = 0.
    APPEND WA_MAIN TO ITMAIN2.
    ENDIF.
    APPEND ITWBS TO ITMAIN2.
    DELETE ITWBS WHERE WBS_ELEMENT EQ ITWBS-WBS_ELEMENT.
    POS = 1.
    ELSE.
    IF POS = 0.
    APPEND WA_MAIN TO ITMAIN2.
    DELETE ITWBS WHERE WBS_ELEMENT EQ WA_MAIN.
    ENDIF.
    POS = 1.
    ENDIF.
    ENDLOOP.
    INDEX1 = INDEX1 + 1.
    ENDLOOP.
    *Define UP element
    LOOP AT ITMAIN2 INTO WA_MAIN.
    WA_BUS-WBS_ELEMENT = WA_MAIN-WBS_ELEMENT.
    WA_BUS-DESCRIPTION = WA_MAIN-WBS_DESCRIPTION.
    WA_BUS-WBS_UP = ''.
    WA_BUS-WBS_LEFT = ''.
    SPLIT1 = WA_MAIN-WBS_ELEMENT.
    LOOP AT ITMAIN2 INTO WA_MAIN WHERE WBS_ELEMENT <> SPLIT1.
    IF STRLEN( WA_MAIN-WBS_ELEMENT ) < STRLEN( SPLIT1 ) .
    FIND WA_MAIN-WBS_ELEMENT IN SPLIT1.
    IF SY-SUBRC = 0.
    WA_BUS-WBS_UP = WA_MAIN-WBS_ELEMENT.
    PREVWBS = WA_MAIN-WBS_ELEMENT.
    ENDIF.
    ENDIF.
    ENDLOOP.
    APPEND WA_BUS TO ITBUS.
    INDEX2 = INDEX2 + 1.
    ENDLOOP.
    PREVWBS = ''.
    LEFTWBS = ''.
    Define LEFT ELEMENT.
    LOOP AT ITMAIN2 INTO WA_MAIN.
    POS = 0.
    SPLIT1 = WA_MAIN-WBS_ELEMENT.
    READ TABLE ITBUS INTO WA_BUS2 WITH KEY WBS_ELEMENT = WA_MAIN-WBS_ELEMENT.
    WA_BUS-WBS_ELEMENT = SPLIT1.
    WA_BUS-DESCRIPTION = WA_MAIN-WBS_DESCRIPTION.
    WA_BUS-WBS_UP = WA_BUS2-WBS_UP.
    OFF = SY-TABIX.
    LOOP AT ITMAIN2 INTO WA_MAIN WHERE WBS_ELEMENT <> SPLIT1.
    READ TABLE ITBUS INTO WA_BUS3 WITH KEY WBS_ELEMENT = WA_MAIN-WBS_ELEMENT.
    IF STRLEN( WA_BUS2-WBS_ELEMENT ) = STRLEN( WA_BUS3-WBS_ELEMENT ) AND
    WA_BUS2-WBS_UP = WA_BUS3-WBS_UP AND POS = 0.
    IF STRLEN( LEFTWBS ) <> STRLEN( SPLIT1 ).
    LEFTWBS = ''.
    ENDIF.
    IF STRLEN( LEFTWBS ) = STRLEN( SPLIT1 ).
    FIND WA_BUS2-WBS_UP IN LEFTWBS.
    IF SY-SUBRC <> 0.
    LEFTWBS = ''.
    ENDIF.
    ENDIF.
    WA_BUS-WBS_LEFT = LEFTWBS.
    LEFTWBS = SPLIT1.
    POS = 1.
    MODIFY ITBUS INDEX OFF FROM WA_BUS.
    ENDIF.
    ENDLOOP.
    ENDLOOP.
    WA_BUS-WBS_ELEMENT = ''.
    APPEND WA_BUS TO ITBUS.
    Store WBS ELEMENTS.
    LOOP AT ITBUS INTO WA_BUS.
    SPLIT1 = WA_BUS-WBS_ELEMENT.
    APPEND WA_BUS TO ITBUS2.
    INDEX3 = 1.
    POS = 0.
    LOOP AT ITBUS INTO WA_BUS WHERE WBS_ELEMENT <> SPLIT1.
    IF STRLEN( WA_BUS-WBS_ELEMENT ) <> STRLEN( SPLIT1 ) AND POS = 0.
    POS = 1.
    INDEX4 = INDEX3.
    CALL FUNCTION 'BAPI_PS_INITIALIZATION' .
    CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
    EXPORTING
    I_PROJECT_DEFINITION = WA_DUPLI-PROJECT_DEFINITION
    TABLES
    IT_WBS_ELEMENT = ITBUS2
    ET_RETURN = RET .
    CALL FUNCTION 'BAPI_PS_PRECOMMIT'
    TABLES
    ET_RETURN = RET.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = WA_RET.
    ENDIF.
    APPEND WA_BUS TO ITBUS2.
    INDEX3 = INDEX3 + 1.
    ENDLOOP.
    DELETE ITBUS2 FROM 1 TO INDEX3.
    DELETE ITBUS FROM 1 TO INDEX4.
    ENDLOOP.
    DELETE ITWBS FROM 1 TO INDEX1.
    CLEAR ITWBS.
    DELETE ITMAIN2 FROM 1 TO INDEX2.
    *At the end of all projects' processing
    IF FLAG = 1.
    CALL FUNCTION 'POPUP_FOR_INTERACTION'
    EXPORTING
    HEADLINE = 'PS Project & WBS Creation'
    TEXT1 = 'All the Projects have been created.Please check......'
    TICON = 'I'
    BUTTON_1 = 'OK'.
    ELSE.
    CALL FUNCTION 'POPUP_FOR_INTERACTION'
    EXPORTING
    HEADLINE = 'Jeet Program'
    TEXT1 = 'No Projects were created...'
    TICON = 'I'
    BUTTON_1 = 'CANCEL'
    ENDIF.

  • Serial Number&WBS Element

    Hi experts,
    1-) I can not deliver sales orders because it requires serial numbers.
    Can anybody tell me how to cancel asking serial numbers?
    2-)If it is not available how can I create serial numbers?
    I created serial numbers by trcode IQ01 but again I can not deliver sales order.
    3-)At "create material serial number " screen it requires a WBS element.
    What is WBS element?
    And what is the role of it?
    Thanks&Regards

    Hi refer below ,Reward if helps you
    WBS element
    1) What is WBS element?
    2) What is the Tcode to get to that screen?
    3) What is the need and purpose of WBS element?
    4) Do we happen to work on Functional module during our implementation project?
    5) In what scenario/situation we will be working on WBS?
    WBS is nothing but Work Breakdown Structure. It is mainly used in Project System (PS) module. Tcode : CJ20N
    For any project defined we must have at least one WBS. Within this WBS we can have networks. Networks are nothing but the series of activities. Material are used to perform the activities.
    To explain in detail just consider one example:
    Govt of India wants to have Roads to be build through out the India. So Project can be defined in sap as "Connectivity".
    WBS can be roads within different states like Roads for Gujarat, Karnataka etc.. i.e. WBS Gujarat, WBS Karnataka etc.
    We can define different networks for these WBS  like Road Between Ahmedabad to Surat or Between Bangalore to Belgham.
    For this network we can have many activities like Land selection, Land Preparation, Road Building, Final finishing etc etc.
    Hemal's example was a good example. Project Systems comes into play only when the industry's business is based on projects like... Construction companies, Engineer to Order scenarios. You may not see anyone using PS module for retail business. As Hemal explained in that example, you have a main project which is broken down into WBS elements. You can use the TC CJ20N to create the project and the WBS elements. Each WBS may have mutiple Networks associated and each Network may have multiple Network Activities as explained in the example by Hemal.
    On the Sales Order, if your client is implementing PS module, you may have to attach the Sales Order to the WBS element it belongs to. WBS element is nothing but a bucket where all the activities belonging to that particular part of the project are captured. In the example, WBS Gujurat will tell you how many Sales Orders were created for the Gujurat sector, how much was spent on raw materials, what's the currect stock (reject stock) available. How many Production Orders have been confirmed and how many of them are getting confirmed in the future. How many invoices have been generated or how much revenue has been generated for that particular sector. How many deliveries have been made, what deliverables are still not accomplished.
    So as you can see, PS is the center stage for all the modules that are being implemented like FI/CO, SD, MM, PP in this example. You can have cost centers and work centers defined. You can also have profit centers assigned at the plant level and get reports on various selection criteria.
    In a complete cycle of PS, like in reality, you initiate a project, you confirm/release the WBS/activities as per requirement, you execute the project and you close it.
    One cannot initiate an activity unless it has been released by the project manager. Everything is accountable here and every dime is counted and at the end you know how much did you spend or make on each sector (WBS). Dont get confused with the term sector here... I am using it just for the explanation purposes.
    In one typical example, the company I was working with until not too long ago, had Deliveries from the Project (TC: CNS0). We never used VL01N. We used CNS0 to create a delivery and then used VL02N for confirming the picking quantity for the already created delivery document.
    I hope this should help you at least a bit. I'm not a PS consultant so I may not know a whole lot but trying going to CJ20N and you will see a lot yourself.
    PS consultants are one of the highest paid consultants. Their supply is less and so is the demand. They are expected to understand real world business processes very well and they are generally the center stage of a project.
    Serial Number Management :
    Serial Number Profile
    Working With Serial Numbers
    Serial Number Master Record
    Creating Master Records for Serial Numbers
    Serialization Data in the Piece of Equipment
    Maintenance of Configuration Data
    Serial Number Profile:
    Definition
    A group of data, summarized by a four-digit identification code, that defines the conditions and business procedures involved when assigning serial numbers to items of material.
    You enter the serial number profile in the master record at plant level for the material whose individual pieces are to be managed using material numbers. This means that an individual serial number profile can be assigned to a piece of material per plant. In this way a certain material can require serial numbers at one plant, and not at others.
    Structure
    The serial number profile contains the following information:
    &#61607; The business procedures for which serialization
    – Can be performed
    – Must be performed
    – Is performed automatically
    – Is not performed
    &#61607; Information on whether for a particular business procedure
    – Serial numbers can be assigned, for which a master record does not yet exist in the system
    – Serial numbers that already exist in the system as a master record must be specified
    &#61607; Information on whether for a particular business procedure, a stock check should take place, and how the system should react in the event of inconsistencies
    The business procedures for which an&#61607; equipment master record should or should not additionally be created for each serial number
    The equipment category that the system&#61607; uses when assigning serial numbers automatically in the case of equipment master records.
    Working With Serial Numbers:
    Purpose
    You use serial numbers to identify items of material, which enables you to distinguish between the individual pieces.
    Process Flow
    &#61607; You create a serial number profile in Customizing for Plant Maintenance and Customer Service.
    &#61607; You create a material master record and enter a serial number profile.
    &#61607; You create a batch master record for the material if it is to be managed in batches.
    &#61607; You can create serial number master records in advance if you want to have a pool of serial numbers. From a technical perspective, an "incomplete" equipment master record is created for this.
    &#61607; You can create configuration data for serial number master records.
    &#61607; You assign serial numbers to the material when business procedures take place (for example, a goods receipt):
    &#61607; Either you assign manually serial number master records that you created in advance, or
    &#61607; The system assigns automatically new serial numbers and creates new serial number master records for this
    Serial Numbers in Sales and Distribution :
    Use
    It is possible to assign serial numbers in sales orders, inquiries and quotations, as well as for deliveries and returns deliveries. This makes it possible to track individual objects when goods movements take place (for example, sale of goods to a customer).
    Integration
    In order to use the serialization functionality in sales orders, inquiries, and quotations, you must have implemented the Sales component, and to use the serialization functionality for deliveries, you need the Distribution component.
    Prerequisites
    A serial number profile with the following procedures must be entered in the material master record:
    Profile Maintenance for Deliveries
    &#61607; Procedure SDCC checks the serial number on goods issue. The serial number usage for it should be 03 = must.
    &#61607; Procedure SDLS defines that the serial number should be created on delivery. The serial number usage for it should be 02 = can.
    &#61607; Procedure SDAU defines that the serial number should be created in the SD order for items that are delivered. The serial number usage for it should be 02 = can.
    &#61607; In this way, it is ensured that the serial number is assigned at the latest when the goods issue is delivered.
    SDAU This procedure makes possible the use of serial numbers in sales orders, inquiries and quotations
    SDLS This procedure makes possible the assignment of serial numbers for deliveries.
    SDCC This procedure makes possible the assignment of serial numbers when performing completeness checks for deliveries.
    SDRE This operation makes possible the assignment of serial numbers for returns deliveries.
    SDCR This procedure makes possible the assignment of serial numbers when performing completeness checks for returns deliveries.
    Serial Number Master Record:
    Definition
    Data record that contains information for serial number management. The serial number is given to an item of material in addition to the material number, in order to differentiate that individual item from all other pieces of this material. The combination of material and serial number is unique.
    Structure
    The following information is contained in the serial number master record:
    &#61607; Status information
    You can establish here, which system and user statuses are valid for the master record. If necessary, you can set or delete the user status, display the authorized business procedures and set particular system statuses.
    &#61607; Stock information
    You can see here in which plant and warehouse the item of material is located, or to which batch it belongs. You can also see what type of stock and special stock is involved. The stock information is recorded automatically when goods movements are performed, and cannot be changed manually.
    &#61607; Partner Data
    Here, for example, you can use freely definable partner functions and partners to specify in Customizing which companies are responsible for the maintenance of the serialized material.
    Configuration data
    Here, you can configure a item of material according to its characteristics or make reference to a configured object.
    Example of Serial Numbers
    Company X manufactures solar collectors (panels). They produce three different types:
    &#61607; Type A
    &#61607; Type B
    &#61607; Type C
    A material master record exists in Company X’s system for each type. For quality control reasons the company wants to know for each solar collector delivery which customer has received which type of solar collector, and which serial number(s) of the collector type was/were delivered to the customer.
    For this purpose, each solar collector that is produced is assigned a serial number that, together with the material number, uniquely defines it.
    In addition, company X wants to maintain and repair particular solar collectors that it sells directly to individual customers. For this reason, an equipment history is to be maintained for the collectors. Company X is able to do this by creating equipment master records for these serialized solar collectors.
    History
    Use
    &#61607; You can use the history of the serial number master record to ascertain which procedures have affected the serial number. You can find all documents that have been created for the serial number here:
    &#61607; Production and refurbishment order
    &#61607; Maintenance and service notification
    &#61607; Maintenance and service order
    &#61607; Sales order
    &#61607; Delivery
    &#61607; Inspection lot
    &#61607; Goods document
    &#61607; Maintenance plan
    &#61607; Maintenance contract
    Status Management
    Use
    Serial number processing is linked to status management. There are two different types of status:
    &#61607; System status
    System statuses are set when you execute a particular function for the serial number. For example, you post a goods receipt in the warehouse and set the status In warehouse by doing this.
    User status
    User statuses enable you to further delimit functions allowed for a serial number on the basis of a system status. You can assign and delete user statuses yourself if you have the authorization to do this.
    Copying the Partner into the Serial Number :-
    Use
    Within the framework of a delivery, partner data is automatically transferred from the delivery note into the master record of the serial number when goods issues are posted.
    Prerequisites
    You have set&#61607; the indicator Copy Partner in Customizing for Plant Maintenance and Customer Service under Plant Maintenance and Customer Service ® Master Data in Plant Maintenance and Customer Service ® Basic Settings ® Partner Data ® Copy Partner Functions to Master and Transaction Data.
    &#61607; Furthermore, you have assigned the partner determination procedure and the corresponding functions to the equipment category under Technical Objects ® Equipment ® Assign Equipment to Partner Determination Procedure.
    Features
    &#61607; The system copies the partner data from the delivery note into the serial number master record.
    &#61607; If partner data has already been specified in the serial number master record, this data is overwritten with the data from the delivery note. However, the system only overwrites partner data for which the indicator has been set in Customizing.
    Creating Master Records for Serial Numbers:
    Use
    You are able to create directly master records for serial numbers during the assignment of serial numbers for various business procedures, if the serial number profile allows this.
    In addition, you can create master records for serial numbers in advance. This would make sense if you want to have a particular quantity of numbers in the system, that you can assign during a business procedure. in particular, this is the case when you are using serial number profiles that require serial numbers to already exist for certain business procedures.
    Activities
    You have two options for creating serial number master records for a material in advance:
    &#61607; You create an individual serial number for a piece of material.
    You use this option, for example, if in make-to-order production you manufacture one item per day.
    &#61607; You create several serial numbers simultaneously for a piece of material.
    You use this option, for example, if in repetitive manufacturing you manufacture several items per day.
    You can also create serial number master records if no serial number profile is entered in the material master record. However, use in business procedures is only possible if the serial number profile has been entered in the material master record.
    Working with Serial Numbers in Deliveries:
    Maintaining Master Data for Serial Numbers in Shipping
    Assigning Serial Numbers in Deliveries
    Deleting Serial Numbers from Deliveries
    Creating Equipment in Deliveries
    Some points of interest with serial numbers:-
    -You can assign a unique serial number to each material. This allows you to monitor goods movement for individual materials, for example, when selling materials to a customer. Using serial numbers you can also manage the maintenance of individual materials more easily in the system. You must first create equipment master records, however, for these materials.
    -To use serial numbers, enter serial number profiles in the master record for the relevant materials.
    -Serial numbers are usually specified in the delivery item. However, you can also define them in the order.
    -You can also have the serial numbers assigned automatically by the system.
    -You must specify all serial numbers, at the latest, before posting goods issue.
    Message was edited by:
            SHESAGIRI GEDILA

Maybe you are looking for

  • Need help in IP : no authorization issue

    Hi, subject: getting authorization error for multiprovider name in RSPLAN, but my role has that name in it.    i have created a planning sequence . the aggregation level is built on a mulitprovider which is built upon a realtime infocube. i am able t

  • Ipod Classic 160 GB not syncing my music

    I bought a 160 GB Ipod Classic about 6 months ago. About 2 weeks ago I plugged in my Ipod and it erased everything and when I try to sync music it syncs about 150 songs (I have about 4,000) and then stays syncing that one song for about 2 hours. Then

  • Can Labview DAQ work on a self-trigg​ering basis?

    Currently I have the following setup: We shoot electrons through a diamond (which is attached to a electronics board via electrodes), then the electrons pass through a scintillator.  We use the scintillator/phototube as the trigger pulse right now, b

  • How do I speak with a human being at Adobe?

    I have been trying to get help with a problem.  I cannot get Photoshop 12 to work on my Windows 7 computer.  I have spent many hours going around in circles and keep winding up in places like this, which I tried yesterday with no luck.  I believe tha

  • Can any one explain me about PCR TD03 in time management

    Hi All , can u pl expalin me about the PCR TD03, in time management, where if public holiday occurs on sunday move to next day. Thanks in advance Srinivas