Default output device for smartform

Hi all
how can we assign a default output device to a smart form so that the every time we execute a smartform it doesnt ask for a output device?
thanks in advance....

Hi
First see what your default out put device is.
That you can see in SU3>Default>OutputDevice.
Suppose it is set as 'PRINTER' .
Then in ur print program you have to write the logic as below.
  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      FORMNAME           = 'Z_smartform
    IMPORTING
      FM_NAME            = WF_FUNCMODULENAME
    EXCEPTIONS
      NO_FORM            = 1
      NO_FUNCTION_MODULE = 2
      OTHERS             = 3.
  CLEAR: WA_CONTROL_PARAMETERS.
    WA_CONTROL_PARAMETERS-GETOTF    = 'X'.
    WA_CONTROL_PARAMETERS-LANGU = 'E'.
  WA_CONTROL_PARAMETERS-DEVICE = 'PRINTER'.
    CALL FUNCTION WF_FUNCMODULENAME
      EXPORTING
        CONTROL_PARAMETERS   = WA_CONTROL_PARAMETERS "Control Params
        OUTPUT_OPTIONS       = WA_OUTPUT_OPT  "Output Options
        WF_CARRID            = WF_CARRID
        WF_CONNID            = WF_CONNID
        WF_FLDATE            = WF_FLDATE
      IMPORTING
        DOCUMENT_OUTPUT_INFO = WA_DOCUMENT_OUTPUT_INFO
        JOB_OUTPUT_INFO      = WA_JOB_OUTPUT_INFO
        JOB_OUTPUT_OPTIONS   = WA_JOB_OUTPUT_OPTIONS
      EXCEPTIONS
        FORMATTING_ERROR     = 1
        INTERNAL_ERROR       = 2
        SEND_ERROR           = 3
        USER_CANCELED        = 4
        OTHERS               = 5.

Similar Messages

  • How to set a default output device for FAX outputs

    Hi Experts,
    Business requires to set a default output device for fax outputs ( Medium as 2 Fax medium ).
    as fas as print output ( medium as 1 print medium ) is considered we can maintain output device in condition record--> communication
    I tried maintaining output device in VP01 for my condition type based on sales org but it did not worked.
    Can you please suggest ways to achieve default output device for fax outputs.
    Thanks,

    Well, obvious solution would be to either update user profiles or change the output from 'process immediately' to 'process by a background job'. Then create a generic user ID with any fax number desired and use that user ID to process the output through the background job.
    This is not really an SD question, so if this simple option doesn't work for you, I'd suggest to discuss other custom solution with your ABAP / Basis team.

  • Default output device for ALV report

    Dear friends,
    Here there is a user requirement that he want print a particular ALV report in a
    perticular output device. and want to fix that output device for that report instead of changing everytime.
    Kindly suggest.
    Regards,
    Praveen Lobo

    Hi,
    This way system is expected to search for default printer. What I would recommend you to do is call transaction SP01 within the report and pass the initial screen parameter thru FM.
    Hope this lead, help you solve your issue!
    Reetesh

  • Default output device not coming

    I made one PDF form and attached it in List LG01 in CB85 to print process order through COR2 output device is mentioned as LP01 in list Lg01, but while printing, output device is coming as which is mentioned in user profile.
    I want that output device which i mentioned in configuration should come as default during printing through COR2....Pl. help
    Edited by: lisa harley on Feb 26, 2010 11:09 AM

    Hello,
    Please check the below settings at "Printer Specification" for CB85,
    If output device = 1  ,then it will select the output device for user profile
    if output device  = 2 , Output device from configuration, ie CB85
    Regards
    Pradeep

  • Changing audio output device for currently running program

    I'm not sure where to put this question, but all my searching hasn't seemed to find an answer...
    If I have a program running, iTunes, VLC, a game, whatever, and want to change audio output from say Line Out to Headphones, I have to restart the program for the change to take effect. Is this by design/normal or am I missing something somewhere?

    this is actually a quiet significant issue. There is no way in Flash to select the audio output device.
    Today  people have regular speakers and a separate headset. They all use the  speakers for music and the headset for voice. Skype i.e. has the option  to choose audio output device and its really handy, because
    you dont  have to bother to set the default device to the headset everytime you  want to use it.
    If you set the default device to the headset all other apps will send their audio  output to the headset - which is not what you want either.
    So people  really want to leave the default device set to the speakers and not to  the headset.
    Nokia did this for Java
    JRT 2.1 / Nokia UI API updated to version 1.4:
                AudioOutputControl extension for controlling which audio output device, for example the device loudspeaker or earpiece, is used to play back audio
    This really is an issue.

  • Settings to set default Output Device in FPCJ

    Hi,
    System is taking LP01 as default Output Device instead of the custom made Output device(ZLOCL) while executing the Z smartforms using transaction FPCJ.
    In user setting I have defaulted ZLOCL as default output device & desired page format type is also assigned to the smartforms.
    Is there any other system/config setting to be done to make ZLOCL as default.
    Please advice.
    Thanks in advance
    Sunil

    Sunil,
    Check your user profile using tcode SU3 and make sure you do not have LP01 there as your default OutputDevice. If you have it then your printing jobs will default on that.
    I hope this helps you.
    Regards,
    David

  • Change output device in smartform when using gui_diwnload

    can any one please tell me how to change the output device for gui_download into pdf for a smartform.
    (i want the setting to be done in my report -driver program ,   not in sap application tool bar settings)
    kindly please suggest me,
    thanks in advance,
    koolspy.

    I give you an example
      DATA: ls_control_param      TYPE ssfctrlop.
      DATA: ls_composer_param     TYPE ssfcompop.
        Parametros por defecto para la generación de la orden de spool.
          ls_composer_param-tddataset = 'PDF'.
          ls_composer_param-tdsuffix1 = 'FACT.'.
          ls_composer_param-tdsuffix2 = nast-OBJKY.
          ls_composer_param-TDDEST   = 'LP02'.
        output_options-tdprinter = 'PRINTER'.
          ls_composer_param-tdnewid = 'X'.
          ls_composer_param-tddelete = 'X'.
          ls_composer_param-tdfinal = ' '.
          ls_composer_param-tdlifetime = 8.
          ls_control_param-no_dialog = 'X'.
          ls_control_param-preview = ' '.
          ls_composer_param-tdimmed = ' '.
          ls_control_param-getotf = 'X'.
    call smartform invoice
          CALL FUNCTION lf_fm_name
            EXPORTING
              archive_index        = toa_dara
              archive_parameters   = arc_params
              control_parameters   = ls_control_param
              mail_recipient       = ls_recipient
              mail_sender          = ls_sender
              output_options       = ls_composer_param
              user_settings        = space
              is_bil_invoice       = ls_bil_invoice
              is_nast              = nast
              is_repeat            = repeat
              is_vbdkr             = is_vbdkr
            IMPORTING
              job_output_info      = job_output_info
              document_output_info = document_output_info
              job_output_options   = job_output_options
            TABLES
              gt_vbdpr             = gt_vbdpr
            EXCEPTIONS
              formatting_error     = 1
              internal_error       = 2
              send_error           = 3
              user_canceled        = 4
              OTHERS               = 5.
        Convertimos el fichero OTF a PDF
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                      = 'PDF'
            MAX_LINEWIDTH               = 132
            ARCHIVE_INDEX               = ' '
            COPYNUMBER                  = 0
            ASCII_BIDI_VIS2LOG          = ' '
            PDF_DELETE_OTFTAB           = ' '
          IMPORTING
            bin_filesize                = file_size
            BIN_FILE                    =
          TABLES
            otf                         = job_output_info-otfdata
            lines                       = lt_pdf
          EXCEPTIONS
            err_max_linewidth           = 1
            err_format                  = 2
            err_conv_not_possible       = 3
            err_bad_otf                 = 4
            OTHERS                      = 5
    Hope it helps.

  • How to redirect built in mic to default output device

    Is there a program i can get that will take my voice from the default input device (built-in mic) and redirect the audio to the default output device?
    Note: i do not want to record my audio.
    Thanks for your time.

    Ask Microsoft.... I'm not kidding either. This is a mac forum. You could try to be more specific but, I really don't know if anyone will have an answer.

  • Problem in creating output device for RICOH Aficio MP 2000 PCL 5e printer

    HI,
    i have problem in creating a output device for the RICOH Aficio MP 2000 PCL 5e as i am unable make out which device type should be assigned and what should be given in spool server tab.
    i have pinged the printer in lan and it is connecting.
    when i am giving the print from new ricoh printer its going to some other old printer in network.
    we are unable to get the logo of our company when we are taking print from this printer from sap level.
    kindly suggest what other things has to be taken care.
    regards
    anil

    Hi,
    shall i do in development and then import the same to quality and production.
    also tell me what shd i put in these tabs
    version-sapsripthandling-driver
    list handling-printer driver
    printer character set-character set-syt character set
    we can find this tab in create option of device type.
    when i am trying to save its showing it has to be done on program level.
    kindly reply back as it will resolve the big issue for me.
    thanks
    anil

  • Default output type for PO

    Dear All,
    Can some body so kind to help me to resort the following problem?
    My client have more then 5 purchase organization & each purchase organization use different 'output type' for Purchase order.
    Client requirement is ' there should be a different default output type for different purchase organization while creating PO .
    Thanks in advance.
    Regards,
    sp sahu

    Hi,
    You don't need ABAP or BADIs for this  !!!!!!
    Simply use the options already available as standard in MN04 and choose the output type and select the P org that it relates to and set up the communications data.
    PLEASE don't make SAP any more complex than it is by using ABAP or BADIs when the standard system does it (even without config) as standard.
    Steve B

  • Output Devices for Purchasing Groups

    Dear Friends/Gurus
    Please help me out on this issue
    We Configure Output Devices for Purchasing Groups in
    SPRO the path is
    SPRO-IMG-MM-Purchasing-Messages-Assign Output
    Devices for Purchasing Groups. I would like to know what is
    the Exact Usage of this Function.
    If we Assign a Output Device (Printer) to a P Group and
    create a PO using the same P Group, Do we get it any
    where?

    Hi
    Yes, u r right !.
    Once u configure the Printer determination for Pur group. u can take the print at the required location
    anand

  • VB6 Using MCI Commands to Select MIDI Output Device for Playback in Windows 8.1

    I have written a MIDI Player program in VB6 that uses the multimedia control.  In Windows 8.1, I understand that midimapper is no longer available so the third party softwares which can set the output devices for MIDI do not work as they did for
    Vista and Windows 7.  I found this Microsoft example code that selects sound cards using MCI code and was able to modify the code to show me the MIDI output devices.  In particular I need to output to a USB to MIDI cable.  Can this code be modified
    to do just the PLAY function for midi out to the USB to MIDI cable?  I do not need the record side of the program.  Here is the MS article number since I can not post the link to the the VB6 program:  q182799
    With a modified code to play midi, I can then pull the necessary code into my MIDI Player Program.  Thank you for the help on this.

    Hi,
    For Visual Basic 6 questions, read the post at the following address
    http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.
    Kate Li
    TechNet Community Support

  • Automatically choose an output device for itunes?

    I have several audio input and output devices, for example, a speaker phone for skype, speakers with sub woofer for itunes. Is there a way to make an Output device automatically be choose for a specific app such as itunes? I would never want to listen to itunes over the speaker phone nor skype with the speakers/subwoofer.
    I find my self often changing the output device with the ALT speaker icon in the upper right, but this doesn't always end well if you have already started the audio out of the wrong output device.
    Any ideas?
    thanks
    bob

    hello, friend.
    has the BASIS consultant made any settings for the printer? 
    regards.

  • Output device for MB51 List

    Hello Experts!
    Does anybody know how can I find to which output device a user sends the list he gets from MB51?
    Regards,
    Ileana

    Hi,
    The user says the documents are not printed there, and once the user clicks 'print', everything is printed automatocally, she doesn't do any input... Is theresomething like an output device for program / for user????
    Regards,
    Ileana

  • The best output device for iPod?

    Hallo Everybody,
    Somedays ago I have seen an heard the T+A Caruso(http://www.taelektroakustik.de/deu/ta2/caruso/caruso.htm). This was it! Yes! Internetradio, CD and iPod in a perfect Combination of Sound! - and then the cold shower - 1700 Euro not $!
    Who know a ultimative solution under this price?
    DENON S52 is it not! no sound calibration!

    You can connect an iPod to any sound system. So the best "output device for iPod" is the same as the +best output device, period.+
    I'm told you get better sound (for the purpose of feeding into a sound system) if you connect the audio output through the docking connector, instead of from the headphone jack. You get +line level audio out+ like with other audio system components.
    You can do so if you have a Docking Station device with a stereo jack, or if you get a cable like this one.
    [Example of cable with docking connector and mini-stereo jack|http://www.restockit.com/Cables-To-Go-IPod-Audio-Cable-Apple-Dock-Connecto r-Mini-phone-Stereo-3-5-Mm-M-White-(73679B).html?source=froogle&Bvar5=100F1&Bvar 6=100F1&Bvar7=100F1]

Maybe you are looking for

  • Remote Desktop Connection won't connect to ip address through my airport extreme?

    I can't seem to get my RDC to connect through my airport extreme. I know it must be a setting on my airport extreme, but can't figure it out. When I hardwire the ethernet cable from the modem to the computer it connects fine, and when I set up a hot

  • [Forum FAQ] How to sync time with a Domain Controller for a standalone server

    As we all known, if a computer belongs to an Active Directory domain, it will sync the time automatically by using the Windows Time service that is available on Domain Controllers. While a standalone server will synchronize with its local hardware ti

  • Sony Vaio VPCEB3F4E intermittent power on problems

    Hi All Model above. Four years old, new SSD, everything else factory. Fan cleaned six months ago. Was working away one day and just turned off. Wouldn't boot back up. Tried to take out battery, hold power for 30 seconds, then boot didn't work (power

  • Existing Family Packs versions !! -- 11i.HR_PF

    Dears, I'm using this script to get the family packs and versions stuff: select decode(nvl(a.APPLICATION_short_name,'Not Found'), 'SQLAP','AP','SQLGL','GL','OFA','FA', 'Not Found','id '||to_char(fpi.application_id), a.APPLICATION_short_name) apps, de

  • How to Trasport  across CMS

    Hello I want to know, it is possible, transport some different  web dynpro applications (projects) that were deployed and running in a Netweaver Java server DEV  to another new server QAS or PRD across <b>CMS</b>... It is possible? What things we hav