Skip to Content
0
Former Member
Sep 21, 2009 at 09:49 AM

Material No. not displayed in the table

24 Views

hi frends i have written a alv proram and displaying differnet fields from the databas table and some variable values to the user.I m reading material no from the database table but it is not being displayed in the final output.All other fields are being displayed by program.

i have defined it as :

<data var_mat_no(18) type c.>

then i have used shift statement in the code as:

<shift var_mat_no left deleting leading '0'.>

and then displayin it as :

<

CLEAR FIELDCAT_IN.

FIELDCAT_LN-FIELDNAME = 'FIELD3'.

FIELDCAT_LN-TABNAME = 'ITAB1'.

*FIELDCAT_LN-NO_OUT = 'X'.

FIELDCAT_LN-SELTEXT_L = 'MAT NO'.

FIELDCAT_LN-outputlen = 18.

APPEND FIELDCAT_LN TO GT_FIELDCAT.

>

plz guide me to solve it

Edited by: Julius Bussche on Sep 21, 2009 12:14 PM