‎2008 Aug 19 10:16 AM
Plz any one can explain me that how we will inseart Logo on screens by using module pool programming (in GUI programming) .
‎2008 Aug 19 10:19 AM
‎2008 Aug 19 10:22 AM
‎2008 Aug 19 10:23 AM
‎2008 Aug 19 10:25 AM
‎2008 Aug 19 10:26 AM
Hello.
I'll give you an example of inserting a personal photo in UI programming. Hope it helps you.
First of all, in your screen (painter), insert a custom control and give it a name (PHOTO in my example).
Then, in your screen PBO, insert a coding like this:
CLEAR handle.
CALL FUNCTION 'HR_IMAGE_INIT'
EXPORTING
p_pernr = pernr
p_tclas = 'A'
container = 'PHOTO'
IMPORTING
handle = handle
EXCEPTIONS
no_document = 1
internal_error = 2
OTHERS = 3.
CALL FUNCTION 'HR_IMAGE_SHOW'
EXPORTING
p_pernr = pernr
p_tclas = 'A'
handle = handle
EXCEPTIONS
invalid_handle = 1
no_document = 2
internal_error = 3
OTHERS = 4.
Regards.
Valter Oliveira.