Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

want the logic of following output

Former Member
0 Kudos

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

2 REPLIES 2

hymavathi_oruganti
Active Contributor
0 Kudos

y cant u d it using concatenate statemnt in a loop.

former_member186741
Active Contributor
0 Kudos

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.