Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

Read IT0008 value in PCR

$
0
0


I have a requirement to read value from IT0008 inside a PCR.

There can be multiple values in Infotype IT0008

e.g

1st Jan to 30th June       10000 amount

1st Jul  to  31.12.9999    20000 amount

 

 

Browsing through forums I wrote a PCR which reads value from table IT0008 and stores amount to wagetype ABCD

 

*

****

/108

  TableP0008

  AMT = BETRG

  ADDWTIABCD

  ADDWT*

 

 

 

 

But by doing so this AMT = BETRG it returns NIL value in OT table.

 

Questions

1) How to assign amount from IT008 table

2) How to pick the latest amount (20000 from the e.g) to the AMT

 

 

 

 

THanks in advance GURUS


Viewing all articles
Browse latest Browse all 7926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>