cancel
Showing results for 
Search instead for 
Did you mean: 

While posting a trip in PRFI t-code i am getting an error saying "KOKEY from ROT not found in KONTI table 256".

Former Member
0 Kudos

Hi All,

I am getting the below error on trying to post in PRFI.

I have setup a the BADI AFTER_TRIP_SETTLEMENT to write an expense type into ROT.

The reason for the error was that there is a loop statement written as below in the includeRPRMR110_40.

LOOP AT konti WHERE kokey EQ c1znrp.
       EXIT.
ENDLOOP.

The values of the field Kokey and C1ZNRP are not matching.

field kokey is coming from PTK17 structure and C1ZNRP is coming from PTK30.

I have reffered to

but cannot understand the reason behind the error.

My ROT table contains the below values:

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

ROT Table values

Ex. Type     C1ZNR

9EX3          0001

9AD2          0100

KOKEY in KONTI is 01. I dont understand why is it trying to compare this entry.

Former Member
0 Kudos

Resolved with ABAP help

Answers (0)