Skip to Content
0
Former Member
Oct 04, 2012 at 07:31 AM

FIELD dISPLAY IN SMARTFORM

65 Views

Hi,

I tried to display a status description on a smart form but it is showing &STATUS_D& in the output not the value.

This is in the initialization part.

SELECT qmart FROM qmel INTO TABLE li_qmel.

SELECT inact stat FROM jest INTO TABLE li_jest WHERE inact EQ ''.

IF li_qmel IS NOT INITIAL.
SELECT qmart stsma
INTO corresponding fields of TABLE li_tq80
FROM tq80
for all entries in li_qmel
WHERE qmart = li_qmel-qmart.

SELECT stsma txt30 estat
INTO CORRESPONDING FIELDS OF TABLE li_tj30t
FROM tj30t
FOR ALL ENTRIES IN li_tq80
WHERE stsma = li_tq80-stsma.

ENDIF

In the program line part.

LOOP

AT li_tj30t INTO wa_tj30t.
status_d = wa_tj30t-txt30.
ENDLOOP

declaring LI_TJ30T, WA_TJ30T, STATUS_D in the output parameters.

Please help.

Thanx in advance.