Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8594

Re: Two Loops in smartforms

$
0
0

Hi Pramod,

 

If i understand your reuirement correctly then it is to display material document number along some other deatils as a header and item level deatils on a smartform with page-break on MBLNR field.

 

I would suggest you the below approach :

Main: this will be the one main table which will store the header and item level data for a particular mblnr.

structure of main table:

Header : contains header details

Item[] : contains item details

 

Sort the main table based on mblnr first.

 

Steps :

1.Now loop through main table .

2.Display your header details

3.Loop your item table and dispaly its details.

4.At the end of main loop provide the command to page break .

 

 

regards,

Sumit

 

 

 



Viewing all articles
Browse latest Browse all 8594

Trending Articles



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