TABLE 508A
Read table T508A (use se16n to look at the table if you require)
NUM=BTGSTDZ
If I remember correctly, NUM= will set the number field, B is according to Table Values, and TGSTD should be the table field. The Z seems out of place since the operation only has 10 characters. Use t-code pe04 to learn more on operation NUM, concentrating on the 6 operands for table fields.
DIVIDE ANR
Divide the Amount by the Number, and write the result into the Rate field.
ZERO = A
Zero out the Amount field
ZERO = N
Zero out the Number field
ADDWT *
Write the WT into the Output Table (also called Input Table, or IT).
Add a comment