04-30-2009 12:32 PM
Hi.. I am in learning process of BSP .
I have a requirement as below . I am getting confused as to which part of coding I write in layout and in even handler.
Each time the loop runs I need to get the corresponding itab-feild records which are there in *itab_final *
This is the sample code in abap editor.
Loop at itab .
...
....
....
....
Loop at itab1.
Read itab2 with key feild1 = itab1-field1.
If sy-ubrc <> 0.
move table1-field1 to itab_final.
append itab_final.
endif.
Endloop.
Write : Records for tab1-fld.
Loop at itab_final.
write : / itab_final-field1.
Endloop.
Endloop.
Can plz some one suggest me how do i go about this requirement to implement in a BSP application.
04-30-2009 1:03 PM
04-30-2009 1:10 PM
Hi Sravan,
Till now I worked on small BSP application where in there is a single select query using which all record go in to a single internal table(which is genrally written in event handler) which can be displayed writing code in layout tab.
Now my requirement is that I have a internal table itab and for every single record of itab I have few records which are appended to itab2. I need to display the records in itab2 for each loop pass of itab.