Skip to Content
0
Former Member
Apr 30, 2009 at 11:32 AM

A BSP application involving multiple table

13 Views

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.