Get the variant name of the job shceduled in the Background

Hello All,
I am shcduling printout of the Payment Document from F110 transaction code in background.
My requirement is to get the variant name.
F110 create background job for printing and when i debug it the value of sy-SLSET it is coming some
junk value like &000000012.
I can not schedule this job from  SM36. I have to go for F110 only.
Is there any way to get the variant name of the background job.
Kindly help.
Regards
Sachin

Hi,
I am running F110 by maintaning three variant at the same time.
So my program will run three times for these three variant.
Depending upon the variant i have to perform some validations.
So I want to know the variant name for each one run.
I am maitaing the variant but when i checked the system field sy-SLSET it is coming some junk value '&000000013'.
How to get the variant name from this.
Regards
Sachin Yadav

Similar Messages

  • How to get the Background job name

    Hi,
    I am executing a report in background and i want to get the background job name in the same report program. How can i get the same.
    Regards,
    Rajgopal Dara.

    Hi,
    for this fm is used 148 times in our system, I made a check program and it works:
    report  zsbatchfm.
                                                                                    data: xv_jobcn type btcjobcnt.
    data: xv_jobnm type btcjob.
    data: xv_stepc type btcstepcnt.
                                                                                    call function 'GET_JOB_RUNTIME_INFO'
      importing
    *   EVENTID                       =
    *   EVENTPARM                     =
    *   EXTERNAL_PROGRAM_ACTIVE       =
        jobcount                      = xv_jobcn
        jobname                       = xv_jobnm
        stepcount                     = xv_stepc
      exceptions
        no_runtime_info               = 1
        others                        = 2.
                                                                                    if sy-subrc <> 0.
      write:  /1 'SY-SUBRC = ', sy-subrc.
    else.
      write:  /1 'JOBCOUNT  = ', xv_jobcn.
      write:  /1 'JOBNAME   = ', xv_jobnm.
      write:  /1 'STEPCOUNT = ', xv_stepc.
    endif.
                                                                                    commit work.
    In online mode you get a SUBRC = 1, in batch mode you get the informations (here: in SPOOL)
    Please check it on your system!
    Regards,
    Klaus

  • When I start Firefox, I only get the background of my browser in the Firefox window. I already reinstalled it, but that doesn't fix the problem.

    When I start Firefox, I only get the background of my browser in the Firefox window. I the normal window for 1 second, but then it changes in only the background window. So without toolbar, or navigation. I already reinstalled it, but that doesn't fix the problem.

    Try to disable hardware acceleration in Firefox.
    Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    https://hacks.mozilla.org/2010/09/hardware-acceleration/
    https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers

  • How do I get the background to stop bouncing around, it's not when I'm in apps only on my lockscreen and homescreen

    How do I get the background to stop bouncing around, it's not when I'm in apps only on my lockscreen and homescreen

    goto settings>general>accessibility and enable reduce motion

  • How to get the background of a cell when clicked

    Hi all,
    I need to know how I can get the background color of each cell when mouse clicked, I need that because I have to send that color to another table show the whole table with the same background.
    Any ideas?
    For the source table cell I am using this renderer:
    import java.awt.Color;
    import java.awt.Component;
    import javax.swing.JLabel;
    import javax.swing.JTable;
    import javax.swing.table.TableCellRenderer;
    public class ColorRenderer extends JLabel implements TableCellRenderer {
        public ColorRenderer() {
            setOpaque(true);
        @Override
        public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
            if (value != null) {
                setText(value.toString());
            if (isSelected) {
                setBackground(table.getSelectionBackground());
                setForeground(table.getSelectionForeground());
            } else {
                setBackground(new Color(181, 198, 223));
                setForeground(Color.black);
                boolean theSame = true;
                for (int i = 1; i <= row; i++) {
                    if (!table.getValueAt(i, 0).toString().equals(table.getValueAt(i - 1, 0).toString())) {
                        theSame = !theSame;
                        break;
                if (!theSame) {
                    setBackground(new Color(239, 206, 179));
            return this;
    }

    how I can get the background color of a cell when mouse clickedAttach a mouseListener to your table. In that listener find the clicked cell through myTable.rowAtPoint(MouseEvent.getPoint()) dto. with column.
    Then myTable.getCellRenderer(int row, int column), and in the renderer you look for the colour.

  • Why PhotoBooth can't get the background images to work properly on the picture

    Why PhotoBooth can get the background images to work properly on the picture, is it because too much luminosity in the environment or too little? I have tried everything and nothing works.
    <Re-Titled By Host>

    Might try this...
    Go to System Preferences > Universal Access and down in the Display: section make sure that the Enhance contrast: slider is all the way to left to Normal, or more to the right for less Contrast.
    Go to System Preferences > Accessibility in 10.8.x,and down in the Display: section make sure that the Enhance contrast: slider is all the way to left to Normal, or more to the right for less Contrast.

  • Getting the background color from a row

    I'm displaying a table that has alternating row colors for odd and even... when I click on a row I am changing the color to blue. When I click on a different row I want to set the background color back to what it was for the originally selected row and change the currently selected row to blue. This worked just fine when I had the colors hard coded into the code... but as soon as I started using style sheets it stoped working,
    My questions is how do I get the background color from a row... for instance, the following alert dislays nothing. How can I get the actual color out for the row?
    var tableElem = document.getElementById('table');
    var rowElem;
    rowElem = tableElem.rows[0];
    alert(rowElem.bgColor);
              

    If you're working with style sheets, then ignore the background color. You don't want to care what color is actully being used, only that the correct style is in place.
    Worry instead about the className property for your row:<style>
    .highlightRow {
       color: white;
       background-color: gray;
    .normalRow {
       color: black;
       background-color: white;
    </style>
    var tableElem = document.getElementById("table");
    var rowElem = tableElem.rows[0];
    alert(rowElem.className);
    <table id="table">
    <tr class="normalRow"><td>...</td></tr>
    <tr class="highlightRow"><td>...</td></tr>
    </table>

  • At start up, I get the background picture and there is some kind of audio. Can't access anything. Help?

    My Mac Pro was running slow, and finally wouldn't wake up from the screen saver, necessitating a hard reboot. Now, I only get the starry background picture with no icons. An audio program comes on for awhile, and then it goes silent. Is there a combination of keys I can press or something else I can do to get the icons back?

    I fixed it myself. It had something to do with my TV connected as a second display. All of the icons were there. Fixed it by selecting mirror displays.

  • How can I get the background music from iMovie trailer, "Romance"to be used in another imovie?

    Is there any way to download the background music from the  iMovie trailer template "Romance" to be used in another iMovie of greater length than that of a trailer?

    In addition to Tom's good advice, another method is to access the audio file in iMovie's package contents folder.
    In Finder, in the Applications folder, right-click (or control-click) on iMovie.app and select Show Package Contents from the pop-up menu. Open the folder Contents>Resources. In that folder you will find components for each Trailer, including the soundtrack. The file you are seeking is named "SoundTrack - Romance.m4a".
    Copy then paste the file to your Desktop (don't otherwise mess with items in package contents folders!). Open the file in QuickTime - it is titled "Love Story FC2". Opening the Inspector in QuickTime (Window>Show Movie Inspector) reveals it as AAC format. If you wish, as Tom indicated, you can Export the file from QuickTime in other sound formats, such as AIFF. If preferred, you can import either the AAC file or the converted file to iTunes (or other audio apps) for use as required.
    John

  • Using Photoshop elements 11 on a PC, when I put new photo on screen to edit the background goes to black which messes me up when making a thumbnail that has black background.  How do I get the background to white as it was originally?

    Using Adobe photoshop elements 11 on a PC.  When I put a photo up to edit the background on the page goes black.  I need it to go back to white to do a thumbnail that has black background so I can see it.  How do I do that.  It used to be white on the background.  Don't know how I got it all black. Can you help?

    If you mean by "background" the blank work area that presents when you open the Editor, then right click on it and reset to white.
    If I have this wrong, please rephrase your inquiry.

  • How can I get the background image of my website to cycle on a timer?

    I'm afraid my experience with Javascript (Which I'm certain this will require) is fairly limited and I'm still quite new to Dreamweaver, so I'm posing this question to you guys.
    I'd like the background image of my website to change every five minutes or so, however I'm unsure of how to accomplish this. For those of you with Windows 7, you can set the background of your desktop to cycle through a folder of images every ten minutes or so. I'd like something similar for this website.
    Thanks in advance.

    Supersized can do this for you with very less need for code.
    http://www.buildinternet.com/project/supersized/ - Take a look at their demo. It's also a lightweight plug-in and it has a lot of great effects you could use. Also x-browser friendly.

  • Can't get the backgrounds to show on templates

    I'm building a template for a website and the background I put in (a JPG) shows fine in WYSIWYG and in the code, but will not preview in any browser. Also when I FTP the site, the background shows up fine on the index page (which is not using a template), but not on any pages associated with the template.  (I'm using VISTA and Dreamweaver CS4.)

    Without seeing your code it's hard to know just what might be going wrong...but potentially it's how the image file is linked to in your template. What's your site structure like and what's the filepath to your image?

  • I can't copy and paste text from Word to a Facebook Post since I've been using Firefox. Why am I getting the background code? Internet Explorer lets me copy text from Word to Facebook.

    I type my text in Word then open Facebook. I press Control-C to copy this text into my Facebook post and the result is that a lot of background code shows up.

    I would use the older version so you can continue working while troubleshooting continues in CC2014, if you haven't uninstalled it yet (and it didn't also lose the ability to copy/paste).
    Have you tried any of the usual suspects?
    Clear program cache and/or rename config folder: Deleting a corrupted cache file
    Restore Preferences: Restore preferences | Dreamweaver CS4, CS5, CS5.5, CS6

  • Getting the variant name when the report program is run in background

    Hi All,
    How to get the variant name for the report program when run in background? My requirement is to create an email attachement with the name 'variant.XLS', where variant = selection screen variant, when the report program is run in background. The system field SY-SLSET holds the variant name only when run online.
    Any pointers to this will be highly appreciated.
    Thanks and regards,
    Nilesh.

    Hello Nilesh,
    Please find the algo:
    1. Call the FM: GET_JOB_RUNTIME_INFO to get the background job details.
    2. Select data from TBTCP using these details:
    DATA:
    FP_EVENTID   TYPE BTCEVENTID
    FP_EVTPARM   TYPE BTCEVTPARM
    FP_ACTIVE    TYPE BTCXPGFLAG
    FP_JOBCNT    TYPE BTCJOBCNT
    FP_JOBNM     TYPE BTCJOB
    FP_STEPCNT   TYPE BTCSTEPCNT.
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
        IMPORTING
          EVENTID                 = FP_EVENTID
          EVENTPARM               = FP_EVTPARM
          EXTERNAL_PROGRAM_ACTIVE = FP_ACTIVE
          JOBCOUNT                = FP_JOBCNT
          JOBNAME                 = FP_JOBNM
          STEPCOUNT               = FP_STEPCNT
        EXCEPTIONS
          NO_RUNTIME_INFO         = 1
          OTHERS                  = 2.
      IF SY-SUBRC <> 0.
    *   Error calling FM: GET_JOB_RUNTIME_INFO
      ENDIF.
    DATA: FP_VARIANT TYPE BTCVARIANT.
      SELECT JOBNAME JOBCOUNT STEPCOUNT VARIANT
      FROM   TBTCP
      INTO TABLE L_IT_TBTCP
      WHERE  JOBNAME   = FP_JOBNM
      AND    JOBCOUNT  = FP_JOBCNT
      AND    STEPCOUNT = FP_STEPCNT.
      IF SY-SUBRC = 0.
        SORT L_IT_TBTCP BY JOBNM JOBCNT STEPCNT.
        READ TABLE L_IT_TBTCP INTO L_WA_TBTCP INDEX 1.
        IF SY-SUBRC = 0.
          FP_VARIANT = L_WA_TBTCP-VARIANT.
        ENDIF.
      ENDIF.
    Hope this helps.
    BR,
    Suhas

  • Send/export the background job spool in Excel (in MHTML format) in ECC 6.0.

    Hello All,
    I have a requirement to send/export the background job spool in Excel (in MHTML format) in ECC 6.0. Please help.
    Thank you.
    Nalini

    Hi Jigar,
    Thanks for your response.
    Anything is like download to desktop or email is fine. But in MHTML format.
    We can download the ALV report in MHTML spreadsheet format when we run the program online. But the program is running for long time and going to dump.
    So i scheduled it as background job and downloading the output in  .HTML format. But user wants the spool/report output in .MHTML spreadsheet format.
    I can write the code. Instead of changing the existing program I would like to know is there any way (from standard SAP) that I can get the background spool in MHTML spreadsheet format.
    Thanks,
    Nalini

  • I have connected my new Macbook Air to my existing Samsung large external monitor with a VGA adaptor but I can't get the full mac desktop to display. No icons but then websites are coming up. Help!

    I have connected my new Macbook Air to my existing Samsung large external monitor with a VGA adaptor but I can't get the full mac desktop to display. No icons but then websites are coming up. Help!  Further info:  I am a complete newbie to Mac.  Had three macs prior to 2000 then four PCs.  Just come back and struggling a bit with the unfamiliarity. On my old PC laptop I could simply switch from the laptop screen to the large external monitor (and back)  with the F4 function key.  While I can get the background image from my MBA to display, that's it.  Until I noticed on the far left of the external monitor, the very edge of one of the web pages I was on.  So Idragged it over to display in the centre.  But that's all that's there.  And now I have gone out of those web pages but they are still displaying on the monitor.  There is some wierd disconnect.  I'm sure it is just a setting thing.  Will keep searching for answer but any advice welcome!

    Your dsplay is getting extended onto the external monitor. Chcnage the setting to duplicate it or only display on the external monitor and you should be fine,
    Let me know if this worked for you.

Maybe you are looking for

  • WRT310N Playstation 3 Slow Download speed and general lag

    Hey guys, I just recently bought the WRT310N and got both of my computers working with it. One is wired directly into the router, while the other is running off wireless. My Playstation 3 is able to connect to the router but I am getting an extremely

  • Error Code :-5002 Error Message :Enter valid currency  , '51100000-01-001-0

    Hi all,          I have found a error "Error Code :-5002 Error Message :Enter valid currency  , '51100000-01-001-01'" while adding the DELIVERY document. I have made a customer and assign then "EURO" currency and add delivery document then it prompts

  • [svn:osmf:] 14187: PARB changes: Make TimeUtil non-public, it doesn' t need to be part of the public API.

    Revision: 14187 Revision: 14187 Author:   [email protected] Date:     2010-02-16 09:37:39 -0800 (Tue, 16 Feb 2010) Log Message: PARB changes: Make TimeUtil non-public, it doesn't need to be part of the public API. Modified Paths:     osmf/trunk/frame

  • Can't access Time Capsule files

    Here is the situation: I've owned a TC for about a year now with no previous problems. Now I can't access the files even though the internet is still working fine and TC reports no problems. Until today, the TC icon would show up on my desk top and w

  • Xcelsius 2008 SP1 - Ignore Blank cells not working

    I have a ticker object that is showing the values from a QaaWs query just fine, but at the end of the list I keep getting the words NULL - NULL - NULL - .... This solution is working in the OEM release of Xcelsius 2008. The range is set longer than t