cancel
Showing results for 
Search instead for 
Did you mean: 

PCR Not calculating for Multiple entries of wage type in IT15

Former Member
0 Kudos

Dear Friends,

I have a PCR to calculate Holiday amount from Infotype 15.

We ENTER Holiday in Days in infotype 15

The PCR looks like this.

1HOL

AMT+ 1BAS Addition

AMT+ 1VDA Addition

AMT+ 1SDA Addition

AMT+ 1PDA Addition

AMT+ 1SPL Addition

AMT+ 1FDA Addition

RTE=26 Set

AMT*KGENAU Multiplication

AMT/26 Division

AMT/KGENAU Division

MULTI NAA Multipl.amt/no/rate

ADDWT 1HOL OT Output table

This PCR is being called in SCHEMA ZNAP

000070 P0015 IN11 GEN NOAB Import additional payments

000080 PIT ZCL1 <space><space><space><space> ZCalcfor Holiday amt

This is taking first entry from Infotype 15 and calculating the amount.

But subsequent entries -- amount is not calculated.

Would appreciate your help !!

Thanks,

Sri

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Friends,

Solved this.. Moved this wage type 1hol from Infotype 15 to 14 and It worked.

Thanks for all, specially Veeresh,Bisu and Manoj.

Sri

former_member214675
Active Participant
0 Kudos

Hi,

Then u can use try payroll functions,it will solve u r problem.

Regards,

Prince Elvis

Former Member
0 Kudos

Hi friends,

Is this not possible by modifying the above PCR ?

Thanks,

Sri

Former Member
0 Kudos

Let me know what is the amount you are giving in IT15 as well all the wage types and processing before and after IT.

I guess I found why it is not correct......

Let see.

Manoj Shakya

Former Member
0 Kudos

Hi Manoj.

In Infotype 15 :

1HOL Holiday Number 1.00 Day - for 1.4.2008

1HOL Holiday Number 1.00 Day - for 2.4.2008

Out put in Input Table from Payroll Log

2 1HOL Holiday Amo01 26.00 1.00 325.36

2 1HOL Holiday Amo01 01 26.00 1.00 --> This next entry of 2.4.2008 is not calculating

Thanks,

Sri

Former Member
0 Kudos

Hi,

Try this way.First three lines are added to ur PCR.

Query the Wagetype by WGTYP?

*

****

WGTYP?

1HOL

AMT+ 1BAS Addition

AMT+ 1VDA Addition

AMT+ 1SDA Addition

AMT+ 1PDA Addition

AMT+ 1SPL Addition

AMT+ 1FDA Addition

RTE=26 Set

AMT*KGENAU Multiplication

AMT/26 Division

AMT/KGENAU Division

MULTI NAA Multipl.amt/no/rate

ADDWT 1HOL OT Output table

~BiSu

Former Member
0 Kudos

Here we go.... Bisu already told that.....

Former Member
0 Kudos

Hello Bisu,

How are you??

Last time I heard you were in Kolkatta or somewhere,, where are you now.

Anyways happy to see you again... Whole group changed, people changed....

Manoj Shakya

Former Member
0 Kudos

Hi Genius,

Currently I'm in Australia.

Yep I was out of SDN for last 1 and half year.But nice to see that U still remember me.It was like agroup that time. U, Me, Suresh(The Big boss), Sarika etc.

I'll mail U into ur mail ID..(Will Chk in ur business card).

Now lots a new well doing guys..Good to see this.

~BiSu

Former Member
0 Kudos

Hi,

Thanks for the input.

But this is the same am alrady having in my PCR.

it looks like this,.

ZCL1

*

1HOL Holiday Amount

AMT+ 1BAS Addition

AMT+ 1VDA Addition

AMT+ 1SDA Addition

AMT+ 1PDA Addition

AMT+ 1SPL Addition

AMT+ 1FDA Addition

RTE=26 Set

AMT*KGENAU Multiplication

AMT/26 Division

AMT/KGENAU Division

MULTI NAA Multipl.amt/no/rate

ADDWT 1HOL OT Output table

..and we can't put WGTYP? in the first line as this "No more operations allowed after decision Operation or CGY"

... so .. not sure....checked the processing class and cumulation class.. but of no use.

Thanks

Sri

Former Member
0 Kudos

Some times its become impossible to insert WGTYP? directly..

What I do is delete all the lines and then write with WGTYP? from the start and do the coding..

May be others can put some more lights on this.

~BiSu

Former Member
0 Kudos

Lets me put in structure, I guess why you are getting GCY error because you already set one before.

Anyways remove it and make strcuture like the way shown.

*

|

| ****

|-wagetype

| |----


ADD......

| |----


ADD......

| |----


ADD......

|

|

Manoj Sahkya

Former Member
0 Kudos

Hi Bisu,

I tried this, but its still the same.

any other input friends ?

Thanks,

Sri

Former Member
0 Kudos

Hi,

Have U tried deleting every line and write everything from fresh having the new logic?

~BiSu

Former Member
0 Kudos

Hi Bisu,

Yes, I removed all lines and re-written as you said. But its not taking subsequent entry from Infotype 15.

Its taking only first entry.

Thanks,

Sri

Former Member
0 Kudos

hi,

Send me the screen shot of the PCR U have written to my gmail ID bisuda

~BiSu

Former Member
0 Kudos

Hi,

Seen the screen shots..

Try adding the NOAB and GEN in for this PCR in the schema also...

~BiSu

former_member214675
Active Participant
0 Kudos

Hi,

Insteading of making single entry in the infotype 15 ,club the no of holiday for the whole month

maintain one record for a single month this will solve u r problem.

Regards,

Prince Elvis

Former Member
0 Kudos

Hi,

Yes, thats right, but the Client wants it as multiple entries.

Thanks,

Sri

former_member17522
Active Contributor
0 Kudos

Hi Sri,

Thr problem is in function P0015 IN11 or in the rule after P0015 called ZCL1?. Could you send the table IT from the payroll log before and after these rules?.

Best Regards,

Carlos.

Former Member
0 Kudos

Hi Carlos,

Thanks for your Answer.

IT- before processing

2 1HOL Holiday Amo01 1.00

2 1HOL Holiday Amo01 01 1.00

IT - after Proccessing

2 1HOL Holiday Amo01 26.00 1.00 325.36

2 1HOL Holiday Amo01 01 26.00 1.00

Thanks,

Sri

Former Member
0 Kudos

Hi Friends,

Would realluy appreciate your input to solve this.

I think the PCR is not reading the Next Entry from Infotype 15. But what could be the reason ?

Thanks,

Sri