2013 Oct 27 7:59 AM
I have created a report using alv grid display then selecting multiple records, what I want to do is that:
after designing a page on smartforms i want it to print all the selected records.
for example selected 3 records for 3 employees and when i print it prints for me 3 pages with the same format.
If there is recommendations or solutions would be appreciated.
thank you in advance
2013 Oct 27 8:37 AM
Hi,
There are 2 ways:
1) You have to get the selected records of employee in a seprate table and then trigger the smartform FM for each employee...
2) You can control the same by triggering the smartform FM once and then write a loop in smartform where for every record (employee) a new page is triggered.
Regards.
2013 Oct 27 9:00 AM
Hi Mohed,
You can declare internal table that you fill with data you need and display it in table in smartform.
Check this picture:
Hope it helps.
Best regards,
Vladimir
2013 Oct 27 9:48 AM
Dear Mohed Alsabri,
Follow these steps.
instead of v_ebeln use v_pernr in your case.