How to use BAPI_PROJECT_MAINTAIN to create network activities under WBS elements ?

Hello ABAPers,
I have been using BAPI_PROJECT_MAINTAIN to create Project and WBS elements and I have done them without any errors.
Now I need help on how to create network activities.
Can anyone share on how to pass data to I_NETWORK table and I_ACTIVITY table and a brief description on what they are ?
Thanks in advance,
Kiran

Hi Kiran,
Do the following steps
1.pass the following to i_method_project
method_project-refnumber = lv_refnum.
method_project-objecttype = 'NETWORK-ACTIVITY'.
method_project-method = 'UPDATE'.
concatenate aufnr(network nr) vornr(activity) into method_project-objectkey.
2.Into i_activity
activity-network = aufnr.
activity-activity = vornr.
3.i_activity_update
activity_update-network = 'X'.
activity_update-activity = 'X'.
It should work.If not let me know.
Rgds,
K.S.

Similar Messages

  • Assignment of networks / activities and WBS elements

    hi experts,
    I have some basic doubts... can any ony clarify these:
    1.can a WBS element be assigned to several Projects.
    2.  can a network be assigned to several WBS elements.
    3. can an activity be assigned to several networks
    4. can an activity element be assigned to several network activities.
    thanking in advance.
    regards,
    priyanka
    Edited by: priyanka on Jun 29, 2008 10:54 PM

    Hi Priyanka,
    Yes, Iam sure that a single network can be assigned to more than 1 WBS at a same time.
    A WBS can be assigned several activities even different networks also if required, but an activity can be assigned to one WBS element only. Once activities are assigned to WBS elements, you can exchange data between activities and networks. For example activities can inherit statuses from the WBS elements they are assigned to. Conversely you can total up project activity dates to WBS elements or can check funds allotted to activities against WBS.
    A single or several networks can be used in the project structure, to map individual aspects of the project such as activities that are linked to each other via relationships. The relationships between two activities define the logical sequence of the activities (predecessor u2013 successor relationship) as well as their time dependencies. Activities of different networks can also be linked to one another. Advantage of network technique is that, system can automatically determine planned dates for each activity and entire network on the basis of duration of individual activities and their chronological sequence.
    Priyanka, I hope this may clear your doubt . .
    reward points required please . . .
    Regards,
    Dhruv Kumar Malhotra

  • To create an activity under WBS element

    Dear experts,
    Is there any way to create an activity under the WBS element directly w/o network in the PS module?
    I heard this from a user, as he claims that he read it some where, I am not sure about this.
    Can some one through some light on this?
    Thanks in advance,
    Regards,
    Praveen B

    hi,
    addiing to sharad change the setting for project profile opsa in plg board/dates tab network asst as 1 and don't inidcate the
    display netwk header so that netwk header can't be displayed to end user.
    regards,

  • How to use SNRO to create daily number range?

    Dear all,
    I would like to know how to use SNRO to create a daily number range.
    We would like to have the following sequence. The first 8 digits are date and the last 2 digits are number sequence. Each day, the last 2 digits will start from 01 again. i.e. <8-digits date><2-digit sequence>
    For example, today is 22 May 2006,
    2006052201
    2006052202
    2006052203
    Tomorrow will have sequence like this:
    2006052301
    2006052302
    2006052303
    Thanks!

    Thomas,
    I don't there is a automated way of doing as the dates do NOT follow a numbering sequence. What you can do is to create a number range for getting the last two digits every day and manually concatenate the date with the serial number.
    However, as you have to reset the counter every day that might be a issue.
    Regards,
    Ravi

  • I was wondering how to use Dreamweaver to create joomla template? Any ideas or useful resources.

    I am embarking on a new project to create a joomla template. I need your ideas on how to use Dreamweaver to create the template. TQ

    It's pretty much the same procedure with all your open source CMSs (WordPress, Drupal, Joomla!...)
    Start with this 4 Part Tutorial:
    http://www.adobe.com/devnet/dreamweaver/articles/dw_wordpress_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to use CSS to create horizontal nav bar in Dreamweaver CS6

    How to use CSS to create horizontal nav bar in Dreamweaver CS6

    One of the ways to do it is this: Tryit Editor v1.9
    You can also use floats to get something to the same effect.

  • How to use the dll  created by c++ but not write a jni wrapper around

    how to use the dll created by c++ but not write a jni wrapper around through a java program. now I can't access that dll like this directly from java.

    Your question is unclear. (You haven't said what dll you are talking about.)
    But:
    If you are talking about an existing dll, then the only alternative to writing a wrapper is to use one of the wrapper generators floating around. Do a search on JACE.
    If you are talking about a dll you are writing, then run jah and get the interface to match java right away; then you won't have to write a wrapper.

  • Attach Network to a WBS Element

    Hi,
    I have created a network having activity and its milestone using BAPI bapi_network_maintain, and a project and its wbs elements using bapi_project_maintain. Now i've to attach the network to the wbs element using a bapi.How to achieve this??

    I dont know which version you are using. But, it is there since release 4.0A. Go to t.code BAPI > click on Alahabetical tab ? Network > Maintain > INetwork Update.  that is BAPI_NETWORK_UPDATE

  • Standard network assigning various WBS Elements

    Hi,
    I am using Standard network and Stand WBS Element for creating actual project.
    There are Std WBS Elements, using the same Standard network. As i know, we can assign Std WBS Element in Std network. How can i make it using same std network for various Std wbs element to create actual project as Std network is same for most of the WBS Elements.
    I donot want to copy Std network for actual project once we create copying Std Project in CJ20N.
    Regards
    N.Raju

    create more standard wbs - there is no other way

  • Extension structure for a bapi to create project definition and wbs element

    Hi,
    is there a bapi that have an extension structure for custom fields, that can be used to create a project with wbs elements.
    thanks for your help.

    i yhink BAPI_PROJECT_MAINTAIN  dont have extension structure, so i cant use it because i have custom fields.
    BAPI_BUS2054_CREATE_MULTI seems meet my requirement because it has extension structure,

  • How to create and use templete or standard network / activity and wbs

    dear
    i have define the structure for my project which have WBS elements, network and activties. the strucutre is same for all the projects that i define.
    i wanna know whether to use templete or standard wbs network and activities as templete for the project.
    for a network there are almost 150 activties across 10 wbs elements i want this structure as a templete what can i do create it.
    Further, how can i use LSMW to create relationship for ativities?
    regards
    saqib usman

    I have create std wbs level 1 5 wbs further i create std nwrk and activities and assignMENT are as follows
    h1.*Create std wbs from CJ91 *
    STD DEFINITION IS
    E00-BSS-CO-BTS-0000              STANDARD BTS
    LEVEL 1 WBS ELEMENTS
    E00.BSS.CO.BTS.0000.RFP     RADIO FREQUENCY PLANNING
    E00.BSS.CO.BTS.0000.SA     SITE ACQUISITION
    E00.BSS.CO.BTS.0000.TXN     TRANSMISSION
    E00.BSS.CO.BTS.0000.CW     CIVIL WORKS
    E00.BSS.CO.BTS.0000.PMO     PMO
    RELEASE THE STD PROJECT OPTIONAL BY EDIT > STATUS > RELEASE
    h1.CREATE STD NETWORK FORM "CN01" tcode
    NEWORK HEADER WITH FOLLOWING SETTING
    9000000    STD NETWORK CORPORATE BTS 0001
    Network usage     UNIVERSAL
    Planner group   1      1
    Network status     RELEASE (GENERAL)
    Std.WBS element     E00.BSS.CO.BTS.0000.BSS
    Predefined plnt      CO01
    press activity overview button or (shiFt+F7)
    I ASSIGN ACTIVITY TO STD WBS ELEMENTS
    ACTIVITY    OPR. SHORT DESC  STD WBS ELEMENT
    A01            ZERO VERIFICATION   E00.BSS.CO.BTS.0000.RFP
    A02            DESIGN DOCUMENT   E00.BSS.CO.BTS.0000.RFP
    B01            SITE SURVEY 1          E00.BSS.CO.BTS.0000.SA
    B02            SITE SURVEY 2          E00.BSS.CO.BTS.0000.SA
    C01            CIR Doc Input              E00.BSS.CO.BTS.0000.CW
    C02            CIR CW Input by RM    E00.BSS.CO.BTS.0000.CW
    D01            CIR Doc Input              E00.BSS.CO.BTS.0000.TXN
    D02            CIR TXN Input by RM    E00.BSS.CO.BTS.0000.TXN
    E01            Rollout Month               E00.BSS.CO.BTS.0000.PMO
    E02            ON Air Date                 E00.BSS.CO.BTS.0000.PMO
    h1.PREREQUISITE FOR ASSIGNMENT OF STD NETWORK and WBS are:
    PROCESS TRANSACTION "CJ20N" TO INCLUDE STD NETWORK ALONG WITH ASSIGNED ACTIVITIES AND STD WBS.
    FURTHER, I WANT TO COPY STD NTWORK SEVERAL TIMES with different network number. EACH TIME I COPY STD NWK TO OPERATIVE STRUCTURE THE SYSTEM SHOULD PROMPT NEW NUMBER FOR NETWORK AND ALSO PROMPT TO ENER ASSIGNED STD WBS ELEMENTS WITH REPLACE OPTION for operative WBS NUMBER.
    STANDARD WBS                                               OPERATIVE WBS
    E00.BSS.CO.BTS.0000.RFP     REPLACE BY     E00.BSS.CO.BTS.0003.RFP
    E00.BSS.CO.BTS.0000.SA     REPLACE BY     E00.BSS.CO.BTS.0003.SA
    E00.BSS.CO.BTS.0000.TXN     REPLACE BY     E00.BSS.CO.BTS.0003.TXN
    E00.BSS.CO.BTS.0000.CW     REPLACE BY     E00.BSS.CO.BTS.0003.CW
    E00.BSS.CO.BTS.0000.PMO     REPLACE BY     E00.BSS.CO.BTS.0003.PMO
    IN MY OPERATIVE STRUCTURE
    I HAVE TWO LEVEL FOR WBS I.E.:
    E00.C0.BSS            LEVEL 1
         E00.BSS.CO.BTS.0001    LEVEL 2    ASSIGNED NWK  0001 WITH ACTIVITIES AND WBS
         E00.BSS.CO.BTS.0002    LEVEL 2    ASSIGNED NWK  0001 WITH ACTIVITIES AND WBS
         E00.BSS.CO.BTS.0003    LEVEL 2    WHERE I WANT TO ASSIGN STD NWK AND WBS
                                                                  (I HAVE CREATED EXTERNAL NUMBER FOR NETWORK)
    I GO TO THE TEMPLETE AREA AND CLICK ON STD NETWORK BUTTON AND DRAG STD NETWORK 09000001-1 TO E00.BSS.CO.BTS.0003. ENTER NAME FOR NETWORK "BTS 0003". SYSTEM PROMPT TO ENTER EXTERNAL NETWORK NUMBER I.E.
    Enter network number
    WBS elem:E00.BSS.CO.BTS.0003
    Copy from network:
    E00-BTS-0003
    h1.CLICK CONTINUE BUTTON  NOW REAL PROBLUM COMES A DIALOG BOX APPEARS
    Include standard network
    You want to include a standard network that has assignments to standard WBS elements. However, the selected WBS element does not correspond to the standard WBS element.
                   Copy Assignment                            Ignore Assignment
    In case, if i select button Copy assignment or select Ignore Assignment then:
    New network created E00-BTS-0003 under WBS     E00.BSS.CO.BTS.0003 with all assigned activitites but no WBS elements i.e.
    STANDARD WBS                                               OPERATIVE WBS
    E00.BSS.CO.BTS.0000.RFP     REPLACE BY     E00.BSS.CO.BTS.0003.RFP
    E00.BSS.CO.BTS.0000.SA     REPLACE BY     E00.BSS.CO.BTS.0003.SA
    E00.BSS.CO.BTS.0000.TXN     REPLACE BY     E00.BSS.CO.BTS.0003.TXN
    E00.BSS.CO.BTS.0000.CW     REPLACE BY     E00.BSS.CO.BTS.0003.CW
    E00.BSS.CO.BTS.0000.PMO     REPLACE BY     E00.BSS.CO.BTS.0003.PMO
    After all my finding i am not able to bring activity assigned WBS elements. Kindly help and provide information to resolve the problum.

  • How to use a session, created in a jsp page, in a php page

    Hello, forgive me for the newbie question.
    Here is my problem:
    I want to have a jsp page create a session, set some session variables and then redirect to a php page which will access those same session variables.
    I have the redirection worked out, but I can't seem to find out how to use the jsp session in my php script.
    Is this possible at all, and if so, how does it work?

    Note that javascript runs on the client side, and JSP runs on the server. JSP and the session objects are NOT available to javascript in reaction to the user.
    If this function is called only when the page is first created, not when the user interacts with the page, or if you want that value to be constant with respect to the javascript, then you can do this:
    <%
      String someValue = (String)session.getAttribute("theAttributeName");
    %>
    <script type="text/javascript">
         Calendar.setup({inputField:"f_date_dfFirstPmtDate",
                                              button:"f_trigger_dfFirstPmtDate",
                                             singleClick:true,
                                              ifFormat:<%=someVale%>});
    </script>

  • How to use BAPI_PROJECT_MAINTAIN?

    Hi,
    Please let me know how to use the BAPI, BAPI_PROJECT_MAINTAIN for maintaining project details in Project Systems(PS) module.
    Especially, I am not getting how to populate the table I_METHOD_PROJECT in the tables parameter.
    It will be more useful if you can explain with code.

    Thank you,
    Can you please explain me how to give the field values in that table?

  • How to Use iSetup to create new environment in copy of clean master.

    Hi,
    I want to use iSetup to create a complete new environment. No manual setup has been done yet in the copy of the master (no Business Group, No OU, no Chart of Acc: nothing). Source environment is being setup rightnow by functional consultants
    Can one please provide me with a manual or guideline how to start this challenging job. Maybe a best practise can be used ?
    In the end we want to setup an environment based on a clean master.
    ( practical data: eBS 12.1.2 on linux )
    Thanks in advance
    Guido

    Hi Guido,
    You can get in touch with [email protected] who is the product manager for iSetup. He would able to assist you to go forward in the right direction.

  • How to use cdrw to create multi-session cd?

    I use cdrw to create multi-session cd as this:
    # cdrw -O -i /tmp/1.iso
    contents in 1.iso can be read by both Solaris and Windows, then
    # cdrw -O -i /tmp/2.iso
    Solaris consider the cd is empty and Windows consider the cd is not existed.
    My question is, how to handle multi-session cd in Solaris? From some cdrecord FAQ, the data was there but TOC was broken, so one tip is importing TOC of previous sessions before burn. But how?

    Honestly I know this is sort of a weak point with Macs. Not really sure why. I guess with the price of HD storage getting cheaper as well as writable media it's just not something people are interested in enough. But that's too bad because it does seem to have interest.
    Anyway you might check out Burn Again

Maybe you are looking for