Skip to Content
0
Former Member
Aug 22, 2007 at 09:50 AM

Picture Control

21 Views

Hi, Experts,

I am using functions below to display image on screen

how can I create OBJID used in first function.One default is available from SAP. Now I want to change it.

any help will be appreceatable with cute point.

CALL FUNCTION 'DP_PUBLISH_WWW_URL'

EXPORTING

OBJID = 'HTMLCNTL_TESTHTM2_SAP_AG'

LIFETIME = CNDP_LIFETIME_TRANSACTION

IMPORTING

URL = URL

EXCEPTIONS

OTHERS = 1.

  • Load the picture by using the url generated by the data provider.

IF SY-SUBRC = 0.

CALL METHOD PICTURE_CONTROL_1->LOAD_PICTURE_FROM_URL_ASYNC

EXPORTING

URL = URL.

ENDIF.