What is the button to change the variant in alv?

Hi guys,
          can u tell me  is there any button to change the variant in alv?. what is tanscation varient in report , hw it will used.

Hi
The ALV Grid Control is a tool with which you can output non-hierarchical lists in a
standardized format. The list data is displayed as a table on the screen.
The ALV Grid Control offers a range of interactive standard list functions that users need
frequently (find, sort, filter, calculate totals and subtotals, print, print preview, send list,
export list (in different formats), and so on. These functions are implemented in the
proxy object class. You as the programmer have the possibility to turn off functions not
needed. In most cases the implementations of the standard functions provided by the
control are sufficient. However, if required, you can adjust these implementations to
meet application-specific needs.
You can add self-defined functions to the toolbar, if necessary.
The ALV Grid Control allows users to adjust the layout of lists to meet their individual
requirements (for example, they can swap columns, hide columns, set filters for the
data to be displayed, calculate totals, and so on). The settings (list customizing) made
by a specific user are called a display variant. Display variants can be saved on a userspecific
or on a global basis. If such display variants exist for a list, they can be offered
to the user for selection. If a display variant is set as the default variant, the associated
list is always displayed based on the settings of this variant.
<b>2. REUSE_ALV_LIST_DISPLAY
REUSE_ALV_GRID_DISPLAY
REUSE_ALV_FIELDCATALOG_MERGE
REUSE_ALV_COMMENTARY_WRITE</b>
3. Use of Field Catalog is to determines the technical properties & add formating information of the column.
6. all the definition of internal table, structure, constants are declared in a type-pool called SLIS.
7.fieldcat-fieldname
fieldcat-ref_fieldname
fieldcat-tabname
fieldcat-seltext_m
5. Form user_command using r_ucomm like sy-ucomm rs_selfield type slis_selfield.
Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
The report output can contain up to 90 columns in the display with the wide array of display options.
The commonly used ALV functions used for this purpose are;
<b>1. REUSE_ALV_VARIANT_DEFAULT_GET
2. REUSE_ALV_VARIANT_F4
3. REUSE_ALV_VARIANT_EXISTENCE
4. REUSE_ALV_EVENTS_GET
5. REUSE_ALV_COMMENTARY_WRITE
6. REUSE_ALV_FIELDCATALOG_MERGE
7. REUSE_ALV_LIST_DISPLAY
8. REUSE_ALV_GRID_DISPLAY
9. REUSE_ALV_POPUP_TO_SELECT</b>
Purpose of the above Functions are differ not all the functions are required in all the ALV Report.
But either no.7 or No.8 is there in the Program.
How you call this function in your report?
After completion of all the data fetching from the database and append this data into an Internal Table. say I_ITAB.
Then use follwing function module.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = 'Prog.name'
I_STRUCTURE_NAME = 'I_ITAB'
I_DEFAULT = 'X'
I_SAVE = 'A'
TABLES
T_OUTTAB = I_ITAB.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC .
ENDIF.
ENDFORM. " GET_FINAL_DATA
The object F_IT_ALV has a field, the activity ACTVT, which can
contain four permitted values: 01, 02, 03 and 70. Each of the
activities 01, 02 and 70 controls the availability of particular
functions (in the menu and the toolbar) of the ALV line item list:
a) 01: "Settings -> Display variant -> Save..."
b) 02: "Settings -> Display variant -> Current..." and
"Settings -> Display variant -> Current header rows "
c) 70: "Settings -> Display variant -> Administration..."
Activity 03 corresponds to the minimum authorization, which is the
most restricted one: The user can only select layouts which have
been configured already. In particular, all of the other functions
named above are inactive with activity 03.
Now if you want to permit a user to change the column selection and
the headers as well as to save the layout thus created, for example,
but if you do not want to permit the user to administrate the
layouts, you grant him or her the authorization for activities 01
and 02.
Check this link it will be mosty usefull for u
http://www.sap-img.com/fu017.htm
Reward all helpfull answers
Regards
Pavan

Similar Messages

  • HT4436 I have 2 I phone which is using same apple id to back to icloud and restore it. I want to use different id on the one phone what can I do or change the id?

    I have 2 I phone which is using same apple id to back to icloud and restore it. I want to use different id on the one phone what can I do or change the id?

    Welcome to the Apple community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add a new account by tapping the "create Apple ID" button. (Settings > iCloud, scroll down and hit "Delete Account")

  • Fm11 does not have the buttons to change from XML to WYSIWYG views

    Hi, my Fm11 does not have the buttons to change from XML to WYSIWYG views. It only has the WYSIWYG view, and it does not have the Structure Tools,DITA, S1000D menu options.
    In File>New, there is not XML option neither…. What am I doing wrong? Thanks

    Hi Arnis, Thank you very much for your help, that was it !!! Greetings from Mexico

  • G4 power mac PCI, cuda / pmu button (s),&#160; what is the button next to the cuda / pmu button for ??

    In this photo from Apple on resetting the "cuda" or "pmu", there is the proper button circled for the reset. My question maybe silly, but WHAT is the button just to the right of it for ??   .....  It must be important enough to HAVE a BUTTON ??  ..... shown in this photo.
    OK, here it is, just outside the red circle, to the right.  It must be Important enough to HAVE a BUTTON, yet I have not seen , or heard of it being mentioned anywhere ???   .....   I have this very machine and I am expierencing some problems with it, and I find myself so tempted and wanting to push it !!, ... But not knowing what it's for has the wheels inside my head spinning (like mad).  ....  It and other things maybe driving me crazy (ier) !!
    ANYONE KNOW WHAT IT'S FOR ?????  .............  Thank You, and Have a Nice Day !!,  wayne146

    japamac, thanks for the fast reply,
    I have done the cuda reset with some success, still not working correctly though, machine only responds to power button on the front, not to the k/b button, (it did before) even used another k/b, both known to be good. Since this problem started, cuda reset has been done a few times, with some time intervals between them, battery tested, new battery, etc., etc.
    On my screen here, near the top, is a column titled, "more like this", in it is a "green checked" answer that reads; After resetting cuda / pmu, doesn't power up, 400mhz imac (<not my machine, I know) what next" answered by "Spudnuty", IN his reply's he mentions a list called "Symptoms / Cures Tables", related to pmu / cuda problems as I read it. Yet I have not found any such list by doing searches varying how I word it.
    Would You know of this list ?, or if it is still available ? ..... I had no luck looking for it, ..... wayne146 ....    

  • On Button click change the button display text from LOCK to UNLOCK

    Hi Freinds,
    I am rendering a TreeByNestingTableColumn with two columns  like:  Name , Status as below shown. In The status column I inserted a Table Cell editor Button type and  the button element property text mapped to the context attribute called statusButton and set the button name in the code to display as LOCK. When the tree renders all the vales are displaying in status column as LOCK. Now whrn the user click on LOCK i should fire the event and change the button text from LOCK to UNLOCK. The same way when they click on UNLOCK and i have change to LOCK. please help how to do this.
       Name                          Status
    |> Employee1------------------LOCK (when i click on lock  button here, his and under neath of him button status should                 
            |>Employee2-----------LOCK    change from LOCK status to UNLOCK)                                                     
                   |>Employee3----LOCK
    Thanks in advance.
    Thanks
    Srini

    Armin,
    Yes I removed the method and created the calicualted value as you suggested and I able to get the out put what i have asked.
    My complete scenario is some thing like this, i able to complete upto certain level but not able to make it work for complete scenario, I appreicate your comments or advice for getting me the below output
    I have a TreeByNestingTableColum UI rendering with three columns as NAME(node |>), STATUS(Toggle Button) and PLANNING (Text view)  (developed based on sample tutorial Integration of a Tree Structure in a Web Dynpro Table.pdf)
    I am trying to get this output:
    From the sap backed i am getting flag value, based on that i have to render Tree UI columns NAME,  STATUS(Toggle Button) and PLANNING (Text view). if the flag is null i have to show as LOCK and In Planning else Unlock and Submitted  (please see the below picture for clear idea)*
    if (statusflag = ""){
    i have to show values in two columns like Lock ...Planning
    } else
    show values in two columns like Un Un Lock ...Submitted
    One more thing is , If i lock a record at secound node level , then all the records should locked underneath of that node (it could be 2 nodes or 10 nodes) and then the status column values should change from lock to Unlock and Planning column values should change from In Planning to Submitted. where as when i Click on Unlock , only that perticular record (not node level) should changed from unlocked to Lock and planning is  from Submitted to In Planning.
    This is the functionality actually I am looking for.
    Here the tree sample:
    Name                        Status              Planning
    |>M1                         Lock                 In Planning
       |>M2                      Lock                 In Planning
         *M2a                    Lock                 In Planning
       |>M3                    Un Lock                Submittd
    Thank you.
    Srini

  • What can I do to change the sound of a track in garageband?  It is "stuck" on electric piano setting and will not change. I've tried restarting, restoring sound library, full key reset, and checked for updates.

    What can I do to change the sound of a track in garageband?  It is "stuck" on electric piano setting and will not change. I've tried restarting, restoring sound library, full key reset, and checked for updates.

    Hi
    In iMovie'11 (version 9.0.x)
    on top menu row - Apple/iMovie/File/Edit/Cut (Can vary dep. on language - in Swedish Apple/iMovie/Arkiv/Redigera/Klipp . . . )
    down Cut menu - Slow playback/Raspid Playback/Re-play in Slow Motion and onvards
    Here one can select the Pre-Set speeds
    Are you familiar with getting 'inspector' to run?
    No - but I guess that Double Click on clip/sequense or ctrl-Click on it might open it.
    Yours Bengt W

  • Credit card number change, your company can not charge , so , what can I do ?because I buy one year plan , but the plan stop already  ,I can not change the credit card details.So, I need to buy one more year or can continous the paln with changing the cre

    credit card number change, your company can not charge , so , what can I do ?because I buy one year plan ,
    but the plan stop already  ,I can not change the credit card details.
    So, I need to buy one more year or can continous the paln with changing the credit number?

    Hello pen pang,
    if your Photoshop is a part of Creative Cloud you can use "Manage your membership and payments|Creative Cloud" at
    http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting- creative-cloud.html >>>
    Payment & credit card >>> Help changing the credit card on your account >>> from there see what hints are listed.
    On the other hand I'm sure that you can use the recommended procedure with a "normal" PS too.
    If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use the chat, I had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
    If you need these explanations in another language, please use "Change" at the end/bottom of the website from above
    Good luck!
    Hans-Günter

  • What are the consequences of changing the scratch disc??

    What are the consequences of changing the scratch disk? Everything was fine with my project until I tried to work on a new project for someone else. I uploaded new footage to a new session and changed the scratch disk to my other external hard drive. Now there is confusion with my initial project..

    This is something we all live with. You have to be careful going back and forth between projects, if you are using different scratch disks for each. If you are editing a project on one scratch disk, then start a new project on another, remember to switch back to the original scratch disk when you go back to the original project. Otherwise render files will wind up on the wrong drive, or worse, you will capture to the wrong drive. Each issue is correctable by managing your media over to the proper drive, and deleting then deleting from the other.

  • What is the price to change the body of macbook pro 15 inch?

    what is the price to change the body of macbook pro 15 inch?

    https://www.techrestore.com/mac/
    http://www.dttservice.com/macbookprounibody.html
    http://www.myservice.com/macbookpro.html

  • Can I change the Caption (name) of the button Go for the dashboard prompt

    Hi,
    Can I change the Caption (name) of the button Go for the dashboard prompt
    I need to change the name of the button to Set Prompt Values.
    i did not see an option to do this
    Thanks

    Hello Yusuf,
    First follow the forum Etiquette, see this http://forums.oracle.com/forums/ann.jspa?annID=939
    You have to close the answered threads...
    And regarding your question
    Go to *{OracleBIDir}:\oraclebi\web\msgdb\l_en\messages*
    Open globalfiltermessages.xml file.
    Find this text
    <WebMessage name="kmsgGFPGo"><TEXT>Go</TEXT></WebMessage>Now edit the Go which is there between the TEXT tags..
    Ex: i am editing Go to Confirm
    <WebMessage name="kmsgGFPGo"><TEXT>Confirm</TEXT></WebMessage>Save this file and just restart your presentation service.
    Check your dashboard prompt now...
    (Editing this post from here)
    As per your requirement edit should be:
    <WebMessage name="kmsgGFPGo"><TEXT>Set Prompt Values</TEXT></WebMessage>Edited by: Kishore Guggilla on Jul 18, 2009 2:45 AM

  • What is the risk of changing the order of the security providers?

    I have developed a SFTP solution for Webmethods. Webmethods has IAIK (class iaik.security.provider.IAIK) as its default DH provider. To get the SFTP solution to work, I had to change the DH provider to SunJCE.
    I did that through changing the order of the security providers in the
    java.security file
    in C:\j2sdk1.4.2_13\jre\lib\security
    Now it is
    security.provider.1=com.sun.crypto.provider.SunJCE
    security.provider.2=sun.security.provider.Sun
    security.provider.3=com.sun.net.ssl.internal.ssl.Provider
    security.provider.4=com.sun.rsajca.Provider
    Before it was
    security.provider.1=sun.security.provider.Sun
    security.provider.2=com.sun.net.ssl.internal.ssl.Provider
    security.provider.3=com.sun.rsajca.Provider
    security.provider.4=com.sun.crypto.provider.SunJCE
    security.provider.5=sun.security.jgss.SunProvider
    A lot of other webmethods services uses the same server, so if we change the order of the security providers, it will affect all of these. So what I want to know is what is the risk of changing the order of the security providers?

    Check here for compatibility of 3rd party Software you may be using...
    http://roaringapps.com/apps:table
    Also note that Rosetta is no longer supported in Lion and Mountain Lion...
    You will need more RAM... Get the Maximum you can for your Mac...
    It is important to get the Correct and Matching RAM
    See Here  >  OWC RAM  >  http://www.macsales.com
    The above site also has videos on how to Install RAM should you need it...

  • What is the tcode  to change the contents of sales order

    hi
    what is the tcode  to change the contents of sales order

    SD Transaction Code Flow:
    Inquiry / Document type IN
                              create chan  disp             tables updated
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Purchase Order PO
    Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing F2
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP

  • What are the steps to change the "main" plan administrator

    The main plan administrator is a former employee.  What are the steps to change the "main" admin to another admin?

    Hi StevenFel,
    Welcome to Adobe Forum,
    I understand that you are refering to CC Team purchased for 2 seats under the Adobe ID provided here.
    Please refer to http://helpx.adobe.com/creative-cloud/help/manage-creative-cloud-teams-membership.html#Man age Plan Administrators
    Please let us know if it resolved the issue.
    Regards,
    Rajshree

  • What is the cost of changing the case of my macbook pro?

    What is the cost of changing the case of my macbook pro?

    Replace both upper case and lower case? Do it yourself or pay someone to do it?
    You can price it out yourself:
    https://www.techrestore.com/mac/
    http://www.dttservice.com
    http://www.myservice.com/macbookpro.html
    http://www.ifixit.com/Device/MacBook_Pro
    http://www.PowerbookMedic.com

  • What does ist costs to change the akku at the IPadmini 1?

    What does it cost to change the akku at the IPad mini 1?

    What country are you in ? In the US to replace the battery it's $99 (plus $6.95 shipping if required, and applicable taxes) : http://www.apple.com/batteries/service-and-recycling/
    Here in the UK it's £75 (plus £7.44 shipping if required).
    Before you get it replaced, copy your purchases over to your computer's iTunes library via File > Devices > Transfer Purchases and take a backup

Maybe you are looking for

  • PKCS11 : Unable to generate AES token using C_GenerateKey function

    Hi All, I am using the Eracom's PSE HSM module. They have provided me with the PKCS11 Java interface. I am trying to generate a 128 bit AES secret key with the C_GenerateKey method. However, I keep getting a "incomplete template" exception. I am not

  • Changes to data verification between 10g and 11g Clients

    The 10g and 11.1.0.7 Databases are currently set to AL32UTF8. In each database there is a VARCHAR2 field used to store data, but not specifically AL32UTF8 data but encrypted data. Using the 10g Client to connect to either the 10g database or 11g data

  • Text size in PSE 7 Editor menues / toolbars

    Hello, with my new 16.4" Laptop and 1920 x 1080 resolution I have problems in properly reading the text in PSE 7 editor menues and toolbars - they are so tiny. Increasing Windows font size (DPI) in the Control Panel only works with "Windows-related"

  • How to process files on the fly instead of uploading them to server ?

    Hello, We are using upload package of oreilly. is there a way to read files on the fly ? We don't want to upload files to server, open them and process them. But processing them on the fly will be faster for us. thanks in advance...

  • BO Edge Free Trial - Where do i go from here ?

    dear all, i am an SAP ABAPer for years. I would like to get into BO. I have downloaded and installed, successfully the free BO Edge Trial. Now i sit in front of my laptop looking at it, wondering what to read, to get me started. i prefer hands on exe