Only Header activity type is posting to G/L accounts
We have developed multi schema functionality in our system. This is to accomodate different activty typse (business travel, Training and education travel .etc..) maintained for multiple destinations. The posting for all expense types (Hotel, accomodation, Meals and Transport etc..) shoud be based on activity type for each destination to respective GL account. SAP has the limitation of only parent /main activity type is mapped to respective G/L account.
And our requirment is to map each activity type maintained in line item of additional destination post to GL account. We have tried to implement this requirement through TRIP_POST_FI BADI. In that we are getting all travel details except the travel activity and travel expense amount.
While posting travel expenses to G/L accounts for a trip amount the BADI TRIP_POST_FI is not allowing us to add any additional entries to the existing entry of G/L account which results in restricting line level activity type to be posted to separate G/L accounts. which means we can't add any additional line items to the existing G/L information.
So can you please advise how to bring the activity types and expense amount in the above mentioned BADI. So that we can split the amount against each acitity type maintained in multiple schema.
Thanks and Regards,