cancel
Showing results for 
Search instead for 
Did you mean: 

Find COBL-PAOBJNR on Substitution OKC9

Former Member
0 Kudos


Hello,

I have the following case on my company, I have a proyect that have the settlement rule to a cost center and this is ok, but I want that for a especific cost element the settlement dosn´t happen to the cost center but a PA Object.

I want to do this with a substitution on OKC9 transaction, and I followed the indications on note # 39635, but still dont know what user exit to use to create the PA object on my document. I mean the logic to generate the profitability segment.

Because the PA object has priority on the document if I assign a PA object to the document the cost element will affect the cost center only stadistically.

Please, anyone know wich program or user exit can I use to create a PA object on OKC9?

Thank you very much,

Kind Regards,

Carolina

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi..

When you generate FI document,  do you want to assign the pa segment as cost object automatically ?

If yes, Refer to below example.

1. You define the substitution according note 39635.

  

     

    

      You can find the pa segment number using ce4xxxx table(xxxx : your operating concern).

   2. When you generate FI document using cost center, Real object is PA object and the cost center is statistical object.

    

Former Member
0 Kudos

Hi Big Choi,

I did all that you did, I only have the doubt on how specifically found the pa segment number using ce4xxxx, because my document doesnt have any PA object define, so I have to generate this number on the user exit.

How did you do on yours?

Thank you,

Carolina

Former Member
0 Kudos

Hi..

I think that you can use the function  "COPA_PROFITABILITY_SEGMENT".

Refer to 1709315 - BAPIs and profitability segments as settlement
receiver

Answers (2)

Answers (2)

ajaycwa1981
Active Contributor
0 Kudos

Hi Carolina

Mustafa has taken you one level near to the solution...

If your project has postings with, say, 2 Primary cost elements and you can settle Cost ele A to CC and B to PSG, its possible... You have to set up Source Structure with assignments 10 for A and 20 for B

Now, when you maintain settlement rules, you will maintain 2 rules instead of 1... In Rule 1, select Assignemnt 10 and Receiver object as CC

In RUle 2, select Assignment 20 and Receiver object as PSG... Note that you will have to enter the characteristics you want to generate the Prof segment... If you want it to be automated, you will have code some user exits (Tedious)

Br. Ajay M

Former Member
0 Kudos

Hi Carolina

The answer to your query lies in "Source Structure" configuration which is maintained in settlement profile

Refer this link for better understanding of Source Structure concept

SAP Library - Internal Orders as Investment Measures

Navigate to Maintain Source Structure

Hope it helps

Regards

Mustafa