How to create a new variant and a job sheduled to use it for the ......

How to create a new variant and a job sheduled to use it for the exisisting programs

Hi
1. 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.
2. REUSE_ALV_LIST_DISPLAY
REUSE_ALV_GRID_DISPLAY
REUSE_ALV_FIELDCATALOG_MERGE
REUSE_ALV_COMMENTARY_WRITE
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.
<b>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
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.
<b>
How you call this function in your report?</b>
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

  • How do I move all my files from one User Profile (account) into another? I needed to create a new account and want all of my files accessible in the new one.

    How do I move all my files from one User Profile (account) into another?
    I needed to create a new account and want all of my files accessible in the new one.

    ok, what you're learning right now is 101 unix, which is good. Unix is a good thing
    now: the way unix works, and macos (which uses unix underneath) the files and folders work like a hierarchy.
    the start of that tree is /
    so, if you were to do:
    cd /
    (cd means change directory)
    it will bring you at the highest branch of the file system.
    cd /Users
    will bring you to where all the users are.
    to see whats in /Users you can use your friend ls command
    ls means list files/directories
    so:
    cd /Users
    ls -la
    (the -la here means show all (even hidden) and long format (very verbose))  this flag is very optional.
    you will see
    fred
    user2
    for example.
    if you want to see the desktop of user2 you would change directory to it then list the files.
    for example:
    cd /Users/user2/Desktop
    Note that the files and directory are case sensitive, so, desktop is NOT the same as Desktop, or DESKTOP
    ls -la
    you should then be able to see everything in users2 desktop
    you could have done as well the same thing in smaller steps, for example:
    cd /
    cd Users
    cd user2
    cd Desktop
    this is the equivalent of cd /Users/user2/Desktop
    So, for your file, i don't know where it was, but know that if you log in as user2, it will directly put you in
    /Users/user2
    which most likely the file you had created from the other user was in /Users/user1
    if you copied all the files from /Users/original_user to /Users/secondUser
    most likely yes, all your mail, bookmarks etc would be copied over.
    so in your case.
    sudo chown -R seconduser:staff /Users/secondUser
    should work
    Remember that if you start a path with the character /  it means start from the root of the file system, at the highest top you can ever get.
    so
    cd /Users/fred
    is not the same as
    cd Users/fred
    unless you were in / already
    i know it may be confusing at first but it's actually very logical if you play with it.
    to simplify, think of it that / means C:\  on windows
    you can't go any higher than C:\  (in a way)
    if you're unsure which directory you're currently in, you can always type:
    pwd
    it will tell you where you are.
    for example:
    cd /
    pwd
    this shows  /
    cd Users
    pwd
    this now shows /Users
    cd /System/Library
    pwd will show /System/Library
    cd /
    cd /Users
    cd fred
    cd Library
    pwd will show /Users/fred/Library
    unix can look very scary but it's actually vital and very necessary to do tasks sometimes that would take for ever to do via the windows. This is good learning.
    so for the myfile you had created, i can't tell you where it is, at the time you created, if you can do a pwd command you'll know the path,
    ls -la  (this shows all the files where you are)
    if you see myfile in the list
    do a pwd
    whatever is return, the real location of the file would be:
    whatever pwd returned / myfile
    I hope that makes sense.

  • How to create a new 'id and type rect' in _edge.js from your stage in javascript

    how to create a new 'id and type rect' in _edge.js from your stage in javaScript

    _edge.js is an object file their is any way to create ?
    if i run this script "alert(Stage);" in creationComplete
    i will get
    i have little idea on object example
    var obj = {car: "honda city"};
    obj.bikes = {model: "suzuki"};
    alert(obj.bikes.model);
    Anyway thank u vivekuma for ur kind reply!

  • How to create a new Characteristic and  Key figure ?

    Hi !
    I am newly trying to learn APO DP and Could anyone please explain how to create a new Characteristic and Key figure in Demand Planning Administrator workbench[ RSA1] with steps?

    Hi,
    Instead of RSA1, use RSD1 to create Characteristics & Key figure.
    1. Go to transaction, select radio button for respective info object i mean Char ot key fig.
    2. Enter name of the same & click on create transaction.
    3. Suppose it will ask for APO or BW then select APO for key fig. so some new functionality come in to key fig. like key fig. fixing etc.
    4. always copy new key fig. or characteristics from standard.
    5. after creation activate the key figure.
    Hope this steps will help you to create Char. & key fig.
    Regards
    Sujay

  • How to create a new UoM and assigning it to characteristic?

    Hi,
    How to create a new UoM and assigning it to characteristic?
    i want to enter cost ( in rupees and laks) against a counter
    but for that counter charecteristic required and for taht charecteristic unit of measure Rs and Laks are not defined in the system.
    So please help me ....

    Hi,
    Use T Code CUNI
    Enter  Unit of Measurement as RS and Text as Ruppes
    Commercial and Technical Display is same as RS
    Numerator is 1
    Denominator 1
    Exponent 0
    Save
    Thanks
    Raj

  • I have bought an iPhone4 and to be able to use it for the first time I connected into a friends itunes. Now when I want to buy itunes stuff on the phone it asks me her password. How can I set up again my itunes account?

    I have bought an iPhone4 and to be able to use it for the first time I connected into a friends' itunes. Now when I want to buy itunes stuff on the phone it asks me her password. How can I set up again my itunes account?
    Now I also have a macbook where I can sync my iphone but it doesn't allow me

    first of all only sync it with 1 computers itune account
    second settings->general->store click the appleID box with her appleID in it and log out

  • How to create a new workspace and change the name of the existing

    Hi,
    can any one help me how to create a new workspace in application express 3.1 on XE DB and how to change the name of a existing workspace.
    thanks
    Jana

    Jana,
    This is discussed at length in the User's Guide. See the section "Creating Workspaces".
    To rename a workspace using the admin application, edit the workspace attributes and type a new name in the field where the old name appears, then Apply Changes.
    Scott

  • How to create a new account and copy all settings?

    I think my main user account is corrupted. So I want to create a new account and copy all of my settings, files etc..and more than likely piecemeal just incase my settings are what is corrupted. That way I can isolate the problem.
    I don't plan to delete the main account until satisfied and I also have my Time Machine backup plus my SuperDuper backup.
    I can/should be able to figure out how to create the new account, but I am very unclear on the best/easiest approach to copy in my iTunes files and settings, applications(is this even an issue), address book, email, etc? I should be able to find most everything underneath my home account folders but what else am I missing here? I don't want to find out the hard way.
    Please share some advice or perhaps a link/FAQ on how to approach.
    Thanks in advance.
    --Mickey

    use this [link|http://discussions.apple.com/message.jspa?messageID=6185507].

  • How to create a new node and its subnodes(zreports) in Transaction SRET

    Hi Expets,
    My requirement is to create a new node and subnodes(zreports) in the Transaction SRET.
    Where as i  am able to create a subnode(zreports) under the existing node but not able to create a New Node and
    Subnodes(zreports) under it.
    To create the subnodes(zreports) i used Transaction SERP and i was able to create the new node in SERP but not able to find it in SRET.
    So please help me out.
    Thanks,
    Krishna

    Dear Pushpa,
    Transaction Code :SHD0 is working fine.
    Please accept my sincere thanks for your sharing your Knowledge.
    I am able to fulfill my
    Regarding the enhancement, I have not tried.
    Once I will complete, I will award the fulll marks to you.
    With Best Regards,
    Raghu Sharma

  • How to create a new user and group on command line?

    Hi,
    I am trying to install INN, the news server on OS X.4.8 (non-server), but it requires me to create a user and group, both called 'news'.
    I know this has something to do with using Netinfo to create them, but I am logged in remotely via ssh and I can't use Netinfo Manager.
    How do I create new users and groups via the command line.
    Thanks for any help.
    PowerMac G5 2x2.7GHz   Mac OS X (10.4.8)  

    I've put some shell scripts that do this here,
    and descriptions
    add_user
    addgroup

  • How to create a new master and working repository

    We have a working env - with master and working repositories .
    we have solution for this env .
    I want ti create a new environment for a new version - and to create new master and working repository from the old environment .
    I tried several options but with no success .
    Please help me to understand how can this be done ?
    Thanks
    Tamar

    What options have you tried with no success ?
    Do you want to selectively release / migrate code from one env to the new one or will a clone of the working environment be sufficient? If you clone - you wont be able to selectively move updates across.

  • How to create a new database and use it?

    Hi there,
    I have so many tables in the current database that i'm working on. When i start to create a new table such as employee, student, person...etc it doesnt allow me to create them becuase it says the tables exists. Even when i use the drop command to drop the tables, doesn't help. So most of the time i have to create a table with postfix of 1, 2 to the table name.
    Therefore i need to create a database for every project that i do.
    How do i create a new database?
    Then how do i use the database that i just created?
    Then how do i find the out whats the database that i'm currently working on?
    Thanks!
    Message was edited by:
    dingdong
    Message was edited by:
    dingdong

    A database is a physical set of files that contains many schemas. Each schema has a one to one relationship with database users, so to create a new schema you create a new database user.
    e.g.
    CREATE USER fred IDENTIFIED BY fredspassword;Then, by logging on as fred you can create all the new tables you like as that user, in that users schema.
    If you create a new database then you will find you cannot access functions/procedures, packages, tables etc. that exist in another users schema without creating a database link to the other database that contains them.
    If you just create a new schema, you can more easily get at other users schema objects (tables, packages etc.) by referencing them with the users name e.g. JOE.TABLE1 providing that user has given permission for your user to access them. You can also create synonyms that allow you to reference other users schema objects as if they exist in your own e.g. you can have something called TABLE1 in your own schema that is in fact referencing JOE.TABLE1.
    Message was edited by:
    BluShadow
    remove quotes from password. oops! thanks padders

  • How to create a new transaction and add it to Area Menu

    Hi.
    I have to create a report and run the report using the Tcode and Tcode has to be added in the Area Menu at the initial screen.
    Please tell me how can i do that.
    Thank you in advance

    You can add additional menu transaction in the SAP main menu without affecting the original SAP default area menu S000.
    For example, you have created a transaction code called ( z123 - ABC Own Report ) and you want to insert it under Logistics.  The specific user will be able to access ABC Own Report by clicking Logistics -> ABC Own Report.
    Steps :-
    Goto Transaction SE43 - Area Menu
    Click the copy button.  Copy from S000 to ZXXX
    After copying, click Change (area menu ZXXX)
    Double click on Logistics and add in your transaction code in the AreaMenu.
    Remembers to Activate it.
    Next Goto Transaction SU01 - Maintain users
    Type in the user name and click the Defaults button
    Type in the area menu (ZXXX) in the Start Menu field.
    Click Save
    The user will be able to see the additional transaction on the next logon.
    The CUA area menus are converted to tree navigation in Release 4.6A. The menu contents are automatically copied into a new data structure in Upgrade to Release 4.6A or higher. You can edit Area Menus with a new maintenance interface (Area Menu maintenance transaction: SE43 ).
    Reporting Tree Integration - Only transactions could previously be put in Area Menus. From Release 4.6A you can also put all the types of reports which are in reporting trees, in Area Menus. The system automatically assigns a transaction code to call the report from the menu. If you have already put the report in another Area Menu, no new transaction code is generated, the unique transaction code already assigned is used.
    You can create Area Menus from complete reporting trees with the migration transaction RTTREE_MIGRATION . The report transaction codes are generated automatically.
    Reporting trees can only be displayed. They cannot be maintained. To modify the contents of reporting trees, you must convert them with the migration transaction. You can then modify the contents with the Area Menu maintenance.

  • How to create a new Node and bind it to the wdContext root at run time

    Hi experts,
    Does anyone have sample code about 1) adding a new node to the root context, 2) give it a name and 3) referring to this newly created node with the conetxt path?
    Thanks

    Armin,
    I am trying to do this and keep getting erro about incompatible class:
    wdContext.getNodeInfo().addChild("DynamicNode",
                  mymodel.class,
                  true,
                  CMICardinality.ONE,
                  CMICardinality.ZERO_TO_ONE,
                  true,
                  wdContext.getContext().getStructure("com.my.structure") );
                  IWDNode node = wdContext.getChildNode("DynamicNode", 0);
                  IWDNodeElement e = node.createElement(an_instance_of mymodelObject());
                  node.addElement(e);
    Can I do it this way?

  • How to create an excel report and send it via email using a BPEL process ?

    Hi Experts,
    I have a requirement to develop a xl report based the data in the DB table. I will have to query the list of records entered / processed during previous day, generated the xl based report and send to users via email.
    I talked to one the experts, he asked me to use the following Adapter and BPEL activities to accomplish it.
                   DBAdapter --> {BPEL  process} --> Java Embedding --> Email Activity.
    Can someone please help me to pass the information retrieved by DBAdapter to Java Embedding and then to email import? I have created DBAdapter and Java Embedding. I don't know, how to retrieve the data read / sent by DBAdapter using Java Embedding. Also please help me to pass the xl attachment to Email Activity.
    Thanks for your help in advance!
    Thanks,
    Harisudhan Selvaraj

    I would suggest something like:
    DBAdapter --> Bpel Process --> File Adapter --> write file to location (you can write in csv which can be imported into xls)
    Read Location --> FileAdapter --> Bpel Process --> Email Activity
    Regards,
    Anshul

Maybe you are looking for

  • Updating fields on Tabular Forms created with wizards

    I have created a Tabular Form using the creation wizard in version 2.0. When we update database records, we always place a date and a user ID into the record to track the last time updated. In HTML-DB I typically create an "After Submit" process call

  • How to copy just a portion of a track

    While recording from a cassette, I somehow lost most of the track from the first side of the cassette. I'd like to at least save the second side if possible. I'm not sure how to select just a portion of the track to copy and add after re-recording th

  • Problem when created an Inspection Lot.

    Hello PP Guru's, I have a major problem with Inspection Lot. I have created an Inspection Lot but forgot to create an Inspection Plan for the Material for which the lot has been created.The Inspection Lot is in CRTD status which doesnt allow me to re

  • Custom swatches keep disappearing

    Hello, I am using Illustrator CS4  14.0.0 I have saved a Workspace that includes a User Defined swatch.  (see attachment). Even though I have saved the workspace, when reopening the program, it goes back to the regular swatches that come with the pro

  • Problem in migrating a smartform

    hai all, i am migrating a pre-defined medruck  smartform, after migrating it i am getting errors. i tried to resolve few errors by creating internal tables. but  for some fields internal tables are not getting created and also i am getting problem in