cancel
Showing results for 
Search instead for 
Did you mean: 

Payslip with HRFORMS country problem

Former Member
0 Kudos

Hi Gurus,

We are developing a Payslip with HRFORMS for Morocco MA, when we are trying to activate a copied HRFORM, using HRFORMS transaction. we get the following error:

Generated print program contains a syntax error

Message no. HRFORMS011

Diagnosis

Generated print program /1PYXXFO/ZHR_PAYSLIP_MA1_PRNT contains a syntax error in line 40 of include /1PYXXFO/ZHR_PAYSLIP_MA1_LCL.

The error is due to the unavailability of a few structures specific to my country (Morocco).

Here is a part from the note 860495 especially concerning this issu . I am copying that note below:

*======Extracted from Note 860495========*

If you use HRforms for a country, for which no SAP forms have been delivered, you must create DDIC structure HRF_PAY**_PE_PA_RESULT. ** is the ISO code for your country (e.g.GB for UK). The structure components are:

- EVP type PC261

- INTER type PAY99_INTERNATIONAL

- NAT type PAY**_NATIONAL

- INTER_PERSON type PAY99_PERSON

- NAT_PERSON type PAY*_PERSON (only insert it if PAY*_PERSON

exists, leave it out otherwise).

The structure should be created in package PAOC_PAY_HRFORMS_METADATA_**

*======Extracted from Note 860495 - Till here ========*

Since SAP has not delivered the DDIC structures for Morocco in standard, should I create them or there is some special steps to execute?

Many thanks for your help.

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

david_liu1
Advisor
Advisor
0 Kudos

Hello,

Unfortunately, at this time you cannot copy SAP_PAYSLIP (molga 99) to

your Z-payslip.

This is because for release ECC / EA-HR 600, HRFORMS is not delivered

for Mexico and so, the related structure doesn't exist.

HRForms for Morocco and Mexico are supported as of release EA-HR 604, not below.

As a one way of solving the issue can I suggest solution described in SAP note 860495 especially the third point in 'Warnings' section.

Since SAP has not delivered the structures for country PL in standard you would need to create them.

Here is part from the note below:

<<<Extracted from Note 860495>>>>>

If you use Hrforms for a country, for which no SAP forms have

been delivered, you must create DDIC structure

HRF_PAY**_PE_PA_RESULT. ** is the iso code for your country (e.g.

GB for UK). The structure components are:

- EVP type PC261

Page 2

- INTER type PAY99_INTERNATIONAL

- NAT type PAY**_NATIONAL

- INTER_PERSON type PAY99_PERSON

- NAT_PERSON type PAY*_PERSON (only insert it if PAY*_PERSON

exists, leave it out otherwise).

The structure should be created in package

PAOC_PAY_HRFORMS_METADATA_**.

<<<Extracted from Note 860495 - Till here >>>>>

Please proceed as the instructions above. This should resolve your issue.

Regards,

David

Former Member
0 Kudos

Hi David,

thanx Alot!!!, I really apreciate the information!!

Kind Regards,

Gerardo J

Former Member
0 Kudos

Hello ,

The problem is solved by creating thoes structures in addition to the following object :

CL_HR_PAY_RESULT_**

Gerardo , I think you should also Create this Class...

Best Regards,

Hichax

Former Member
0 Kudos

Hi Hichax,

have you found a solution? I see that there is no HRFORM for Mexico either.

kind Regards,

Gerardo J