Print a dms document from BSP Page

Hi,
I need to send a DMS Document to the local printer directly with out opening it in SAP BSP.
I was able to download it to Desktop. but requirement is to send it directly to the printer.
Please help..
Thanks..

Hi,
I need to send a DMS Document to the local printer directly with out opening it in SAP BSP.
I was able to download it to Desktop. but requirement is to send it directly to the printer.
Please help..
Thanks..

Similar Messages

  • Print DMS Document from Material master

    Hello All,
    Can you advice on how to Print the DMS Document as a smartforms  from Material master ?

    Hi Arvind,
    You have mentioned two different terminologies here.
    DMS
    Material Master
    From DMS, you need to download the attachment and the same attachment can be converted using the FM CONVERT_TO_OTF then try displaying the same into your smartform.
    I'm not aware of Material Master Document attachment.
    Will reply soon with that solution also.
    Regards,
    -Wahid Hussain.

  • I'm trying to print  an Ancestry document from an iPad 2 using air print onto a Canon 5350 (one of the printers ok'd by Apple) I am unable to change the print orientation from portrait to landscape.  That is I change it in printer settings but no use.

    I'm trying to print an Ancestry document from an iPad 2 using air print.  The printer is a Canon MG5350 (on the Apple approved list) I have no difficulty printing but only in portrait format.  I've tried changing printer preferences from my computer but even though the Canon accepts the changes it will not print landscape - can anyone advise please?

    Hi,
    How do you connect the printer to the XP machine ? If USB, you need to make that machine as a Print server. Please try this:
       http://techtips.salon.com/make-windows-computer-pr​int-server-11914.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Download to excel in different tabs from bsp page

    Hi all,
    I have a requirement in which I have to download to xl-sheet in different tabs based on some conditions from a bsp page.
    I am successful in downloading data into different tabs.
    Now I had written the piece of code required to download to xl in a function module
    and I am calling that function module when pressing a button in bsp page.
    When I run the fm seperately its working but when I run it from bsp page its not working.But while debugging I found that the fm is being called and executed perfectly without any errors.
    But the xl is not being created on our side.
    Can anyone suggest me how to proceed on this.
    Helpful answers will be rewarded.
    Thanks,
    Uga

    Hi Raja,
    Yes I am using ole objects.
    For more clarity I am alos pasting my code.
    If this is not possible then please guide how to achieve this in BSP.
    *******************CODE*****************************************
    include ole2incl.
    data: w_cell1 type ole2_object,
    w_cell2 type ole2_object.
    *--- Ole data Declarations
    data: h_excel type ole2_object, " Excel object
    h_mapl type ole2_object, " list of workbooks
    h_map type ole2_object, " workbook
    h_zl type ole2_object, " cell
    h_f type ole2_object, " font
    gs_interior type ole2_object, " Pattern
    worksheet type ole2_object,
    h_cell type ole2_object,
    h_cell1 type ole2_object,
    range type ole2_object,
    h_sheet2 type ole2_object,
    h_sheet3 type ole2_object,
    gs_font type ole2_object,
    flg_stop(1) type c.
    Internal table Declaration
    data:gt_kna1 type standard table of kna1,
         gt_knvv type standard table of knvv,
         wa_kna1 type kna1,
         wa_knvv type knvv.
    types: data1(1500) type c,
    ty type table of data1.
    data: it type ty with header line,
    it_2 type ty with header line,
    it_3 type ty with header line,
    rec type sy-tfill,
    deli(1) type c,
    l_amt(18) type c.
    data: begin of hex,
    tab type x,
    end of hex.
    field-symbols: <fs> .
         constants cns_09(2) type n value 09.
    assign deli to <fs> type 'X'.
    hex-tab = cns_09.
    <fs> = hex-tab.
    data gv_sheet_name(20) type c .
    SELECT kunnr name1
      INTO corresponding fields of table gt_kna1
      FROM kna1
    UP TO 1000 ROWS.
    SELECT kunnr vkorg
      INTO corresponding fields of table gt_knvv
      FROM knvv
    UP TO 3 ROWS.
    loop at gt_kna1 into wa_kna1.
    concatenate  wa_kna1-kunnr  wa_kna1-name1 into it separated by deli.
    append it.
    clear it.
    endloop.
    loop at gt_knvv into wa_knvv.
    concatenate wa_knvv-kunnr wa_knvv-vkorg into it_2 separated by deli.
    append it_2.
    clear it_2.
    endloop.
    if h_excel-header = space or h_excel-handle = -1.
    *start Excel
    create object h_excel 'EXCEL.APPLICATION'.
    endif.
    call method of h_excel 'Workbooks' = h_mapl.
    set property of h_excel 'Visible' = 1.
    *add a new workbook
    call method of h_mapl 'Add' = h_map.
    gv_sheet_name = 'KNA1'.
    get property of h_excel 'ACTIVESHEET' = worksheet.
    set property of worksheet 'Name' = gv_sheet_name .
    *--Formatting the area of additional data 1 and doing the BOLD
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 50.
    call method of h_excel 'Range' = h_cell
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    *CALL METHOD OF gs_cells 'Select' .
    get property of h_cell 'Font' = gs_font .
    set property of gs_font 'Bold' = 1 .
    data l_rc type i.
    call method cl_gui_frontend_services=>clipboard_export
    importing
    data = it[]
    changing
    rc = l_rc
    exceptions
    cntl_error = 1
    error_no_gui = 2
    not_supported_by_gui = 3
    others = 4.
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 1.
    PERFORM err_hdl.
    call method of h_excel 'Range' = range
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    call method of range 'Select'.
    *PERFORM err_hdl.
    call method of worksheet 'Paste'.
    ****for second sheet**********
    GV_SHEET_NAME = '2ND SHEET'.
    gv_sheet_name = 'Knvv'.
    get property of h_excel 'Sheets' = h_sheet2 .
    call method of h_sheet2 'Add' = h_map.
    set property of h_map 'Name' = gv_sheet_name .
    get property of h_excel 'ACTIVESHEET' = worksheet.
    *--Formatting the area of additional data 1 and doing the BOLD
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 50.
    call method of h_excel 'Range' = h_cell
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    get property of h_cell 'Font' = gs_font .
    set property of gs_font 'Bold' = 1 .
    call method cl_gui_frontend_services=>clipboard_export
    importing
    data = it_2[]
    changing
    rc = l_rc
    exceptions
    cntl_error = 1
    error_no_gui = 2
    not_supported_by_gui = 3
    others = 4.
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 1.
    PERFORM err_hdl.
    call method of h_excel 'Range' = range
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    call method of range 'Select'.
    PERFORM err_hdl.
    call method of worksheet 'Paste'.
    Can you people give me inputs so that I can proceed further.
    Thanks,
    Uga

  • How to send/set parameter from BSP page to iview

    Dear Expert,
    Can advise me how to send or set parameter from BSP page to iview ?
    http://xxx.xxx.com/irj/portal?navigationtarget=roles://pcd:portal_content/FLD.ObjetLibrary/FLD.Iviews/FLD.CRM/ET/bsppage.htm?lv_param=xxx
    I want to view my bsp page in portal but with parameter value.
    I can open my bsp page without parameter value like link below :
    http://xxx.xxx.com/irj/portal?navigationtarget=roles://pcd:portal_content/FLD.ObjetLibrary/FLD.Iviews/FLD.CRM/ET/
    Thnx & Regards,
    Pieter

    Hi,
    your BSP page get's integrated via an iFrame. So, simply speaking, it's not possible to pass an parameter back.
    But what you can try is to use the Portal DataBag component. In the BSP page, store the information you want to pass in the browser. The iView/Portal than has to check if there is a new parameter / value stored.
    SAP Help: http://help.sap.com/saphelp_nw70/helpdata/en/68/322a9261c54e51b7965f86aac3dae2/frameset.htm
    br,
    Tobias

  • How to print a PDF document from Labview?

    I am looking to create a paper copy of a PDF document.  Note: I do NOT want to create a PDF document.
    In other words I want to print a PDF document from Lab View or Visual Basic or C#.  The application is used in a production environment so I want a clean solution.
    The requirements are:
    1) Be able to specify the output printer.
    2) Set the quantity to print.
    3) Specify the file to print.
    4) Function returns when printing is complete
    5) Silent operation, that means no popup boxes.
    Any help is appreciated.

    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnmngr.mspx?mfr=true
    http://forums.ni.com/ni/board/message?board.id=170&message.id=183895&requireLogin=False
    you might be able to use system exec to print files.

  • LSO- to print course participation document from learner portal

    Hello ,
    My client wants to print "course participation document" from the learner portal when the participant completes  web based training. Also the name of participant and WBT should be in it.
    Do you have any idea how can we do?
    Best Regards,

    Hello Deepak,
    I tried  your first suggestion before. I made an instructional element as a last activity in AE but I could not write pariticipant and training type texts in the instructional element.
    They don't want to a fix text in the course participation document,they want to see participation name,the text of training type and a fix text. So how can I use AE for this request?
    Best Regards,
    Fulya

  • How do you attach/email more than one document from the pages app?

    How do you send more than one document from the pages app on an iPad?

    This is entirely frustrating and I have yet to find an answer for this question even though people have been asking it on the internet for over a year!
    I am relatively new to apple and I was considering staying with them for my next iphone because of my apps, but after paying for this app and discovering I can't email more than one document "page" at a time? This makes no sense. Please fix this apple, I'd like to say you have replaced my tablet PC for home-office work but now I am reconsidering...

  • Printing DMS document in BSP

    Hi Experts,
    I am working on a BSP application where i have got a requirement to directly send the document that is stored in the DMS to local printer.
    Can any one help me on this?

    Thanks Manasa.
    But my question is how to get a document from SAP - DMS (say CV03N).  If I get a document then I can convert and make it display on the BSP screen. 
    Thanks,
    Krish

  • Print DMS Document from SAPscript

    Hi
    I have a requirement when a user prints Bill of Lading document i need to print a document (stored in the document management) that is linked to a customer or material master.. Can you please explain me how to archive printing documents stored in DMS from sapscript.
    I really appreciate for all the help.
    thanks,
    Hemanth

    hi
    i can't tell how to get the DMS data but if want to print the DMS data... u can do it by using print program... after successfull completion of printing of bill of material.. u have to write code in the program... in the retrive data related to DMS then prepare the ouput format for DMS( ex report or forms)..the issue it to print... by ur program.
    as mentioned above u can print the DMS data without intervention of the user... because everythig is done by u r program..
    I hope this Logic will helps u.. try in this way.

  • DMS document in BSP

    Hi,
    I am trying to get a document stored in DMS in binary format (or string/xstring) to get it displayed in BSP screen.
    I tried using the FM - SCMS_DOC_READ (as mentioned in one of the forum thread), but couldn't figure out the inputs to the same.
    Kindly help me in this.
    Thanks,
    Krish

    Thanks Manasa.
    But my question is how to get a document from SAP - DMS (say CV03N).  If I get a document then I can convert and make it display on the BSP screen. 
    Thanks,
    Krish

  • How do you print just an image from a page on MacBook Pro Safari

    I have just changed from windows to MacBook Pro and am trying to print just an image from a document.  On windows ....easy just click on image and print.  Not with MacBook pro, I have to print whole document.  Cannot find any way to print just the photo. Please help!

    This is one way to do it.
    Right click the image and select "Copy Image" from the contextual menu.
    Open TextEdit or Pages.
    Right click and select "Paste".
    File > Print.
    For more on this : http://support.apple.com/kb/PH11878

  • Problem printing scanned PDF document from iPad to HP Photosmart Plus B209a

    Hi,
    I'd like to report a problem printing a scanned PDF document from iPad via HP ePrint application to my HP Photosmart Plus B209a printer. The document was sent to the printer without any issue. However, the printer only prints out the
     screenshot image in the center of the PDF page, and the image is enlarged and rotated to fit in an A4 paper. The rest of the document is simply ignored by the printer. The document with the problem can be downloaded in the link below:
    Download PDF document with the problem
    What could be wrong? Thank you in advance!

    Thanks for the reply.
    I received the document from my teacher, so I don't know what program she used to scan it.
    I tried to print the document directly from my PC which works fine though, so I guess the document is OK.
    My HP printer is an old model which doesn't support eprint or air print, so I used the eprint application on iOS to print the document. I tried both color and black/white which gave me the same result: only the center screenshot image is printed out, and the image is enlarged and rotated to fit an A4 paper, the rest of the document is just ignored.
    What do you mean by saving it as a document?

  • HP Laserjet PRO MFP125nw doesn't print Microsoft Word documents from PC

    Hello.
    I've recently bought a brand new HP Laserjet PRO MFP125nw printer. The functions seemed really nice and the price was acceptable. I've brought it to my home, installed it following the manual, connected it to Wi-Fi etc. It generally works fairly well. PDF files are printed perfectly well, the scaning function works and it's generally a nice piece of technology.
    The only problem is that it just doesn't want to pring Microsoft Word documents from my PC. It prints it perfectly when I try to print .docx from my smartphone using the app, but it doesn't respond when I try doing it from the PC.
    My Office version is 2007 Enterprise. Do you have any idea what I should do?
    Thank you in advance

    Thank you a lot for a quick reply, Cbert. It's fantastic to see HP actually reading their forums and trying to help!
    I'll try plugging it into the wall and directly to the PC with a USB, we'll see if it works out.
    About Word, i've already tried reinstalling Word, even installed a 2003 version to check if it works with that. Well it doesn't. And as i've written before, I tried turning some .docx files to .pdf using a converter, but it still doesn't print them.
    Anyway, i'll try the first two points and keep you updated, thanks!

  • Open document from bsp

    I created sample document under the
    content management->documents. ( for example word.xls )
    I want to link this document to my BSP and want to
    open this document from my bsp report application.
    How can i do this.
    Thank for your help.

    here is a sample code also...
    READ TABLE application->doc-t_attachments
                        INTO l_attachment
                        INDEX l_index.
             CALL METHOD application->document_display_attachment
               EXPORTING
                 attachment       = l_attachment
               IMPORTING
                 s_return         = ls_return
                 file_content     = l_file_content
                 file_content_hex = l_file_content_hex
                 mime_file_type   = l_file_mime_type.
             IF NOT ls_return IS INITIAL.
               APPEND ls_return TO application->t_return.
             ELSE.
               CREATE OBJECT cached_response TYPE cl_http_response
                     EXPORTING add_c_msg = 1.
               IF NOT l_file_content IS INITIAL.
                 cached_response->set_cdata( l_file_content ).
               ELSE.
                 cached_response->set_data( l_file_content_hex ).
               ENDIF.
               IF l_event_tableview->itemclick = 'ClickName'.
                 cached_response->set_header_field(
                     name  = if_http_header_fields=>content_type
                     value = l_file_mime_type ).
                 cached_response->set_header_field(
                     name  = 'Content-Disposition'
                     value = 'inline' ).
               ELSE.
                 cached_response->set_header_field(
                     name  = if_http_header_fields=>content_type
                     value = 'application/x-download' ).
                 CONCATENATE l_attachment-name '.' l_attachment-type
                         INTO l_filename.
                 CONCATENATE 'attachment; filename=' l_filename
                         INTO l_value.
                 cached_response->set_header_field(
                     name  = 'Content-Disposition'
                     value = l_value ).
               ENDIF.
               cached_response->set_status( code = 200 reason = 'OK' ).
               cached_response->server_cache_expire_rel( expires_rel = 180
               CALL FUNCTION 'GUID_CREATE'
                 IMPORTING
                   ev_guid_32 = guid.
               CONCATENATE runtime->application_url '/' guid INTO l_url.
               cl_http_server=>server_cache_upload(
                     url      = l_url
                     response = cached_response ).
               RETURN.
             ENDIF.
    the method document_display_attachment is in the class
    CL_BSP_HAP_DOCUMENT_IF.
    Message was edited by: manasa

Maybe you are looking for

  • Transaction FTR_CREATE and TBB1 -BADI needed

    HI, We have a requirement,the issue is that FI document is not getting generated and the system shows error message while posting the entries using  Tcode TBB1 for product type 55G.  The accounting entries involve postings to GL accounts for which Tr

  • Root.sh failed:Raw devices for OEL 5.3 and 10.2.0.4 RAC

    Hi We have OEL 5.3 and Oracle RAC 10.2.0.4 While installing clusterware and running root.sh we are getting the error Failed to upgrade the cluster registry. Further the ocrconfig.log are as below: ocrconfig_20527.log Oracle Database 10g CRS Release 1

  • Trouble Importing from Hard Disc Cam

    Hi All, I am using the trial version of CS4. I moved the .mpg files from my cheap hard disc Sony DCR-SX41 camera onto my hard drive, When I try to import them in the media browser I get a message saying that the files are not supported. I set up my p

  • Reg. UWL Configuration

    Hi Friends,      I am trying to configure UWL in Portal 7.0. I am following a document which says that i have to register the systems in System Administration -> System Configuration -> Universal Worklist Administration. But I dont see any such link

  • How are things going in the OS 9 world?

    Its been over a year since I last booted into OS 9. But for more than 6 years I was using a Performa 6360. It would often crash on websites and woudl give me so many problems that I have yet to have since I bought an ibook with Tiger. Yes there are a