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

Loop secondary windows on smartforms

0 Likes
2,808

Hi experts,

I want to ask you about smartforms. I want to write data on smartforms using secondary windows which each of the secondary window contain of just one data per page. In one page, I have three secondary windows on one page.

Can anyone help me...???

I am newbie on ABAP.

Thx for your reply and suggestions...

8 REPLIES 8
Read only

former_member187748
Active Contributor
0 Likes
2,250

Hi,

can i know the reason of not using main window,

because main windows are flexible, but it is not in case of secondary windows.

Read only

0 Likes
2,250

Hi Sanjeev,

The reason is because on one page, I want to place each data for every secondary windows on different position so I can set the position of my data freely... Or do you have better solutions for me?

Thank you

Read only

0 Likes
2,250

Maybe this can help you understand what I mean...

Read only

0 Likes
2,250

Hi ,

you can also do it by using template in main window, please create a main window, and within it create a text page, or else you can create a template with proper height and width, create its cells according to your use, and hide its borders with the following 4 tabs , then you are able to show your data freely

in the main window too, because main window can be used to loop over a large amount of data.

Please revert if still if you are not getting, you can use these 4 options to hide your template border, so that it will not visible as a closed one.

Read only

0 Likes
2,250

Hi,

please refer what i have sujjested you earlier, create three  templates, and ajjust all these by specifyings its column positions, means how much right it should get placed by giving proper length and heights. I am not prefferings to use secondary windows for the same because it can be handled by main windows by simple means.

Read only

0 Likes
2,250

Ok... thx for your help Sanjeev...

Read only

former_member206650
Active Participant
0 Likes
2,250

Hi,

you want to create a page with 4 windows (1 main and rest are secondary),now you want to populate values in these secondary windows.please find the steps to follow

  • create text in each of the secondary windows
  • you can either hardcore values in the text or get the values from the application form,by calling the structure of the formclass  or passing some variables in  by assigning them in form interface and list field icon to get the values with &<variable>& on the text .

also if you are navigating from one page to another the main window is needed in all the pages.

i hope you got an idea how the data is displayed.

<text removed>

Message was edited by: Matthew Billingham

Read only

0 Likes
2,250

Ok... my problem is already solved. Thanks Vishnu for the reply and suggesstion