Skip to Content
0
Former Member
Jul 12, 2006 at 04:48 AM

Field Symbol

33 Views

Hi, i'm facing some problems with my coding..... I'm trying to use field-symbols to replace the process below.... but i still didnt get the way.... Please help... thanks....

what i plan to do is.... for every lgart for ex 1000

then CONCETENATE 'tab_rt-z' rt-lgart INTO STR then ASSIGN STR to <fs>.....after that how to passing the rt-betrg value into tab_rt-z1000.....and using the <fs> passing back the betrg into tab_rt-z1000.

LOOP AT rt.

CASE rt-lgart.

WHEN '1000'.

ADD rt-betrg TO tab_rt-z1000.

*****************************************

  • A D D I T I O N *

*****************************************

  • Legal (THR/AWS) Bonus

WHEN '2001'.

ADD rt-betrg TO tab_rt-z2001.

ADD rt-betrg TO tab_rt-total_add.

  • Operational Incentives

WHEN '2020'.

ADD rt-betrg TO tab_rt-z2020.

ADD rt-betrg TO tab_rt-total_add.

  • Balanced Scorecard Bonus

WHEN '2023'.

ADD rt-betrg TO tab_rt-z2023.

ADD rt-betrg TO tab_rt-total_add.

  • Productivity Incentives

WHEN '2037'.

ADD rt-betrg TO tab_rt-z2037.

ADD rt-betrg TO tab_rt-total_add.

ENDCASE.

ENDLOOP.

Thanks