Skip to Content

Posting to GL Account based on Schemas

Hi All,

Please guide how can I make it possible to assign GL Account based on Trip schema which means that the GL Account number changes based on the Trip Schema. For example - I have two trip schema i.e. Training & Business Trip. Client wants that if an employee goes on Travel for a Training purpose it should post to one GL account and if an Employee goes on Travel for Business purpose the posting should be to different GL Account.

Please advise how can I make it possible.

Regards 😊

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 17, 2012 at 06:58 AM

    Hi Andy,

    BADI TRIP_POST_FI should help, especially method IF_EX_TRIP_POST_FI~EXB706K. We did it with a query on Schema within "t_head" parameter of trip and manipulated itab "users" which is used to read the G/L accounts lateron accordingly.

    Cheers, Lukas

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Lukas,

      Yes it was really helpful. Your explanation was explanatory but I am still facing problem. May be because I am not doing something correct. Actually system is taking by default two wage type MJ90, MJ95 but I have not assigned to Travel Expense type for Per Diem/Flat rate.

      System is by default making the accounting entry Training Dr and

                                                                                Training Cr

      instead of Training Per Diem Dr and

                     Travel Advance  Cr

      I am attaching the screenshot of wage type if it clears something.

      Regards 😊

      Untitled.jpg (101.6 kB)