cancel
Showing results for 
Search instead for 
Did you mean: 

Profit segment assignments - incomplete appear to be random?

Former Member
0 Kudos

We have an issue where the account assignment is not always being completed correctly for sales orders that are generated.

Sometimes the account assignment works ok, other times the profit centre or the plant appears and sometimes they donu2019t.

If neither the plant or the profit centre appear then the account assignment fails in the sales order and the parameters have to be entered manually.

It appears to be a totally random issue. The account assignment will work for some materials in one sales order and not for others even though the same material is used. We always use the same customer/ plant combination.

In table CE44000 the data is fully completed for some lines and then not for others - even though the posting date is the same and it is the same material but just a different sales order. In VBAP the profit segment field PAOBJNR is always populated

Does anyone have any suggestions as to why this may be happening or how it can be tested and remedied?

Many thanks Doug

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Opening for further discussion on the forum.

finally got it right doh!

Former Member
0 Kudos

Opening for further discussion on teh forum.

Former Member
0 Kudos

Hi there can someone please confirm my understanding as to how the profitability segments in table VBAP:PAOBJNR are populated. We use a Bapi to post multiple sales orders and the profitability segment is correctly created in table CE44000_ACCT.

But it does take some time -up to 20 minutes, for the profit segment to populate the PAOBJNR field in table VBAP. The delay creates problems because the users enter the sales orders and then start to enter the profit segment details manually, and thus creating a lot more work for them.

Is there a separate job that runs in the background that does this after the sales order is created? Or is there another reason for the delay? Does anyone know how to speed this job up?

Many thanks.Doug

Former Member
0 Kudos

Opening for furtehr discussion on teh forum.

Former Member
0 Kudos

Hi again Dawn, thanks for your responses. Everything is ok in KEDR, so we will post some sales orders with ABAP in Debug to try and spot the problem.

Former Member
0 Kudos

Hi Dawn, thanks for the transaction details. The problem we have is that it is not so much the settlement data that we are concerned about. It is the missing profitability segment data when the sales order is created- this should always be assigned as per the predefined rules. The effect being that this data has to be manually entered each time a sales order is created.

Former Member
0 Kudos

Hi Doug

Are the conditions types, division,Sales org, Distrib channel the same in both Sales orders?

Please then check the derivation rules for PA in transaction KEDR and see if there are any. Click on the third icon, where it will reveal the generated ones. Check the criteria of each derivation.

Hope this helps.

Kind regards

Dawn

Former Member
0 Kudos

Hi Doug

Try using KE4S to delete and repost it in debug mode. Ask your programmer's help.

Kind regards

Dawn

Ps Use one that does and one that doesn't. This transaction can delete and report without a problem.