cancel
Showing results for 
Search instead for 
Did you mean: 

PE51 condition on the text of the wage type

Former Member
0 Kudos

HI All,

I have to implement a rule in PE51 payslip ie when there are certian wagetypes in the RT table then the 1000 wt -Basic Salary should be displayed as Notional Salary

To Make it more clear;

If WT 4800 exits in RT table then 1000 wt should be displayed as 'Notional Salary' else (ie RT table do have WT 4800 ) wt 1000 should be dispalyed as Basic Salary

Can you please help me to solve the above requirement

Thanks,

Sheela

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

try to use customisation in V_t512E for what wage type should be used

and customise accordinglyu

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Siddarth,

Thanks for your reply ,

Do you have any documentation on this table, i am not familiar on this table , with F1 option i am not not able to understand completely,

Any guidance on this is appreciated

Thanks,

Sheela

Edited by: sheela.Akkula on Jul 19, 2010 4:57 PM

Former Member
0 Kudos

Try this......Goto PE51 and select Text Module....here enter 2 texts

01 'Notional Salary'

02 Basic Salary

now create Rule

Rule No Table Field T CO Value 1 Table New Value

01 1 RT LGART C EQ 4800 TEXT 01

2 RT LGART C NE 4800 TEXT 02

use this rule besides 1000 WT in window....rule.

Mohan

Former Member
0 Kudos

HI Mohan ,

Thanks for your reply ,

I have tried with your solution but it is not working it is always printing the 1000 Wt text . it is not checking my rule or my rule is always failing i am not able to understand

Can any one please guide me

your help is appreciated

Thanks,

Sheela

waqas_rashid
Contributor
0 Kudos

Hi Sheela,

I had similar problem which I solved later on. Please check following link:

Best Regards,

Waqas Rashid

Former Member
0 Kudos

Hi Waqas,

Thanks for you reply , Yes i have seen this link before, before posting this question into the forum i have seacrhed the forum , i have seen your post , but my requirement is bit different ,if particular WT exits in RT table the Wt text for 1000 Basic salary should be changed ,

can you please elobrate the process which you have done, where have you assiged the rule

Thanks,

Sheela

waqas_rashid
Contributor
0 Kudos

You can achieve this by following below mentioned steps:

1) Create a new cumulation ID and enter "National Salary" in long text. Then add your basic salary wage type into this cumulation ID.

2) In rule you can define that if wage type 4800 exist in RT then pick cumulation ID created above. You will have to use ZRT table for this. And if it doesn't exist then simply show wage type 1000.

3) Assign this rule to wage type 1000 in window.

Link to thread mentioned in my previous post will be helpful in the creation of rule.

This will definitely solve your problem.

Best Regards,

Waqas Rashid

Former Member
0 Kudos

Hi Waqas,

Thankyou so much for that help,

will try your suggestions and get back to you..

Thanks,

Sheela

Edited by: sheela.Akkula on Jul 26, 2010 4:13 PM

Former Member
0 Kudos

Hi Waqas,

Sorry to be pain,

I have done the step 1 and 3 which you have said but coming to Step 2 writing a rule, when i place the ZRT table what should the new value be it giving me only three option LGART- wage type ,BETRG-Amount, ANZHL -number , i have given LGART but how does the rule know that my cummulation id 9990 ,

THe following is the rule that i have wrriten

Rule No Table Field T C Value1 Table NewValue

01 1 RT LGART C EQ 4800 ZRT LGART

01 2 RT LGART C NE 4800

I have tried with this rule , but still it is displaying only 1000WT text

Can you please help me out

Thanks,

Sheela

Former Member
0 Kudos

Hi ,

Can anyone please help me ..

Thanks,

Sheela

Former Member
0 Kudos

Hi Sheela,

Please try writing 4800 as '4800 as it is a character field.

Regards,

Dilek

Former Member
0 Kudos

HI Dilek,

I have tried doing like that also ,but it did not work

any suggestions please for the above issue

Thanks,

Sheela

Former Member
0 Kudos

Hi ,

Can anyone please help me with this

Thanks,

Shalini

Former Member
0 Kudos

Can anyone pleasee help me out the above requirement

Thanks,

Sheela