Creation of Activity Elements

Dear All,
I have a requirement to cerate standard set of activity elements to activities. We do not use standard networks. Is there any way this can be automated. Or, is it possible by way of customization ?
Regards
Muraleedharan.R

Hi,
Try BAPI_NETWORK_MAINTAIN
BAPI_ACT_ELEMENT_UPD
BAPI_ACT_ELEMENT
Regards,
Kabir

Similar Messages

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

  • Purchase requisition for service activity / element cannot be generated

    Dear SAP MM Experts,
    This is a service Creation from the PM order to Purchase Sercive Requisition.
    The Error Message Is Generated :Purchase requisition for service activity / element cannot be generated
    Diagnosis
         Due to the system settings, the system is trying to generate a purchase
         requisition for a service activity or a service activity element.
    No service package has been created for the activity/element.
    As a result, the system cannot generate a purchase requisition.
    The activity/element is created or released, but the indicator for
    generating a purchase requisition is not set.
    Create a service package for the activity/element and then generate a
    purchase requisition.
    regards,
    A S

    Solved From PM side

  • Problem in Creation of Activity Request Questionnaire

    Hi
    I'm facing issue while creation of activity Request Questionnaire. After setting the status to complete & Clicking 'Ok' the activity is not getting created. Its showing 'Internal Error'
    When I checked in Tcode SLG1 for error log, I'm getting following error.
    I was not facing this issue with other activities. But when i use Request Questionnaire activity I'm facing the problem. The worst part is when i use this activity, all other activity start showing same problem i.e. if i skip Request Questionnaire & use other activity every thing works fine.
    Please suggest
    Regards

    Hi,
    Please check program " RCF_CHECK_SEARCH_SETTINGS" here all categories status to be shown in Green color.
    BR,
    Rajeswara.

  • How to Use MRS Functionality at Activity Elements Level?

    When we use Multi Resource Scheduling for resources in PS, we specify "Resource planner process" as process variant at the network header and the Resource planner node.
    In the other hand, at the network operation level we are able to choose the same Process variant and the system displays the planner node to start planning; however we cannot do that when using activity elements because the icon to search the Resource planner is gray out.
    How can I use MRS functionality at activity elements level?
    I will appreciate your help.
    Ragards,
    Rafael

    Hi Rafael...
    A question were able to integrate elements activity to MRS?
    Thanks
    Damy Vidal

  • Creation of PL Element without it being a cost element

    Hi
    I have to asign two PL elements in T code 0KEK for transfer of material between two profit centers. The two elements should not be <b>cost elements</b> but they should be PL Elements to be used only in PCA.
    We have to create PL elements through FS00. But the system automatically creates a new cost element when i create a GL as a PL nature. Pls let me know how to create a PL element without it being a cost element.
    Regards
    Sanil Bhandari

    Hi Sanil
    IN OB13 
    Controlling integration tab
    select : Manual creation of cost element and create GL accts.
    Hope this works
    Best Regards
    Ashish Jain

  • Automatic creation of cost elements

    Dear All,
    The automtic creation of cost elements functionality is not working for some GL accounts in production. When new GL accounts are created, the same are not created as cost elements. All the standard settings viz 'selection of automatic creation' in controlling area configuration, creation of number ranges in OKB2 etc are in place. We posted in OSS and they are not able to find reasons why this is happening.
    Has anyone faced a situation like this? Please post your valuable thoughts and share your inputs. We currently have a log created by user on this and pending for quite sometime.
    Thanks in advance
    Venkatesh

    Hi,
    Yes. We do face problem like this often. We wriggle out by updating through manually when we are very nearer to go-live date. Otherwise, we can create an abap program and meet the deficiency.
    Trust this helps much!
    Cheers!

  • Automatic creation of WBES element using front end application

    Hi,
    i am looking at developing a front end tool where user will provide the required data and project name/wbes lement in the request. upon approval from project manager, sytem must creation requird WBE element in the requested project automatically. there will be multiple requests supplied to create wbes lements under the existing projects.
    for Eg. assume that there is a project AB11.00001 
    i have already have one 4th level wbes element like displayed below:
    AB11.00001
    AB11.00001.01
    AB11.00001.01.01
    AB11.00001.01.01.01
    AB11.00001.01.01.02
    AB11.00001.01.01.03
    now i would like to add new 3rd level and 4th level for above project as mentioned below:
    AB11.00001
    AB11.00001.01
    AB11.00001.01.01
    AB11.00001.01.01.01
    AB11.00001.01.01.02
    AB11.00001.01.01.03
    AB11.00001.01.02
    AB11.00001.01.02.01
    AB11.00001.01.02.02
    AB11.00001.01.02.03
    AB11.00001.01.03
    AB11.00001.01.03.01
    AB11.00001.01.03.02
    AB11.00001.01.03.03
    this must be done either using bapi or any other programme, i tried with bapi, but not able to solve, pls help me with best way of executing this auto application rather creating manually one by one using CJ20N. i am very sure we have finest ABAP'rs in this forum who will build this programme..
    thanks
    naveen lewis
    Edited by: naveennl on Aug 16, 2010 11:39 AM

    Hi Rifaee,
    appplogies for misunderstanding..
    i want only the clues how i can execute this using some of the available SAP functionalities.. ofcourse finest ABAP'rs only think out of the box to solve this and rest will usually answer it as not feasible.
    Edited by: naveennl on Aug 16, 2010 11:51 AM

  • Manual/Autometic creation of cost elements in chart of accounts field

    Dear Friends,
    While creation of Chart of accounts (OB13) under  Controlling Integratiion tab
    thers is two options are there.
    1 manual creation of cost elements
    2 autometic creation of cost elements.
    While creation of cost elements if we select
    (MANUAL CREATION OF COST ELEMENTS) what will happen???
    (AUTOMETIC CREATION OF COST ELEMENTS) what will happen?
    What is the main difference between about two fields?
    Thanks in advance,
       Mallika

    Hi,
    MANUAL CREATION OF COST ELEMENTS -  Cost elements maintained manually. A push button is available for
    this purpose, with which you can go directly to the related cost
    element.
    AUTOMETIC CREATION OF COST ELEMENTS - Cost elements maintained automatically. When you save a new G/L
    account, the related cost element is automatically created. A prerequisite is that a default value for the cost element category
    has been set up for this cost element. If no default value is found, the system will not create a cost element.
    You can make default settings via :
    Cost Element accounting --> master data --> cost element --> automatic creation of primary and secondaru cost element --> make default settings
    Dhara.

  • Question regarding creation of xml-elements with numerical values

    When i create xml-documents from xml stored in the database (xmltype table based on an xml-schema), i find that numerical values which were stored as 0.395 (with the "." as the decimal separator) are retrieved as .395.
    Is it possible to apply a format mask so that the numerical value is retrieved as 0.395?
    thanks, Bart
    N.b. Note that i select a complete xml-fragment. So my problem seems related to the storage or retreival of 'schredded' XML. I do not use SQL/XML-functions with relational data, in which case i know how to apply a format mask.

    I don't use XSLT, i just query the XML-documents stored in an XMLType column with a simple SQL-statement.
    I have posted a simple example over here Re: Is it possible to influence the creation of empty elements?

  • Creation of cost element or not for GBB-VAX,GBB-INV and UMB

    Dear Experts,
    I have few doubt regarding creation of cost element. Whether i will create Cost element or not.
    1) GBB-VAX - used in PGI(Vl02n)We have costing based COPA .whether we will create cost element or not.If i will create cost element then need to be bydefault in okb9 with PSG tick.
    2) GBB-INV- Used for Material taging(MI01,MI04,MI07)whether we will create cost element or not.If i will create cost element then what will be my cost object and how i will charge from my product costing.
    3) UMB- is used whenever standard price is changed. Shall i create cost element for the same
    If yes hen what will be my cost object and how i will charge from my product costing.
    Request you to help me on the same.
    regards
    RR

    1) GBB-VAX -  No, Goods Issue for sales order with no assignment object and hence without Cost Element
    2) GBB-INV- Yes to post expenditure/income from inventory differences
    3) UMB- Yes
    Regards
    KS

  • Creation of Data Element

    Hi,
    I am working on special project of Automation of all utility billing and housing system for a big company in SAP.
    For that I have to create 26 tables and obviously I am creating a lot of dataelements.
    Now the problem is my quality dept says that I should use the inbuilt data elements and refrain from creating new ones. In this case the field label is not matching my field. He says that who is going to see the table and says that you can change the field description in reports as you like. Is it justified.
    I can see that there are more than 500 standard datalements created for  a char field of length 4 by SAP. but none of the description matches my field description. if the case is of reducing the load then does sap recommend not to create z data elements. 
    Can we create dataelement just for the sake of field label and what is the other purpose of a dataelement if not
    How much load will be generated by creating a dataelement.
    kindly give some insight into the need to create dataelements.

    Hi!
    If your Quality people are that much particular about creation of data elements, there is one way to solve this problem. Use standard data elements.
    I know here you will get a doubt that after creating a maintenance generator you will not be able to see the description whatever you want in SM30. For this follow the below procedure.
    While creating maintenance generator you will give the function group name right, go to SE80 -> and give the function group name there -> double click on the screen number of maintenance -> click on element list tab -> click on 'Texts/I/O templates' tab -> now against the field names under 'Text or I/O Field' column remove the value '+____________' and type the field description there -> repeat the procedure for all the fields -> now save, check and activate the screen as well as function group.
    Now if you go to SM30, you can see the field description for every field.
    This is somewhat time consuming, but it may help you.
    Reward points, if useful.
    Regards,
    Venkat.

  • Creation of cost elements automatically

    Hi,
    When I selected "manual creation of cost elements" in OB13, Then we can create a group of cost elements in OKB2 followed by OKB3 and SM35.
    Even I need to do same thing  I when I select " automatic creation of cost elements" ??
    I tried selecting " automatic creation of cost elements".  and I checked in KA03 whether it had created any cost element automatically. but it didnt created any thing...
    Please suggest..

    Dear Santosh Dharana,
    Good Question.  i can clarify you. this question
    1. when you select in ob13 create cost elements manually
    when your are using in obk2  we have to maintain here Acc from no. to Acc to no. ranges for Gl's and cost element categeory.
    after we can run batch in put in obk3 & SM 35 it's updated successfully.
    Note: After execute, *when you are try create another GL account with cost element we have to give cost element categeory by manually.
    2.when you select in ob13 create cost elementsAutomatically
    when your are using in obk2  we have to maintain here Acc from no. to Acc to no. ranges for Gl's and cost element categeory.
    after we can run batch in put in obk3 & SM 35 it's updated successfully.
    Note: After execute, when you are try create another GL account with cost element we don't have to give any cost element categeory here  system automatically give .
    Please try it.  i worked for this one
    Thanks & Regards
    shankar

  • Regarding creation of node element

    Hi
    i hav a doubt regarding creation of node element. u can create new node element using method create(cn)Element available either directly from wdContext or from wdContext.node(cn) where cn is any context node.
    can any one plz explain me what's the difference between two.
    does it has any thing to with node being singelton or non-singelton?
    also can anyone explain me the difference between add and bind method.
    thanks.

    hi
    good
    Data Binding Methods
    If a property can, or must be bound to the context, the respective bind and bound methods are available.
    &#9679;     The bind methods bind the value of a property to the context element specified by the path.
    The name of the method is created according to the following pattern:
    BIND_<runtime name of the property>.
    Example: table, property: design, method: BIND_DESIGN.
    &#9679;     The bound methods return the path of the context element to which a property is bound and return NULL if no binding exists.
    The name of the method is created according to the following pattern:
    BOUND_<runtime name of the property>.
    Example: table, property: design, method: BOUND_DESIGN.
    ADD METHOD->
    Two add methods that add an element.
    &#9675;     If only the element is transferred as parameter, then the element is added at the and of a list
    &#9675;     If an index is transferred as well, then this element is transferred at the specified index position.
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/18b44145143831e10000000a155106/content.htm
    thanks
    mrutyun^

  • Activity elements planned values not showing in profit centres and cc.

    Hi,
    i'm currently working on a project involving Co and PS. I'm in charge of the CO module and i've got a problem with planned values on activity elements and in PS. Planned values are calculated on activty elements and so are actual and they show in real time in profit centres and cost centres but not their planned counterpart values. i've absolutely nothing on profit and cost centres reports. Integrated planning is activated in PS and so is project in versions.
    i've asked the PS "Expert" and he said it comes from the "plan cost calculation" tab in cj20n, which obviously isn't the cause.
    Doesn't it come from the project profile or status profile customizing? (opsa or ok02)?
    Can the problem come from CO?
    any help appreciated
    regards
    xavier

    Hi Sreenivas,
    thanks for your help and sorry for my late answer.
    what is the difference between FAGL_CO_PLAN and transaction 1ke0.
    when i log on transaction 1ke0, i can see all my planned values.
    wouldn't the issue be resolved by launching t-code faglgcle "fi-gl activate update of plan line items" ?
    regards
    xavier

Maybe you are looking for

  • Spotlight where files are stored?

    Is there a way to get spotlight to show the Path of a file? I don't want to just open it, I want to know where it is.

  • Error Message : Object does not exist (status management)

    Hi Gurus, I am working on tcode IW52(Change Notifications). and using badi's for validations at different points. 1. Order level, 2. Notification, 3. Task level validations. In the task level validations, I have an requirement that if certain conditi

  • RAID configuration, better to logically split RAID5 or RAID1 with SQL?

    I want to setup a new SQL server with SQL 2008 R2.  I have to use this version due to the application support behind it.  I have a question regarding best practice with disk setup on a physical server.  Here is my proposed setup, but the application

  • Disconnect wi fi at vpn authorization

    Hi everyone. I have next problem: If I connect to vpn server via wifi then authorization does not work If I connect to vpn server via patch cord then the connection is established. What could be the problem? Please help me( connection diagram:

  • IMP:-sap* deleted in 000 Client

    Hi All, If some one deleted " sap *  i.e. superuer ID in 000 client with out any knowledge of the user. Kindly let me know how to solve this issue ASAP. With Regards Prashanth