Is there any class similar as cl_GUi_alv_grid  for normal report

we have a requirement to put one report some part of in the screen.
so we know there is class on which we can display ALV
i.e "cl_GUi_alv_grid".in the same way is there any class in which we can use as a normal report.
right now i have an idea of keeping a container on the screen and i want some class whcih can handle as normal report.
please help. this is very urgent.
Thanks & Regards
Anil Kumar K

END_OF_LIST will trigger at the end of list only. but to see the o/p u have to pass print parameters into set_table_for firstdisplay.
DATA: lt_lvcfieldcat type lvc_t_fcat,
ls_lvcfieldcat type lvc_s_fcat,
LS_PRINT TYPE LVC_S_PRNT.
CLASS LCL_EVENT_RECEIVER DEFINITION.
  PUBLIC SECTION.
    METHODS HANDLE_TOP_OF_PAGE
    FOR EVENT PRINT_TOP_OF_PAGE OF CL_GUI_ALV_GRID.
    METHODS HANDLE_END_OF_LIST
    FOR EVENT PRINT_END_OF_LIST OF CL_GUI_ALV_GRID.
ENDCLASS.                    "cl_event_receiver DEFINITION
      CLASS CL_EVENT_RECEIVER IMPLEMENTATION
CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
  METHOD HANDLE_TOP_OF_PAGE.
    perform top_of_page.
  ENDMETHOD .                    "handle_top_of_page
  METHOD HANDLE_END_OF_LIST .
    PERFORM END_OF_LIST.
  ENDMETHOD .                    "handle_end_of_list
ENDCLASS .                    "cl_event_receiver IMPL
*&      Form  TOP_OF_PAGE
      text
FORM TOP_OF_PAGE.
  DATA: V_HEAD LIKE YBUYOFFQA_QDMST-QA_DESC.
  SKIP 1.
  SELECT SINGLE QA_DESC FROM YBUYOFFQA_QDMST INTO V_HEAD
  WHERE QUALITYAUDIT = S_AUDIT-LOW.
  FORMAT INTENSIFIED OFF.
  WRITE: 40 'V-MSD/AM8',70 'DATE :'.
  WRITE:/40 'REVISION NO.01', 70 'SHIFT:'.
  SKIP 1.
  WRITE:/35 V_HEAD .
ENDFORM.                    "TOP_OF_PAGE
*&      Form  END_OF_LIST
      text
FORM END_OF_LIST.
  SKIP.
  uline at 1(44).
  WRITE:/ sy-vline,
  8 'No. Of Vehicles without any defects',44 sy-vline.
  write:/ sy-vline, 'FRC%=',10 sy-uline(35).
  write:/ sy-vline,12 'No. Of Vehicles Checked',44
  sy-vline.
  write:/ sy-uline(44).
  uline at 1(44).
  skip.
  uline at 1(47).
  WRITE:/ sy-vline,
  8 'No. Of Vehicles worked within tact time',47 sy-vline.
  write:/ sy-vline, 'FBO%=',10 sy-uline(38).
  write:/ sy-vline,12 'No. Of Vehicles Checked',47
  sy-vline.
  write:/ sy-uline(47).
  uline at 1(47).
ENDFORM.                    "END_OF_LIST
*&      Form  PRINT_PARAMS
      text
-->  p1        text
<--  p2        text
FORM PRINT_PARAMS .
  LS_PRINT-GRPCHGEDIT = 'X'.
  LS_PRINT-RESERVELNS = '3'.
  LS_PRINT-NO_COLWOPT = 'X'.
ENDFORM.                    " PRINT_PARAMS
********display data******
perform PRINT_PARAMS.
CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
      IS_LAYOUT            = LS_LVCLAYOUT
      IS_PRINT             = LS_PRINT
      IT_TOOLBAR_EXCLUDING = IT_EXCLUDE
    CHANGING
      IT_OUTTAB            = <TEMP_TAB>
      IT_FIELDCATALOG      = LT_LVCFIELDCAT[]
      IT_SORT              = LVC_TSORT[].
ENDFORM.                    " DISP_DATA

Similar Messages

  • Is there any class similar to CL_GUI_FRONTEND_SERVICES for WD4A?

    Hi SDN.
    I am want to give same functionality i.e. present in CL_GUI_FRONTEND_SERVICES such as create directory, create folder file etc in a web dyn pro.
    Is there any class similar to CL_GUI_FRONTEND_SERVICES for WD4A?
    If there no similar class then please tell me the alternative way for solving above problem.
    This is would be of great help.
    Regards,
    Rahul.

    To download a file on desktop you can use method  of class" cl_wd_runtime_services"
    cl_wd_runtime_services=>attach_file_to_response(   ). I have provided a code to download a file to desktop.It may help you to gain a good understanding.
      call transformation ('ID') source tab = itab_sflight[] result xml xml_out.
      CALL FUNCTION 'CRM_IC_XML_STRING2XSTRING'
        EXPORTING
          INSTRING         = xml_out
      IMPORTING
         OUTXSTRING       = content.
      conv_out = cl_abap_conv_out_ce=>create( encoding = 'UTF-8'  ).
      DATA: lv_filename TYPE string.
    * attach the first file
      conv_out->convert( exporting data = xml_out IMPORTING buffer = content  ).
      cl_wd_runtime_services=>attach_file_to_response(
        i_filename  = 'Sales_order_release.xls'
        i_content   = content
        i_mime_type = 'application/msexcel'
        i_in_new_window = i_in_new_window
        i_inplace       = i_inplace ).

  • Are there any classes Apple store offers for new mac owners

    Are there any classes Apple store offers for new mac owners, Are there any classes Apple store offers for new mac owners

    Yes.
    One to One is just $99 for a full year and is available only at the time you buy a Mac from the Apple Retail Store or the Apple Online Store
    http://www.apple.com/retail/learn/one-to-one/
    http://www.apple.com/retail/learn/one-to-one/terms.html
    http://store.apple.com/us/browse/campaigns/onetoone

  • ActionForward(somepage, true). Is there any thing similar to this in JSF.

    I want to open a new window for onlineHelp
    When I click on Help link i want to open a new window to show the appropriate help file. (instead of opening index page of help file)
    For this I store the URL in properties file and when the HELP LINK is clicked,. i check for the keyword of the page in properties file and get the value for that key and say
    return new ActionForward(somepage, true) in struts. (where somepage="some url" )
    I want to achieve this in JSF.,
    Is there any thing similar to this in JSF.

    In JSF, you need to have all your navigation mapped out in the faces-config.xml (similar to the struts-config).
    I use h:commandLinks with the target attribute set to _blank to open pages in a new window.                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Is there any form of system cleanup  for mac air

    is there any form of system cleanup for mac air

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” "boosters," “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless. Above all, avoid any software that purports to change the look and feel of the user interface.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Safari extensions, and perhaps the equivalent for other web browsers, are a partial exception to the above rule. Most are safe, and they're easy to get rid of if they don't work. Some may cause the browser to crash or otherwise malfunction.  Some are malicious. Use with caution, and install only well-known extensions from relatively trustworthy sources, such as the Safari Extensions Gallery.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most people don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," "testing the hardware," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • Is there any class to get the head, title, anchors of any page?

    hi, i am study at computer science and i have a senior project that is related to Focused Crawler.
    1 ) So, i have an issue. I have to get head,title,metas, anchors of any page. But, i don't want to recode it, may be there any classes that performs my willings. For example:
    URL a = new URL(....)
    string1 = a.getHeadComponent();
    string2 = a.getTitleComponent();
    string3 = a.getMetas();
    string4 = a.getAnchors();
    As i written above, is there any code to get these components without extra codding?
    2 ) Is it possible to modulate download speed while downloading a page by using URL class of java?
    Thanks for responses.

    fuatsungur wrote:
    hi, i am study at computer science and i have a senior project that is related to Focused Crawler.
    1 ) So, i have an issue. I have to get head,title,metas, anchors of any page. But, i don't want to recode it, may be there any classes that performs my willings. For example:
    URL a = new URL(....)
    string1 = a.getHeadComponent();
    string2 = a.getTitleComponent();
    string3 = a.getMetas();
    string4 = a.getAnchors();
    As i written above, is there any code to get these components without extra codding? No.
    You have to open a connection. Get the input stream. Read the input stream. Parse the content.
    There are HTML parsers out there.
    >
    2 ) Is it possible to modulate download speed while downloading a page by using URL class of java?
    By using URLConnection? No.
    If you use raw sockets then increase speed maybe. But "modulate" not really either way.

  • Is there some technology similar to WEFT for Fiirefox

    Hi,
    I need some font to be embedded in my webpage. I used WEFT which works properly in IE but not in Firefox. I am wondering "Is there any such similar technology for Firefox?".

    sIFR: http://en.wikipedia.org/wiki/Scalable_Inman_Flash_Replacement

  • Is there any limitation of memory uses for apps in iPad2 or iPad3 ?

    Hi,
       Is there any limitation of memory uses for apps in ipad2 or ipad3 .For example an application can use 10% or 20% of available memory , is there anything like that or the apps can use the total available memory or like 90% of it ?
    I want to know about the memory distribution to the apps in ios .
    Would anyone suggest a right way ?
    Thanks

    iOS manages all memory. You should test your app in Instruments to be sure it is playing nice.
    See Advanced Memory Management Programming Guide

  • Is there any best practice or standard for database object naming ?

    Hi
    Thank you for reading my post
    is there any standard or best practice for databse objects naming ?
    for example how should we name columns of a table ? should it be like TOTAL_VOTE or TOTALVOTE and many other items.
    Thanks

    what does oracle suggest as a naming schema for tables , fields , views. indexes , tablespaces , ... If you look at the data dictionary you will see that not even Oracle keeps rigidly to any specific standard, although there are tendencies :)
    "The nice thing about standards is that there are so many of them to choose from."      
    -- Andrew Tannenbaum
    Cheers, APC

  • Is there any "Tesseract OCR API" available for "IOS SDK 7.0" ??

    I want to make an application in IOS SDK 7.0 with Xcode 5 that required "Tesseract OCR API". So, Is there any "Tesseract OCR API" available for "IOS SDK 7.0" ? if any, please post the download link.
    Thanks

    I went on with the instructions and it worked properly with whitebackground image with black colored texts and it provide garbage value results with colored images. However when I try to run it on XCode 5.1 it shows "Caanot initialize an object of type 'Tesseract *' with rvalue 'BOOL' in the  "
    (id)initWithDataPath:(NSString *)dataPath
                  language:(NSString *)language
             ocrEngineMode:(NSString *)mode
           configFilenames:(NSArray*)configFilenames
                 variables:(NSDictionary*)variables
    setOnlyNonDebugParams:(BOOL)setOnlyNonDebugParams" method.
    And when I try to modify it then it display many linker errors.

  • I have recently updated to ios5 and when restoring apps etc it says my backup needs a password, i password that i cannot for the life of me remember...is there any 'forgotten password' option available for the backup please?

    i have recently updated to ios5 and when restoring apps etc it says my backup needs a password, a password that i cannot for the life of me remember...is there any 'forgotten password' option available for the backup please?
    i'm desperately in need as EVERYTHING my life revolvesaround is on there

    i have recently updated to ios5 and when restoring apps etc it says my backup needs a password, a password that i cannot for the life of me remember...is there any 'forgotten password' option available for the backup please?
    i'm desperately in need as EVERYTHING my life revolvesaround is on there

  • Are there any presets in iPhoto '11 for print quality?

    Are there any presets in iPhoto '11 for print quality?

    No.  Just use the greatest number of pixels for your photo available.  Other quality settings would be in the printer window, i.e. color settings, etc.
    OT

  • Is there any way to use a For Each Loop for each property of an User Defined Type?

    Is there any way to use a For Each Loop for each property of an User Defined Type? That would be very handy!
    Jorge Barbi Martins ([email protected])

    Alas, no, not in VBA.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Is there any way to lock just for settings?

    When I let my son 5 to play my iPad.  He sometimes click Settings and play around and caused change the settings.  Is there any possible to lock just for settings.  When you click the settings and it must have passcode to change anything in settings. 

    Settings>General>Restrictions>Enable Restrictions. Take a look at this.
    iOS: Understanding Restrictions (Parental Controls) - Support - Apple
    You could move the settings app into a folder on another screen that your son might not be apt to look in. Put in a folder on a home screen that he doesn't use. Keep his stuff accessible on one of the first home screens and encourage him to not stray from that screen.

  • Is there any voice recognition security software for mac

    is there any voice recognition security software for mac

    The problem is that there are probably few dry cleaners running Macs. It would be a big commitment for a developer to enter that market. As a potential user, I'm sure you would like it. From a developer standpoint, I would need 50 such dry cleaners ready to buy at $1000 each just to even consider it. I have some time to develop this year. Should I go after 200 million potential customers, a tiny fraction of whom might spend $5-10 apiece, or those 50 dry cleaners. I know that all of those 200 million people are running the correct operating system for my software. How many dry cleaners have Macs and $1000 to spare? I could go cheaper but then I would need more dry cleaners. Why wouldn't they just use some cloud based service instead?

Maybe you are looking for