BAPI or Function to plan costs on Network activity

Hi Gurus,
weu2019re using PS (Wbs and activities network) to manage Investment Projects.
In our model planning process is carried out by internal activities and costs activities network throught unit costing; in both types of activities we use equal distribution of planned costs. We would like to know if itu2019s possible planned manual values in our activities network for each period to align planned costs to actual costs in planning version 000. Are there any Bapi or other standard functions to solve this problem?
We canu2019t use standard forecast tool because, in our model, all network types are defined in customizing with planning flag set.
Best regards
Nicola

Hi Gurus,
weu2019re using PS (Wbs and activities network) to manage Investment Projects.
In our model planning process is carried out by internal activities and costs activities network throught unit costing; in both types of activities we use equal distribution of planned costs. We would like to know if itu2019s possible planned manual values in our activities network for each period to align planned costs to actual costs in planning version 000. Are there any Bapi or other standard functions to solve this problem?
We canu2019t use standard forecast tool because, in our model, all network types are defined in customizing with planning flag set.
Best regards
Nicola

Similar Messages

  • How to check plan line items for plan cost at network activity level?

    Dear all,
    How to check plan line items for plan cost at network activity level? The plan cost is done in network activity in CJ20N.
    I am not able to check using CJI4 or CJI9 report.
    Kindly advise.
    Thanks and regards,
    Jessie

    Hi Jess,
    Have you checked the navigation part which is being displayed on left hand side of report S_ALR_87013565 and S_ALR_87013533.? There you have option to check transaction currency and object currency when you double click on it.
    In case if it is not being displayed under navigation. Then you can bring them on from transaction code CJE2. For eg: Report group for S_ALR_87013533 is 12KST1C. Double click on it and it will open up to do changes in report layout and many more. There you also have options to bring on transaction currency too. Similarly, you can check for other report groups as well just by checking the report description.
    But I am not sure if suits your requirements. Wait for other experts to comment on this.
    Regards,
    Amit

  • Function, BAPI to get the children form a Network Activity in a Project (PS)

    Hi everyone,
    I have a Project in TCode CJ20N with PEPs, Networks and all the components that It has.
    I'm doing a program which input "Network Activity" and the result have to be all the children for this Network Activity (Material Components) including the information for each Material Component because What I'm looking for is to check if at list one of the children for a Network Aciviti have a Purchase Requisition linked to it as I show in the Attached File.
    To do this, I need to execute a function, BAPI, BADI or any code to get the children to look for a PR.
    Thanks a Lot.
    Regards
    Felipe Uribe

    Hi Arun...
    thanks a lot, I think it could work fine!!!.
    I'll try using this BAPI.
    Regards
    Felipe Uribe

  • BAPI to upload Person Assignment data under network activity

    Hello All!
    Can anybody tell me the appropriate BAPI that can upload the data of Person Assignment tab under network activity of Project System(TCode:cj20n)? I.E. data like Split Person Date Time Work Un and others data.
    Thanks in advance.
    Regards.
    Sarbajit

    Hi Majumdar,
    you can find it by running transaction ST05 against CJ20N.
    try bapi-
    BAPI_PROJECT_MAINTAIN
    Regards,
    NaPPy

  • Secondary costs planning on network activity

    Is possible to plan secondary costs on network activity (without activity type on work center)?
    Thanx

    Hello Keshav
    I have in CO Area currency          CHF
    In Company Code I have             EUR
    Then object currency for network activity                   field  AFVGD-OWAER  is                            u201CEURu201D
    For Material planning in networks Currency Key     field  TKA01-WAERS is                               u201CCHFu201D
    Before reporting, I would like see the above currencies as equal using CJ20N.
    Thanks
    Salvo50
    Edited by: Salvo50 on Nov 7, 2011 11:33 AM

  • S_ALR_87013532 report -plan cost not rolling upto the WBS/Project level

    Dear All,
    Plan cost from production orders is not rolling up to the WBS/Project level in S_ALR_87013532 ( Plan/Actual Variance report).
    Where as plan cost from network is properly rolling up to the WBS/Project level in the above report. 
    Please suggest what could be the reason for this issue. Is any configuration needs to be done for this.
    Thanks & Regards,
    Vishal

    Dear sir,
    Thanks for the reply & sorry for late response from my side.
    OPSV settings are already maintained in our system.
    Some how i realized  later that cost are actaully getting rolled to the WBS level, but we have observed one more discrepancy.
    Example -
    Production order "X" value - 100 (  as seen through co03)
    Production order "X"value- 40 ( as seen through report s_alr_87013532).
    We found that  in report  s_alr_87013532 , although my total  producton order value of 100 is represented at the WBS /Project level, but at the production order level , it is showing value of 40. 
    On further analysis we found that for production order X
    Materail cost- 60
    Labour cost-40
    The material cost of 60  is not getting fetched against production order "X" in report " S_ALR_87013532".
    There are very few cases , where such discrepancy is seen.
    Kindly suggest.
    Regards,
    Vishal

  • Project Plan cost report - not showing any output.

    Dear Experts,
    I have created several projects and done the planning.  I have used work centers and activity types for manpower cost planning. Also created some PRs against the project.
    When I goto the network activities and select the line item in the menu path Edit - costs - Planned/Actual - cost planned /actual
    It shows me the planned cost of the activity correctly.
    But when I am running the report CJI4, it shows nothing. The report is not at all executing.
    I dont understand why it's \not showing.
    I have checked the control key PS01 for the cost field is enabled (tick available on the cost friled)
    Can any one please help me??
    Thanks and Regards,
    Praveen

    1) Please check that the WBS element is integrated in plan, and the plan integration is fully activated in the project.
    2) Plan line items are only written in certain cases.
    The following rules are valid:
    1. Plan line items can be written in
    a) structure-oriented cost planning CJ40 (total values, annual values),
    b) cost planning on orders KO12,
    c) unit costing independent of cost elements,
    d) structure-oriented revenue planning CJ42 (total values, annual values)
    e) structure-oriented financial budgeting CJ48 (total values, annual values, period values)
    f) primary cost planning,
    g) activity planning,
    h) revenue element planning.
    2. Plan line items are never written in
    a) Unit costing on cost element level
    b) Network costing
    3. Line items are only written if a user status permits the business transaction 'Write plan line items' explicitly.
    Exception:
    For plan-integrated WBS elements and orders, line items are written in cost-element oriented planning if integrated corporate planning is activated in the fiscal-year parameters of the respective plan version, regardless of the user status.
    4. Plan line items for structure-oriented planning can only be displayed in the respective planning transaction under menu option "Extras-->Line items".
    Let me know if this was useful
    Ritesh

  • Plan cost of IW31 not updating when MRP4 of Material master is individual requirement

    Hi,
    When Individal/coll of MRP4 tab of Raw material is 1 Individual requirement, plan cost is not updating in Tcode IW31 Repair order. It is updating when MRP4 is 2 collective requirement.
    Please let me know the possible reasons.
    Thanks

    Yongguo
    The behavior you are seeing on your system is correct system behavior.                                                                               
    The system rolls costs/revenues up to the assigned wbs element                
    if an order or network activity is flagged for deletion so you                
    can archive orders/networks while the project is still 'alive' without        
    loosing information on costs/revenues.                                        
    The logic is that costs of deleted networks should not get lost but are       
    rolled up to the superior wbs-element.                                                                               
    SAP has the understanding that released activities are used immediately,      
    carry actual costs and, therefore, can not be deleted. To keep the            
    objects clearly arranged the reorganization run can be used to move           
    some objects (those with status DLFL) to the archive without losing           
    data (in the meaning of costs).                                                                               
    If you want to remove these costs of the WBS elements you have                
    to cancel the deletion flag of these networks, remove the planned costs       
    start network costing and save. You can then set the DLFL again and           
    the costs will not appear in the structure report.  
    Hope this helps.
    Best regards
    Martina

  • Actual Cost not updating to Network Activity from CATS

    Dear All,
    Am back here for the expert suggestions / guidance.
    I am facing issue with respect to system not updating the actual cost in network activity / projects posted through time sheet i.e. CATS. I have planned my resource cost through work centre assigned with activity type, formula and cost centre. I have kept the employee master data in place with maintaining the 315 infotype. In CAT2 i am posting the respective time sheet on the particular network activity and am transferring the cost into projects by CAT5, the plan cost is getting updated but actuals are not hitting the projects.
    Kindly do the needful and suggest me if am missing something out of the track
    Thanks
    Praveen Mohanachary

    HI Gokul,
    There wasn't any error during confirmation and i have also checked in CN30 as well as COFC transaction. It is posting the time and the activity is getting the PCNF status set but there isn't any actuals posted. I used CATA for some activity and also used CAT5 for certain activity both are not posting actuals on projects.
    Thanks
    Praveen B M

  • Planned Cost not coming for CO Activity in PM Order

    Dear All,
    I am putting up the entire configuration process i am carrying out for CO activity and using it in the PM Order.
    Please see the link and guide me through as to why the Planned Cost for the Activity is mssing.
    http://www.scribd.com/doc/21375098/PM-Activity-Configuration
    Regards
    Praveen Dhankar

    Hi,
    Kindly check the logs in the maintenance order,it will show that the valuaton variant defined wasnot successful.
    The problem is The activity price is not calculated properly,ask the CO consutant to maintain the activity price proprerly with updation. against that cost center.
    The second one is no need to maintain the activity in workcenter as per your attachment sheet.
    Maintain in Basic data of workcenter as standard value key as SAP0 No standard value key & in Costing view maintain the cost center,Activity in below field & maintain the formula as SAP0008.
    Regards,
    Raj

  • SAP-PS(Actual & plan cost)

    1)When i am calculating my plan cost for an activity whose duration is 10days , working is 8h/day and rate is 50/hr , my plan cost is coming rs. 8000 instead of 4000. can anyone help?
    After confirming an activity 100% , actual cost is not coming. Is there any customisation in confirmation or at any other place?
    Regards,

    Dear Hemant Sir ,
    As I am new to SAP-PS , so after applying your solution also , I  am not getting the desired results. So I am giving complete details of work centers and activity types defined by me as problem lies here only.
    Work center :-
    Basic data tab
         Standard value key = sap0
    Default value :-
         Control key=ps01
    Capacities tab :-
         Other formula =sap004
    Scheduling tab :-
         Other formula=sap004
    Costing tab :-
         Co area =
         Cost center=
         Acttypeint pro =
              =sap008
    In capacity tab :-
         Start=8.00
         Finish=17.00
         Break-1.00
         Uti=100
         Cap=1
    Activity type (kl01) :-
    Unit=h
    Cat=*
    Atypcat=1
    Cost element=
    Kp26 :-
    Plan  dis  dis  u  p     p     p      pl
    8        2    2     h  50 50 00001  1
    Where is the mistake ?
    Regards,

  • Run time Error while creating Network Activity.

    Getting Runtime -
    > Runtime error: ILLEGAL_TEMPORARY_OBJNR  ("TM0000000008NV" " " " ")
    While trying to create the Network activity in the following sequence.
    CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
    *--> Create the Network Activity
      CALL FUNCTION 'BAPI_BUS2002_ACT_CREATE_MULTI'
        EXPORTING
          i_number     = i_number
        TABLES
          it_activity  = t_activity
          et_return    = it_preturn.
         extensionin  = extensionin
         extensionout = extensionout.
      LOOP AT it_preturn INTO wa_preturn.
        IF wa_preturn-type EQ c_error OR
           wa_preturn-type EQ c_termination OR
           wa_preturn-type EQ c_exit.
          l_error = c_yes.
        ENDIF.
      ENDLOOP.
      IF l_error IS NOT INITIAL.
        ROLLBACK WORK. " satish 09/02/2008
        EXIT.
      ENDIF.
      CALL FUNCTION 'BAPI_BUS2002_SET_STATUS'
        EXPORTING
          number                   = i_number
          set_system_status        = 'CRTD'         " changed 'REL' to 'CRTD'  satish 11/04/2008
        IMPORTING
          return                   = lwa_ret1
        TABLES
          i_activity_system_status = lt_act_status_set
          e_result                 = lt_stat_ret.
      IF lwa_ret1-type EQ c_error OR
         lwa_ret1-type EQ c_termination OR
         lwa_ret1-type EQ c_exit.
             call function 'BAPI_TRANSACTION_ROLLBACK'.
        EXIT.
        endif.
      CALL FUNCTION 'BAPI_PS_PRECOMMIT'
        TABLES
          et_return = lt_return.
       CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    Help really appriciated.
    Thanks
    Mani

    Hi,
    Go through the SAP NOTES 777934
    Symptom
    When a new network activity is created using BAPI, BAPI_BUS2002_ACT_CREATE_MULTI and then the newly created activities are
    reverted by using BAPI BAPI_TRANSACTION_ROLLBACK,the control objects of newly created activities are not reverted, therefore when you perform a
    commit of the transaction by using BAPI_TRANSACTION_COMMIT, a short dump'ILLEGAL_TEMPORARY_OBJNR' occurs.
    Other terms
    short dump 'ILLEGAL_TEMPORARY_OBJNR', CKCOUEB, Costing Sheet, Posting Date, Overhead key, CK_F_CO_OBJECT_ALL_REFRESH, BAPI_PS_INITIALIZATION.
    Reason and Prerequisites
    This is caused by program error. This note references SPC 770601 and created for corrections to be included in support package.
    Solution
    Implement the source code corrections.
    Regards,
    Dwaraka.S

  • Create long text for network activity

    Hello,
    I'll create a long text for a network activity, but I found no BAPI for that.
    When I create long text for an order activity I use the BAPI BAPI_ALM_ORDER_MAINTAIN. There it is possible to specifiy the long text lines.
    In the BAPI BAPI_NETWORK_MAINTAIN there ist no table for specifying long text.
    Did anyone know how to create a long text for an network activity?

    Hello Vivek,
    I'll tried this too. My problem was, if I add long text to a existing network activity, everything works well. But in my programm I create a new network plan with one network activity (0010). After commit I become the correct network plan number. Then I try to add long text to the network activity. I get correct return codes but if I look in the transcation CJ20N I could not see some text. If I use the READ_TEXT function with the key I insert the text, I see the text, but not with the transaction CJ20N.
    I compared the key I used in my program with the key if I insert text with transaction CJ20N. I could'nt found some differences.
    SELECT SINGLE afvcp~mandt afvcp~aufpl afvcp~aplzl
                      INTO (mandant,aufpl,aplzl)
                      FROM afvcp INNER JOIN
                      afko ON
                      afko~mandt = afvcp~mandt
                      AND afko~aufpl = afvcp~aufpl
                      AND afko~aufnr = ordernumbernew.
                        "*Create Identifier
                        CONCATENATE
                        mandant aufpl aplzl
                        INTO lv_name.
                        header-tdobject = 'AUFK'.
                        header-tdname = lv_name.
                        header-tdspras = sy-langu.
                        header-tdform = 'SYSTEM'.
                        header-tdid  = 'AVOT'.
                        header-mandt = sy-mandt.
                        header-TDLINESIZE = '079'.
                        CALL FUNCTION 'SAVE_TEXT'
                          EXPORTING
                            client          = sy-mandt
                            header          = header
                            insert          = 'X'
                            savemode_direct = 'X'
                            owner_specified = ' '
                            local_cat       = ' '
                          IMPORTING
                            function        = func
                            newheader       = newheader
                          TABLES
                            lines           = lines
                          EXCEPTIONS
                            id              = 1
                            language        = 2
                            name            = 3
                            object          = 4
                            OTHERS          = 5.
                          CALL FUNCTION 'COMMIT_TEXT'
                           EXPORTING
                             OBJECT                = header-tdobject
                             SAVEMODE_DIRECT       = 'X'
                           IMPORTING
                             COMMIT_COUNT          = commit_count
                          COMMIT WORK AND WAIT.
    For example in the debug the header ist filled with:
    1 TDOBJECT C 10 AUFK
    2 TDNAME C 70 210000044156300000001
    3 TDID C 4 AVOT
    4 TDSPRAS C 1 D
    5 TDTITLE C 50
    6 TDFORM C 16 SYSTEM
    7 TDSTYLE C 8
    8 TDVERSION N 5 00000
    9 TDFUSER C 12
    10 TDFRELES C 4
    11 TDFDATE D 8 00000000
    12 TDFTIME T 6 000000
    13 TDLUSER C 12
    14 TDLRELES C 4
    15 TDLDATE D 8 00000000
    16 TDLTIME T 6 000000
    17 TDLINESIZE N 3 079
    18 TDTXTLINES N 5 00000
    19 TDHYPHENAT C 1
    20 TDOSPRAS C 1
    21 TDTRANSTAT N 1 0
    22 TDMACODE1 C 16
    23 TDMACODE2 C 16
    24 TDREFOBJ C 10
    25 TDREFNAME C 70
    26 TDREFID C 4 4
    In CJ20N the header is filled with
    1 TDOBJECT C 10 AUFK
    2 TDNAME C 70 210000044156300000001
    3 TDID C 4 AVOT
    4 TDSPRAS C 1 D
    5 TDTITLE C 50
    6 TDFORM C 16 SYSTEM
    7 TDSTYLE C 8
    8 TDVERSION N 5 00000
    9 TDFUSER C 12
    10 TDFRELES C 4
    11 TDFDATE D 8 00000000
    12 TDFTIME T 6 000000
    13 TDLUSER C 12
    14 TDLRELES C 4
    15 TDLDATE D 8 00000000
    16 TDLTIME T 6 000000
    17 TDLINESIZE N 3 079
    18 TDTXTLINES N 5 00007
    19 TDHYPHENAT C 1
    20 TDOSPRAS C 1
    21 TDTRANSTAT N 1 0
    22 TDMACODE1 C 16
    23 TDMACODE2 C 16
    24 TDREFOBJ C 10
    25 TDREFNAME C 70
    26 TDREFID C 4

  • Function modules or BAPI for posting plan costs for WBS Element

    Hi all,
    Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
    Greetings

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

  • Function modules or BAPI for deleting plan costs on a cost center

    Hi all,
    I search for a function module or bapi to delete plan costs / activity on a cost center.
    At the moment I update the planning with 0, but that cause a mass of needles entries on the cost centers.
    For check and posting I use the function group 6026 - BAPI_COSTACTPLN_* ,
    but there is no function for deleting.
    Has anyone an idea?
    Thx for help - points as reward !

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

Maybe you are looking for