Skip to Content
author's profile photo Former Member
Former Member

Dynamically Change Picture in SmartForm according to employee number

Dear Expert Friends,

I have a requirement where I want the graphic on the smartform to change dynamically.

Its a for HR... the actual requirement is when a print out of employee details is taken from a custom report. The photograph of the employee must appear on the right hand side corner.

Please help me out friends..


VIjaya Sankar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jun 19, 2008 at 08:32 AM


    I had done a similar requirement which gets the digital signature of the User based on the Login name.

    I guess the same logic can be used here too.

    Upload all the photos of the employees in SE78.The photos should be uploaded with the respective if there is a employee with empid 12345 then while uploading his photo it should be named as 12345 so that every photo will be unique.

    Add the field TDNAME in the structure that you have created in SE11 to populate the data in the smartform.

    Now as you might be having some internal table which stores all the empids,using that data select the field tdname from stxbitmaps table.

    STXBITMAPS is the table which stores all the logos and the TDNAME is the field which has the logo name.

    In the smartform,in the logo node>> general attributes>> give as &itab-tdname&.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.