Avoid Image Printing on the output

Hi all,
I am printing an image on my selection screen, but I am not able to avoid the same printing on the Output.
This is my code, please check the code and tell me where I am going wrong.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETER : pr_path LIKE ibipparms-path.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pr_path.
PERFORM f002-f4_filename CHANGING pr_path.
AT SELECTION-SCREEN OUTPUT.
PERFORM show_pic.
REFRESH query_table.
START-OF-SELECTION.
REFRESH query_table.
PERFORM f003-upload_data .
FORM f002-f4_filename CHANGING p_pr_path.
ENDFORM. "f002-f4_filename
FORM f003-upload_data .
ENDFORM. "f003-upload_data
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 = 225
left = 005
top = 048
width = 947.
break-point.
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
skip 5.
query_table-value = 'ZAUROSYS1'.
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.
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.

solved by self

Similar Messages

  • Text element is not getting printed in the output

    Hi all,
    I'm trying to print address from table KNA1in address window through a text element.
    The corresponding code being :
    In Delivery Prg,
    Data : lv_kna1 type STANDARD TABLE OF kna1,
              lv_adr6 type STANDARD TABLE OF adr6.
    DATA : WA_ADR6 TYPE ADR6.
      SELECT SINGLE * FROM KNA1 WHERE KUNNR = VBPA-KUNNR.
      SELECT SINGLE * FROM ADR6 INTO WA_ADR6 where ADDRNUMBER = kna1-adrnr.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'DELIVERY_ADDRESS'
       WINDOW                         = 'DELIVADR'
    and calling the same text element 'DELIVERY_ADDRESS' as follows in the Script:
    /E           DELIVERY_ADDRESS
    /:           IF &LV_KNA1-TELF1& <> &SPACE&
    IL           Tel.: &LV_KNA1-TELF1&
    /:           ENDIF
    /:           IF &LV_KNA1-TELFX& <> &SPACE&
    IL           Fax : &LV_KNA1-TELFX&
    /:           ENDIF
    /:           IF &LV_ADR6-SMTP_ADDR& <> &SPACE&
    IL           E-mail : &LV_ADR6-SMTP_ADDR&
    /:           ENDIF
    But,this text element is not printing in the output.
    Any pointer on this would be of great help.
    Regards,
    Vamsee Priya.

    yes, it is.
    I'm trying to get the e-mail address from adr6 table with the corresponding address number  from table kna1.
    so I created two tables as below:
      Data : lv_kna1 type STANDARD TABLE OF kna1,
             lv_adr6 type STANDARD TABLE OF adr6.
    DATA : WA_ADR6 TYPE ADR6.
      SELECT SINGLE * FROM KNA1 WHERE KUNNR = VBPA-KUNNR.
      SELECT SINGLE * FROM ADR6 INTO WA_ADR6 where ADDRNUMBER = kna1-adrnr.
    now, I'm trying to fill e-mail adress from lv_adr6. but the problem is lv_adr6 is not getting filled.
    data is coming to work area wa_adr6.
    SAP is not allowing me to write the below statement:
    SELECT SINGLE * FROM ADR6 INTO LV_ADR6 where ADDRNUMBER = kna1-adrnr.
    Now, will any move-corresponding statement from work area to its table works?? Is that logically correct??

  • T.code FBL5N: a problem with the print of the output list

    Hi All,
    with reference to the t.code FBL5N, I have  a problem with the print of the output list of the report.
    When I execute the print, I obtain one customer for each page printed.
    I wonder if is possible to obtain more customers for each page printed.
    Could anyone help me?
    Thanks
    Gandalf
    Edited by: Umberto Gandalf on Dec 21, 2008 10:36 PM

    Hi,
    Though personally i havent tried this option, check the same
    Go to Menu: Settings >> Switch List
    This will make the value displayed in ALV format and then try taking print outs.
    Regards,
    Sridevi

  • How to show the dbms_output statements to be printed in the Output box??

    Hi all,
    I am using SQL devoloper 2.1.1.64 version. In earlier versions of the tool, there was a DBMS_OUTPUT screen which prints out the output of the dbms_output utility given inside a script which is run using the devoloper(till version 1.5)
    Now there is no such DBMS_OUTPUT tab in the latest version. I tried to give *"set server output on"* in the worksheet and tried to run some script but still the output is not getting printed in the Output tab.
    Any one knows? please help.

    Hi,
    Output from dbms_output is shown in a different pane.
    Click in the menu on View > Dbms output. Add a tab for your connection and run your script.
    See also the SQL Developer Help: SQL Developer Concepts and Usage > Using the SQL Worksheet > DBMS Ouput Pane.

  • Adobe Forms: how to avoid blank pages in the output

    Hi Guys,
    when i am executing a report using adobe forms for limited records i can see the output in single page in pdf without any blank pages before or after the output page.But if the records exceed then in the output i can see first 3 blank pages and then in the 4th page i can see the printed output only with the limited records .Can u tell me why this is happening.
    Thanks.
    Jagadeesh
    Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on May 18, 2011 2:06 PM

    Usually blank pages appear as first page due to the presence of filler lines (//////) on top of report header.Please ensure that the top header is exactely started from top of page itself.

  • Customer part number to be printed on the output

    The system shall automatically display/print customer part number or product name on document output.

    Hi,
    Your document output depends on Output program attached to your output condition type.
    So if the field Customer Material Number/ Part Number ( VBAP -  KDMAT) is to be printed for the document output.
    Ask your abap consultant to add this field in the output program and form
    Field name
    VBAP -  KDMAT
    regards,
    Ashish

  • Export an image from flash, the output color not same as original from flash

    i try to create my logo from flash
    i use export function in gif format.
    the output color is not same as what i saw at flash.
    may i know why? below is the screenshot.
    flash
    output

    hi
    i have export in png. but it have a black part at the background.
    do you have idea?

  • [CS2 AS] Export as Jpeg... image missing in the output.

    Hi,
    I'm using alot the export as jpeg feature as a validation helper while doing batch processing (for quality output, i have used export as pdf and rasterisation in photoshop... require more processing, but it give more reliable output).
    So with the base export, i'm having a odd problem where on other machine the some images are not exported appropriately (some appear with a white strippe and other completely blank).
    I have not found documentation on this but i'm pretty sure that the export is done from a low-res preview, so i suspect that that my script processing make the export before indesign has completed some document display refresh.
    I tought that i could use a arbitrary delay, but i find this solution quite inconvenient as it make the process slower and not completely deterministic.
    Is there a equivalent call to "recompose" that would let me be sure to call the export when the display refresh of the document is done? (if i remember well, i have tried forcing the document quality display to maximum).
    Thanks for any ideas! :)
    Eric

    On 5/2/09 6:22 AM, "EricGagnon" <[email protected]> wrote:<br /><br />>  Thanks for any ideas! :)<br /><br />Are you sure you're using the most recent version of CS2? And are you sure<br />all the links are present and up to date?<br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>

  • Po item text to be printed in the output form

    Hi
    How to print the item text of the purchase order in the form output
    Thanks
    Srinivas

    hi
    for this u have to consult ur ABAPer
    also chekc the following settings
    SPRO>Materials Management>Purchasing>Messages>Texts for Messages>Define Texts for Purchase Order
    here check that u have entries for ur document type
    regards
    kunal

  • Values not getting printed in the Output

    Hi all,
        Iam facing strange problem.
    In the debug mode iam seeing the values for all variables ( Variable windows) but after printing no value is getting printed. MAIN window is there but no element is being called from the MAIN window.
    Can anyone help me in this regard.
    Rehards,
    Indrajit

    hi Indrajit ,
    check that in print program you have created the element same as using in main program , also declare temporary variables inside loop at table so that **** sign doesnt gets printed ..
    Hope this will help you

  • When we give the print command, the output page is like a disintegrated print; whats the solution to this

    When we given print command, say for any of my email, the print is not proper, every letter of it say 3mm apart.
    Eg. Firefox would look like
    F i r e f o x

    The printer problem has been documented in a number of other entries. It's a bug that's been fixed for the final FF4 roll-out.
    Check here: https://support.mozilla.com/en-US/questions/787654

  • How to avoid to print decimals in the output

    Hi,
    Please suggest me how to avoid getting decimals in the output.
    The variable that i am using is RKMNG. While declaring it i have used it in this manner,  rkmng type p decimals 0.
    but this only avoids fetching the data with decimals, when i am trying to print this value to the output using ALV FM, the decimals are appearing.
    Please can u provide me how to remove these three decimals that are appearing in the output.
    Thanks,

    do this :
    data : lv_var like i.
    move rkmng to lv_var.
    print lv_var.

  • How to print the output of the screen in Dialog Programming

    Hi,
    Could anybody help how to print the output of a screen in the dialog programming. i can select 'Hard Copy' option in the 'Custumizing of Local Layout' Icon in the standard tool bar. but that prints the whole screen with the toolbar. i want to print only the output which is displayed on the screen. Please help..
    Regards,
    Swathi

    Hi Swathi,
        Ok. Do One thing. Go to menu bar and select Systems -> Own pool Request -> here you get the spool number. Select it and select the option "Print Directly" in tool bar.
    Thanks.

  • Issue in rdf output --getting square boxes in the output

    Hi All,
    I am facing an issue in the report output ...
    'Square box ' are getting printed in the output along with data.
    Can any one of you please let me know if any one solved such issue before???
    Thanks in advance....
    Regards
    Jana
    Edited by: Jana on Jan 18, 2010 6:55 PM

    Jana,
    This is caused (as was said in one of the answers) by a frame of some kind which has a black outline. Run the Report from the Report Builder and look at the
    previewer output. See where the box is in the output, go to it and change the outline to white.
    Dave

  • When text is low on the page, it does not print on the page!

    Office Jet J6480, Windows 7 32 bit.
    Sometimes pages with a content line near the bottom of the page, does not print or the characters are only partially
    printed on the output page.

    Hello, you may be able to fix this problem on your HP Officejet J6480 All-in-One Printer by following the steps in the following document: "The Product Does Not Print the Bottom Page Border in Microsoft Office": 
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01671543&tmp_task=solveCategory&cc=us&dlc=en&la...
    There are two more links inside that web page with some other solutions if you are experiencing this problem with other Operative System:
    -Printed Text is Cut Off on the Last Line of the Page in Windows XP
    -Printed Text is Cut Off on the Last Line of the Page in Windows Vista
    I am an HP employee, Printer/All-in-One Expert.
    Give Kudos to say "thanks" by clicking on the "thumps Up icon"
    Please mark the post that solves your problem as an Accepted Solution so other forum users can utilize the solution.

Maybe you are looking for

  • Something corrupt in iTunes

    When I connect my iPod(4th gen) it doesn't add any songs and a warning comes up from my tray that says"iTunes:iTunes.exe Corrupt File in \iPod_Control\iTunes\Play Counts run the Chkdsk utility." I typed Chkdsk into run and ran it. Nothing changed. Al

  • Exchange 2007 - Outlook 2013 - IMAP - no items downloaded

    Hello, I am facing a weird issue. I use outlook 2013 and I am trying to get IMAP working from Exchange 2007. Authentication looks right and when receiving mail, outlook takes i little while when "synchronizing". But no mail is ever loaded in any dire

  • Buttons over Video woes

    Hi all, Having trouble with my BOVs - they worked fine, now they don't! (it always happens this way the day before deadline, doesn't it? :P) A bit of background... I'm using DVD Studio Pro 4. I've got a bunch of clips on the one track stuck end to en

  • IOS keyboard in landscape mode for all apps

    Can apple make the iOS 6 keyboard have the option to use landscape mode for all apps? -Thanks!

  • PDF for self-managing in 10g damage

    many figures in SMHealth.pdf, SMPerf.pdf, and SMTune.pdf are damaged. I need the figure for ADDM architecture before Nov 18, if somebody can help me.