cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax error in program "HINCALC0" In include "PCASFIN0

0 Kudos

Hi Experts,

Recently we have migrated our SAP ERP system from EHP 6.0 to EHP 8.0

So, while running the T-Code PC00_M40_CALC(PayRoll India) system is throwing dump like: Syntax error in program "HINCALC0" In include "PCASFIN0"

The FORM "FUZ3NPS" does not exist, but there is a FORM with the similar name "FUGENPS". "FUGENPS".

I have tried to regenerate the include "PCASFIN0" through RPUCT700 program but there also I am facing some authorization issues like: You want to start a program which changes data without having logged on with the correct password. You have been denied authorization to do this.

Even though I have been tried with DDIC user also to regenerate the include "PCASFIN0" through RPUCT700 program but getting same issue.


Kindly suggest !


Regards,

Ashok Baral

mmcisme1
Active Contributor
0 Kudos

Did you change the SAP code? Make sure there isn't a note.

When you regenerate make sure you are on your development system and have a developers key.

0 Kudos

I think there is no issue with the SAP code cause moreover I did analyze the Issue is only related with the custom function which is Z3NPS.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Bala,

I have checked through TCode PE04 there "Z3NPS" is already exists and which is assigned to also country grouping 40(India).

Kindly assist furtherzenps.jpg!

Regards

Ashok

BalaAP
Active Contributor
0 Kudos

Hi,

Pls check the below blog and suggestion in comments section and find whether you are correctly included in the include & calling programs:

https://blogs.sap.com/2014/01/15/step-by-step-guide-to-create-payroll-custom-function/

Pls also check, whether this is happening only in PRD, but work correctly in DEV & QAS (may be a transport issue).

regards,

Bala


0 Kudos

Hi Ashok,

Please check if the function Z3NPS has valid lines of code in PE04. If a function is created but doesn't have anything in its coding, then this error is thrown.

Best Regards,

Aman

BalaAP
Active Contributor
0 Kudos

Hi,

Your dump shows a function "FUZ3NPS" is missing. Probably, you might have created a custom function named "Z3NPS" using PE04 which is being called in your payroll schema.

Please check that function Z3NPS using tcode PE04 whether it is existing or not? Also check, it is compiled or not. And also check whether it is having proper country grouping "40" for india payroll.

regards,

Bala