cancel
Showing results for 
Search instead for 
Did you mean: 

Call another pcr inside pcr

Former Member
0 Kudos

Dear Expert,

It seems that my pcr is too long, so sap give me error. so i branched out with GCY. the problem is the Rule that i want to call need entry in table TIP, so how do i call another rule with GCY and still load the TIP table?

Best REgards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Thank you, yes i understand that, but when calling another rule i need the table TIP (like RTIP | ZxxY|GEN). It seems that using GCY is like using ACTIO instead of RTIP. Hope i made my self clear.

Regards

Edited by: Hendri Salim on Aug 10, 2011 1:22 PM

Edited by: Hendri Salim on Aug 10, 2011 1:25 PM

Former Member
0 Kudos

Salim:

Your writing this pcr of py purpose or time purpose

Regards,

TATA

Former Member
0 Kudos

Have you tried PCY instead?

former_member193210
Active Contributor
0 Kudos

When you use operation GCY in a PCR, you should still have access to the same information you had before (whether you are in a Time Evaluation PCR or Payroll Calculation PCR. The "problem" may be that you need to access the new PCR in the same ESG from which you leave, but you can identify that.

If you use operation GCY XXXX, processing will proceed into the same ESG (or Paytp) as the previous PCR,

but if you use operation GCY XXXXY, processing will proceed into ESG Y of PCR XXXX.

Answers (2)

Answers (2)

former_member207885
Contributor
0 Kudos

GCY would work it uses the same TIP entry.

there is another way.Create another ESG for PCR in the rule by placing cursor on the first * and create smae level anme it as1.

And when you want to call this ESG pcr in the main rule under * use PAYTP 1 instead of GCY.

Basically it is the same rule but you are branching out.In that way it uses the same TIP entry.

if you want more branches you can extend them by creating 2,3,...ot A,B C, etc

Former Member
0 Kudos

Salim:

First create two different PCR's seperately and then you intend to call another pcr in one so Use Operatione

GCY and space then rule name.e.g. GCY ZXXY.

All the best.

Regards,

TATA