Skip to Content
avatar image
Former Member

How to do the Calculations in PR05 Tcode in deductions tab.

Hi Experts,

Please explain, what is the  table name of Breakfast, Lunch and Dinner Amount values are stored, there is any Report, Userexit or Badi for Calculation for the Deductions.

My Requirements is

SELECTION ONLY ONE OPTION

A = (( T706V-BETFA ) – ( T706V-BETKU))

IF    T706_CONST-KONST = ‘ZGMRT’

Select single * from T706_CONST

                                  Where KONST = ‘ZGMRT’.

IF sy-subrc NE 0

B = T705_CONST-KWERT.

  1. ENDIF.

Then pick the value of  KWERT.

Say this KWERT value is = B.

(A+B)/2 = D (round up the value).

Incidental = (( T706V-BETFA ) – ( T706V-BETKU)) = C.

PMR + INCIDENTAL = D + C.

ALL SELECTED

T706V-BETKU.

NO SELECTION

T706V-BETFA.

For every trip calculation for First day and Last day

75%  of T706V-BETFA

Thanks in Advance

Raj

pastedImage_0.png (18.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 12, 2012 at 10:41 AM

    Hi Raj,

    deductions are stored in itab PTK04 respectively and partially itabs "abzug" and "abzugs" in runtime of SAPMP56T. The most common way to manipulate data of a trip in anyway is the SMOD-Enhancement FITR003 respectively FM EXIT_SAPMP56T_002. Here you get all data that is about to be written into the cluster TE and you are able to manipulate (also PTK04).

    See if this helps.

    Cheers, Lukas

    Add comment
    10|10000 characters needed characters exceeded