Skip to Content
0
Jun 24, 2009 at 06:45 AM

Travel Management form producing Duplicate line items

35 Views

Hi,

Travel Expenses PDF creation time system calculations are wrong.

While raising travel expense claims, for each trip segment multiple line items are generating.

For example:

Suppose a user has raised a trip consisting of 10 trip segments. For the 7th trip segment same entry is repeated in the Detailed Travel Flat Rate table.

We have debugged the standard program and found out that the entries are appearing correctly till one point of the time in the table P_PAUFA.

This table is looped and corresponding Travel Costs: Customer Amount (BETKU) are calculated, finally it is sorted by BETKU.

When this sorted table goes for further calculation of Reimbursement amounts (which checks for

value u2018Mu2019 in the field Reimbursement Group for Travel Costs/Additional Flat Rate (KZNZA) which indicates that it is a passenger line item).

Different set of calculation is carried out and hence the error of u2018Duplication of line itemsu2019.

Please give advice how these duplication of line items can overcome.

Thanks in Advance.

Regards,

Praisty

Edited by: Praisty on Jun 24, 2009 12:15 PM