Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
This is very simple to do, first create a dialog program with one screen (any
number i.e. 0100) and create a custom control called 'CUST_CONTROL'. Now use the
below sections of code to create a top include and a PBO module/process. And then
finally create a transaction code for it. This version does not work for version
4.6 so click here for alternative code.
data: graphic_url(255),
graphic_refresh(1),
g_result like cntl_true.
*--------------------------------------------------------------------*
***INCLUDE ZDISPLAYIMAGEPBO .
*--------------------------------------------------------------------*
*&-------------------------------------------------------------------*
*& Module STATUS_0100 OUTPUT
*&-------------------------------------------------------------------*
* text
*--------------------------------------------------------------------*
module STATUS_0100 output.
data: l_graphic_xstr type xstring,
l_graphic_conv type i,
l_graphic_offs type i.
* IF sy-subrc = 1.
* MESSAGE e287 WITH g_stxbitmaps-tdname.
* ELSEIF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
* EXIT.
* ENDIF.
l_graphic_conv = graphic_size.
l_graphic_offs = 0.
graphic_table-line = l_graphic_xstr+l_graphic_offs(L_GRAPHIC_CONV).
APPEND graphic_table.