Application Development and Automation 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: 
Read only

OOP Logo

Former Member
0 Likes
466

How to add a logo in OOP Conepts can any one give step by step

Points for sure

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
306

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

1 REPLY 1
Read only

former_member194669
Active Contributor
0 Likes
307

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