05-12-2006 4:17 AM
HI
HOPE EVERYBODY IS DOING FINE IN THERE RESPECTIVE AREAS
HERE IS TODAY'S QUESTION FROM ME
Rule_table
mat type field 1 Special charcter field 2
ply matnr ** width
sidewall angle # width
in our program we have an internal table
begin of int
Mattype
matnr
angle
width
end of internal table
int-matype = 'ply'.
int-matnr = 'c_100'
int-width = 20.
append int.
int-mattype = 'sidewall'.
int-angle = '90'.
int-width = 20.
append int
using the rule table we have to frame the name of the material description.
The rule for framing the material description for ply as for rule table is concatenate the
Value of matnr ** value of width. = c_100 ** 20
The material description for sidewall = 90 # 20.
THANKS
MRUTYUN
05-12-2006 5:00 AM
05-12-2006 5:03 AM
types: ty_rule,
mattype type ???,
field1 type fieldname,
special(2),
field2 type fieldname,
end of ty_rule.
data tr type sorted table of ty_rule with header line with unique key mattype.
field-symbols: <f1>,<f2>.
read table tr with key mattype = int-mattype.
assign component tr-field1 of int to <f1>.
assign component tr-field2 of int to <f2>.
CONCATENATE <F1> TR-SPECIAL <F2> INTO THE_DESC.