Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RUN TIME ERROR :- RAISE_EXCEPTION

Former Member
0 Kudos
247

Hi!

When I am going to post the Cash entries in FBCJ its come following error.

RUN TIME ERROR :- RAISE_EXCEPTION

Error analysis

A RAISE statement in the program "SAPLKALC" raised the exception

condition "WRONG_INPUT".

Since the exception was not intercepted by a superior program

in the hierarchy, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

Trigger Location of Runtime Error

Program SAPLKALC

Include LKALCU03

Row 36

Module type (FUNCTION)

Module Name K_COST_LEDR_BEKNZ_CONVERT

Source Code Extract

Line SourceCde

6 *" I_VRGNG LIKE COEP-VRGNG

7 *" EXPORTING

8 *" E_DRCRK LIKE COFIT-DRCRK

9 *" EXCEPTIONS

10 *" WRONG_INPUT

11 *"----

-


12

13 *"This function should be changed after a redesign of TJ01 in feb.1995

14

15 CASE I_BEKNZ.

16 WHEN 'S'.

17 E_DRCRK = 'S'.

18 WHEN 'H'.

19 IF GC_NO_PARTNER_VRGNG CS I_VRGNG.

20 * Änderung: BEKNZ wird nur noch bei COIN-Buchungen umgeschlüsselt,

21 * nicht mehr bei Umbuchungen

22 *! OR I_VRGNG EQ GD_C_VRGNG_RKU1

23 *! OR I_VRGNG EQ GD_C_VRGNG_RKU2

24 *! OR I_VRGNG EQ GD_C_VRGNG_RKU3

25 *! OR I_VRGNG EQ GD_C_VRGNG_RKIB.

26 E_DRCRK = 'S'.

27 ELSE.

28 E_DRCRK = 'H'.

29 ENDIF.

30 WHEN 'A'.

31 E_DRCRK = 'H'.

32 WHEN 'L'.

33 E_DRCRK = 'H'.

34 WHEN OTHERS.

35 E_DRCRK = ' '.

>> RAISE WRONG_INPUT.

37 ENDCASE.

38

39

40

41

42 ENDFUNCTION.

Can anybody tell me its ABAP error or something missing in configuration.

Thanks & Regards,

Rakesh Shah

2 REPLIES 2

GauthamV
Active Contributor
0 Kudos
71

hi,

you have given some wrong values while posting the Cash entries in FBCJ

check the values and retry.

Former Member
0 Kudos
71

system related problem