Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform

Former Member
0 Likes
806

Hi,

I have requirement like this....

In my smartform I need to display following information in single window:

Name:

code:

id:

And my internal table has 10 records to display:

That means I need to call same window 10 times in form.

An data shud be displayed in following format:

Name1:

code1:

id1:

Name2:

code2:

id2:

Name3:

code3:

id3: ........ and so on

Can I loop into internal table an call the same window ???

I dont want to display information in Template format.

Message was edited by:

Dhananjay Patil

1 ACCEPTED SOLUTION
Read only

messier31
Active Contributor
0 Likes
790

Hi,

You can create a loop which loops over you internal table.

Inside loop create a text element which displays the required details in three line.

This should solve your problem.

Enjoy SAP.

Pankaj Singh

7 REPLIES 7
Read only

messier31
Active Contributor
0 Likes
791

Hi,

You can create a loop which loops over you internal table.

Inside loop create a text element which displays the required details in three line.

This should solve your problem.

Enjoy SAP.

Pankaj Singh

Read only

Former Member
0 Likes
790

Hi Pankaj..

Thanx for ur reply...

The internal table may have any number of entries....Will the Text and windows which are to be displayed below the above details will be adjusted automatically or they will get overlaped??

What if i include the text in window ... And within loop call this window??

Read only

messier31
Active Contributor
0 Likes
790

Hi,

You place this loop inside the main window hence it shouldn't be prob.

Enjoy SAP.

Pankaj Singh

Read only

Former Member
0 Likes
790

Hi Pankaj..

Thanx.... I hope that will solve my problem...

One thing in general related to smartform i wanted to ask....

Within a loop can we call a window??

Read only

messier31
Active Contributor
0 Likes
790

Nope.

Enjoy SAP.

Pankaj Singh.

Read only

Former Member
0 Likes
790

Hi,

No it is not possible to loop a window in smartform.You can loop graphics,tables,templates etc.

Reward points if useful.

Thanks and Regards,

Litta.

Read only

Former Member
0 Likes
790

hi Dhananjay

- create one loop inside the required window.

- create 3 text elements inside the loop.

- now pass your internal table values to this text elements.

now u can find all your 10 records in the same window.

hope this will help you...

murali.