Skip to Content

Internal Order : Settlement to PSG

Mar 05 at 12:25 PM


avatar image

Hi All,

We are working on a custom MDG solution for Internal order where MDG is a HUB with multiple Target systems. Now there is a requirement of creating a settlement rule where reciever is profitability segment. Is there standard Idocs which can help me here as the BAPI for internal order is not adequate for this requirement.

I have tried looking but there is no straight forward solution for this. Any pointers in this would be much appretiated.



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

2 Answers

Raghuram Reddy Devagiri Mar 07 at 03:49 PM


Unfortunately , there seems to be a limitation with transferring settlement rules via ALE.

Check the information note 1932562 - Settlement rule cannot be sent to receiver system via ALE



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

Hi There

Actually it is possible to send an internal order to another system but the kind of interfaces provided by sap are quite lacking. I have been still not able to figure out the perfect solution for this. Reason for that is the use of buffering to handle too many parameter passing by the standard function modules.

If there is anyone looking for a challenge, this one is quite a good one here.

There is a old function module which has not been update in quite a while but it has the handling for all settlement types but again is quite dependent on buffer. Working on it to understand how it can be used in the best possible way.



UZMA FAROOQ Mar 07 at 08:07 AM

For Settlement rule (IO to PSG) you have to maintain the following configuration:

1. OKO6 Maintain Allocation structure (Give source and settlement cost elements)

2. KEi1 Maintain PA Transfer structure (Give source and Value Fields for FI)

3. OKO7 Maintain Settlement profile assigned in order type with above stated Allocation structure and PA transfer structure.

4. Create settlement rule with PSG as receiver. Excute settlement.

5. KE5z Check actual line item in COPA.

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


Thanks for this information. I am actually looked to understand how do i create a settlement receiver to PSG in target system. Do we have any Bapi's or Idoc for this.





1. Check order type of internal order KO03

2. Check Settlement profile in order type KOAB

3.Set Settlement optional for PSG in settlement profile OKO7

4. Create settlement rule now, system will allow you to give PSG as settlement receiver in settlement rule screen of internal order.KO02