We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-hr] Accessing the Value of Car Puchase Price from IT 0442 through rule

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by JG-SAPHR (Senior SAP HR Consultant)
on Jul 23 at 12:59 AM
Mark this reply as helpfulMark as helpful
Hi Somashree

The operation TABLE may not handle the IT 442 or P0442. You may need a custom operation to be written similar to TABLE. It needs to get the WPBP entry for the split. Then read the table P0442.

It is not difficult to create an operation. Copy the code from the code for TABLE. Change as required. Copy the config in PE04. Provide for the tables that you need.

You may need to use AMT=Bxxxxx. B is for a table field.

Hope this helps.
Regards, JG

---------------Original Message---------------
From: Somashree Banerjee
Sent: Tuesday, July 13, 2010 2:11 AM
Subject: Accessing the Value of Car Puchase Price from IT 0442 through rule

> Hi,
>
> For South Africa Payroll there is a Infotype for Company Car (IT 0442) where in the details of the car are stored. From this infotype I need to access the value in the car price field through rule then compute Vat on this price as per a specified formula and output should be stored in another wage type. I have not able to access the price value in this infotype through rule. The table P0442 is a structure table. Please let me know how can i access the value in the price field of the infotype through rule. For reference the rule which i have written is as below...
>
> ZCAR Personnel Calculation Rule ZCAR
> *
> /470 C.Car Benefit
> ADDWT * OT Output table
> TABLEP0442 Read table fields
> AMT=PAIDP Set
> PRINT Print table entries
> AMT*0.3 Multiplication
> AMT/100 Division
> AMT*14 Multiplication
> AMT/114 Division
> ADDWT 2N40 OT Output table
>
> Thanks & Regards,

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
JG-SAPHR
SAP HR Enthusiast

Contributed 500 posts in a group to earn a Silver Achievement
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language