How to avoid the repeated Print window, for range printing in a smartform

Hi
I developed one smartform for the single/multiple Outbond deleviry.  When I execute the query with same range then print window opened and after click print button Document priented. But when I try to execute the query with range suppose 0001 to 0003 then Print window opened and click the print the 0001 doc and again click print button for 0002 and so on.
I would like to , how we take a print on single click print button.
pls help me it's urget.
Thanks in advance
Tapovardhan

Thanks Ravi
But after adding code this error comes.
Field "PRINT_PARAMS-NO_DIALOG" is unknown. It is neither in one of the
specified tables nor defined by a "DATA" statement. "DATA" statement.
For define the PRINT_PARAMS what would be the type.
Our code is given below.
REPORT  ZTESTPCLDI.
tables :  likp.
select-options : s_vbeln for likp-vbeln.
data : itab_likp type standard table of likp with header line.
DATA : FORM_NAME TYPE RS38L_FNAM.
data : print_params type SSFCTRLOP.
start-of-selection.
select  * from likp into table itab_likp
where vbeln in s_vbeln.
end-of-selection.
loop at itab_likp.
if sy-tabix <> 1.
print_params-no_dialog = space.
else.
print_params-no_dialog = 'X'.
endif.
CALL FUNCTION '/1BCDWB/SF00000045'
EXPORTING
  ARCHIVE_INDEX              =
  ARCHIVE_INDEX_TAB          =
  ARCHIVE_PARAMETERS         =
  CONTROL_PARAMETERS         =
  MAIL_APPL_OBJ              =
  MAIL_RECIPIENT             =
  MAIL_SENDER                =
  OUTPUT_OPTIONS             =
  USER_SETTINGS              = 'X'
IMPORTING
  DOCUMENT_OUTPUT_INFO       =
  JOB_OUTPUT_INFO            =
  JOB_OUTPUT_OPTIONS         =
  TABLES
    wa_likp                    = itab_likp
EXCEPTIONS
   FORMATTING_ERROR           = 1
   INTERNAL_ERROR             = 2
   SEND_ERROR                 = 3
   USER_CANCELED              = 4
   OTHERS                     = 5.
   NEw-PAGE.
   endloop.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
regards,

Similar Messages

  • How to Suppress the POP UP window for Print out Device

    Hi All,
    I have One ALV Grid report and in this report I want to SUBMIT another report which, when executes gives the POP UP window for Printer Device and sends the output to that device. if we give LOCL, sends output to Spool.
    So I want to Suppress that POP UP Window and by default that POP UP window should take 'LOCL' as Printer Device.
    Thanks in advance,
    Helpful answer get awareded.

    On the submit command is a spool parameters option.
    The addition WITHOUT SPOOL DYNPRO suppresses the print dialog box that is displayed as standard when you use the addition TO SAP-SPOOL.
    The addition SPOOL PARAMETERS is used to transfer the print parameters in a pri_params structure that belongs to the data type PRI_PARAMS from the ABAP Dictionary.
    PRI_PARAMS-PDEST specificies the output device.

  • How to display the Get info window for a file or folder

    Hello,
    How can I display the Get Info window for a file or folder using Applescript - instead of selecting it in the finder and using Command-I ?
    Thanks.
    lenpartico

    The item property that the Get Info was opened for is read only, so it doesn't look like you can just throw a file path at it. You could do something like telling the Finder to reveal the item, then keystroke the command, e.g.:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Finder"
    reveal "Path:to:your:file"
    activate
    end tell
    tell application "System Events" to keystroke "i" using {command down}
    </pre>
    ... but this doesn't seem to be much different than the regular method. There are other methods to get various information, what are you wanting to do?
    Edit:
    Hmmm, I could have sworn (I do a lot of that these days) I tried Hiroto's method, but that does work. It still seems to be a roundabout way of doing something though.
    Message was edited by: red_menace

  • How to avoid the annoying little window that opens when I go to close a file?

    When I put my cursor near the x of a file tab to close a file, a little window opens over the x and I have to wait for it to dissappear before
    I can click on the x to close the file. The window that opens has the exact same text as the folder tab and seems worse than useless. Is there a way to turn it off?

    It should be real easy to install the latest ATI driver for the latest ATI mobility video card but that hasn't been the case with those with my computer. Computer stuff is never as easy for my as I think it should be. I'm probably and excellent candidate for Apple computers but I'm too cheap and old to switch.
    My computer is Alienware's (Dell bought Alienware a couple of years ago.) latest and biggest, m18x, and it holds two ATI 6970m GPU's. There is a real good forum of users of this computer and many have problems installing video card drivers. That is why I wanted to leave well enough alone but some say the latest drivers perform better in games so I gave it a try. My first try was installing Dells recommended latest driver for the video cards in my computer. They installed but my computer refused to use them and it hinted that it didn't like the signature. I tried for a while to get it to work but gave up and went to a site recommended by one of the users in the forum and it downloaded fine and is working.
    dt

  • How to check the Prerequisite in windows for SAP . Is any cmd there for it?

    Please help me ......

    Hi
    Make sure you create a list of base memory parameter settings for windows.
    Go through the SAP Notes for setting the window operating system zero memory management parameters.All the buffer and memory parameter should be set correctly that can be checked through TU02 or In se38 rsparam report.
    Hope this helps!!
    Thanks and Regards
    Esha Rajpal

  • TextField: how to disable the accent input window for e,o,a keys

    I have a TextField and when I keep one of the keys 'e', 'a' or 'o' pressed I see an odd new window that allows me to enter accent characters using the mouse. Since this new window is displayed at the wrong position (somewhere below my actual Stage) I'd like to disable it but haven't found something in the JavaDoc.
    Here is a small screenshot since I don't know if I've used the correct words to describe it - it probably has a proper name:
    http://i.imgur.com/6qJwwEh.png
    I'm on a german keyboard and on Mac OSX using jdk1.7.0_15.jdk.
    Edited by: jh on 08.03.2013 10:24

    But what's the point? It's not as though you'd actually be able to prevent the page source from being obtained by a determined user.
    Kirk

  • How to avoid the double memory assignment for an array which I connected to the shift register?

    Hi,
    I need to read a big block of data into an array. When I stop the program and then restart, I hope  the program to use the previously load arrary instead of reloading it. So I put the initiat Data loading in a for loop (N =1) and connect the array to a shift Register. The problem here is it assigns memory twice,  for the initiator data loading and shift register. Is there any way to limit the memory assaignment to 1 since I only need one copy.
    Thanks.

    JWJ wrote:
    Since my original file is more than 2M and really comlicated, I just make a simple demo file to show my purpose.
    Your current code is way too confusing, so I assume that the full code makes more sense. The program is unusable because the main FOR loop gets locked in an inner loop that consumes all CPU doing nothing.
    I think that branching the main array into the (1) case structure and (2) inner while loop costs you an extra allocation. Here's a more reasonable way to do things. It elimiates the buffer allocation going into the case structure.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DemoMOD.vi ‏11 KB

  • How to use the t-code vf31 tor taking print out of invoice

    Hi,
      How to use the t-code vf31 for taking print out,am getting an error like no message for initial processing exist,
    venu

    Hi,
    Please find the steps
    Output type                     RD00
    Transmission medium             1
    Sort order                      01
    Processing mode                 1
    Please give the oppropriate fields,
    if the still error persists  check the configuration in NACE transaction code.
    thanks
    Kuntla

  • How to avoid the Amount and Date values for VOID Cheques

    Hi All,
    I had created a two window i.e For Amount and Date. If I process the cheque the Amount value and Date should not trigger for VOID CHEQUES.
    Can any one tel me how to avoid the Amount and Date values for VOID Cheques
    Your help will be greatly appreciated.
    Regards
    Yathish

    Hi,
    I dont know which tablel you are referring to, is it PAYR table and the field VOIDR?
    If a cheque is voided, it would have a reason and it is stored in VOIDR field of this PAYR table.
    Check if the field VOIDR is filled, if it is filled, do not print the amount and date.
    Regards
    Subramanian

  • How can I shut off all of the pop-up windows for all the Firefox updates?

    How can I shut off all of the pop-up windows for all the Firefox and Thunderbird updates?
    Apparently now Mozilla creates new versions of their browser and email apps every two weeks instead of just creating updates... I'm tired of all of the pop-up requests for these constant installation requests and all the problems that the new version installations create... I just want to use the software and be left alone.
    I can't find a way to make Firefox and Thunderbird stop with the pop-up requests for new installations... is there a way to do this or has Mozilla just got it rigged so one can't just use the software without re-installing a new version every two weeks and running in to new plugin issues and missing features every time?
    Help!
    Thanks,
    numetro

    Is it possible that her computer is infected with malware.
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How to remove the pop-up window ''Wireless Radio Status" for t430s

    Hi, I have owned my t430s for now about 2 years without any major complaints recently I've had to use the fn + f5 function quite frequently, because of my poor internet connection. so that way i can reset which signal I want to choose because the default signal I am connected to is not mine. My problem is similar to what is posted here: https://forums.lenovo.com/t5/X-Series-Tablet-and-Helix/how-to-remove-the-pop-up-window-Wireless-Radio-Status/td-p/1191059 I really want to get rid of the pop up for this feature, I've tried to follow what the other thread user's have done and try out their solutions but it does not work for my t430s i tried changing the pmev thing to what was posted in the thread. Can anyone help me? Thanks!  

    I already tried that as mentioned in my original post, it doesn't work. I still get the pop up message: this is me pressing fn + f5 

  • How to avoid the event has been repeated many times in the background

    Application, the main screen is divided into two containers:left and  right container,
    The right side of the container is divided into two containers:top and  bottom container,
    There is a button in the left container.
    Click the button, the container at lower right will using ModuleManager  load Module,  The following container load of the right of the screen  has been monitoring the container above the action.
    Problem:
    When you click the button repeatedly to load the container in the lower  right, it will create multiple instances, and can not be freed  immediately. When the above container do an action or event, there are  multiple instances of monitoring exist.
    The background will be repeat the action or event many times.
    How to avoid the event has been repeated many times in the background?
    Thanks

    Flex harUI
    multiple instances of a mxml, maybe ?

  • How can I get the template( word rtf )  for PO – Printed Purchase Order ?

    I want to convert the “PO - Printed Purchase Order” report from Oracle rdf format to BI Publisher. I am looking for the template but could not find in UNIX.
    As per the Oracle blog, the template is available. Please see the URL : https://blogs.oracle.com/xmlpublisher/resource/121BIPReports.pdf
    The template code is POXPRPOL_XML.rtf
    when I look at the $PO_TOP/patch/115/publisher/templates/US directory, I cannot find POXPRPOL_XML.rtf
    How can I get the template( word rtf ) for PO – Printed Purchase Order ?
    Thank you,
    Biju Varghese.

    How can I get the template( word rtf ) for PO – Printed Purchase Order ? XML Publisher Administrator -> Templates
    find by code or name
    open it and you can downloadtemplate by "download" button

  • I recently installed Acrobat Pro X on my Mac. I initially accepted the terms of agreement, but then every few seconds the same prompted window for the terms of agreement keeps popping up. Can anyone explain why this is happening, and how to resolve?

    I recently installed Acrobat Pro X on my Mac. I initially accepted the terms of agreement, but then every few seconds the same prompted window for the terms of agreement keeps popping up. Can anyone explain why this is happening, and how to resolve?

    Have you tried reinstalling the original drive? Same symptoms with it?

  • About to move from Windows to Mac. Considering purchasing retina display MBP 15" with dual boot system as I need some of my programs. How is the display in windows for photoshop?

    Has anyone got any thoughts or have you yourself purchased the MBP with Retina display and added the dual boot system with windows?
    I desperately need to update my gear and want a MBP.
    I'm a full time photographer at my local paper and freelance photographer - use computers A LOT, and only use windows. I've experienced mac and know I prefer it, the way it runs pleases me a whole lot more and for the amount i'm processing/working I need something that will keep up.
    With 12 years of photoshop gear loaded up for all my photo processing etc, I'm wanting to add Windows and have use of both. Windows would run photoshop that I had already purchased some time ago - question is, how will it run?  what will the display be like running Windows on Mac with the retina display?
    I use CS4 at the moment and can't afford to upgrade to CS6 just yet, plus i'd waste a lot of what I already have by starting again on Mac. I'd use Mac for everything else, need the use of Windows for portions of what I do.
    About to head to Canada and want to get set up for the road. Any help is much appreciated.
    Thanks heaps!

    There are some drawbacks, running Windows 7 (only) on a Mac via Bootcamp yields less than stellar results, especially with the Retina display.
    And of your traveling, the Mac's high power needs (especially the Retina display) and lack of removable battery are going to be a serious issue. The Retina display is glossy, not ideal for viewing on the road and in varied environments.
    CS4 won't run on the OS X version that comes with a Mac, so your looking at purchasing CS6.
    Support for Windows is more widespread than for Mac's, also if you ever need to redownload OS X to fix a issue, requires a fast reliable Internet connection of the broadband kind.
    If your running Windows on your Mac, you can expect to be on your own and not get support as easily as if you were running it on a regular PC.
    If you can't afford to keep up with CS upgrades, then you shouldn't be considering a Mac because there are more paid upgrades on that than on Windows 7, it's like a annual nightmare.
    IMMO your still better off on a decent,  1920 x 1080 res, matte screen, removable battery (with extras), Win 7 Pro i7 machine (Pro+ runs XP programs) which will stay like it is and get security updates until 2020.
    OS X changes every year and if you don't upgrade, + all your third party software, then about 3 years later your left behind for updates.
    Also you will have to buy Win 7 to run on your Mac, the OEM disks won't work.
    If your trying to budget, then a Mac is certainly not for you.

Maybe you are looking for

  • Property inspector not working correctly

    The property inspector in CS3 is not working correctly. When I select text or any other object the property inspector does not change for that object. But when I right mouse click on the selected object it does. Do I need to change a setting? Thanks!

  • Deployment Manager Error with Oracle Weblogic Server 10.3.1

    I have installed Identity Manager 9.1.0.2 (patch upgraded from 9.1.0.1) on OEL 5.3 64bit and Weblogic 10.3.1 Database:Oracle 11gR2 (remote machine). **I am aware that IM 9.1.0.2 is not certified on Weblogic 10.3.1 (it is only certified on 10.3), The

  • Color correction with a HD TV

    Can I use my new Panasonic HD TV model TH-42PX80U as a NTSC monitor for secondary color correction using both Final Cut Pro out of a Macbook Pro intel? What cable I can use to conect via HDMI? Will the color acuracy will be similar to that of a NTSC

  • Exporting/sending songs from GB to iTunes via Automator

    hi there, I have a number of songs that I have recorded from old vinyl records and would like to send them to iTunes from GB versions 3.02. How can I do this? 1 - get specified finder item (to select the folder in which I have the GB songs) 2 - get f

  • Illustrator CC crashes when opening large files

    Illustrator CC crashes everytime a try to a open a file larger than 100MB, I have restarted my Mac, reinstalled Illustrator, it solves the problem for a day, but the next day is the same problem all over again. It doesn't show any message,  it only d