Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

For ALL Entries

Hi Friends,

when i am writing the FOR ALL ENTRIES TO JOING A 2 TABLES ..

FOR EXAMPLE I AHVE 2 TABLES..

1)VBAK.

2)VBAP.

MY QUESTION IS :

FIRST I WANT TO WRITE SELECT STATEMENT FROM VBAK OR VBAP??

WHICH TABLE I WANT TO WRITE SELECT QUERY?? THE COMPARE TO ANOTHER TABLE???

PLS.EXPLAIN ANY ONE.

REGARDS,

Tags:
Former Member
Former Member replied

Hi,

You have to write with respect to VBAK,

If not l_t_vbak[] is initial.

Select vbeln posnr .... from vbap in to l_t_vbap

for all entries in l_t_vbak

where vbeln = l_t_vbak-vbeln.

endif.

<b>Reward if helpful.</b>

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question