Is there any help for ALV report development with  funcation modules?

Hi,
please tell me any help or example to understand the ALV function module.

Hi neha,
1. very simple alv
   (with minimum code)
2. just copy paste
3.
report abc.
TYPE-POOLS : slis.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvfcwa TYPE slis_fieldcat_alv.
data : begin of itab occurs 0.
        include structure usr02.
data : end of itab.
START-OF-SELECTION.
  select * from usr02
  into table itab.
  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      i_program_name         = sy-repid
      i_internal_tabname     = 'ITAB'
      i_inclname             = sy-repid
    CHANGING
      ct_fieldcat            = alvfc
    EXCEPTIONS
      inconsistent_interface = 1
      program_error          = 2
      OTHERS                 = 3.
Display
  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      it_fieldcat   = alvfc
    TABLES
      t_outtab      = itab
    EXCEPTIONS
      program_error = 1
      OTHERS        = 2.
regards,
amit m.

Similar Messages

  • Is there any help for a cracked iphone after dropping it?

    is there any help for a cracked iphone after dropping it?

    If you have the new AppleCare+ service, then yes:
    http://www.apple.com/support/products/iphone.html
    Otherwise, maybe. Regular AppleCare, if you have it, can't help you. But you might still be able to get it repaired – of course, any repair will cost you. Apple will replace a damaged iPhone for a flat fee.
    800-MY-APPLE (800-692-7753

  • Is there any possibility for a MacBook Air With Touch screen??

    Is there any possibility for a MacBook Air With Touch screen??

    I think they call that the iPad.... 

  • HT1933 Following the instructions above, I'm constantly redirected to this help page rather than receiving any drop down list to select what my problem is. Are there any other ways to report issues with purchases?

    Following the instructions for reporting an issue with a purchase problem, when selecting "report a probelm", I am not provided with a drop down list, I am redirected to the help page instead.
    Is there any other way to report an issue where the app owner has taken the funds twice for the same product at literally the same time?

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Help help help help. I just mistakenly deleted a Note from the Note App that I need.  I don't use iCloud. The only place I have the Note app is on my iPad and my iPod. What can I do? Is there any help for this?

    Help help help.
    I just deleted a note from the Notes App form my ipad3. I don't use iCloud. The only place this note was is my iPod and iPad. Is there any possible way to recover this note?????
    Thanks in advance

    Thank you sberman, yes the first thing I did was check my iPod. Instant synching works great between the iPad and iPod, so it was deleted there as well. On both devices I have my Notes account to the same account.
    I ashamedly have not synched to iTunes for ages. After I calmed down I realized that most of the info on that deleted Note I had copied and pasted from an excel file in November. I'm in the process of doing that again, and am only out the recent info.

  • Is there any API for performing Assembly Completion with LPN

    Hi,
    Is there any API available for performing Assembly Completion with LPN..??
    Thanks and Regards,
    Ramnish.

    We had looked into doing something similar, and this post is the closest we found.
    https://community.qualys.com/thread/11816
    Basically you will need a middle-man between Qualys and ConfigMgr to house the data. This may be a new database, or a whole seperate platform. I expect this could easily be done with SQL and SSRS.
    Also note, database edits to the ConfigMgr database are
    not supported  by Microsoft, I would recommend using a central system to pull data from Qualys and ConfigMgr without modifying either.
    Daniel Ratliff | http://www.PotentEngineer.com

  • Is there any Help for video from iPhone3GS?

    Can anyone please tell me how to get the video from my iPhone3GS to transfer upright?  All videos sync sideways. 
    Is there anything I can do to fix this?
    I still have the videos on my phone and can sync again if necessary.
    Please help.

    If you have the new AppleCare+ service, then yes:
    http://www.apple.com/support/products/iphone.html
    Otherwise, maybe. Regular AppleCare, if you have it, can't help you. But you might still be able to get it repaired – of course, any repair will cost you. Apple will replace a damaged iPhone for a flat fee.
    800-MY-APPLE (800-692-7753

  • WRT160N issues - is there any help for us?

    I've had a 160N V3 v3.0.02 for about a month.  WEP mode meant never getting a certificate on my wireless laptops and dropped connections.  Laptops are all Windows XP with latest greatest updates, and 2 use G class wireless cards, one has a built in N class wireless card.  WPA2 Personal mode has helped getting authenticated by the router, but access speed goes from 1 to 72 with very little steady state.  All laptops will drop out at least once every ten minutes or so, and my router often doesn't show up in the list of available routers.  It may take 30 mins before the thing(s) can reconnect.  Of course, the only hard wired ethernet connection to a PC is working fine and dandy.  it's the wireless side.
    Using Search I can see I'm not alone, and not hopeful there is a solution.  Should i just downgrade to a WRT54G2???  Are they trouble free?  My old one worked fine but I gave it away when I got the N class router.
    John
    (Mod note: Edited post for guideline compliance. Thanks!)
    Message Edited by JOHNDOE_06 on 11-29-2009 06:34 AM

    Try to adjust the wireless settings on the router...Open the setup page of the router and Under Wireless tab,Change the Network mode to "Mixed"...Change the SSID to some unique name,Channel Width to 20MHz and Channel to 11 and click on save settings..Under Advance Wireless Settings...Change the Beacon Interval to 75,Change the Fragmentation Threshold to 2304,Change the RTS Threshold to 2304 and Click on Save Settings...
    As you are getting the IEEE error on the laptop,it is the addition authentication on the laptop.It has nothing to do with the router.You can change the Security to WPA or try the following steps ...
    Click on the Start button >>Control Panel >>Network Connections- Here right click on the "Wireless Network Connection" icon and select Properties- Click on the 'Authentication' tab- Uncheck "Enable network access control using IEEE 802.1x" and click on Ok.  

  • Is there any help for this..

    Hello friends,
    I am not getting any answer from the experts of oracle. Why I don't know?
    I am asking a simple question realted to forms. I want to keep my form 'always on top' of other running application in windows for a specific requirements. How to do this?
    If anybody know, then please let me know. If YES, then how?
    If NO, then Why?
    regards,
    Praveenkumar Talla (Pune, India)

    Hello Praveenkumar,
    an answer (that I'm not sure if will fit your need) could be the following:
    open your form, look for the Window you want to keep always on top, and set the property 'Window Style' to 'Dialog box'. When it's defined as 'Document', your window stays inside the window that Forms Runtime open.
    Hope this help, although I'm not sure if this will help you.
    Best regards,
    Franklin Gongalves Jr.
    [email protected]
    Hello friends,
    I am not getting any answer from the experts of oracle. Why I don't know?
    I am asking a simple question realted to forms. I want to keep my form 'always on top' of other running application in windows for a specific requirements. How to do this?
    If anybody know, then please let me know. If YES, then how?
    If NO, then Why?
    regards,
    Praveenkumar Talla (Pune, India)

  • Is there any help for new iWeb users?

    the tutorials I've found are inadequate for the most basic web site design and editing. I would like to do simple things like changing fonts, linking pages but there is nothing. Help

    Here are a series of video  tutorials by Apple: Apple - Find Out How - Web - iWeb.  And here's the iWeb manual in PDF format: manuals.info.apple.com/en/iWeb_Getting_Started.pdf.
    This is an illustrated Manual from Bowling Green University:
    www.bgsu.edu/downloads/cio/file85786.pdf.
    and this is Apple's manual:
    manuals.info.apple.com/en/iWeb_Getting_Started.pdf
    OT

  • Is there any hope for mac user

    i got the zen vision m 30 gig for xmas and just this week i got a mac computer... i tried to load the software to the mac but i think that since its for pc that i cant use it.. is there any help for me...
    tom

    Hello kpratta,
    There is some hope. I have heard of someone putting the ipod in a bag of dry rice and putting the bag in a dark place for a 4-5 days. After that they used this:
    www.apple.com/support/ipod/five_rs/
    This has the best chance. The rice absorbs any liquid in the ipod.
    Hope this helps.
    ~Julian

  • Is there any functionality for AVERAGE in ALV, like do_sum, subtot?

    Hi Experts,
    In my_alv report, am doing sub/totals for prices, by using do_sum, subtot functions.........fine. But, I need to do/display the AVERAGE value for Discount % column?
    Is there any functionality for AVERAGE in ALV, like do_sum, subtot?
    thanq

    hi
    check these links out
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    regards
    vijay
    reward points if helpful

  • Nee help on ALV report for Total of BSEG-BUZEI & F1 document in FB03

    Hi friends,
    I need to diplay line items total & when double clicked on BELNR field it should open the F1 document in FB03.
    Could anyone plz guide me on this.
    Waiting for response.
    below is my code,
    Kindly needed help.
    REPORT  YALV_1.
    TABLES : BKPF,BSEG.
    Data for ALV display
    TYPE-POOLS: SLIS.
    data : int_fcat type SLIS_T_FIELDCAT_ALV,
           fieldcatalog type slis_t_fieldcat_alv with header line.
    DATA:  wa_sortinfo TYPE slis_sortinfo_alv,
           i_sortcat TYPE slis_t_sortinfo_alv.
    TYPES  : BEGIN OF T_BKPF,
            BUKRS TYPE BKPF-BUKRS,
            BELNR TYPE BKPF-BELNR,
            GJAHR TYPE BKPF-GJAHR,
            BLART TYPE BKPF-BLART,
            BLDAT TYPE BKPF-BLDAT,
            BUDAT TYPE BKPF-BUDAT,
            END OF T_BKPF.
    types: begin of t_bseg,
           BUZEI TYPE BSEG-BUZEI,
           end of t_bseg.
    DATA : it_bkpf TYPE STANDARD TABLE OF t_bkpf with header line,
          wa_bkpf TYPE t_bkpf,
           it_bseg type standard table of t_bseg.
          wa_bseg type t_bseg.
    field to store report name
    DATA :  i_repid like sy-repid.
    select bukrs belnr gjahr blart bldat budat from bkpf into table
    it_bkpf where blart = 'AA'.
    field to check table length
    *data i_lines like sy-tabix.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    PERFORM sortcat_init CHANGING i_sortcat.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    There are a number of ways to create a fieldcat.
    For the purpose of this example i will build the fieldcatalog manualy
    by populating the internal table fields individually and then
    appending the rows. This method can be the most time consuming but
    *can
    also allow you  more control of the final product.
    Beware though, you need to ensure that all fields required are
    populated. When using some of functionality available via ALV, such
    *as
    total. You may need to provide more information than if you were
    simply displaying the result
                  I.e. Field type may be required in-order for
                       the 'TOTAL' function to work.
      fieldcatalog-fieldname   = 'BUKRS'.
      fieldcatalog-seltext_m   = 'Company Code'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 4.
    fieldcatalog-do_sum      = 'X'.
    fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BELNR'.
      fieldcatalog-seltext_m   = 'Doc No'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'GJAHR'.
      fieldcatalog-seltext_m   = 'Fiscal Year'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BLART'.
      fieldcatalog-seltext_m   = 'DOC Type'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BLDAT'.
      fieldcatalog-seltext_m   = 'Doc Date'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BUDAT'.
      fieldcatalog-seltext_m   = 'Popsting Date'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'BUZEI'.
      fieldcatalog-seltext_m   = 'Line Items'.
      fieldcatalog-col_pos     = 6.
      fieldcatalog-do_sum      = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    FORM sortcat_init CHANGING i_sortcat TYPE slis_t_sortinfo_alv.
      CLEAR wa_sortinfo.
      wa_sortinfo-fieldname = 'BUKRS'.
      wa_sortinfo-tabname = 'T_BKPF'.
      wa_sortinfo-spos = 1.            " First sort by this field.
      wa_sortinfo-up = 'X'.            "   Ascending
      wa_sortinfo-subtot = 'X'.        " Subtotal at Name1
      APPEND wa_sortinfo TO i_sortcat.
      CLEAR wa_sortinfo.
      wa_sortinfo-fieldname = 'BELNR'.
      wa_sortinfo-tabname = 'T_BKPF'.
      wa_sortinfo-spos = 2.            " Sec sort by this field.
      wa_sortinfo-up = 'X'.            "   Ascending
      wa_sortinfo-subtot = 'X'.        " Subtotal at Name1
      APPEND wa_sortinfo TO i_sortcat.
    ENDFORM.                    " sortcat_init
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    form display_alv_report.
      i_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = i_repid
               i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
               i_callback_user_command = 'USER_COMMAND'
               i_grid_title           = outtext
               is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
               it_sort                = i_sortcat
               it_special_groups       = gd_tabgroup
               IT_EVENTS                = GT_XEVENTS
                i_save                  = 'X'
               is_variant              = z_template
           tables
                t_outtab                = IT_BKPF
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
    form data_retrieval.
    IF it_bkpf[] IS NOT INITIAL.
       select buzei from bseg into
         table it_bseg for all entries in it_bkpf
         where bukrs = it_bkpf-bukrs
         and belnr = it_bkpf-belnr
         and gjahr = it_bkpf-gjahr.
         endif.
    endform.                    " DATA_RETRIEVAL.

    Hello
    1.
    form display_alv_report.
    i_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
    i_callback_program = i_repid
    i_callback_user_command = 'USER_COMMAND'
    it_fieldcat = fieldcatalog[]
    i_save = 'X'
    tables
    t_outtab = IT_BKPF
    exceptions
    program_error = 1
    others = 2.
    2.
    * FORM USER_COMMAND
    FORM user_command USING u_com LIKE sy-ucomm sel_lin TYPE slis_selfield.
    CASE u_com.
      WHEN '&IC1'. 
        CASE sel_lin.
          WHEN 'BELNR'.
          read TABLE IT_BKPF INDEX sel_lin-tabindex.
          SET PARAMETER ID 'BLN' FIELD IT_BKPF-BELNR.
          SET PARAMETER ID 'BUK' FIELD IT_BKPF-BUKRS.
          SET PARAMETER ID 'GJR' FIELD IT_BKPF-GJAHR.
          CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN. 
        ENDCASE.
    CLEAR u_com.
    ENDCASE.
    ENDFORM. "USER_COMMAND

  • I'm new to SQL Server Integration Services and I need help on how to begin learning SSIS. Is there any training for it besides msdn?

    I'm new to SQL Server Integration Services and I need help on how to begin learning SSIS. Is there any training for it besides msdn?

    Check this thread where people have already given their suggestion on learning SSIS
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/f2cc1cf3-204d-454a-a189-47df87a3aa23/i-want-to-learn-ssis?forum=sqlintegrationservices
    I would suggest to go for You tube videos (type learn SSIS or begin SSIS step by step) you will get lot of good tutorials to start with.
    Happy Learning!!
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • I cant find the end button when i receive a incomming call please help me. Is there any solution for it or is it a bug in the ios7.0.3 iam updated with ios7.0.3

    I cant find the end button when i receive a incomming call please help me. Is there any solution for it or is it a bug in the ios7.0.3 iam updated with ios7.0.3

    Do you mean decline button before picking up the call?

Maybe you are looking for

  • How do I read/open an external hard drive after using time machine?

    I have an external Seagate HD that I used to back up files using Time Machine.  How do I now read/open/view the Seagate External Hard Drive to see all that was saved for example documents, photos etc?

  • Help with listing records from two tables

    Hi: I have two tables joined by the first field. The field is primary key in first table. Need help listing records from both tables with each record one line/record. create table EVENTS ( event_key varchar2(64) primary key, event_description varchar

  • Connecting Canon MG5350 to MacBook with WLAN

    Hello! I just bought a Canon MG5350 and I tried to connect it with my MacBook which runs in iOS 10.6.8, using the wireless network. During the last step of the instalation, I am getting the message: no printer is dectetable. I checked the WLAN settin

  • Code changes for BOE XI R2 from Crystal Reports XI Server R2

    I'm using a Crystal Reports Server XI R2 server currently for hosting my development reports. But my production server is going to be Business Objects Enterprise Professional XI R2. What will be changes that I need to ponder?

  • 2008 Unibody MacBook dropping WiFi

    I posted this on MacRumors but no one was able to help me so I was wondering if the wonderful Apple community could help. Hey Guys, I have a 2008 unibody MacBook running OSX 10.8.3 that has a bit of a strange issue with the wireless. I have recently