cancel
Showing results for 
Search instead for 
Did you mean: 

displaying student details using smartforms

Former Member
0 Kudos

hi,

im new to smart forms.

my rqmt is like this :

i have a student details table.

now i want the output in such a way that each student details should display in one page each.

that is student with id 501 details should come in first page 502 student details in 2nd page and so on.

this should be done using smart forms.

can any one help regarding this issue.

thanks in advance,

kumar.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Go with Vishwa's answer. That will work It worked when one user, Mr. A gave the same solution. So, this solution is tried and tested.

Former Member
0 Kudos

It is true that the logic is same. But it is not copied from Mr.A and pasted?? Like you did.... I remember the logic and I typed it here. Got it??

I mean you are really good at copy and paste stuff, you even copied this reply and pasted here as it is??? just replacing you name with mine?? WOW!! Hatsoff.

I think after some months...the keys C and V will stop working on your keyboard along with Ctrl button.

Former Member
0 Kudos

Hi

1.create a command node just before the main window and in general attributes check the check box "Go to New Page" and in its conditions tab..

Now, you find a conditions tab right?? give "Flag = X".

Now, in the table you have created, there will be a loop running right??

Create a program lines node and give this code:

data : idx type i.

describe table itab lines idx .

clear flag.

if sy-tabix LT idx.

flag = 'X'.

endif.

Regards,

Vishwa.