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: 

CODE MODULE POOL:

Former Member
0 Kudos

DEAR FRIENDS,

PLEASE HELP ME UNDERSTAND THIS CODE.

TYPE-POOLS : CNDP.

DATA: URL TYPE CNDP_URL, " URL-field in screen 200

PICTURE_CONTROL_1 TYPE REF TO CL_GUI_PICTURE,

PICTURE_CONTROL2 TYPE REF TO CL_GUI_PICTURE,

URL2 TYPE CNDP_URL,

CONTAINER_1 TYPE REF TO CL_GUI_CUSTOM_CONTAINER,

CONTAINER_2 TYPE REF TO CL_GUI_CUSTOM_CONTAINER,

RETURN TYPE I.

THANKS AND REGARDS

VIVEK

1 ACCEPTED SOLUTION

jj
Active Contributor
0 Kudos

This is a program having 2 picture control, PICTURE_CONTROL_1

and PICTURE_CONTROL2

For placing the picture control to screen you have 2 containers

CONTAINER_1 and

CONTAINER_2

CALL METHOD picture->load_picture_from_url

EXPORTING url = url2.

this URL2 variable is declared for loading the picture from a URL address

4 REPLIES 4

Former Member
0 Kudos

remove caps lock..

custom / docking containers is for getting alv display in u r screen.

jj
Active Contributor
0 Kudos

This is a program having 2 picture control, PICTURE_CONTROL_1

and PICTURE_CONTROL2

For placing the picture control to screen you have 2 containers

CONTAINER_1 and

CONTAINER_2

CALL METHOD picture->load_picture_from_url

EXPORTING url = url2.

this URL2 variable is declared for loading the picture from a URL address

jj
Active Contributor
0 Kudos

Also check Tcode:DWDM

There refer splitter container source code for getting more idea

Former Member
0 Kudos

thanks