cancel
Showing results for 
Search instead for 
Did you mean: 

Z Table in PCR

Former Member
0 Kudos

Hi Experts,

Is there any way we can use z table fields in a PCR.

I have a tax calculation PCR, that is working fine i gave percentages in the PCR directly, But i need to maintain that percentages in a custom table. how can i read the values from ztable. Please help me.

Thanks,

Charle.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Experts,

Please give me some to inputs to solve my issue.

Charle

sikindar_a
Active Contributor
0 Kudos

Can you please send the screen shot to me, chck my bcard

Once the issue is sorted out will update the thread

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Sujith,

Table is not reading custm tables. so finally i am using T511k for my issue.

Please let me know if you have any other inputs, I will try.

Charle

former_member193210
Active Contributor
0 Kudos

Ask an ABAP Programmer to create a custom operation based on operation TABLE, as in ZTABL, so that your custom operation would read your custom table.

Your Custom Table ZABC should also be date delimited (like T511K) and have a key that would differentiate your objets (you said that you had 2 values for the same field).

Former Member
0 Kudos

Hi Sikindar,

I sent an email to you.

Charle

Sujith_EM
Active Contributor
0 Kudos

If you got the solution then It is highly appreciated if you provide the solution here in the forum itself , it will be useful for other for future references.

Regards

Sujith

Former Member
0 Kudos

Yes I used PIT. It is giving an error

" This error message is currently only display in the old log.

Please choose 'Old Log' and go to the end to display the error message"

Please tell me where i am going wrong.

table zabc

amt=bdedpc

amt* 1234(wage type)

amt/100

addwt 9876

my doubt is i have two values 5% and 10% both fields names are same(DEDPC), so how do we write a PCR for calculatiing deferent percentages.

Charle

Former Member
0 Kudos

Hi Sikindar,

I changed the table name, and Field name is DEDPC.

I tried but i am not getting the value.

Charle.

sikindar_a
Active Contributor
0 Kudos

Can you check the Input output of the PCR in Payroll Log and have u used PIT Right ?

Former Member
0 Kudos

Hi Sikindar,

Thanks for your quick responce,

I gone through TABLE operation, this is for standard payroll tables and internal tables.

Here i my requirement is to fetch the values(5% and 10%) from a custom table.

at present my PCR is :

*

****

amt= 1234

amt*5

Amt/100

addwte9876

amt*0

amt=1234

amt*10

amt/100

addwte6789

And i have a custom table Z_xyz_abcde. please help me,

Charle

sikindar_a
Active Contributor
0 Kudos

Make your Custom table as ZABC

*

****

Table ZABC

amt= 1234

amt*5

Amt/100

addwte9876

amt*0

amt=1234

amt*10

amt/100

addwte6789

Can you test this and also can please let us know the feilds name for the Percentage which were being maintained

sikindar_a
Active Contributor
0 Kudos

we can use operation TABLE please read the documentation for the same