cancel
Showing results for 
Search instead for 
Did you mean: 

CJB1 with investment measure WBS

Former Member
0 Kudos

Hi all!

I'm clear that it makes no sense to fill settlement rules for IM projects, as AUC and the settlement rule to it is automatically generated anyway at settlement time. Allthough I would like to use CJB1 for investment projects in order to change the settlement profile. Unfortunately investment projects are excluded in CJB1. Does anyone has an idea how to use CJB1 for investments projects or how in any other way update the settlement profile of IM projects? Alternatively I woul have to update table COBRA with the settlement rule directely through a program - but of course I would prefer the standard logic with CJB1 and strategies...

I'v already implemented a business add-in in SPRO for CJB1 (interface IF_EX_WBS_SETTLEMENT_RULE), which is choosing the right strategy (and behind settlement profile) depending on the naming of WBS elements.

Thanks for your help!

Best regards

Benjamin

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member201206
Active Contributor
0 Kudos

Hi Benjamin,

I afraid, using BAdI will not help.

Some information (copied my answer made some years before)

Only the wbs element with investition profile, which has the 'manage        

Auc' (technical field INVMA ), will be excluded. In this situation          

the automatisch generation of settlement rules is not useful.               

                                                                            

In other case, that the wbs element has a investition profile, but          

the investition profile do not has the flag 'manage Auc' ticked, is not     

considered as a accompanying measure.

A possible modification.

include LKSRGF01    form process_block                                      

...                                                                         

*       general checks                                                      

        if not lt_prps-imprf is initial.              " delete

        if 1 = 2.                                           " insert                               

          call function 'IM_TAPRF_READ'                                     

               exporting                                                    

                    i_ivpro = lt_prps-imprf                                 

               importing                                                    

                    e_taprf = ls_taprf.                                     

          if not ls_taprf-invma is initial. "invest object       

            add 1 to stats-sal_0.      "couldn't be handled  

Kind regards,

Zhenbo

Former Member
0 Kudos

Hi Zhenbo

Thanks! This would be a possible solution. As my customer doesn't agree to modifications I will probably have to write a new program which updates the settlement profile...

Kind regards

Benjamin

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

No one ever had this? Do I really need to develop this?

former_member203098
Active Contributor
0 Kudos

you might be aware of this option to change settlement profile in WSB element before settlement run(auc creation). In cj20n select the wbs element and edit--cost--settlement rule---there click on goto---settlement parameters or press F8 here change the settlement profile. you can automate by writing a bdc program.

regards,