Regarding callfunction for output device without a prompt for printer name.

Hi,
  Is there any call function, for accessing output device, without a prompt for printer name? Can we directly execute the smart form without print popup?
Can anyone suggest me in this regard.
Thanks in advance,
Shwetha Korlepara.

Hi,
Check my code and reward points by clicking the star on the left of reply,if it helps.
*& Report  ZZZ_JAYTEST1                                                *
REPORT  zzz_jaytest1 NO STANDARD PAGE HEADING MESSAGE-ID zhrt.
Variable Declaration
DATA : v_form_name TYPE rs38l_fnam,
       itab TYPE STANDARD TABLE OF pa0001,
       w_ctrlop TYPE ssfctrlop,
      w_compop TYPE ssfcompop,
      w_return TYPE ssfcrescl.
SELECT * FROM pa0001 INTO TABLE itab UP TO 5 ROWS.
SORT itab BY pernr.
DELETE ADJACENT DUPLICATES FROM itab COMPARING pernr.
DATA: control TYPE ssfctrlop,
control_parameters TYPE ssfctrlop,
output_options type SSFCOMPOP.
control-preview = 'X'.
control-no_open = 'X'.
control-no_close = 'X'.
control-no_dialog = 'X'.
control-device = 'PRINTER'.
output_options-tddest = 'LOCL'.
OUTPUT_OPTIONS-TDNOPRINT = 'X'.
OUTPUT_OPTIONS-BCS_LANGU = SY-LANGU.
CALL FUNCTION 'SSF_OPEN'
EXPORTING
   USER_SETTINGS            = ' '
   OUTPUT_OPTIONS           = output_options
   CONTROL_PARAMETERS       = control
EXCEPTIONS
   FORMATTING_ERROR         = 1
   INTERNAL_ERROR           = 2
   SEND_ERROR               = 3
   USER_CANCELED            = 4
   OTHERS                   = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
output_options-tddest = 'LOCL'.
OUTPUT_OPTIONS-TDNOPRINT = 'X'.
OUTPUT_OPTIONS-BCS_LANGU = SY-LANGU.
CALL FUNCTION '/1BCDWB/SF00000066'
EXPORTING
  ARCHIVE_INDEX              =
  ARCHIVE_INDEX_TAB          =
  ARCHIVE_PARAMETERS         =
   CONTROL_PARAMETERS         = control
  MAIL_APPL_OBJ              =
  MAIL_RECIPIENT             =
  MAIL_SENDER                =
   OUTPUT_OPTIONS             = output_options
   USER_SETTINGS              = ' '
IMPORTING
  DOCUMENT_OUTPUT_INFO       =
  JOB_OUTPUT_INFO            = w_return
  JOB_OUTPUT_OPTIONS         =
  TABLES
    itab                       = itab
EXCEPTIONS
  FORMATTING_ERROR           = 1
  INTERNAL_ERROR             = 2
  SEND_ERROR                 = 3
  USER_CANCELED              = 4
  OTHERS                     = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'SSF_CLOSE'.

Similar Messages

  • Cannot find PDL type for output device LOCL in J1INCRT

    Dear all
    I am getting error in PRD system. When I am running J1INCRT (Customizing for Certificate Printing)  the error
    cannot find PDL type for output device LOCL
    we are using ECC6 ,oracle 10g  and windows 2003
    Kernel release    701
    Please suggest how to solve 
    Regards,
    Kumar

    Hello
    It looks like that you had not installed the ADS(Adobe Document server) for the PDF type reports. Please check with your basis team if you want to configure ADS.
    If you need the output as a sapscript then please do the sollowing steps:
    (1) Execute transaction SM30
    (2) Enter 'Table/View' as V_T5F99OCFT
    (3) Select 'Maintain' option.
    (4) Select 'New Entries' option from the Application Too
    (5) Enter following entries:
         Logical Form Name    = HR_IN_EPF12A_99M
         Form Variant         = (Leave this field blank)
         End Date             = 31.12.9999
         Start Date           = 01.01.1990
         Form Type            = SAP Script (SSC)
         Def. Type            = (This field should be checke
         PDF Form Name        = HR_IN_EPF12A_99M
         SAP Script Form Name = HR_IN_EPF12A_99M
         Smart Form Name      = (Leave this field blank)
    (6) Save the entries
    The above example I have given you is only for the form 12A.
    You have to make entries for all the reports sapscript in this table.
    Please goto SE71 -> F4 -> Payroll -> Payroll India here you will find
    all the sapscripts you require.
    Regards
    Ramana

  • Cannot find PDL type for output device '(Printer name)'

    Hi,
    After seeing the statutory reports (PF, ESI etc) in standard format, we try to print form. We get the below error:
    Cannot find PDL type for output device '(Printer name)'
    Message no. FPRUNX113
    Diagnosis
    No PDL type has been found for the specified output device.
    System Response
    Error message
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    For more information, see SAP Note 685571.
    Any input will be off great help...
    Regards
    Pooja

    Hello
    It looks like that you had not installed the ADS(Adobe Document server) for the PDF type reports. Please check with your basis team if you want to configure ADS.
    If you need the output as a sapscript then please do the sollowing steps:
    (1) Execute transaction SM30
    (2) Enter 'Table/View' as V_T5F99OCFT
    (3) Select 'Maintain' option.
    (4) Select 'New Entries' option from the Application Too
    (5) Enter following entries:
         Logical Form Name    = HR_IN_EPF12A_99M
         Form Variant         = (Leave this field blank)
         End Date             = 31.12.9999
         Start Date           = 01.01.1990
         Form Type            = SAP Script (SSC)
         Def. Type            = (This field should be checke
         PDF Form Name        = HR_IN_EPF12A_99M
         SAP Script Form Name = HR_IN_EPF12A_99M
         Smart Form Name      = (Leave this field blank)
    (6) Save the entries
    The above example I have given you is only for the form 12A.
    You have to make entries for all the reports sapscript in this table.
    Please goto SE71 -> F4 -> Payroll -> Payroll India here you will find
    all the sapscripts you require.
    Regards
    Ramana

  • Printing error with t-code j1inmis: Can not find PDL type for output device

    Hi,
    When using tr.code j1inmis,when we seeing the print preview iam getting below error.
    The error with my system show the details as follow :
    Cannot find PDL type for output device LP01.
    My system is only abap stack.Guide me for the same how to resolve this.
    Thanku

    Hi,
       When i submit the test through URL its working fine(http://192.17.0.12/AdobeDocumentServices/Config).In SM59 Both sides are working.
    When I check The Test : FP_TEST_00 iam getting below error
    ADS: com.adobe.ProcessingException: com.adobe.Processin(200101)
    But
    When I check The Test : FP_PDF_TEST_00 its working fine.
    And When I check this test : FP_CHECK_DESTINATION_SERVICE without destination its working fine.
    When i check with destination iam getting error :  SYSTEM ERROR:com.adobe.ProcessingException:Problem accessing data from Destination:dest:FP_ICF_DATA_SMN//sap/bc/fp/form/layout/FP_FORM_SECURITY_TEST.XDP?fp-language=DE.
    Guide me for the same two tests are working fine other two are getting error,guide me for the same to solve this,appreciate ur help.
    Thanku

  • Email Address not visible for output device MAIL in created batch job

    Issue in ECC6.0: Email Address not visible to display/change for output device MAIL in print parameter of each step in the created batch job.
    User wants to periodically receive report file via send to his email, so I create the batch job running report and send the report in pdf file to his email.
    Detail in the batch job
    1) In print parameter screen of the step in the batch job
       -Using output device MAIL (output type ZPDF1)
       -inputting email address of receiver in the EMAIL ADDRESS field
    2) After the batch job was saved, I tried to display/change the field EMAIL ADDRESS via Tx. SM37, but this field is invisible. The field can not be displayed or changed anymore. I also tried in SM36, but it is for creating new batch job, not changing the existing batch job.
    4) User receives email with pdf file from the batch job.
    How to change/display the email address of the receiver in the created batch job?
    Note that we just changed to use SAP ECC6 from SAP 4.6c. In SAP 4.6c, we can change/display the
    Email Address Field via Tx. SM37.
    Pls kindly suggest, thank you very much in advance.

    Hi Srirompoti,
    After saving the job if the job has not started then you can follow the below steps to change the Email address.
    1. View the job from Txn SM37.
    2. check the check box for your job that you want to change and goto menu path "Job->change
    3. in the next screen goto "Edit->steps." or press "F6" key
    4. place the coursor on the job and goto menu path "Step->change->print specifications.
    5. here you can change the email address.
    If you are not able change the data then you might not have authorization.

  • Printing error  with t-code FBCJ: Can not find PDL for output device prtloc

    Hello , folks ,
    The error with my system show the details as follow :
    Cannot find PDL type for output device prtlocal
    Message no. FPRUNX113
    Diagnosis
    No PDL type has been found for the specified output device.
    System Response
    Error message
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    For more information, see SAP Note 685571.
    Our Basis can not solve the problems .
    anybody know what's wrong with it ? 
    Thanks a lot .

    other problems could be:
    C drive is full
    ADS folder under C:\Temp are write protected

  • HT1766 How can I make a NEW backup WITHOUT getting prompted for a (forgotten) password?

    Hello! 1st post here,
    How can I backup iPhone A to iTunes and then restore into iPhone B without getting prompted for a backup password that I do no know or remember ever setting?
    To clarify, I am not trying to read an encrypted backup. I would like to make a NEW backup but I do not want it to be encrypted as I do not know nor remember how a password was set in the 1st place. If I unclick the encryption checkbox, I am prompted to enter the password. Defeats the purpose of clicking on the box, no?
    Thanks,
    Henry

    Have you tried deleting the encrypted back up?

  • HT204053 can I swap apple id for a device without losing apps already on it from current apple id?

    can I swap apple id for a device without losing apps already on it from current apple id?

    Welcome to the Apple community.
    I'm not entirely sure if this is what you are asking, however you cannot use another account without losing the ability to update the apps that you have bought under another account.

  • I'm using my electric guitar with GarageBand. With the input/output jack being full of my guitar cord, does anyone know if I can rig a BlueTooth speaker for output? Thanks in advance for any response.

    I'm using my electric guitar with GarageBand. With the input/output jack being full of my guitar cord, does anyone know if I can rig a BlueTooth™ speaker for output? Thanks in advance for any response.

    yes this will work
    you can also get a splitter cable that goes in to your in/out port so you can have 2 (or more) separate ports

  • Changing font size for output device / spool  file

    hi all,
    i see only these below parameters for  print in the code of the transaction which gets spool no and output device as input and prints it.
    i need to increase the font size of the print out.any help?
    LAYOUT                 = 'X_65_132'
          LINE_COUNT             = 60
          LINE_SIZE              = 110

    Hi Sona,
    You can not do that in report.
    If you need some output format like font type, color, size you have to use Smartforms or Sapscript.
    Sapscript Tcode: SE71,
    Smartforms TCode: SMARTFORMS.
    Regards,

  • How to use airplay speakers in multi-output device without crackling audio?

    Hi,
    I would like to mirror the audio output from my mac mini to the built-in output and an airplay speaker.
    Therefore I added a Multi-Output Device containing  the Built-in- and Airplay output, as soon as I activate the airplay speaker the sound is mirrored but unfortunately always with a crackling sound coming of the speakers set as "slave Device"... only the Device set as "Master Device" has clear sound, doesn't matter if it's the airplay speaker or the speaker (or headphone) directly connected to the built-in output.
    I've tested this with a mac mini and an mac book air as audio source, same problem. Both were running Mac OS V. 10.9.2.
    Does anyone have an idea what I'm doing wrong?
    Greets
    Chris

    I'm using a 2011 Macbook Pro running Mavericks and current Apple TV (MD199HK/A 3rd generation) when trying to output audio to both Apple TV and built-in output simultaneously I suffer crackling and popping. I have this issue once I use Audio MIDI Setup (under utilities) to create a Multi-Output Devise. Once I use this multi-output devise made up of Apple TV and Built-In Output to get my music to both output devises at once BUT I get crackling sound on either Spotify or iTunes.
    I've worked around this issue by using AirParrot. I select Apple TV in AirParrot with Audio enabled. The Apple TV then takes all audio output, then I select the 'Multi-Output Devise created in 'Audio MIDI Setup' and I have playback through Apple TV and Built-In Output without any crackling or popping.
    Only minor outstanding issue is that whatever scenario I then run Audio Midi Setup in terms of setting various devises as Master Clock and resampling of sub devise I can't perfect the sync between Apple TV audio output and my local Macbook Pro, but close enough with the slightest hint of echo. Plenty of forums discussing Word Clock sync which is out of my league. Un-ticking drift correction on the 'AirParrot' audio output has them close enough, depends on how easily you can hear your apple TV output from the room where your Macbook Pro is and vice versa.

  • HELP! Without any prompting for such a download, Firefox tells me 'Thank You for choosing Firefox 4', & I have lost ALL of my bookmarks! I absolutely need to restore them, please please help. Not impressed at all!

    I am shellshocked.... so far I am not happy with Firefox's latest effort. When I first got this version, my 'saved tabs' function did not work, which I use regularly, and I lost vital site information with the update. I figured out how to fix this by changing a setting, and figured my problems were over.
    But NOW without any prompting from me, Firefox re-opened, having lost the tabs I had, yet again, and instead opened up two new tabs, 'Welcome to FireFox' (ty for choosing firefox4), and 'Mozilla Firefox Start Page', AND I have lost all my bookmarks!, WTF! Please help me to restore them, I have tried the help info provided, but they are still not restored :( Some of those treasured bookmarks, an extensive list, I will never get again, unless I can restore the ones I had. :( NOT IMPRESSED AT ALL.

    Ok this is bizzare!
    Thank you for your response, I went throught each and every step without any luck, even got the recovery programme, and painstakingly tried to sift through all that mumbojumbo to find what i needed. finally found the bookmark bit, but it had been fully overwritten :(, so on reading about previous ff versions, found the sqlite thingys, and they were relatively unscathed(partly written over, but saveable apparently TG), saved them to adiff drive, amongst other possibly good folders. Then looked up how to install them, and it said to close FF, and install to profile folder.
    So i tried to close FF, and the original problem from a few days ago, where it asked me if 'i was sure i wanted to close this window as it has X tabs open', popped up again. This is where 'open blank page' selection was set, over 'open previous tabs'. Wanting to save that info on how to sort out these friggin files, I reset the Option to 'open previous tabs', and closed FF. After unsucessfully searching for the profile folder on my laptop, i opened FF intending to search online for where i could find said folder.
    AND BANG, surprise surprise, the FF I had just closed with only tabs open about finding out what the heck to do, had disappeared, and instead my original saved tabs were up, and my bookmarks are there..... I am gobsmacked! what the heck just happened there???
    I have made 3 back up in different folders now, of those friggin bookmarks. I am weary now tho of shutting it all down.... what if its back to the other pages I had with no bookmarks, tomorrow :(

  • Switching audio output device without pulseaudio

    I frequently use a USB sound card with a pair of headphones, which had been playing nicely with Gnome and Pulseaudio. Gnome provides a GUI to switch between output devices which seems to work well, but requires Pulseaudio. Long story short, I'm in the middle of switching away from Gnome to a lighter WM setup and I have everything working but am not able to figure out how to switch between sound cards on the fly. I don't want to keep a bunch of Gnome dependencies just for this.
    I tried a "slots" configuration (http://alsa.opensrc.org/MultipleCards#T … .22_method) which set my USB card to slot 0 and my built in Intel audio to slot 1. This got my USB card working when it's plugged in, but now I get no sound at all when it's unplugged. I've checked the volume settings with "alsamixer -c 1" and everything is unmuted and loud, but still nothing.
    Shouldn't the system fall back on card 1 if card 0 is unplugged? How can I make this happen?
    Thanks.

    GogglesGuy wrote:I use asoundconf: http://aur.archlinux.org/packages.php?ID=23382
    That still requires restarting running applications for the change to take effect, no?

  • HT1689 How do I change my iTunes account to use gift cards only without it prompting for my credit card info?

    How do I change my iTunes account setting to only use gift cards without it prompting me for credit card info to make a purchase. I have credit on my account from gift cards but it won't let me purchase without entering credit card info...I do not want to enter credit card info.

    Itunes verifies your account using your cc info.

  • How do I change Firefox's audio output device without relaunching the browser?

    I frequently switch between different headsets and speakers using USB audio devices. Whenever I change from audio device to another, Firefox does not change it's audio output to match my current device. Other programs/games follow suit when I change my default audio device and I really dislike that I have to exit out of Firefox completely and reopen for my audio to come through the correct device. It's not a huge issue, but when I have multiple windows and multiple tabs open it can be annoying having to start my browsing session all over again. Any tips to deal with this issue?
    Thanks!

    philipp,
    Thank you! The beta worked perfectly when I swapped between audio devices. I just had to make sure I disabled the devices that weren't in use before Firefox would switch to the new default.
    Unfortunately, while I was typing this message my client crashed, but that's not uncommon for a beta.
    Thanks again for your help!!

Maybe you are looking for

  • Which computer for logic express 8

    Hi. I'm looking to buy an apple computer and logic express 8. I want a laptop that is powerful enough to run a decent software for writing and recording tunes that is intuitive and user friendly. I heard that it is better to get a seperate hard drive

  • Shut Down Without Prompt

    Hello. I have a Mac Mini connected to a TV. Although I have a wireless keyboard and mouse for it, I usually use a remote, or connect via VNC. I would like to be able to shut it down by just pressing the power button,  like you can do on any PC, but i

  • US Elims - Legal Consolidation issue

    Hi, We are currently running US eliminations and we want to do legal consolidation. After consolidation all the records are apprearing in the Consolidation scopes defined in the scope dimensions other than my US_Elim transaction which appear in No Sc

  • Failing to download version 4.3.2 to my my iphone 4 via itunes?

    I am trying to download version 4.3.2 to my my iphone 4 via itunes. I can load around 500mb of 660mb and the download stops with zero error message, frustrating as this takes 90 minutes +. This happens every time, help please?

  • Ticket Notifications...yes really!

    How are you creating the ticket - email submission?  Who's the submitter - an end user, or an admin/helpdesk tech?  If it's a helpdesk admin/tech, this will make a difference.  Test with both scenarios. You can see in the production.log file under c: