Can we change tray selection dynamically?

Hello experts,
is it possible to change the tray selection dynamically? That is to say, via the driver program.
For example the default tray on the SAPscript  form is TRY02. So if there are less than 20 lines on a form, it'll use TRY02 containing paper with pre-printed text. However, if there are more lines, then, I would like it to use TRY03 containing blank paper, for the rest of the information.
Is this possible via programming or any other way for that matter?
Your help is greatly appreciated.
Edited by: Goharjou ardavan on Oct 29, 2008 11:07 AM

Hi,
Tray Options are available in the Output Device. You can't control it from the SAP Script. In Output device Tray's will be defined, But there is no option to shift the Tray based on the lines.
But If you guys can define two output device, one with tray TRY02 and other device with tray TRY03. Then in the program based on the how many lines, Pass the Respective Output device to the Spool structures in the program.

Similar Messages

  • How can I change (or select) what is being being used when I share, as the file cover. When I Share lets say "Master File" i want to select a frame that is used as the file cover. So when its on my desktop I see this image as the file icon.

    How can I change (or select) what is being being used when I share, as the file cover. When I Share lets say "Master File" i want to select a frame that is used as the file cover. So when its on my desktop I see this image as the file icon.

    I don't think Finder does this (I've tried).
    iTunes does though. Where you can set artwork or the "poster frame"...
    This may not be what you want but if it helps, I know 2 ways  do this is
    Open the video in QuicktimePlayer7 | View | Set Poster Frame (even then, you might need to save it as .mov (ie in a 'mov container').
    Drag the file into iTunes and set the artwork (as in http://www.dummies.com/how-to/content/adding-album-cover-art-or-images-in-itunes .html)
    From there, iTunes will use that frame as the "poster frame" ie the photo/frame that shows when you browse your videos. Which is what you want, but limited to iTunes.
    When I do either of these above, the frame I set does not show when exploring files in "Finder" (or in the other Explorer tool I use called "Pathfinder").
    So it maybe, that exactly what you want, is not possible.

  • How can I change the 'selected' color of one JToggleButton only.

    Hi,
    This seems like a simple / trivial question, but I just can't figure it out. Is there a way that I can create a JToggleButton and change the selected color of only that JToggleButton.
    I'm trying to create a simple sidebar like component for navigation within my app. A group of JToggleButton[s] added to a ButtonGroup (with the proper layout / sizing) works great, but the default JToggleButton colors don't suit my needs. I know that I can change the colors using the UIManager / UIDefaults, but I don't want to change the defaults for every JToggleButton in my app. I only want to change the defaults for a few select JToggleButton[s].
    For example, I can do this:
    UIManager.put("ToggleButton.select", UIManager.getColor("Table.selectionBackground"));
    UIManager.put("ToggleButton.background", UIManager.getColor("Table.background"));but I'd rather do something like this:
    JToggleButton jtb = new JToggleButton("Toggle Button Text");
    jtb.setSelectedColor(UIManager.getColor("Table.selectionBackground"));
    jtb.setBackground(UIManager.getColor("Table.background"));The only thing is, I can't find any method that is the equivilant of 'setSelectedColor(Color)' for JToggleButton.
    I know I could do it by adding some listeners to the JToggleButton[s], but that seems a little complicated for something like changing a color.
    I'd also seen a solution in the forums where someone had extended the ButtonUI of the pluggable look and feel they were using. I'm not interested in modifying the look and feel I'm using. As far as I'm concerned, that would defeat the purpose of having a pluggable look and feel as I would have to duplicate my efforts for every look and feel I want to use.
    Any help would be appreciated,
    Ryan

    try this
    import javax.swing.*;
    import java.awt.*;
    class Testing extends JFrame
      public Testing()
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setSize(250,75);
        setLocation(400,300);
        JPanel jp = new JPanel();
        JToggleButton jtb = new JToggleButton("Toggle me");
        jtb.setUI(new MyUI());
        jp.add(jtb);
        getContentPane().add(jp);
      public static void main(String args[]){new Testing().setVisible(true);}
    class MyUI extends javax.swing.plaf.metal.MetalToggleButtonUI
      public Color getSelectColor(){return Color.BLACK;}
    }

  • Can I change the select option text for pnp ldb ?

    hi Akll,
    I am using a pnp logical database in my report and I have created my own hr category because i wanted to use field ename from the ldb in the selection screen. Now the problem with ename is I cant do a case sensitive search.
    So I have replaced it with sname, so now my screen has sname instead of ename, however I want to change the selection text for select option ( at present it is 'EE name can be sorted' )
    Kindly advise,
    thanks,
    GV

    I guess the text cannot be changed.. anyways you can add the field as an additional field by normal coding in your report

  • Change tray options dynamically

    We have a form which goes more than 1 physical page based on overflow scenario. The first page prints on a special stock which costs way more than a normal 20lb white paper. Is there a way tray option can be changed dnamically so from second page plain white paper gets pulled from a different tray. The output is metacode print.

    Hi,
    I have never tried it but found the below information.
    Please use the below rule in afgjob.jdt along with < OverflowPaperTray > in ini
    ;SetOverflowPaperTray;;
    Fsiysys/Fsiuser option
    < OverflowPaperTray >
    FormName = Tray#
    Hope this helps
    Thanks

  • *Can I pass default Selection dynamically for Drill Down Charts*

    Hi
    I am having Charts with Drill Down tab and I am currently having to select a value for the Default Selection Combo Box while saving the chart.
    I want to be able to update this default selection depending upn data coming from the XML / Webservice. Is there a way to update the Default Selection dynamically ?
    Please let me know if anyone has come across this.
    Thanks,
    Rahul
    Edited by: Rahul Modey on Sep 2, 2008 5:15 PM

    Hi Rahul,
    Drill Down > Default Selection > Series/Item may not be filled dynamically.  They must be selected manually.
    Good Luck.

  • Can't change tray/paper size when printing photos

    I'm using an HP Photosmart C5200 and I want to print onto 4x6 photo paper, but I can't seem to change from the default tray with 8.5x11 paper. I've played around in the print dialogue box and File>Page Setup but to no avail.

    Not sure if this is the same problem I'm having. I have a HP C5180, and when I go to print I get all the necessary options (by dropping down the traingle as advised above), and all's great..... apart from the Source tray is always set to Main Tray instead of the Photo.
    I can change it each time I print, but it won't stay defaulted to Photo Tray even when I save or 'Save as' a new Preset. I have tried to overwrite the default ones, but no go, and also saved as a new Preset, but it still doesn't come up as the default selection next time I go in to print.
    Sounds easy enough to cope with I know, but I've set it up for a 84 year old to print from and I don't expect she'll manage to do this change every time.

  • How to change Tray selection in the middle of overflowing sections

    We have situation where we have a form and the first page, an invoice, prints on perf paper, tray 1.  The second page consist of repeating sections and needs to start on the back side of the perf paper, but when it ejects to a new page due to overlow, we want that new page to print from a different tray.
    We looked at the Rule < OverflowPaperTray >, but that only seems to work for the start of the repeating sections forcing all of it to start on a new sheet.  But our customers don't want that.
    Is there any way to tell Documaker to pull from a different tray when the repeating sections overflow on to a new sheet? 

    The first printable section on the page determines certain attributes about your layout including the tray and duplex selections. It is important to note that "printable" does not necessarily mean there is anything on the section that actually prints. Therefore, you could have two dummy/placeholder sections at the top of your form - with no size or content. Specify them as headers and copy on overflow. Have the first one specify tray 1 and the second tray 2 (your trays may vary) along with the other page attributes that are important. You will need to specify recipients and triggers (if needed) for the sections - just like any section that you expect to print.
    Once pagination occurs those two headers will copy on overflow to the newly paginated pages.
    Use a PostTransDAL rule in your AFGJOB that runs a script that essentially does the following.
    while( HaveImage( "MyTray1Section\3", "MyForm") )
         DelImage("MyTray1Section\3", "MyForm")
    wend
    Of course, you want to use your actual names for the tray controlling section and the form that contains it. Since you know that your form is duplex and that you only need 2 occurrences of the section, the  \3 designated on your section name means to find the 3rd occurrence of the section on the named form. You keep checking and deleting the 3rd occurrence until there are no more. At that point, your first sheet will have the necessary tray defined, but all succeeding sheets will now have what was your "second" tray controlling section now in charge and will print on a different tray.
    (It may be important to note that the \3 does not mean "third page" it means 3rd occurrence. Technically, you can have multiple occurrences of the same section on a single page and this is how you would reference them separately. That is why you don't change the \3 occurrence between deletes.  Although technically you are referencing the same section name, you are always looking for the 3rd occurrence to delete. Once they are gone, then only your first sheet will have the necessary section at the top.)

  • Can any change my code dynamic till to last raw materials of production ord

    LOOP AT T_CAUFV.         " it contains all production orders of finished product.
          REFRESH IT_AUFM1.
          SELECT * FROM AUFM INTO TABLE IT_AUFM1                                       " ALL MATERIALS FOR PRODUCTION OREDERS.
                   WHERE BWART = '261'
              OR BWART = '262' AND
                     AND WERKS = t_caufv-werks
                     AND AUFNR = t_caufv-aufnr.
          IF SY-SUBRC = 0.
            REFRESH IT_MSEG1.
            CLEAR IT_AUFM1.
            LOOP AT IT_AUFM1.
              SELECT SINGLE * FROM MARA WHERE MATNR = IT_AUFM1-MATNR.
              IF MARA-MTART = 'HALB'.
                SELECT * FROM MSEG INTO TABLE IT_MSEG1                                    " GET THE PRODUCTION ORDER FOR SEMI-FINISHED PRODUCT.
                                    WHERE BWART = '101' AND
                                          WERKS = IT_AUFM1-WERKS AND
                                          CHARG = IT_AUFM1-CHARG AND
                                          AUFNR = IT_AUFM1-AUFNR.
                IF SY-SUBRC = 0.
                  REFRESH IT_AUFM2.
                  SELECT * FROM AUFM INTO TABLE IT_AUFM2                                  " FOR MATERIALS OF PRODUCTION OREDER OF SECOND LEVEL.
                           FOR ALL ENTRIES IN IT_MSEG1
                           WHERE BWART = '261'
                           OR BWART = '262' AND
                             AND WERKS = T_CAUFV-WERKS
                             AND AUFNR = IT_MSEG1-AUFNR.
                  IF SY-SUBRC = 0.
                    CLEAR IT_AUFM2.
                    LOOP AT IT_AUFM2.
                      CLEAR MARA.
                      SELECT SINGLE * FROM MARA WHERE MATNR = IT_AUFM1-MATNR.
                      IF SY-SUBRC = 0.
                        IF MARA-MTART = 'HALB'.
                          SELECT * FROM MSEG INTO TABLE IT_MSEG2                          " GET THE PRODUCTION ORDER FOR THIRD LEVEL SEMI-FINISHED PRODUCT.
                           WHERE BWART = '101' AND
                                 WERKS = IT_AUFM2-WERKS AND
                                 CHARG = IT_AUFM2-CHARG AND
                                 AUFNR = IT_AUFM2-AUFNR.
                          IF SY-SUBRC = 0.
                            REFRESH IT_AUFM3.
                            SELECT * FROM AUFM INTO TABLE IT_AUFM3                        " FOR MATERIALS OF PRODUCTION OREDER OF THIRD LEVEL.
                             FOR ALL ENTRIES IN IT_MSEG2
                             WHERE BWART = '261'
                           OR BWART = '262' AND
                               AND WERKS = T_CAUFV-WERKS
                               AND AUFNR = IT_MSEG2-AUFNR.
    if my it_aufm3 contains further semi-finished i have to go further to find prod ord
    for thatagian loop may increase .
                            LOOP AT IT_AUFM3 .
                              MOVE-CORRESPONDING IT_AUFM3 TO IT_AUFM.                       " MOVED TO FINAL IT_AUFM
                              APPEND IT_AUFM.
                            ENDLOOP.
                          ENDIF.
                        ENDIF.
                      ENDIF.
                      MOVE-CORRESPONDING IT_AUFM2 TO IT_AUFM.
                      APPEND IT_AUFM.
                    ENDLOOP.
                  ENDIF.
                ENDIF.
              ENDIF.
              MOVE-CORRESPONDING IT_AUFM1 TO IT_AUFM.
              APPEND IT_AUFM.
            ENDLOOP.
          ENDIF.
        ENDLOOP.

    If you have an Account set up with My Verizon you can Go in there > and Go to were your Phone setting are and look at Different Numbers that are Available for your Area ) I can't recall how many are Available at one set time as they might have change how many you can Look at and then Choose.. but as for changing Just the Last Four that can't be done for anybody
    Good Luck.. b33 

  • I would like to change the project page layouts, but setup option in Project Superuser are not available. How can I change the selected page layouts?

    Hi
    I updated the page layouts for a project in Project Management. Now I woujld like to change those chosen page layouts, but the setup options for the project are no longer available for me to change. How can I update the original chosen page layouts (for performance management) to different layouts or change the chosen layouts to the default (blank) layouts?
    Thanks
    Chris van de Graaf

    AppleMan,
    It all began inside the settings of my Sanyo VPC-HD2000A when somehow the selection got switched from 1280 x 720 to that other setting with so-called 25fps. Also, I don't know whether the mishap occurred before or after I took my new footage.
    I edited the clips last night and now they are on my blog and channel and they seem ok but slightly fuzzy.
    I used a Sanyo VPC-HD2000A .7x wide angle lens with macro and I notice that when I zoomed in to the little sun conure, the picture blurred. I think that might be something that happens when one zooms the focus.
    Also, I was born and raised to a teenager in Hawaii, but now Southern California has me in its grip.
    -L

  • Can I change column headings dynamically based on report query conditions ?

    Hi All,
    Is there a possibility in OBIEE to change the headings of the column dynamically depending on the conditions that i keep on the report query ?
    Assume that i am showing an emp table data of one department at a time.
    The column heading of employee name should be like <DEPT>_EMP,  Where <DEPT> is the department on which i was reporting..
    Example:
    Report query : Select * from emp where dept = 'PHYSICS'
    The column heading of employee name should be PHYSICS_EMP.
    Thanks in advance.

    Hello,
    did you try to create a column with the data of dept and put it in a column level of a pivot table?
    In the example that you gave, the column head would show 'PHYSICS' because it's the data filtered at your query. Them, you just edit this column and concatenate the '_EMP' string.

  • 5610 XpressMusic Can't Change Right Selection Key

    Hey, recently, i got a new phone, it is Nokia 5610 XpressMusic.
    But i had a problem with it.
    The problem is that when i was trying to change the shortcut, Right Selection key, it won't work.
    I see the Left Selection Key, Navigation Keys, and Active Standby Key. I see those 3, just not RIght Selection Key.
    Can anyone help me fix this problem?
    Thanks.

    Every person I have talked to at Nokia says that Tmobile has had the phone programing customized. And there is nothing that can be done to change the key.
    Everyone at Tmobile said thatit was a phone programming issue, and that Nokia would have to make the changes.
    Person at Nokia said that Tmobile would have to send
    an Update to the phone to change the programming.
    Tmobile operator said, "It can't be done."
    Her phone is like that also. The right selection key
    is Locked out because Tmobile want's it that way.
    No one has a choice in the matter.
    I put my phone back in the box and shelved it till I can
    get over it..
    I will continue to use my older phone...(which Nokia didn't provide a "ring" for.... Only jiggy music [6133] and won't allow an mp3 "electronic ring" because apparently "ring ring" is copyrighted.
    No right selection key programming is allowed... Nokia
    and Tmobile don't seem to care what we want.
    Message Edited by umi_ryuzuki on 06-Jan-2009 03:50 AM

  • How can I change display height dynamically?

    Hi,
    I have defined layout style as "table-form". I want to control display height of a field depending on thich form user is in. In table, display height is "1" , but when user clicks edit and goes to form style, I need to change display height to "5".
    I belive it can be done using EL expression.
    Can anybody enlight me?
    Thanks

    It is easiest to make two separate items based on the same attribute. One item only displayed in table with height 1, the other item only displayed in form layout with height 5.
    Steven Davelaar,
    JHeadstart Team.

  • Can we change the selection screen of f.27

    actually i want to have  print the account statement at sales area level instead of company code as in standard transaction F.27. so can we use exits to solve this
    and can any guru suggest the appropriate exit.

    Hi Prakash,
    I think user exit is not  available in f.27.
    I suggest you first try this in SD Module.
    If u r not able to get this there, go for a Zprogram copying old one and adding other changes req..
    I think this will solve ur problem.
    Assign points if useful.
    Thank You,
    Purnachandra RM

  • Can we change the selection criteria for RV60SBAT Background Job for Billin

    We have a requirement to add a new selection criteria for RV60SBAT Background Job for Billing. We want to process back order invoices first. So we want a specific background job to select these. So we want to select any orders that are eligible to be invoiced where order date < the date of background job(r sy-datum ). Any ideas where we can introduce this logic for selection criteria?
    Thanks,
       Matt

    Hi Matt
    For your requirement , copy the standard  RV60SBAT program to Z program and in that copied RV60SBAT program , maintain the logic that the backorder invoices should be first processed.Then after that regular background job for billing should take happen .Then your requirement can be fulfilled
    Regards
    Srinath

Maybe you are looking for