Skip to Content
0
Former Member
Sep 15, 2005 at 04:39 PM

Analyzing ABAP Code!

37 Views

Hi all,

can anyone please tell what this does......

SELECT AUFNR CHARG FROM AFPO

INTO TABLE I_AFPO

FOR ALL ENTRIES IN I_DATA_TEMP

WHERE AUFNR = I_DATA_TEMP-AUFNR.

AFPO is a table and has a primary key of AUFNR(order number) and POSNR(order item). My question is how is it retrieving unique records from AFPO when I am supplying only Order number in AUFNR = I_DATA_TEMP-AUFNR

I_DATA_TEMP is an internal table and has Order numbers and some other fields.

thanks,

Sabrina.