cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding dump in print program for form 16 tranction code PC00_M40_F16

Former Member
0 Kudos

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.

-


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Mani,

Check if u have implemented BAdI for the address 'HR_IN_ER_ADDRESS'.

if yes then check the SAP service market place, as SAP has released one new for the same. But its applicable only if BAdI is implemented.

Let me know if u r still any issue.

Regards,

Praveen

Former Member
0 Kudos

thanks praveen ,

now we have found the solution, the main reasion was wrong maintanance of address data.

Regards

mani

Vivek_V
Active Contributor
0 Kudos

Hi,

Check IT 0006 (subtype as defined in constant ADDSS in table T511K) for the employee. It contains K1 in some field which is a numeric.

VK

Former Member
0 Kudos

thanks VK now problem has solved.

Regards

mani