About  tablecontrols in ABAP

Hi all,
can anyone let me know abouttablecontrols. how we will use them and where to create them...
i will be thankfull to the repliers
regards,
gopi..

Go through the following DOcument for Table Control Creation
1) Screen tables
A table can be created in transaction. These tables, when designed on the screen are called as SCREEN TABLES.
These are of two types.
Table Controls and Step loops
These tables are treated as Loops.
2)Features of Table Controls
Data is displayed in the form of table.
Table control gives user the feeling of an actual table.
You can scroll through the table vertically as well as horizontally.
You can select rows and columns.
You can resize the with of columns.
You can have separator lines between rows and columns.
Automatic resizing of the table when the user resizes the window.
You can update information in the table control and it can be updated in the database table by writing code for it.
3)Steps for creating table control
Declaration of table control in module pool program.
Designing of table controls on the screen.
Passing data to table control in flow logic.
4)Declaration of TC in MPP
syntax:
controls <name of table control> type tableview using screen <escreen no.f>.
5)Designing Table control on screen
Click on Table in Control bar and place it on the screen. You can adjust the length and width of the Table Control.
Name the table control.(same name as given in data declaration).
From dictionary object OR from program fields select the fields and place them in the table control
6)Passing data to table control
Usually transfer of data from program to screen is automatic.
In case of TC, you need to explicitly transfer the data to table control.
ABAP/4 provides Loop statement, which is associated with flow logic to transfer the data.
7)Passing of data contd.
PBO.
Loop at <name of internal table> with control <name of table control> cursor <scroll variable>.
modulecc.
Endloop.
PAI.
Loop at < name of internal table>.Endloop.
8)Scroll variables
Top_line : the row of table where the screen display starts.
Current_line : the row currently being processed inside a loop.
9)Transfer of data from prg to TC.
With eLoop at cf statement, the first row is placed in the header of internal table.
If any module is specified between Loop and End loop, it will be executed. In this module, generally we will be assigning this internal table fields to table control screen fields.
The row in internal table is transferred to the TC as stated in the eLoop atc..f statement.
The system encounters the eEndloopf statement and control is passed back to the next line of internal table.
In the same way all the records of the internal table are passed to the TC.
Regards

Similar Messages

  • About tablecontrols in BDC

    Hi all,
        can anyone let me know about tablecontrols in BDC's.
    I ll be very thankfull to u all.
    regards,
    gopi....

    Hi Gopi,
    Use CALL TRANSACTION 'ME21N'  OPTIONS FROM w_ctu_params.( type CTU_PARAMS)
    <b>This structure contains the follwing:-</b>
    DISMODE :  Display mode (like the MODE addition)
    UPDMODE:  Update mode (like the UPDATE addition)
    CATTMODE: CATT mode (controls a CATT)
         CATT mode can have the following values:
                ' ' No CATT active
                'N' CATT without single-screen control
                'A' CATT with single-screen control
    DEFSIZE : Use default window size (Here we are handling those transaction by giving default window size)
    RACOMMIT: Do not end transaction at COMMIT WORK
    NOBINPT  : No batch input mode (that is, SY-BINPT = SPACE)
    NOBIEND : No batch input mode after the end of BDC data.
    The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values:
    'X' Yes
    <b>Refer the below link for Example Programs:-</b>
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm
    Regards
    Sudheer

  • I need information about Web dynpro ABAP Exception : ICF Service Node

    I need information about Web dynpro ABAP Exception :
    ICF Service Node "/sap/bc/webdynpro/sap/abcd/undefined" does not exist.
    Here abcd is application name.
    ICF Service Node exists and activated but kindly let me know from where "undefined" is coming .
    Please let me know your comments /views about  this.

    Hi,
    I think ur webdynpro service is not active after upgradation.
    You have manually activate it.
    Go go Tcode SICF,Execute the Initial screen,
    and in this new screen give service  as your application name and click on filter.
    You will get your service below which will be ur application name .
    right-Click on the deactivate and activate it or just activate it,.
    This shd work

  • About PAYROLL in ABAP-HR

    Can anyone share some information about PAYROLL in ABAP-HR in specefic U.K

    Can be helpful for the Report generation like salary register and reconcile of payroll for certain periods by accessing tables, RT, CRT& LRT.
    all the best

  • I want to complete information about Payrolls in abap hr?

    i want to complete information about Payrolls in abap hr?

    Hi,
    SAP HR Payroll Overview
    In a broad sense, payroll accounting is the calculation of remuneration for work performed by an employee. More specifically, payroll accounting consists of a variety of processes that are becoming increasingly important due to the employer’s increased obligation to supply benefits and medical welfare.
    These benefits are products of:
      Labor law
      Tax law
      Contribution law
      Benefits law
      Civil law
      Reporting law
      Information law
      Statistics law
    The remuneration is calculated in the following steps:
    1. Calculation of gross remuneration
    2. Calculation of net remuneration
    Gross and net pay comprises the individual payments and deductions which are calculated during a payroll accounting period, and are received by an employee. These payments and deductions are included in the calculation of pay by uniquely distinguishable wage types.
    Payroll is predefined in the SAP HR system for many countries specifically (e.g. Payroll United States, Payroll Spain, Payroll Japan) and all other countries' payroll comes under the heading of "International Payroll".
    Or Check these links....
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/dd/38a63a04227748e10000000a11402f/frameset.htm
    http://web.mit.edu/hr/compensation/quickcards/ASR-Change-Save-Layout.pdf (Very useful...)
    http://www.sap.com/belux/solutions/business-suite/erp/hcm/pdf/SAP_BE_Payroll.pdf (Very useful...)
    http://www.sap-basis-abap.com/saphr005.htm
    Reward points if useful....
    Regards
    AK

  • What   about issues in abap

    hi,
           any one can explain about issues in abap.suppose i am in suport project , how the issues plz give me one are two saple issues

    Hi Radha krishna,
    In fact we can't dispose this information, but any way i would like to inform you. In support project we will get the tickets which are raised by user. Based on the domain and based on the problem those tickets will be solved by corresponding team. Suppose user raised one ticket then decide whether it is related functional issue or technical issue. Based on that we can solve.
    Hope this helps you. Reply for queries, shall post the updates.
    Regards. 
    Kumar.

  • Authorization about Web Dynpro ABAP

    Dear all:
                 I have some problem withs the authorization about the web dynpro for abap.Please give me some advices.
    For example: In my web dynpro abap,i have two tabs,one is "upload",anthor is "preview".Now there are two users,
    in this example ,i  assume user A and user B.If user A have the authorization of "Upload",and the user B have "Preview".
    Now how can i solve the problem ?  If i do not want to use the  code to implement it , is there any solution for it ? Thank  you ~
    Best wishes !

    Hi,
    There are many ways to achieve this, but without code changes I guess this would be the easiest route:
    Create 2 application configurations: one with Upload button Hidden and other with Preview Button Hidden.
    Now to run you application you have 2 URL's by vritue of 2 application configurations.
    Give the appropriate URL to required set of people.
    Learn more about [App Configuration Here|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/af5e19e7-0b01-0010-37af-bc816f9a240c]
    Hope this helps.
    Regards
    Manas Dua

  • Query About the SAP ABAP Module

    Hello My name is Anuj Chaturvedi. I have doing a MCA Course(VITH semester). I want to do a SAP ABAP Module. So Please suggest me that ii is gud for me? Also tell me something more about the ABAP Module. Kindly reply me soon.
    Thanks
    Anuj Chaturvedi

    Hello My name is Anuj Chaturvedi. I have doing a MCA Course(VITH semester). I want to do a SAP ABAP Module. So Please suggest me that ii is gud for me? Also tell me something more about the ABAP Module. Kindly reply me soon.
    Thanks
    Anuj Chaturvedi

  • I want information about as a abap consultant what can do in realtime proje

    hi ,
    this sri,i wantformation about as real time abap consultant what can do in real time project,i want  process what consul tant do.

    Hi Sri,
    The major roles of ABAP Consultant is:
    1.Analyze/Understand the Functional Specs.
    2.Prepare the Tech Specs based on the Functional Specs(Given from Functional people/Team Lead}
    3.Start coding/write program in DEVELOPMENT Server.
    4.Unit Testing
    5.Send to Quality Server.(By transporting from Development server)
    6.Once it get approved from ur Team Lead , it will be moved to PRODUCTION Server.
    7. Prepare the documentation.
    I hope it helps u..
    Regards,
    KK

  • Question about elements in ABAP programming. Please see..

    Hi all,
    I want to know what is the way to find more info about an element eg SPOS in the structure ALV_S_SORT.  The short description doesnt tell much. When I was reading a word file (tutorial on ALV reports) I came to know that this is used to provide sort criteria for the different fields. But I don't know what should be the value of SPOS? I see that it is a NUMC2 (length=2) type data.  This info is used in the function call REUSE_ALV_LIST_DISPLAY, but no info on what values to give to it?
    Please let me know what is the right approach to tackle such issues at clients place.. Should I ask at this forum each time.. Please let me know about the field spos and how did you find out.
    Thanks,
    Charles.

    Hello Charles
    If you want to start with ALV programming but are not yet comfortable enough with class-based ALV list (CL_GUI_ALV_GRID, CL_SALV_TABLE) then I highly recommend to use fm REUSE_ALV_GRID_DISPLAY_LVC. The interface of the fm is very similar (if not identical) to method SET_TABLE_FOR_FIRST_DISPLAY of CL_GUI_ALV_GRID.
    In order to understand the function of its parameters have a look at the excellent tutorial [An Easy Reference For ALV Grid Control|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907]
    The tutorial is intended for OO-based ALV lists but using the fm I suggested you can use this documentation as well.
    Regards
      Uwe

  • Please help me think about logic in abap program

    Hello every one.
    i have question.
    my selection of program is
    company code
    brand from:    to:
    fiscal year
    period from:   to:
    example.
    company code  0145
    brand from:AAA    to: ZZZ
    fiscal year 2011
    period from: 4  to: 6
    and desired output report is
    brand AAA        April   May  June
    sale              700     600  700
    COG               300     250  350
    Net sale          400     350  250
    brand BBB        April   May   June
    sale             1000    500   800
    COG               500    250   400
    Net sale          500    250   400
    sum of all brand   April  May  June
    sale              1700    1100  1500
    COG               800     500   750
    Net sale          900     600   650
    pleae help me to think about logic.
    now i just have idea that i have to
    loop at internal_table_brand.
    Moderator Message: Do not dump your spec in the forum.
    Edited by: Suhas Saha on Jun 16, 2011 4:16 PM

    Hi,
    This works now. You just need to create your methods and link them in with your case statement as flounder showed you.
    import java.util.Scanner;
    public class CarConfiguration
         public static void main(String[] args)
         int choise = Menu();
         processSelector(choise);
         private static int Menu()
              System.out.println("\nWELCOME TO CAR CONFIGURATION APPLICATION PROGRAM");
              System.out.println("======================================");
              System.out.println(" Enter _1_ to Chasis Type");
              System.out.println(" Enter _2_ to Engine Type");
              System.out.println(" Enter _3_ to Transmission");
              System.out.println(" Enter _4_ to Options ");
              System.out.println(" Enter _5_ to Finish ");
              System.out.println("======================================");
              System.out.print("Select Your Choise: ");
         Scanner input=new Scanner(System.in);
         int choise=input.nextInt();
         return(choise);
         private static void processSelector(int choise)
              switch(choise)
                   case 1: //enter mehtods here and for all other empty cases
                   break;
                   case 2:
                   break;
                   case 3:
                   break;
                   case 4:
                   break;
                   case 5:
                   break;
                   default:
                   System.out.println("Invalid selection");
                   break;
    }

  • About: how to abap index in abap program.

    Dear expert,
    I find a question that what's the meaing of these declaration "%_hints oracle 'INDEX(RESB"Z01")" in abap program.
    Can you explain it to me?
    Best wishes.
    George shi

    Hi,
    this forces the oracle database to use index Z01 of table RESB when processing the select statement. If you do not add the hint, the optimizer of the database decides which index to pick. In some cases, the automatically chosen index is not the best one.
    Please also refer to http://www.hotcoding.com/dbs/oracle/35430.html for a more detailed explanation.
    Kind regards,
    Thomas Langen

  • About perform in abap

    how perform on commit & rollback works explain with real time example ?

    hi,
    PERFORM n ON COMMIT
    Addition
    1. ... LEVEL level
    Effect
    Executes the specified subroutine when a COMMIT WORK occurs. This allows you to execute a subroutine only if the logical transaction has ended successfully. The subroutine is not executed until the key word COMMIT WORK is called. FORMs specified several times are executed only once on COMMIT WORK (see COMMIT WORK ).
    If you call ROLLBACK WORK , you delete all the specified routines.
    Note
    With PERFORM ... ON COMMIT , you cannot transfer any data with USING/CHANGING . To do this, you must either store the data in global variables or store it temporarily with EXPORT ... TO MEMORY .
    Addition 1
    ... LEVEL level
    Effect
    The addition LEVEL , followed by a field, defines the order in which the subroutines are executed after COMMIT WORK . They are called in ascending order of level. If there is no addition LEVEL , the subroutine always has the level zero. If the level is the same, the order of calls determines the order of execution. Level assignment occurs during development, e.g. by defining constants in an include program. The level must be of type I.
    Implicit Database Rollbacks in the R/3 System
    The following cases lead to an implicit database rollback:
    ·        Runtime error in an application program
    This occurs whenever an application program has to terminate because of an unforeseen situation (for example, trying to divide by zero).
    ·        Termination message
    Termination messages are generated using the ABAP statement MESSAGE with the message type A or X. In certain cases (updates), they are also generated with message types I, W, and E. These messages end the current application program.
    Also follow this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/content.htm
    Hope this helps, Do reward.
    Edited by: Runal Singh on Apr 24, 2008 11:53 AM

  • About learning SAP ABAP

    Hai all,
    Very good evening to all,
    I Myself completed PG in Geology and Bsc In geology, I wanto to learn SAP ABAP . So, Plz give me the suggestions and the hw would be the getting job in the market with my qualifications,
    Plzz help me for my future.
    Thank you all.
    Bye
    Ravi

    Hi ,
    You can learn ABAP from the Good Institute. Before that make a survey whether Companies are interested employing as a fresher for ABAP with qualification like yours. Some Companies perfer Engineering gradutes (not all ). If you are good at work then your qualification should not matter.
    Good luck.

  • About SAP-Certification(ABAP)

    Dear All,
    I am technical Consultant (ABAP). I want to do SAP certification
    Could any body tell me what the advantage of doing SAP Certification is?
    Thanks in advance
    Regards:
    Manohar

    HI Mathkunti Manohar 
                   SAP CERTIFICATION PROVIDES AN EDGE ALONG WITH YOUR KNOWLEDGE.REST IT THE KNOWLEDGE WHICH FINALLY MATTERS.
    IF THERE ARE TWO CANDIDATES POSSESSING SAME SKILLS AND SAME EXPERIENCE,ONE HAVING CERTIFICATION WILL BE CONSIDERED AS SAP CERTIFICATION IS WORLD WIDE VALID AND KNOWN.
    TO SEE THE COURSE CURRICULUM OF ABAP CERTIFICATION VISIT LINK:
    <u>https://websmp205.sap-ag.de/~sapidp/011000358700000499112003E</u>
    FOR ALL CERTIFICATION S PROVIDED:
    <u>https://websmp205.sap-ag.de/~sapidp/011000358700002412512003</u>
    TOPICS ASKED IN ABAP CERTIFICATION ARE:
    1. SAP Technologies
    SAP Systems
    Navigation (system handling)
    Technical setup of an SAP system
    System-wide concepts
    2. ABAP Workbench Basics (++)
    Data types and data objects
    Internal tables
    Data retrieval (authorization check)
    Subroutines
    The ABAP Runtime System
    Function groups and function modules
    Program calls and data transfer
    3. ABAP Objects (++)
    Classes and objects
    Inheritance
    Casting
    Interfaces
    Events
    Global classes and interfaces
    Exception handling
    Dynamic programming
    4. ABAP Dictionary (++)
    Database tables
    Performance for table access
    Consistency through input check (foreigh key dependency)
    Dependency of ABAP Dictionary objects
    Views
    Search help
    5. Techniqes for List Generation (++)
    Data output to lists
    Selection screen
    Logical database
    Program-specific data retrieval
    Data formatting and control level processing
    Storage of lists and background processing
    Interactive lists
    6. Dialog Programming (++)
    Screen (basics)
    User interface (GUI title, GUI status)
    Screen elements for output (text fields, status icons, and group boxes)
    Screen elements for input/output
    Subscreen and tabstrip control
    Table control
    Context menu
    Dialog programming lists
    7. Database Changes
    Database updates with Open SQL
    LUWs and Client/Server Architecture
    SAP locking concept
    Organizing database changes
    Complex LUW processing
    Number assignment
    Change-document creation
    8. Enhancements and Modifications
    Changes in SAP Standards
    Personalization
    Enhancements to Dictionary elements
    Enhancements using customer exits
    Business Transaction Events
    Business Add-Ins
    Modifications
    Weighting Key in the Test:
    + = 1 - 10%
    ++ = 11 - 20%
    +++ = over 20%
    REGARDS,
    VIJAY RAHEJA

Maybe you are looking for

  • Open in feature only showing 9 apps to open in...

    On both my iPad and iPhone, I noticed that the "open in" feature, only lists the 9 apps to open the file with, if you have more than 9, the rest of the apps do not show and you find yourself needing to delete some apps to be able to show the app you

  • Error: Could not read Metadata from Portal Database !

    Hi All! My problem is when i am trying to open the portal page (Oracle 10G) http://domain/portal/page?_pageid=6,1,6_13&_dad=portal&_schema=PORTAL then i have an Error: Could not read Metadata from Portal Database. And i do not know why because everyt

  • Camera Raw 4.5, 4.6, 5.0 and 5.1

    Just to try to answer some questions in advance now that Photoshop CS4 is shipping... Included with Photoshop CS4 is Camera Raw 5.0. Due to the lead timing required ship a product as complex as CS4, the raw format support in Camera Raw 5.0 matches th

  • Dv7 Laptop dust behind screen

    Since I bought My laptop 11 months ago dust  has been gradually gathering behind the screen underneath the webcam.  Initially this was only noticable while the screen was off (black) so it did not bother me.  .  Recently a couple of pieces of white '

  • Can somebody please export a MIDI file for me?

    Hey! I am a garageband user and upgrading soon to Logic, but I extremely need this file in MIDI. Can anybody open my garageband project with logic and export a midi for me? I would be very-very thankful for that! Janek http://www.upload.ee/files/3660