Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

How to apply loop 2 times in table of smart-forms ?

$
0
0

Hi,

 

I developed a Smart form but data is not coming properly in Item table(body) ?

 

I run this smart-form by driver program, I have two internal tables one for header data another for item data,

I debug both tables, my data is coming correctly..

 

then I created structure for both tables and pass this structure in SM .

 

after that I passed loop(for header data) in table(under data tab)  loop i_tab to WA.

 

then I passed 2nd loop for item data in main body(create a loop)  loop j_tab to WA

 

after that(I execute drive program) my output is coming this type

 

 

PO no             Po type              date

item                quantity             amount

 

30006             BS                       22.11.2007              <---header data is coming properly

3                       kg                         3770.5                <--- but item data its showing only last records

 

 

i want print herder data under their item data , but problem is that, the herder data is coming correctly but not coming item data properly

. i Checked my item data internal table(its have 3 records) but in output its showing only last record.

 

how to solve this problem ?

thanks


Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>