cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Lukas_Weigelt
Active Contributor
0 Kudos

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