Setting background print parameters for a Smartform

Hi,
I have created a Smartform being triggered from a report program. On the selection screen we have given option for the user to select printer of their choice. When I run the report in foreground it works fine and prints for whatever printer specified. However we need to run this report in the background and print to a specific printer, when I run it in background it always picks local printer as default. Can anyone help me on this?Any advise would be greatly appreciated and rewarded..
Thanks,
-Anthony.

Hi
Set the control parameters using FM
Import parameter of the generated function module: CONTROL_PARAMETERS
Component type: SSFCTRLOP
you can refer standard driver program RLB_INVOICE
http://help.sap.com/saphelp_nw2004s/helpdata/en/71/9ccd9c8e0e11d4b608006094192fe3/frameset.htm
Regards
Shiva

Similar Messages

  • Supress Background Print parameters when user executes ALV report by F9

    Hi friends,
         How can we Supress Background Print parameters pop-up, when user executes ALV report by F9
    or by navigation from selection screen -i.e;  Program ->>Execute in Background.
    Please guide me
    Thanks in Advance,
    Ganesh

    Sorry,
    i need to supress the POP-UP which asks for background Print Parameters in the ALV report. when i press F9 in a selection - screen of a Tcode
    as we supress Pop-up for a smartform or script by passing the Print Parameters
    This 'RS_SET_SELSCREEN_STATUS' excludes the commands(say F9 function code) in report
    I think we need to set the Print paramters in the Program
    please guide me
    Thanks,
    Ganesh

  • Print program for the smartform for selecting the output type (email/fax)

    Hi All,
    Requirement :I have to create a print program for the smartform where the output type may be print out,email or fax ,so i need to put the condition for selecting the output type (like printout,email,fax).
    can any body please let me know how  to put the condition for selecting the desired  output type ?
    Thanks in advance
    Rahul

    Hi
    It is not the output type that has to be changed
    it is the MEDIUM which you have to change and configure
    for printout medium is 1
    for FAX medium is 2
    for MAIL it is 7.
    so instead of printout change the medium to 2 or 7 for the same output type and attach to the same driver program and smartform/form.
    Reward points for useful Answers
    Regards
    Anji

  • One MIDI input, one set of modulation parameters for the EXS24

    This might be somewhat of a neophyte question, but here goes:
    I'm interested in being able to set a specific set of modulation parameters for each note in series of notes inputted into the EXS24. I'd like to be able to bypass any sort of complex routing techniques with the modulation matrix or automating the parameters in the arrangement window. For instance if I input 2 C1 notes, one right after the other, of the same length, I'd to be able to set the velocity, filter values, ASDR values, etc. of the first completely independently from the second. The main reason I ask this is that for instruments such as a guitar (which has multiple strings), one note might be able to be played at high velocity, high release, low attack, for instance, while another one might be played exactly after that (on a separate string maybe) with low velocity, high release, high attack, etc., etc. In order to achieve this more realistic sound, would I have to work with multiple instances of the EXS24 (and then maybe just group them all together?), or is this sort of micro-manipulation of all the modulation parameters for each individual midi note input somehow possible with just one instance of EXS24?
    Hope this makes sense!

    Do you have a controller with polyphonic after touch? you can already have different velocities for note attacks and filters with a standard velocity sensing keyboard. If your board sends release velocity you can also have a different release for each note. With poly after touch you can have different vibrato depth for each note. If you want differing mod speeds for different notes I'd have to give it more thought...

  • How to set the connection parameters for SQL

    How to set the connection parameters for SQL to access the MS Access database
    Attachments:
    Quick_SQL.vi ‏21 KB
    Doc1.doc ‏45 KB
    db1.mdb ‏112 KB

    Right-click the WINDOWS desktop, choose New->Microsoft Data Link. That will bring up a dialog that allows you to configure and test your database connection. You might connect to the Access database via ODBC or directly via Jet Engine. The Jet Enginge saves you the trouble of creating an ODBC connection on your PC. After you leave the dialog, the "data link" will show up on your desktop as text file. Open it and copy-paste the connection string to your VI.
    This webpage is an excellent resource for connection strings: http://www.able-consulting.com/ADO_Conn.htm
    If your application requires users to change the database connection at runtime, you can also include the dialog via ActiveX (MSDASC.IDataSourceLocator).

  • What is the actual use of the background print parameters

    Hello all,
    When we are scheduling a job it asks for print parameters like output device:
    Can any one please let me know what is the actual meaning of print parameters and what it does when we set spool parameters.
    Thanks, kumar.

    Hi Bharani,
    Normally when you execute a job in the back ground say like time taking reports or daily Scheduled background jobs, system will create a spool request for that so that you would be able to view the output of the report later and further take the printout etc. Hence, it is asking for print parameters.
    Print parameters are those where you specify the output device, print preview, spool retention period etc, Basically those are the settings required for the way a print job needs to be triggered.
    Regards,
    Ravi Kiran

  • How to Set Default Printer Just for Safari

    I use 2 printers.
    One prints paper docs etc.  The other prints labels only.  When i want to print the labels I have to select that printer in the print dialogue in Safari every time.  Super annoying.
    IS there a way to set a gedault printer just for Safari?
    I tried using the localhost:641/admin method and all i get is Bad Request  (the localhost address i mention here is not the actual version as i cannot remember it now, but it was something like that)
    Using safari 6.0.2 and osx 10.8.2

    Please see these docs.
    How To Setup Default Printer for a User. [ID 153927.1]
    How to Set Up a Default Printer for a User Within Oracle Applications [ID 1018856.102]
    How To Define a Default Printer? [ID 1237254.1]
    How To Setup Default Printer For Applications [ID 184109.1]
    Thanks,
    Hussein

  • How should I set the print control in a SmartForm for barcoding?

    I already have defined the prefix(SBP27) and suffix(SBS01) print controls, now I would like to know how set them in the field in the Smart Form.

    Jorge,
    The forum you have posted your question in is for questions related to the SAP Business One SDK.  Is your question related to the Business One SDK?
    Eddy

  • Set Background/Foreground color for Cell Renderer in JComboBox

    Hello,
    I was wondering if there is a way to change default settings for when I browse items under a JComboBox's cell renderer? I want the item's color to change (to what I set it to), when mouse enters the item. As of now, the cell's background color changes to Blue when I enter it. Is this default for JComboBox or might it have been set somewhere, that I need to look into?
    Please let me know if there are ways to do this.
    Thanks!
    Message was edited by:
    programmer_girl

    Here's my SSCCE:
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.JFrame;
    import javax.swing.JComboBox;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    import javax.swing.text.DefaultHighlighter;
    public class MyComboBoxTest extends JPanel {
          * @param args
         String[] patterns = {"pattern1","pattern2","pattern3"};
         public MyComboBoxTest()
              JPanel patternsPanel = new JPanel();
            setMinimumSize(new Dimension(100, 100));
            JComboBox patternList = new JComboBox(patterns);
            final JTextField editor = (JTextField) patternList.getEditor().getEditorComponent();
            patternList.setEditable(true);
            this.add(patternsPanel);
            patternsPanel.add(patternList);
            patternList.addActionListener(new ActionListener()
                 public void actionPerformed(ActionEvent e)
                      editor.setSelectedTextColor(Color.WHITE);
                      editor.setForeground(Color.WHITE);
                      try{
                           editor.getHighlighter().addHighlight(0, editor.getText().length(),new DefaultHighlighter.DefaultHighlightPainter(Color.BLUE));
                           } catch (Exception ex){
                                ex.getMessage();
            editor.addMouseListener(new MouseAdapter()
                 public void mouseClicked(MouseEvent e)
                      editor.getHighlighter().removeAllHighlights();
                      editor.setForeground(Color.BLACK);
                      editor.setSelectedTextColor(Color.BLACK);
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              JFrame frame = new JFrame("My ComboBox Demo");
              frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            frame.setSize(100, 100);
            frame.getContentPane().add(new MyComboBoxTest());
            frame.setLocation(50, 50);
            frame.pack();
            frame.setVisible(true);
    }

  • Setting default printing presets for all users, esp. guest user

    i want to set black/white, two sided printing as the default for all users (9 macs, 30 users on each).
    i set up and save this preset as admin, and copy the files
    com.apple.print.custompresets.plist
    com.apple.print.custompresets.forprinter.nameofprinter.plist
    from admin home/library/preferences to the other users preferences-folders.
    but logging on to any of the other users, i still dont even get the new preset listed.
    i tried entering cups, but there, only the printer setup is editable.
    especially i would like to set the custom preset as default for the guest account, without being wiped every log off.
    is there any alternative way to do this? i dont want to manually log in to the 300 accounts to change this.

    You can do that for new users via a file user.js in the default template folder for new profiles.
    C:\Program Files\Mozilla Firefox\defaults\profile\
    *http://kb.mozillazine.org/user.js_file

  • How do I set my printer settings for a Canon Pixma MX870?

    I have installed and updated the drivers.
    It currently prints out coloured, one sided pages. I prefer two sided, B&W quick print settings.
    I need a step by step run through on were to find these settings.
    On my Brother's PC he has 'Canon My Printer' which is were he set up the setting for his computer. It was not on the instualtion disc for the printer and I can't seem to find the download on the Canon website.
    Im on OS X Lion 10.7.4.
    Please Help.

    I knew that was going to be an issue. Renaming the audio files. To change the name of an audio file do it within the project. You want to go to the media bin. where your audio files are. _WITH IN THE PROJECT_. You can just double click on them and rename them. and yes be very name specific. so no audio file ever has a chance to have the same name.
    The audio files in the bin are in there own separate folders. You want to rename the folder that contains the audio file to, eg, Mary had a little lamb kick drum take 752. The renamed audio file folder will reflect in the timeline and in your project audio folder. But now the audio file can have a different name than the folder, the next is least important, but you may just want your track to be called Kick. So you can double click on the track header and give it a name kick. then you can right click on the audio in the timeline of the corresponding track and select, Track names to regions. Now the track name, the region within the timeline, and the region within the Mary had a little lamb kick drum take 752 folder within the bin will have the name kick. but wait there's more, lol. just kidding.
    So maybe the case is now that you don't really want to put all audio files from all songs in one folder, just all audio files from one song into one folder right.
    This way each song has its own folder containing the audio. This is standard practice. Its just a given when you create a project.

  • Setting Java class parameters for a JSP page

    Hi,
    I have a Java class that has a reference to a Session Id. I want to call a JSP from the class and set the session id to a String variable in the JSP. I am using a URL class to call the JSP. After the actual URL is passed to the URL constructor, I am appending the "?m_sessionId=e_session Id" at the end of the URL. In my JSP, I have the m_sessionId String parameter that i want to set e_sessionId to. What should i do in my JSP to set this? Any answers will be very helpful and I'd like to offer many thanks in advance
      public void loadSessionStuff(String sessionID){
       String e_sessionId = URLEncode.encode(sessionID);
       URL url = new URL("http://localhost:9000/MyJSP.jsp?m_sessionId="+e_sessionId);
       .....MyJSP.jsp looks something like this
       <%!
          String m_sessionId;
          public void setSessionId(){
           m_sessionid = request.getParameter("e_sessionId");    
           public String getSessionId(){
               return m_sessionId;
            other stuff....
        %>Is this the correct way to do things. It's not working.
    Regards
    R

    Hi Rahul,
    Yeah, i got that resolved. Do you know how i can get the thing in reverse gear. What i mean is i can successfully call and get the JSP to do things for me from my Java bean. What about sending stuff back to my bean?
    I want to send the List back to my calling class so i can work with it.
    Thanks
    Regards
    Jeeves
    My Java code is as follows
    Results i_krf = null;
      if(null != getSessionId()){                   
                    String e_sessionId = URLEncoder.encode(this.m_sessionId);
                    String eQuestion = URLEncoder.encode(sQuestion);
                    Object obj;               
                    String URL = "http://"+m_rea.getHostname()+":"+m_rea.getPort()+"/"+"SecondaryInitiator.jsp"+"?m_sessionId="+e_sessionId+"&question="+eQuestion;
                    URL url = new URL(URL);
                             URLConnection urlConn = url.openConnection();
                    ois = new ObjectInputStream(new BufferedInputStream(urlConn.getInputStream()));
                    while((obj = ois.readObject()) != null){
                         System.out.println("From OIS::"+obj.getClass());
                                    i_krf = (Reults) obj;
    <%@ page import = "java.io.*,java.sql.*,java.util.*"%>
    <%
      String m_sessionId;
      String eQuestion;
      System.out.println("In the JSP Page. Scriptlet part");
      m_sessionId = request.getParameter("m_sessionId");
      eQuestion = request.getParameter("question");
      System.out.println("Session Id in JSP::"+m_sessionId+"::"+eQuestion);
      Results i_krf = loadSession(m_sessionId);
      if(null != i_krf){
       System.out.println("NOT NULL::");
       List list = i_krf.getPathList(eQuestion);
       for(Iterator it = list.iterator();it.hasNext();){
        PathKeys pk = (PathKeys) it.next();
        System.out.println("PATH::"+pk.getPathKey());
    %>
    <%!     
         Shopper m_sSession = null;
         Results i_krf;
         public Results loadSession(String m_sessionId){
          if(null != m_sessionId){
            m_sSession = Shopper.findShopSession(m_sessionId);       
            System.out.println("Session ID from JSP"+m_sessionId);
            if(null != m_sSession ){
              i_krf = new ResultsImpl(m_sSession );
          return (null==i_krf?null:i_krf);
    %>

  • Setting Run-time parameters for EJB objects

    Hello,
    I need to set a run-time paramater that will be used by the session beans in my
    application. I looked thru the documentation, but I'm not finding an obvious
    way to do this.
    In weblogic-application.xml, there is an <application-parameter> element that
    seems promising, but I can't find a weblogic method for getting the value of this
    element from within an EJB.
    Any ideas on the best way to do this?
    Thank you

    Ellen,
    There is no global <env-entry> that you can use currently, but you can make
    an
    <env-entry> in the EJB module's descriptors for each session bean that needs
    the run-time parameter.
    the <application-parameter> element you speak of is not a place that
    arbitrary
    values can be placed and obtained. That element is used to by the server
    and there are a specific set of values that are recognized
    as override options for the server to use for the application.
    Michael Kovacs
    Senior Software Engineer
    BEA Systems
    "Ellen Kraffmiller" <[email protected]> wrote in message
    news:3f857657$[email protected]..
    >
    Hello,
    I need to set a run-time paramater that will be used by the session beansin my
    application. I looked thru the documentation, but I'm not finding anobvious
    way to do this.
    In weblogic-application.xml, there is an <application-parameter> elementthat
    seems promising, but I can't find a weblogic method for getting the valueof this
    element from within an EJB.
    Any ideas on the best way to do this?
    Thank you

  • Setting up MRP parameters for plant A and plant B

    hello,
    how could i Modify production plant parameters in order to run MRP for plants A and B (Option "Carry Out Overall Maintenance of plant parameters" in the manufacturing customizing).
    thanks
    JJ

    Use can define this in follwing SPRO path->Production->Production Planning->Material requiement planning->planning-define scope of planning for total planning.
    In this you can maintain both plant for scope of planning.
    Regards,
    Ajay Nikte

  • How to set video display parameters for the guest OS?

    I don't see display adapter options in the hardware list for a VM.  How does the guest OS know what are the display resolutions available?
    I have installed Ubuntu 14 on two different PCs, one in Windows 8 Hyper-V and another in VirtualBox.  In VirtualBox, it started off with only one resolution: 640x480.  After I increased the video RAM from the default 12MB to 32MB, I get to choose
    from 800x600 as well as 1024x768.
    In my Hyper-V, my Ubuntu has only 1152x864. I need 1024x768. How do I do it?
    Thanks.

    Hi,
    The Ubuntu 14 not supported by Win8 Hyper-V, personal experience is same with Andrew_Grant, you can try to install the last Integrations Services.
    The related KB:
    Ubuntu virtual machines on Hyper-V
    http://technet.microsoft.com/en-us/library/dn531029.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • CF8 Issue

    I'm trying to call a web service from CF8, running on Mac OS X 10.4.10 (with all updates). I'm getting this error on the cfinvoke line: coldfusion.jsp.JavaCompiler$UnknownCompiler: Unable to run the internal Java compiler: java.lang.NoClassDefFoundEr

  • Aironet 1300

    Hi, Does the Aironet 1300 series works as repeater ? And does it works both as bridge and access point at the same time ? Thank you

  • Are all ipad 3 cases compatible with ipad 4?

    i mean when I buy 3rd gen ipad cases on 3rd party companies e.g. speck or belkin will they be compatible with the 4th gen model?

  • Activation - product activated but closes right after

    I bought the Creative Suite, and have a valid activation code. When I enter it, it says that it works, however the program closes immediately after. When I open it again, it asks me to activate it, accepts the code, and closes again. It's just an end

  • Sequential strokes in vector paint

    Is there a way to animate vector paint strokes over time so that they appear sequentially over the time line? When I use "Animate Strokes," all the strokes appear simultaneously at the spot where the time line marker is parked. I suppose I could do a