cancel
Showing results for 
Search instead for 
Did you mean: 

TM - Split expense type value by percentage

razvan_sodoleanu
Explorer
0 Kudos

Hi,
I have a requirement to split the value of a custom expense type by 50% to two different wage types. I've tried entering the percentage in the table T706B2, by the view V_T706B2, but in there I can't see the percentage tick. If I look directly into the table, I can see the percentage field, which is not filled.

Is there any way to split the amount of that expense type by percentage?

Thank you,

Razvan

Accepted Solutions (0)

Answers (1)

Answers (1)

Lukas_Weigelt
Active Contributor
0 Kudos

Hi Razvan,

I don't know how this works functionally, i.e. there might be a certain field control setting that only allows for selection of percentages in particular use cases (certain MOREI, certain other parameters); might even be that it's not yet shipped and SAP just set up the technical DDIC structure for future updates. Monika might know more, since she's more much adept with functional/customizing stuff than me.


Assuming though, that there is a reason that you can't see a percentage-field in the view, I would strongly recommend against updating the table directly, because that might screw up dependent business logic that subsequently implies logic which might have prevented you from maintaining that percentage field in the first place. If you can't find a way to achieve your requirement via Customizing you can achieve it via BAD TRIP_POST_FI which allows, amongst other things, for manipulation of the assignment of expenses to symbolic accounts (which are ultimately mapped to wage types).


Cheers, Lukas

razvan_sodoleanu
Explorer
0 Kudos

Hi Lukas,

Thanks a lot for your answer. Will the BADI allow me to do the changes based on trip provision variant or will it apply it the complete system?

Thanks,

Razvan

Lukas_Weigelt
Active Contributor
0 Kudos

Hi Razvan,

you got pretty much all the information from the trip header covered in most of the BADI's Methods, so yes, you can specify certain use cases, e.g. only a certain trip provision variant. You even got the REINR in most changing parameters, i.e. even if there's information the method does not locally provide, you could always reselect all dependent information from the database (since you have the REINR as key) and then pretty much do whatever you want.

Cheers, Lukas