TYPES : begin of gty_coal_gate,
GATE_PASSNO type zcoal_gate,
GROSS_WEIGHT type zcoal_gate,
TARE_WEIGHT type zcoal_gate,
NET_WEIGHT type zcoal_gate,
end of gty_coal_gate.
data: gt_coal_gate type table of gty_coal_gate,
gs_coal_gate type gty_coal_gate.
In the table table zcoal_gate, i have given the data type as quantity.
Then i passed the field in smartform as &gs_coal_gate-gross_weight&...to get the gross weight dynamically...
While Executing the smart form(after giving print preview)...it showing error lyk given below.
Test for function group /1BCDWB/SF00000304
Function module /1BCDWB/SF00000304
Uppercase/Lowercase
Runtime: 12,840,224 Microseconds
Exception FORMATTING_ERROR
Message ID: SSFCOMPOSER Message number: 606
Message:
Field "GS_COAL_GATE-GROSS_WEIGHT": Invalid type "u" (internal ABAP)
Later i have tried changing the data type field as char or numc..but still got error.