Skip to Content
author's profile photo Former Member
Former Member

substitute the setttlement profile


does anybody know if it´s possible to subsitute the settlement profile (COBRA-APROF) and allocation structure in a network activity.

Are there BADI / Exits / Enhancements for this?

many thanks for replies.


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Sep 27, 2013 at 08:44 PM

    Hi Jurgen.

    There are 2 ways to do what you need.

    1. In dialog when you enter to the SETTLEMENT RULE SCREEN,

    Tell your abap try an enhazament point in LKOBSF2J. Table gt_cobrb_buf have the info.

    2. In the Save of a PS stuff, you can change with badi ROJECTDEF_UPDATE

    Try the following code

    lv_text1 = '(SAPLKOBS)GT_COBRB_BUF[]'.

    ASSIGN (lv_text1) TO <fs_gt_cobrb_buf>.

    With this assign, field symbol <FS_GT_COBRB_BUF> have the data of the settlement rule and you can change it.

    Wish this help you.


    PS1.jpg (83.6 kB)
    Ps 02.jpg (70.8 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jurgen.

      Im 80% sure there is no way to change it. The same problem i face in CO Orders and PM order. In this cases, the user exit "at save" work well i mean always update the Settlement rule with the dirty assign, and the code is 100% the same (I work as PP/CO consultant, and join this group to learn PS).

      In PS, the behavior is a bit different, some time ago i spend some time analizing the code but i found its only possible to update the settlement rule if the cobrb table is involved in the update task and this happen in background at the 1st creation of the settlement rule or when you enter the settlement rule screen in dialog. Maybe Im wrong, If you you find a way to doit, please post it help lot of people.

      The other way, try the GBB1 substitution with your CO partner.

      Im afraid i couldnt help you more =(