Skip to Content
0
Former Member
May 11, 2010 at 07:53 AM

Select - write - internal table

51 Views

Hi

I dont know if I can use the forum for this ...

Can you help me with this code:

Data: t_SUB_HEADER type BAPI1077RH occurs 0 with header line.

SELECT RECN INTO (t_SUB_HEADER-RECORD_NO)

FROM ESTRH

FOR ALL ENTRIES IN t_estmj

WHERE RECN = t_ESTMJ-RECNROOT.

WRITE:/ t_SUB_HEADER-RECORD_NO.

ENDSELECT.

I want the t_SUB_HEADER to get fill but I cant get to insert the values into the table, I dont know if Im doing things right.

Thanks in advance