Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Picture Control

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

u can create it in se78 transaction and in that u have to create picture with your own object id ok.

points please.....