cancel
Showing results for 
Search instead for 
Did you mean: 

Create Costing Run Program in Background

Former Member
0 Kudos
1,195

I am trying to set up a batch job process through autosys to cost new materials that are created in a specific plant. The nature of this plant's business is that they create new custom materials each day, so this is not a typical environment where we just cost annually. We also need to cost this volume of new materials each day so they can be produced the next day. I can't find a program that can run in the background that will create the costing run header details. I'm basically looking for a way to do what transaction CK41 does. The program for transaction CK41 is not an executable program, so that won't work. I need to create a new costing run each day because the costing date from will need to change each day to the current date.

Any advice on this would be very helpful. I was not able to find other SCN forum answers or SAP notes that addressed the creation of a costing run in a background job.

  1. Selection – R32M-FICO_SAPRCK60_1096
  2. Structure explosion- R32M-FICO_SAPRCK62_1096
  3. Costing- R32M-FICO_SAPRCK10_1096
  4. Mark- R32M-FICO_SAPRCK23_1096
View Entire Topic
former_member182339
Active Contributor
0 Kudos

Tanya,

very good question longtime i have been looking for something like this too.

I can not think of one which automates the whole process as it requires dynamically create a Costing Run name and i doubt if we can achieve that through Coding or any sort of customization

I may be wrong but i just never seen where we can automate this process. The max is we can schedule background jobs for Costing run as you know this already.

raise and OSS to SAP and see whats their take on this.Please update if you are able to do this

May be Experts can answer this better.

Thanks

Hrusikesh

ArturoSenosain
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tanya.

This is a quite common requirement and i dont know why SAP dont create a program for CK41 that accept background job and variable parameters.  Lots of companies run Standard Cost daily with alternative versions. CK41 is a pool program so its not executable.

Doit in abap its quite simple.  Create a Batch Input (SHDB) for CK41 and create a Zprogram that call the batch . Dinamically change the run/date. Your abap spend less than 1/2 hour doing all the process.

PS. OSS 314528 - CO-OM, CO-PC: batch input in Release 4.6 states that you can do the batch input with this tcode.

I guess you know how dinamically change the parameters for the background job.

Arturo.

Former Member
0 Kudos

That Arturo, I'll give that a try and let you know how it goes. I appreciate it!

I know how to dynamically change parameters, so I have that part all set.

Chayma1
Newcomer
0 Kudos
Hello everyone, i have the same situation as Tanya now. Are there any news about automation costing run name and data ?