How To: write a logo image in a list display report
I have a simple list report that I create with a bunch of write statements. How can I insert a Logo image on this report ?
I have my Logo image loaded in SE78 as a bitmap graphic.
Not sure if with the write statement, I can write out this logo on my report.
I would think this should be able to be done, just not sure how.
Thanks,
David
Hi David, check this code.
REPORT zdem_555 .
DATA: docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA: query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
html_table LIKE w3html OCCURS 1,
return_code LIKE w3param-ret_code,
content_type LIKE w3param-cont_type,
content_length LIKE w3param-cont_len,
pic_data LIKE w3mime OCCURS 0,
pic_size TYPE i.
START-OF-SELECTION.
PERFORM show_pic.
WRITE : /'hello see the picture ........'.
*& 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 = 100
left = 700
top = 1
width = 200.
*CHANGE POSITION AND SIZE
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
*CHANGE IMAGE NAME BELOW
query_table-value = 'BIKER'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
object_not_found = 1
parameter_not_found = 2
OTHERS = 3.
IF sy-subrc ne 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-*msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
ENDIF.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = url.
ENDFORM. "show_pic
Similar Messages
-
Software Project - how to change the logo Image
Hi
Downloaded and installed sample code - Software Project -
how to change the logo Image,
Please do the needfull,Hi,
Go to
Home>Application Builder>Application 144>Shared Components>Edit Application Definition->Logo
Logo Type:
choose Image
type the path of your image in the text box.
you have to upload your image inside Shared Components>images
use
#APP_IMAGES#YOURIMAGENAME.GIF
thanks
Mark Wyatt
Edited by: Websoft on Oct 8, 2009 12:10 AM -
I got bulks of videos in my ipad 2, how can i look at my videos in list display? It's hard for me to look through my gallery with grid display..
any ideas?There is no list display option. If there were such an option, it would likely be available within the Videos app.
-
How can I add logo (image) to headers in Pages 5.1
Hi,
How I can add a logo (image) to header in documents in Pages 5.1
It seems every time I try to copy and paste any image it doesnt go into header (not appearing on other pages in the document)
ThanksThat was removed from Pages 5 by Apple along with over 90 other features.
Pages '09 should still be in your Applications/iWork folder.
Peter -
How to write and what is the G/L Distribution Report (AP)?
Hi all,
I am anticipating to write some abap reports..Here is one of them..Anyone can help me with writing a Report , how to write 'G/L Distribution Report (AP) -
But since I am new to Abap , if you wish to reply, please use a little more detail and simple explanation, step by step so I can understand what is the idea(The Business use, and business idea of doing such report?), how it can be acheived...what kind of report should be used , techniques, tables etc..?.:)
Appreciate your help!
Regards,
BobyHi ,
i am get your exact report requirements , nay , i will give you the brief expalin.
AP -> Accoutns Payable . so it deals with in Finnance to Vendor . it means you are maintain the transcations of the payment s to the vendor . so thae table's are .
vendor master tables :
LFA1 -> Vendor Master (General Section),
ADRC -> Addresses (Business Address Services)
LFB1-> Vendor Master (Company Code) ....etc .
for finance data
BKPF -> Accounting Document Header
BSEG->Accounting Document Segment
BSIS->Accounting: Secondary Index for G/L Accounts
PAYR->Payment Medium File
WITH_ITEM->Witholding tax info per W/tax type and FI line item ,
REGUP-> Processed items from payment program ,
REGUH-> Settlement data from payment program ,....etc
with abouve given table you can do the report for vendor .
Start selecting data from the bseg , because it will have all the data ...... then if it is payement , then go to the regup for processed item ..... it means payment happpend data ......... then go to reguh for the payment method (check, draft ,etc) then to the payr for check data.etc .... if you want vedor address go to lfa1 there ADRNR is there primary key to adrc table for detail addresss..
if it is use full , reward points ...........
Girish -
Insert Image in SharePoint List & Display Image from SharePoint List using C# Pragmatically
hi
i have a share point custom list with the following columns and its types.
Title--------------->Single line of test
FirstName--------------->Single line of test
LastName--------------->Single line of test
Description--------------->multiple line of test
Link--------------->Hyperlink or Picture
Image--------------->Hyperlink or Picture
I've to create a visual web part with the following input fields and which can insert following items in the above list columns
Title asp textbox
First Name asp textbox
Last Name asp textbox
Description asp textbox
Link asp textbox
Image file upload control
Submit asp button
when i click browse button for image control in above web part it browses image .jpg,jpeg or .png file from my computer into image input field above and when i click submit button it must be submitted in the Image column in the above list.
i want to know how can i do that in c# pragmatically.
i've another visual web part which should read the image from the list in Image column and display it in image control on the web part.
like this
<img id="imgdisplay" runat="server" src="" />
how can i read image from image column through c# pragmatically.Hello,
You can't directly add picture into "Hyperlink or Picture" column because this column takes URL value and image is binary etc. You can first upload that picture into picture library (create new picture or document library) then add that image link
into that column.
To add/edit "Hyperlink or Picture" column, SP provided special class called "SPFieldUrl". Wheer you need to pass URL and description as parameter.
Refer this link for you ref:
http://stackoverflow.com/questions/23829576/how-to-decide-sharepoint-url-field-is-set-as-hyperlink-or-picture
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How do I come back to the Hierarchy List Display screen?
Hi Gurus,
I have designed a report (Hierarchy Sequential List Display).
I would select a few records from the resulting report (by clicking on checkboxes that i've provided in the report) and perform an event which inturn executes BDC code.
After executing the event, I am displaying another screen where in I am displaying the result of BDC with Success/Error messages. Now in here when I press the back button it is taking me to the selection-screen.
How can I get back to the report screen after pressing the back button on the message screen.
Solution would be rewarded.
Thanking You,
Kiran Kumar SHi Anji,
I am not calling a screen exclusively for my BDC, so whatz happening is the new messages report is getting displayed on the same screen and I am losing the report screen. BDC is not written as a different program and hence I could not use SUBMIT.
The thing I am doing is SET PF-STATUS 'xxx'. I have defined a GUI for 'xxx'.
So this is setting GUI and then displaying the error/success messages report on the same screen.
How do i handle this?
Regards,
Kiran -
How to write text on the selection screen of a report
Hi all,
I need to write some user defined text on the selection screen of an ALV GRID Report.
Please suggest me how can i do this
Thanks
Ajay.SELECTION-SCREEN BEGIN OF LINE .
SELECTION-SCREEN COMMENT 12(31) text-024.<-----Goto text elements and add text.
PARAMETERS:P_FILEN LIKE RLGRAP-FILENAME .
SELECTION-SCREEN END OF LINE -
How to add a logo to 'PO Output for Communication' report
Dear All,
There is a Standard Concurrent Program 'PO Output for Communication' in PO module.
Can you please let me know which rtf template is being used for this report?
Actually I need to add a company logo to this report, but I am not able to find out the layout where we need to place the logo.
Thanks in adavance.Hi,
There is a Standard Concurrent Program 'PO Output for Communication' in PO module.
Can you please let me know which rtf template is being used for this report?
Actually I need to add a company logo to this report, but I am not able to find out the layout where we need to place the logo.What is the application release?
Please see these docs.
POXPOPDF Seeded RTF Templates for the PO Output for Communication [ID 549508.1]
How to modify XSLFO report to add Logos and also watermark the draft for non approved PO print reports which are possible in XML? [ID 420671.1]
New Template Not Picked By PO Output For Communication [ID 416578.1]
POXPOPDF PO Output For Communication Completes In Error when using RTF template [ID 434774.1]
R12 : PO Output For Communication: Logo File Does Not Show Up in PDF output [ID 1121811.1]
Thanks,
Hussein -
How to Write Log Message in a XML Data Source Report
Hi Friends,
Can anyone help me out what is the process of writing a log file in the XML Data Source Report. for eg: in Plsql we use FND_LOG.PUT_LINE to print the Log message in the Concurrent Request Output. in the similar manner, when we develop a report using XML, where we write Coding in XQuery of XML, what is the process need to follow to print the logs for the XQuery.
Any inputs/Suggestion on this Highly appreciable.
Thanks in advance.Create an RMI application (for example) that writes the log, and let all logging calls call that remote application.
Something like that is the only feasible way that doesn't require you to have a drive on the remote machine mapped to the local one (which causes its own problems as you could have multiple simultaneous write attempts...). -
How to use CSS and images in a plsql-dbms_output reports?
Hi.
Windows 2000 SP4
SQL Developer 1.2.1.32.13
Java 1.5.0_07
Oracle 9.2.0.6
I'm trying to create a plsql-dbms_output report with HTML that uses a stylesheet (CSS) and an image. These seem to be ignored by the report viewer.
The following example works fine in Internet Explorer 6 but the stylesheet is ignored by the viewer and the viewer does not show the images (shows broken images instead). I've tried with various image types (PNG, GIF and JPEG).
<!--
begin
dbms_output.put_line('<head><link rel="stylesheet" type="text/css" href="file://c:/temp/core.css"/></head><body>');
dbms_output.put_line('<H1>This is Level-1 Heading</H1>');
dbms_output.put_line('<H2>This is a Level-2 Heading</H2>');
dbms_output.put_line('<p>This is regular paragraph text.</p>');
dbms_output.put_line('<img src="file://c:/temp/fig01.png"><br>');
dbms_output.put_line('<img src="file://c:/temp/fig01.gif"><br>');
dbms_output.put_line('<img src="file://c:/temp/fig01.jpg"><br>');
dbms_output.put_line('</body>');
end;
-->
Is the HTML viewer limited to not support stylesheets and images?
Thanks in advance.
Cheers
Finn Ellebaek NielsenIt also seems that links don't work. The mouse cursor changes to a hand when hovering over links and the links are shown in blue and underlined but nothing happens when clicking on them.
Example:
<!--
<html>
<head><link rel="stylesheet" type="text/css" href="file://c:/temp/core.css"/></head><body>
<p>First heading</p>
<p>Second heading</p>
<H1 id="x1">This is Level-1 Heading</H1>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
<H2 id="x2">This is a Level-2 Heading</H2>
<p>This is regular paragraph text.</p>
<img src="file://c:/temp/fig01.png"><br>
<img src="file://c:/temp/fig01.gif"><br>
<img src="file://c:/temp/fig01.jpg"><br>
<p>First heading</p>
<p>Second heading</p>
<p>Other document</p>
</body>
</html>
--> -
How do I upload an image using as3 and display it without a server?
Is it possible to upload an image using as3 and flash player 9 and then display it in a movie clip without server side assistance?
thanks,
JBHi,
Check out the links..
I hope it will helps u.
http://labs.findsubstance.com/2008/04/03/as3-upload-encode-images/
http://flexscript.wordpress.com/2009/01/12/uploading-an-image-into-flash-without-server-si de-script-using-flash-player-10/
Saransoft -
How can I add the logo image for a single item in an RSS feed?
Hello,
I am an administrator of iTunes U at the University of Minnesota.
Before transitioning new public site, we are trying to figure out how to put a logo image into RSS feeds.
We use our server to makes xml codes to create RSS feeds for podcasts.
We successfully put a logo image for a collection in a RSS feed, but putting a logo image for a single item did not work.
Below is the part of the xml code for the logo image for a single item, which is created by our server. I deleted other parts of xml code for your convenience.
<item>
<title>Plagiarism</title>
<itunes:image href="http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimmin g-contast.jpg" />
<enclosure url="http://mediamill.cla.umn.edu/mediamill/download.php.mp3?file=87504.mp3" length="8544508" type="audio/x-mp3" />
<guid>http://mediamill.cla.umn.edu/mediamill/download.php.mp3?file=87504.mp3</guid>
<image></image>
</item>
We tried both <itunes:image href="http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimmin g-contast.jpg" /> or <image>http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimming-conta st.jpg</image>.
Both did not work.
Can anyone help?
Thank you for your help in advance!!
SeogjooHaven't created too many podcasts, but in this one
http://itunes.apple.com/us/podcast/connecticut-college-sculpture/id372414245
or
itpc://video.conncoll.edu/d/sculptures/index.xml
before we included the audio files, we added the images in iTunes.
Select the file, then go to File>Get Info, here you can add metadata, and in Artwork add an image.
Then upload this file to your server. Works for audio files anyways.
You don't see the image in the web podcast, but you do in iTunes after you download each item, in "Show item artwork" in lower left. Click on the image and it zooms out. -
How to stream a png image from a Servlet to an Applet?
Hello,
I'm trying to write to an output stream (in my servlet) a png image created with JFreeChart library and read it from an input stream (in my applet).
So,i'm using
response.setContentType("image/png");
response.setBufferSize(1000000);
ObjectOutputStream out = new ObjectOutputStream(response.getOutputStream());
System.out.println("starting writing image object");
this.genPNG(chart);
ChartUtilities.writeChartAsPNG(out, chart, 729, 447);On the applet side i'm trying to read the input stream with ImageIO.read(InputStream)
InputStream in = servletCon.getInputStream();
//Image case
ObjectInputStream objInputStream = new ObjectInputStream(in);
Object o = objInputStream.readObject();
Image img = ImageIO.read(objInputStream);
im = new ImageIcon(img);But nothing happens.It returns me a null object.
On the servlet side if i write the image on disk it's ok.(This means that the servlet is doing correctly it's job of writing the image).
Do you have any ideas and possibly 2-3 lines of code on how to write a png image in a stream and how to read the stream +reconstruct the image.
I searched a lot but not found anything (there's something out there for jsp only).
Thanks you in advance
ChrisYou're right.I forgot those Object Streams because i was passing another serialized object which wasnt serializable,then i changed by passing the complete image but forgotten those streams.
It worked gracefully with simple Input Output Streams and ImageIO.
Thank you very much
Chris -
Adding Images to the List component
Adding Images to the List component while using the FLV
PLayback
All, ( i can send you my source files if it would help)
I'm using the FLV Playback component and loading videos into
it from an external xml file. I also have a list component tied to
the FLV playback that when you click on one of the elements in the
list, it plays that movie.
QUESTION:
My question is how do I add an image to the list component?
Below is the xml file and the actionscript. I've added the image
attribute to the XML file as img="time_square.jpg" and added the
element of the array when calling/creating the list. Did I do this
right?
Any direction would be very much appreciated.Adding Images to the List component while using the FLV
PLayback
All, ( i can send you my source files if it would help)
I'm using the FLV Playback component and loading videos into
it from an external xml file. I also have a list component tied to
the FLV playback that when you click on one of the elements in the
list, it plays that movie.
QUESTION:
My question is how do I add an image to the list component?
Below is the xml file and the actionscript. I've added the image
attribute to the XML file as img="time_square.jpg" and added the
element of the array when calling/creating the list. Did I do this
right?
Any direction would be very much appreciated.
Maybe you are looking for
-
How do I add my hp officejet 6500 e709n printer to my ipad mini
How do I add my hp officejet 6500 e709n ( HPCA103A ) printer to my ipad mini? Airprint says no printer found & after buying this I can't afford to pay for other apps, ...help,I like my hp printer,..thank you.
-
ORA-01536: space quota exceeded for tablespace 'SYSTEM'
Hi All, Please help me to understand the below issue. I am trying to create a table as below. Connected as APPS user. SQL>create table test_ts(id number) tablespace APPS_TS_TX_DATA ORA-00604: error occurred at recursive SQL level 1 ORA-01536: space q
-
HT4636 Can you open a PDF in Keynote for iPad?
I am a designer using InDesign. I'd like to export my presentation to PDF and then open on my iPad using Keynote. Doable?
-
System landscape for ess customization
Hi All We are having 3 physical systems : 1. WAS + EP system 2.WAS + PI system ( SLD here ) 3. WAS + DI system We need to import the business package for customization purpose. I sthe above landscape fine or we need to have DI system & SLD on the sam
-
Palm 4.2.1 Desktop to iCal (OSX 10.5.1)
I recently updated to the latest Mac OS and am now running into lots of compatibility issues. I decided it's time to convert to iCal, partly because of the upgrade and also because I'm thinking of buying an iPhone. I'm finding it's not an easy conver