2014 Feb 14 5:34 AM
HI Gurus, I have created ALV INteractive for Vendor Report,but here second screen is not showing, In the first screen i have sumed all DMBTR and NETWR entries, and i need indivisual entries for perticulat lifnr on second screen.Which was not showing at all. Please let me know where I am doing wrong. Thanks Sankil
2014 Feb 14 5:46 AM
2014 Feb 14 5:49 AM
Hi Sankil,
You are not appending the value.
LOOP AT wt_ekbe into wa_ekbe WHERE ebeln = wa_final-ebeln.
wa_final1-lifnr = wa_lfa1-lifnr.
wa_final1-ebeln = wa_ekbe-ebeln.
wa_final1-dmbtr = wa_ekbe-dmbtr.
APPEND WA_FINAL1.
ENDLOOP.
Arivazhagan S
2014 Feb 14 5:57 AM
Hi Sankil,
when you have looped at wt_ekbe into wa_ekbe WHERE ebeln = wa_final-ebeln.
you have to use append srtructure, so that it can be polpulated there in second list.
Please see this code
LOOP AT wt_ekbe into wa_ekbe WHERE ebeln = wa_final-ebeln.
wa_final1-lifnr = wa_lfa1-lifnr.
wa_final1-ebeln = wa_ekbe-ebeln.
wa_final1-dmbtr = wa_ekbe-dmbtr.
APPEND wa_final1 TO wt_final1.
ENDLOOP.