Skip to Content

Cost of strategy based task list

Hi all,

For strategy based task list, how to calculate the cost. I feel table wise logic will be complex, is there any bapi to calculate cost.

Thanks

Vivek Varun

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 04, 2015 at 07:51 AM

    Vivek Varun

    Have you had a look at IP31?

    PeteA

    Add comment
    10|10000 characters needed characters exceeded

    • Vivek,

      This gets a little technical, so I hope it makes sense..

      In user-exit IWO10009, at the point of saving the order for the first time, the cost data is not yet stored in any database tables. Instead the data is held in SAP's memory (internal tables).

      So now the trick is to :

      1. Force an order costing via code "perform fcode_koer_nomsg in program saplcoih using 'X'."
      2. Retrieve the data from memory (not database). One of my old programs refers to the data being held in program SAPLICO1 { internal table "(saplico1)N_PMCO[]" and "(SAPLICO1)N_PMCO")  }

      Hope this helps..

      PeteA

  • Nov 05, 2015 at 06:59 PM

    Check out extractor 0PM_PRM_PLCS_1, it has possibility to extract cost for a task list or maintenance plan.

    Add comment
    10|10000 characters needed characters exceeded