Skip to Content
0
Former Member
Mar 19, 2009 at 06:16 AM

Regarding dump in print program for form 16 tranction code PC00_M40_F16

57 Views

Hi gurus,

While executing the tcode PC00_M40_F16 I am getting short dump. details are given

below. here K1 is Payroll area. its data type is char2 and program is standard program

so why its generating dump, please gide, thanks

Runtime Errors CONVT_NO_NUMBER.

Unable to interpret "K1 " as a number.

22|*& Form READ_INFOTYPES |

23

&----


24

  • Read the Employee Data from the Infotypes

25

----


26

FORM READ_INFOTYPES.

27

28

RP-PROVIDE-FROM-LAST P0001 SPACE PBEGDA PENDDA.

29

30

RP-PROVIDE-FROM-LAST P0002 SPACE PBEGDA PENDDA.

31

IF PNP-SW-FOUND EQ 0.

32

MESSAGE S089(HRPADIN01) WITH '0002' PERNR-PERNR PBEGDA PENDDA.

33

  • There is no infotype & for personnel no & from period & to &

34

PERFORM BUILD_ERROR TABLES HR_ERROR

35

USING SPACE SY-MSGID SY-MSGNO

36

SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

37

REJECT.

38

ENDIF.

39

40

RP-PROVIDE-FROM-LAST P0021 '11' PBEGDA PENDDA.

41

42

RP-PROVIDE-FROM-LAST P0185 '02' PBEGDA PENDDA.

43

44

SELECT SINGLE KWERT FROM T511K INTO KWERT

45

WHERE MOLGA = CALCMOLGA

46

AND KONST = 'ADDSS'

47

AND BEGDA <= PBEGDA

48

AND ENDDA >= PBEGDA.

49

>>>>>

RP-PROVIDE-FROM-LAST P0006 KWERT PBEGDA PENDDA.

51

52

  • 'AND PNPESSCF = SPACE' has been added below for ESS changes

53

IF PNP-SW-FOUND EQ 0 AND PNPESSCF = SPACE.

54

MESSAGE S089(HRPADIN01) WITH '0185' PERNR-PERNR PBEGDA PENDDA.

55

  • There is no infotype & for personnel no & from period & to &

56

PERFORM BUILD_ERROR TABLES HR_ERROR

57

USING SPACE SY-MSGID SY-MSGNO

58

SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

59

ENDIF.

60

61

ENDFORM. " READ_INFOTYPES

62

63

&----


64

*& Form FILL_MAIN_TAB

65

&----


66

FORM FILL_MAIN_TAB.

67

  • Loop at RT and fill MAIN_TAB with required wage types

68

CLEAR MAIN_TAB.

69

CLEAR EMPLOYER_TAX.

-