cancel
Showing results for 
Search instead for 
Did you mean: 

12 employee id cards ( 2 * 6) on a4 in smartforms( Anybody dare to do this)

Former Member
0 Kudos

Hi friends

There is requirement to print 12 employee id cards ( 2 * 6) in A4 size in smartforms.

Id card consist of these fields

company address

emp id

emp name emp photo

designation

address

Option 1 : Photos are on desktop

Option 2 : Photos are stored in one of the infotype

How all the emp id will print their respective photos in the smartform.

Plz reply as soon as possible.

Thanks in advance.

Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please follow the following steps to print the Identity cards.

Upload the images to the SAP system through the transcation SE78, at some locations with different name (may be by their employee id ).

Design a smartform for one employee with respective Name employee id and photo section.

For the photo window choos the graphics option and give the path as a variable that has been defined in the form attributes Import parameters (where it will get the path from where it will pick up the image from the system).

Now, in the driver program retrieve all the relevant informations in a table with the path where the image is being stored for the corresponding employee.

Now loop in that table.

Call the function module of the smartform.

Pass the parameters like:-

emp id

emp name emp photo

designation

address

And the path where the photo has been uploaded into the SAP system.

Endloop.

This will loop the informations of the employees and pass it to the samrtform one by one and the smartform will get the picture from the path that has been supplied to the smartform.

I think this will help you to solve the problem.

Warm regards.

Abhijit.