Skip to Content
0
Former Member
Jul 04, 2007 at 06:18 AM

select query

12 Views

Hi All,

I am using a select query in the subroutine and using that in the script,i ma able to see the values in the program in debug mode but if i check in the form values are not getting there.

SELECT vbeln posnr vgpos uecha

FROM lips

INTO TABLE it_lips

WHERE vbeln = w_vbeln

AND uecha = '0'.

SELECT posnr lgort uecha FROM lips

INTO TABLE it_lgort

FOR ALL ENTRIES IN it_lips

WHERE vbeln = w_vbeln

AND uecha = it_lips-posnr.

READ TABLE it_lgort INDEX 1.

IF sy-subrc EQ 0.

wk_item = it_lgort-posnr.

ENDIF.

I am using PERFORM 'LAYOUT_FORM10' IN PROGRAM 'Z_FORM_A_I_PRINT_FORM_ROUTINES' using....

changing wk_item

what is the problem??

regards,

sai