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