Field catalogue for ALV Grid when program is run in the background

Hi All,
I have an ALV report that contains approx 27 fields.  Not all of these fields will be relevant for different Users, and many will want to change the order the fields appear in.
When running on line the User can set a variant to present the data as they wish.  However, I need to email this report to the SAP Inbox with the fields displayed in the same Order with uncessary fields hidden as stated in the Field Catalogue.
On-line none of this is an issue, however GET_FRONTEND_FIELDCATALOG cannot be used in Background, and attribute MT_FIELDCAT_LOCAL is Private and cannot be accessed.
I have looked at using Class CL_ ALV_VARIANT to try to read the Variant being used, but couldn't get the information about the Variant coming back, instead I get an error in CL_ALV_VARIANT->LOAD_VARIANT.
Can anybody recommend how to the Field Cat for a Variant for background processing?
Thanks,
Tony.

Hi.
You can not use an ALV report in Background or write to spool because it is a kind of dialog program.
You can write only  a List report to spool so please find others sulotions.
Hope it helps.
Sayan.

Similar Messages

  • I just got an IPAD2 on Saturday.  With the Mac, I could always tell when programs were open/running by going to the menu bar.  How can I tell what programs are running in the background.  I am struggling with not being able to go to a menu bar at the top

    I just got an IPAD2 on Saturday.  With the Mac, I could always tell when programs were open/running by going to the menu bar.  How can I tell what programs are running in the background.  I am struggling with not being able to go to a menu bar at the top

    You can see which apps are open and/or recently used by double-clicking the home button to bring up the taskbar at the bottom of the screen (not all apps that appear there are active) - you can then close apps on it by pressing and holding one of them for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar. If you have an app 'open' on-screen then it won't appear on the taskbar, you will need to go back to the homescreen first, and it should then show when you next open the taskbar.
    If you haven't already got a copy then you can download the iPad manual from here : http://support.apple.com/manuals/#ipad

  • How can I tell if programs are running in the background.

    iPod touch version 4.2.1, how can I tell if programs are running in the background.  Battery is dead quickly and time/date reverts to Dec 31, 1969.  can see thin silver frame around screen like something is running in background.

    You really can't tell unless you hear music or similar. Many are always listening for notifications and other things.
    To preserve battery life see the following:
    Apple - Batteries - iPod
    I leave mine in airplane mode when sleeping.

  • Can a java program be run in the background?

    Hi all,
    Can a java program be run in the background without the user being aware of it? I need to make a program that continuosly monitors a pc at regular intervals and runs at all time. It should be hidden(shouldn't display on the screen while running) from the user, and also, can it be run as a system file so that even if a user checks he/she would think of it as a system file?

    I'm the administrator of all the computers. Then as I said there are commercial applications that do that.
    Presumably you expect a problem now. And implementing an acceptable solution is going to take you months. Because not only need to 'hide' the application, you also need to set up all the monitoring and logging capability. And the first will require quite a bit of JNI work along with testing (in particular as it could interfer with existing applications on the users computers.)
    I need to
    install the software in all the machines and i want
    that the users who use the machine should not be able
    to close the program through the task manager. If the users have admin rights then they can terminate a windows service.
    And if they don't have admin rights then you can simply turn off the ability to install anything.
    I want
    to know what the resources of the computers are and
    that if anyone has added a resource to it or
    not(attaching a flash usb thumbdrive etc). Lots of JNI.

  • How do I stop programs from running in the background?

    How do I stop programs from running in the background?  In the old system you could delete them.

    Most of those apps aren't running in the background, but what you are asking is how to close the apps.
    To close an app in iOS 7, drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.

  • When I open Safari on my iPad 2 and browse for a while, when I close safari on the background home of the iPad if leaves the imprint of the address bar at the top and down the side of my home background!?

    Ok so,
    When I open safari on my iPad 2 and browse for a while, when I close safari on my background of the home if leaves the address bar imprint and also down the side of the background it leaves white lines from the web browser. I've also noticed it when using various apps aswell. It's not just safari. I've also tryed different background images and it still does it!
    Any help?
    Thanks Natalie

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
     Cheers, Tom

  • Read the names of the files in ABAP program that runs in the background

    Hello,
    I have a program that uploads information from file on application server.
    What I can't figure still is how to get the <b>names </b>of the files that are in <b>specific directory</b>.
    There is an other application that will post those files into this directory. I wont to get file names and file types from this directory and put it into an internal table.
    File names are changing based on date and version.
    Please keep in mind that the program runs in the background, (presentation server is not included in the process)
    Thanks in advance,
    Milan

    Hi,
    one epossible solution that i have used is:
    1. Create an operating system comand with transaction SM69
    command  OS                              OS-command  Parameter
    ZDIR         Windows NT Customer  cmd.exe          /C dir &
    2. Call Functionmodul
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
        EXPORTING
          COMMANDNAME                         = 'ZDIR'
          ADDITIONAL_PARAMETERS               = P_PARA1
      OPERATINGSYSTEM                     = SY-OPSYS
      TARGETSYSTEM                        = SY-HOST
      DESTINATION                         =
      STDOUT                              = 'X'
      STDERR                              = 'X'
      TERMINATIONWAIT                     = 'X'
      TRACE                               =
       IMPORTING
          STATUS                              = G_OK
      EXITCODE                            =
        TABLES
          EXEC_PROTOCOL                       = GTBL_PROTO
       EXCEPTIONS
         NO_PERMISSION                       = 1
         COMMAND_NOT_FOUND                   = 2
         PARAMETERS_TOO_LONG                 = 3
         SECURITY_RISK                       = 4
         WRONG_CHECK_CALL_INTERFACE          = 5
         PROGRAM_START_ERROR                 = 6
         PROGRAM_TERMINATION_ERROR           = 7
         X_ERROR                             = 8
         PARAMETER_EXPECTED                  = 9
         TOO_MANY_PARAMETERS                 = 10
         ILLEGAL_COMMAND                     = 11
         WRONG_ASYNCHRONOUS_PARAMETERS       = 12
         CANT_ENQ_TBTCO_ENTRY                = 13
         JOBCOUNT_GENERATION_ERROR           = 14
         OTHERS                              = 15
    3. Loop at GTBL_PROTO and make your coding with the filenames
    Hope this helps
    Regards
    Bernd

  • How do I close programs/applications running in the background

    My computer Mac Pro is getting slow.  The wheel runs and runs.  I took it in to Apple at one time and they coded a bunch of files that were running in the background, thus slowing the computer.  How do I do this myself?

    Hey diane41,
    Thanks for the question. It sounds like you wish to learn about Activity Monitor and quitting processes that are using a significant amount of memory. The following resource may assist you:
    Activity Monitor: Quit a process
    http://support.apple.com/kb/PH5147
    Thanks,
    Matt M.

  • How to upload logo for alv grid when we are using classes

    Hi am using cl_gui_alv_tree  for displaying alv grid. i want to upload logo in the heade section. as we do in simple alvs using resuse_alv_commentary_write.
    plz update me in this regard.
    regards
    venkat

    Welcome to SDN.
    Check the following threads -
    How To use TOP OF PAGE event in OOPS ALV?
    Logo & TOP_OF_PAGE in OO ALV
    Regards,
    Amit
    Reward all helpful replies.

  • Key press detection when application is running in the background

    Is it possible to detect any key presses when the application is in the background?

    The key-related, pointer-related, and paint() methods will only be called while the Canvas is actually visible on the output device. These methods will therefore only be called on this Canvas object only after a call to showNotify() and before a call to hideNotify(). After hideNotify() has been called, none of the key, pointer, and paint methods will be called until after a subsequent call to showNotify() has returned. A call to a run() method resulting from callSerially() may occur irrespective of calls to showNotify() and hideNotify().
    The showNotify() method is called prior to the Canvas actually being made visible on the display, and the hideNotify() method is called after the Canvas has been removed from the display. The visibility state of a Canvas (or any other Displayable object) may be queried through the use of the Displayable.isShown() method. The change in visibility state of a Canvas may be caused by the application management software moving MIDlets between foreground and background states, or by the system obscuring the Canvas with system screens. Thus, the calls to showNotify() and hideNotify() are not under the control of the MIDlet and may occur fairly frequently. Application developers are encouraged to perform expensive setup and teardown tasks outside the showNotify() and hideNotify() methods in order to make them as lightweight as possible.
    The above answer you might have found in the JAVADOC, if you would have gone through the description of the Canvas class.
    Don't forget your DUKES as I had to search the JAVADOC for giving you the exact answer, which you should have done that yourself only!!!
    Shan!!!

  • How can I tell which apps or programs are open at any time. At a recent visit to the Genius at my local Apple store, the "Genius" told me that too many apps or programs are running in the background. I'm using Mountain Lion on a McBook Pro

    I was told that my Mac has to work extra hard because there are too many apps and/or programs open in the background. How can one tell what is open?? It must be something which is not normally visible to the user??
    Hans

    Thanks, I have looked at that several times but I can't detect any one item which would indicate overusage. The small chart (indicator bars) are much on the low side and the onse which show are basically green? Not sure what the person at the Genius Bar saw so I'm somewhat puzzled.

  • How do I stop unnecessary programs from running in the background on a Macbook Pro 2010?

    Hi recently I bought a Macbook Pro OSX 10.8.3 2010 (2.4 GHz Intel Core / 2GB 1067 MHz DDR3). Im pretty content with it considering its my first Mac. Up until recently I had no problems with its speed.
    My brother directed me to the activity monitor and showed me how to quit a program. However there are still a several running programs I do not recognize and/or do not use (such as photo stream, Calendar Agent, UserEventAgent, Notification Center, AppleSpell service, cfprefsd, talagent, xpcd, imagent, com.apple.dock.extra, fontd, loginwindow, SystemUIServer, tccd, usernoted etc etc etc UGH!! The list just goes on and on. There is a circular graph at the bottom in pir form highlighted with the colors green, red, blue and yellow indicating what is taking up space or speed? If I quit Safari a huge portion of the green is highlghted. but I can not seem to get it to fill the majority of the pie graph. I see there are all these running programs (most of which I do not use or recognize) but I cannot get them to quit even if I highlight it. How can I stop this? Quite frankly its so frustrating. Again I am new to Mac.
    Thanks
    marcel11

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    Otherwise, take the steps below when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Page breaks appear in the spool output of report when run in the background

    Hi All,
    Report is using fm 'REUSE_ALV_GRID_DISPLAY' to display the report. parameters passed to this fm for display are :it_fieldcat,is_layout,it_events,t_outtab.
    Page breaks appear in the spool output when report is run in the background.These page breaks needs to be removed. When executed in the background, the excel extract should be the same as if pulling directly from the report itself.
    How to remove the page breaks in background?
    Thanks & Regards,
    Abhishek Singh

    Hi
    You can use the below code , which the reprt run in background. If you run the report in background thenyou need to use  'REUSE_ALV_LIST_DISPLAY'
    if sy-batch = ' '.
    call 'REUSE_ALV_GRID_DISPLAY'.
    else.
    call 'REUSE_ALV_LIST_DISPLAY'.
    endif.
    if you are using OO alv then write this code..
    CALL METHOD cl_gui_alv_grid=>offline
    RECEIVING e_offline = off.
    IF off IS INITIAL.
    CREATE OBJECT g_custom_container
    EXPORTING container_name = g_container.
    ENDIF.
    Regards

  • Program running in the background

    Hello!
    I am wondering if it is possible to create a java program that runs in the background on a mobile phone. I.E can it run without beeing interuppted by a call or the locking of the key pad.
    Is it possible to let the program run without interfering with the normal functionallity of the phone?

    qnx wrote:
    1) Stop trying to make spyware. -> I don't do anything like this!
    2) Stop re-posting the same questions. -> didn't know they are the same, sorry.
    3) Stop taking us for fools. -> what? Honestly, I don't think that I realy deserved this :)With a limited posting history and the type of questions you are asking they are unusual.
    There are very few legitimate problem domains that would require what you are asking about. There are illegitimate ones though. And the legitimate ones would generally require someone with quite a bit of programming experience and would also be required (the fact that java can't do it would not get rid of the requirement.)
    Thus one might make assumptions about your intentions.

  • Need a perfect example program for ALV GRID LIST

    first hi to all,i am new to this community.i am still in learning process of SAP.one of my friend suggeted this community and i think this is the perfect place to learn and excel my skill in SAP.so my requirement is a perfect example program for ALV GRID LIST DISPLAY.while i am trying another program,the sysntax is ok but i am not getting any output and it is not showing any error also.hope i will get an answer asap.thank you.

    Check [OO ALV Guide Simple|http://wiki.sdn.sap.com/wiki/display/ABAP/OBJECTORIENTEDALV+Guide] and [Easy Reference to ALV|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907]

Maybe you are looking for

  • Color Picker mouseover preview

    I am trying to implement a standard color picker control using custom color label/value pairs. When I test the application (very basic at this point) For some, but not all, colors I need to mouseover the color twice in order for the preview swatch to

  • Document without items

    Hi, i find a document without any item (type : AB), and i don't know where it come and is it possible to have a document without items. i hope your help. regards

  • Search-Mailbox for Message Header Content in Management Shell

    Can I use the search-mailbox command to search for message header content? The reason I ask is because I need to search for any emails that came in to an email alias address. I am searching a journaling mailbox. Normally, I would do soemthing like...

  • Link in lotus notes to view SAP document

    Dear All, I have implemented the Z workflows through which I am sending the notification to all the cost centers mentioned in the invoice through rule(Agent determination:Function to be executed). This will cause notification to be sent to SAP inbox

  • Unable to sync webcenter sites with eclipse using csdt plugin

    Hi Experts, using csdt plugin in eclipse IDE we connected to wcs server and we got the WCS perspective in eclipse IDE.. But Unable to get the developed sample web sites(avi sports,firstsiteII,admin site) in sites workspace elements in eclipse even th