‎2007 Jul 28 6:38 AM
How to add a logo in OOP Conepts can any one give step by step
Points for sure
‎2007 Jul 28 6:49 AM
May be you do this way.
1. Create Object Pc_Main_Container
Exporting
container_name = 'G_MAIN_JPG_CONTAINER'
Exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
2. Create Object G_Jpg_Viewer
Exporting
Parent = pc_Main_Container
Exceptions
Error = 1
Others = 2.
3. Call Method pc_Jpg_Viewer->Load_Picture_From_Url
Exporting
Url = w_FileName
Importing
Result = w_Error_Code
Exceptions
Error = 1
Others = 2.
4. Call Method pc_Jpg_Viewer->Set_Visible
Exporting
Visible = 'X'
Exceptions
Cntl_Error = 1
Cntl_System_Error = 2
Others = 3.
aRs
‎2007 Jul 28 6:49 AM
May be you do this way.
1. Create Object Pc_Main_Container
Exporting
container_name = 'G_MAIN_JPG_CONTAINER'
Exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
2. Create Object G_Jpg_Viewer
Exporting
Parent = pc_Main_Container
Exceptions
Error = 1
Others = 2.
3. Call Method pc_Jpg_Viewer->Load_Picture_From_Url
Exporting
Url = w_FileName
Importing
Result = w_Error_Code
Exceptions
Error = 1
Others = 2.
4. Call Method pc_Jpg_Viewer->Set_Visible
Exporting
Visible = 'X'
Exceptions
Cntl_Error = 1
Cntl_System_Error = 2
Others = 3.
aRs