2008 Jul 28 8:32 AM
hi Abapers !
am learning ooabap ?
how can i place logo in ooabap.
in alvs we can pass in reuse_alv_commentry_write.
but wat the case in ooabap placing a logo.
could any one give the classes that are frequently used in ooabap programming ?
Thanks and regards.
rajesh
2008 Jul 28 8:34 AM
Hii!
For learning ABAP Objects check out this link
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+objects
and for logos search in google, you'll get several sample codes
Regards
Abhijeet
Hi,
check this link... its from search.sap.com... so if you havent registered into it then register and check the link.
[Displaying logos on screen|http://searchsap.techtarget.com/tip/1,289483,sid21_gci861588,00.html]
theres a class CL_GUI_PICTURE check that class in SE24.
Hope this would help you.
Regards
Narin
2008 Jul 28 8:34 AM
Hii!
For learning ABAP Objects check out this link
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+objects
and for logos search in google, you'll get several sample codes
Regards
Abhijeet
2008 Jul 28 8:37 AM
Hi,
check this link... its from search.sap.com... so if you havent registered into it then register and check the link.
[Displaying logos on screen|http://searchsap.techtarget.com/tip/1,289483,sid21_gci861588,00.html]
theres a class CL_GUI_PICTURE check that class in SE24.
Hope this would help you.
Regards
Narin
2008 Jul 28 8:37 AM
Hi Rakesh,
Refer to the link below:
http://www.abapcode.info/2007/06/object-oriented-alv-sample-program-to.html
With luck,
Pritam.
2008 Jul 28 8:41 AM
Rajesh,
IT IS POSSIBL USING OOPS CONCEPT GO FOR THIS CODE:--
REPORT y_pic_show .
DATA:
docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA : sum(4) , num1(4) , num2(4).
PARAMETERS: p_dummy(4) DEFAULT '4' .
PARAMETERS: p_dummy1(4) DEFAULT '5' .
AT SELECTION-SCREEN OUTPUT.
PERFORM show_pic.
START-OF-SELECTION.
num1 = p_dummy.
num2 = p_dummy1.
sum = num1 + num2.
WRITE : / sum.
&----
*& Form show_pic
&----
FORM show_pic.
DATA: repid LIKE sy-repid.
repid = sy-repid.
CREATE OBJECT picture_control_1 EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 150
left = 700
top = 10
width = 138.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = 'PIX PATHNAME'.
IF sy-subrc NE 0.
Fehlerbehandlung
ENDIF.
ENDFORM. "show_pic
you may refer to this document to know all about pictures in SAP.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIIMAGE/BCCIIMAGE.pdf
http://help.sap.com/saphelp_erp2004/helpdata/en/e3/41a138c4397a42e10000009b38f842/frameset.htm
Amit.
2008 Jul 28 8:42 AM
Hi,
you can use the class "CL_GUI_PICTURE" to insert a logo in another custom control
Regards,
Omkaram.
2008 Jul 28 11:35 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |