2008 Oct 27 3:38 PM
hi all.
i am confused with the looping statement.
i have to output the data depending on the fields of tables eban,ekko,ekpo and eket.
i dont know how to modularise it so that the data can be outputted with respect to header or the item level.
also.how to write the code so that the loop will populate the alv display.
what should be the sequence and it should be decided to write loop and read statement.
please do reply as i am still in the learning process and your elaboration can guide me to take on the code.
thanks in advance!
hi all.
i am confused with the looping statement.
i have to output the data depending on the fields of tables eban,ekko,ekpo and eket.
i dont know how to modularise it so that the data can be outputted with respect to header or the item level.
also.how to write the code so that the loop will populate the alv display.
what should be the sequence and it should be decided to write loop and read statement.
please do reply as i am still in the learning process and your elaboration can guide me to take on the code.
thanks in advance!
2008 Oct 27 3:46 PM
2008 Oct 27 3:47 PM
the main thing you need to keep in mind is: In the read satement read the table with header(PO#) and the item(PO Item#)
loop at vbak..
read table vbap with key vbeln = vblen
posnr = posnr..
;;;
...
endloop.
2008 Oct 27 4:07 PM
Hi,
These all looks very basic question's and this is probably not the wrie place for the same ............
All your question's will depend on the fact that whether you want a normal Report or an ALV report.
If you doing for the exercise purpose, I will suggest you to go for a normal report.
You need to use Internal Table Control Processing Events(AT-New etc) to display Header & Detail data in order.
2008 Oct 30 12:05 AM
Please do not cross-post threads or decentrally ask them.
Create one thread with a clear complete question, and follow up on it. It's not about points.
People will respect you for this and give you getter answers (I would!)
Cheers,
Julius