Skip to Content

FB08 Rederivation of Profitability Segment

Nov 07, 2016 at 07:22 AM


avatar image

Dear Friends,

My client's business is very volatile and their customer sales Hierarchy keeps on changing very frequently.

I have created a derivation rule using Posting Dates in KEDR enhancement.I have created Z-table to store the Old branch of the Customer (with change Date).

If the posting date is before the change date, branch is picked up from the Z-table else it is picked up from the Customer Master.

Now the issue is, user posts some Provisions (Provision GL is Created as cost Element & Posting to COPA) at month end ,which are reversed next month using FB08. If the branch is changed during this period,user expects the new branch to be posted at the time of reversal in COPA document not the branch posted in the original document.

System is just reversing the old Document, System is not re-deriving the PSG on the basis of Date.User wants the data to flow on the posting date even if it is a reversal.

Is it possible to call KEDR during FB08. Please suggest.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sanil Bhandari Nov 07, 2016 at 10:51 AM


This is not a logical requirement since the document reversal should be exactly the same, but with opposite signs as it was at the time of posting. If this is not the case, your COPA and GL reporting will not be correct and there will be differences in the same. I am not sure, why you are not able to convince on the same.

Technically, you can look at COPA0005 exit to achieve what you want.


Sanil Bhandari

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Dear Sanil,

Thank you for your reply. I had tried convincing them but no success, although they understand that Reversal just works with opposite sign.

I will try with User exit COPA0005 with the ABAPER and confirm you with the results.


Sapan Agarwal

Cem Caglar Caglayan Nov 07, 2016 at 05:26 PM


If you try a derivation for FB08 with COPA005 you will get a dump as the original and cancellation documents needs to have the the same characteristics. Also as Sanil mentioned even if you can do this reporting will not be correct.


10 |10000 characters needed characters left characters exceeded