OOP s concept

hi experts
tell me briefly about OOPs concept .
thanks in advace
radhakrishna.

Hello,
<b>General Tutorial for OOPS</b>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
<b>Have a look at these links for OO ABAP.</b>
http://www.sapgenie.com/abap/OO/
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
http://www.allsaplinks.com/
http://www.sapgenie.com/abap/controls/index.htm
http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
<b>SDN Series:</b>
https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
<b>Basic concepts of OOPS</b>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
<b>http://www.henrikfrank.dk/abapuk.html</b>
<b>http://www.erpgenie.com/abap/OO/</b>
Regards,
Beejal
**Reward if this helps

Similar Messages

  • OOPS concept in Labview thru GOOP

    hi
    actually we are tryng to implement OOP's concept in Labview thru GOOP.
    while implementing the above concepts these are the steps we followed.,
    1)First we created class A having int i variable with get and set methods.
    2)In new vi let it be main.vi we instantiating the class A and setting the varialbe i thru setI method.
    3)Finally we are storing the reference in a Global variable.
    4)In another main2.vi,we are calling the refernce from the global variable,and trying to call getI method in class A.
    5)we are getting the refernce with i value for the first time, and for the rest of the time the value of i is zero.
    could anybody help us out.

    Rajus,
    Usually, you can think of refnums as a "pointers" to a reference and when stored in global variable, LabVIEW may update the reference without updating the global thus explaining the fact that you get a zero value the rest of the time.
    Cyril Bouton
    Applications Engineer
    National Instruments
    Cyril Bouton
    Active LabVIEW Developper

  • OOPS concept

    Hi,
    What is the use of OOP's concept in oracle data base .
    and in what scnario it is use full????
    Thanks in Advanced

    Not a lot of people use Objects in the database. It is hard to tell whether this is because Oracle's object implementation lacks some crucial OO features. Or is it just that database programmers don't understand OO principles or see no advantage in an object approach.
    I wrote a couple of articles on this topic last year in my blog. In part one I discuss the incompleteness of Oracle's OO implementation. In part two I attempt to describe the sort of scenario where an OO approach offers benefits over PL/SQL packages.
    Cheers, APC

  • OOPs concept in SAP 4.6C

    Hi all,
    Does SAP 4.6c version has OOPs concept? If not from which version, OOPs concept started in SAP.
    Thanks in advance
    Edited by: abap on Feb 16, 2009 2:27 PM

    Hi,
    OOP's Concept do support 4.6 version
    for more information on oops concept kindly go through
    http://help.sap.com/saphelp_nw70/helpdata/EN/c3/225b5654f411d194a60000e8353423/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/frameset.htm
    Hope its solve ur query
    Pratik Vora
    Edited by: Pratik Vora on Feb 16, 2009 7:01 PM

  • How to make a row as selected in output internal table in oops ALV

    Hi All,
    I have ALV grid output using oops ALV concept, in my output i have a checkbox as first column when i select this checkbox and press a push button 'Print' which is there above ALV grid that particular line in output table should get selected and i need to code some logic for printing selected row.
    how to make the particluar row in the output internal table to be selected and where to write the logic for print once it is pressed?
    Thanks in advance
    Srilakshmi.

    but the checkbox is not getting set in internal table when i select some checkboxes.
    can anybody explain y the checkbox in internal table not set?
    Hi Srilakshmi,
    As explained by Uwe, when we change a field ( say check box ) in ALV grid, the view (frontend) changes (showing the tick mark) but the changed data ( normally ) is not transfered to the backend.
    We can initiate this data transfer by just registering the cl_gui_alv_grid=>mc_evt_modified  edit event
      go_grid->set_table_for_first_display( CHANGING  it_fieldcatalog      = pt_fieldcat
                                                      it_outtab            = pt_outtab ).
      go_grid->set_ready_for_input( 1 ).
      go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
    Now as soon as we check a checkbox, the data_changed event is triggered.
    This initiates data transfer to the backend and the checkbox field in internal table is updated.
    check the below code for example.
    DATA: go_cont            TYPE REF TO cl_gui_custom_container,
          go_grid            TYPE REF TO cl_gui_alv_grid,
          gt_fieldcat        TYPE lvc_t_fcat,
          gv_language        TYPE spras VALUE 'E',
          gt_outtab          TYPE TABLE OF bus_loca_demo WITH HEADER LINE.
    START-OF-SELECTION.
      CALL SCREEN 100.
    *       MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'BASIC'.
      SET TITLEBAR  '001'.
      PERFORM create_and_init_alv CHANGING gt_outtab[]
                                           gt_fieldcat.
    ENDMODULE.                    "pbo OUTPUT
    *       MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN 'PRINT'.
          BREAK-POINT.
      ENDCASE.
    ENDMODULE.                    "pai INPUT
    FORM create_and_init_alv CHANGING pt_outtab LIKE gt_outtab[]
                                      pt_fieldcat TYPE lvc_t_fcat.
      CHECK go_cont IS NOT BOUND.
      CREATE OBJECT go_cont
        EXPORTING
          container_name = 'CUSTOM'.
      CREATE OBJECT go_grid
        EXPORTING
          i_parent = go_cont.
      PERFORM build_display_table.
      PERFORM build_fieldcat CHANGING pt_fieldcat.
      go_grid->set_table_for_first_display( CHANGING  it_fieldcatalog      = pt_fieldcat
                                                      it_outtab            = pt_outtab ).
      go_grid->set_ready_for_input( 1 ).
      go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
    ENDFORM.                               "CREATE_AND_INIT_ALV
    FORM build_display_table.
      FREE gt_outtab.
      DO 10 TIMES.
        gt_outtab-creation_partner = sy-index.
        gt_outtab-date_field       = sy-datum.
        APPEND gt_outtab.
      ENDDO.
    ENDFORM.                               "build_display_table
    FORM build_fieldcat CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = 'BUS_LOCA_DEMO'
        CHANGING
          ct_fieldcat      = pt_fieldcat.
      LOOP AT pt_fieldcat INTO ls_fcat.
        CASE ls_fcat-fieldname.
          WHEN 'CHECKBOX'.
            ls_fcat-checkbox = 'X'.
            ls_fcat-edit     = abap_true.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'ENTER_FIELD' OR 'DBLCLICK_FIELD'.
            ls_fcat-no_out  = abap_true.
            MODIFY pt_fieldcat FROM ls_fcat.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                               "build_fieldcat
    Cheers,
    Jose.

  • OOP's ALV : Download to excel issue

    Hi All,
    I am using oops ALV in a report .
    I need to implement it in such a way that when user export the list to excel
    1. Downloaded excel should also contain the data printed in top- of-page followed by the grid data.
      i.e some desired records followed by the main records.
    I am able to display the output data as desired, But when I download data to excel, it gives only records
    from grid and not the top-of-page data.
    Please let me know how to solve this ?
    Do I need to change approach?
    Thanks in Advance.

    Hi,
    To display the top of page in ALV FM we use the TOP_OF_PAGE event to display the data. But in Oop's Concept if you populate the data in TOP_OF_PAGE event the data will not be displayed in ALV layout but when print preview or print then you can see the TOP_OF_PAGE data.
    So to show the data on the ALV layout we use the split conatainer concept. Split the container in two and display ALV in below container and TOP_OF_PAGE in top container.
    Apart from having above you still populate the TOP_OF_PAGE event of ALV. This will be come into picture in case of download,Print priview & Print.

  • Problem in OOP ALV-ALV not displaying.

    Hi Gurus,
    Can we use OOP alv concept in normal executable program or we need to do it in module pool ?
    I did an example alv program..but it is not exectuing .
    Can anybody tell me the answer ?
    Thanks.

    Hello,
    To use OO ALV you need to create a container in module pool. But you can still call it from an executable program. Just create an executable program and use call screen 0100. Now double click on 0100 and create a screen which has a container on it then in the PBO module just caal the methods for the custom container and alv. Upon execution of the program, the alv will be displayed.
    Regards,
    Sachin

  • Changing layout into excel sheet.

    Hi experts's,
    In a ALV report (not OOP's concept) i want to display changing layout fields in EXCEL sheet. please send if you have sample program.
    please suggest how to solve this problem.
    Thanks and regard
    pavan.

    Hi experts's,
    In a ALV report (not OOP's concept) i want to display changing layout fields in EXCEL sheet. please send if you have sample program.
    please suggest how to solve this problem.
    Thanks and regard
    pavan.

  • Flash & XML Photo Gallery with Categories

    Hello friends
    i am trying but
    i want to create Flash & XML Photo Gallery with Different Categories
    please help me

    If you want to do using oop
    go throgh this article first
    http://active.tutsplus.com/tutorials/actionscript/as3-101-oop-additional-concepts/

  • Multiple selection in alv

    how to select multiple values in the generated output list for futher selection criteria in alv's without using oop's concept
    basically using  " reuse_alv_grid_display"  function module

    Hi
    First, are you using the function module 'REUSE_ALV_GRID_DISPLAY'.
    If so, MAYBE u can try this.
    1. In the internal table for displaying in ALV, u can add a field
    say 'SELK'.
    2. In the ST_LAYOUT, you assign the name of this field to the field
    "BOX_FIELDNAME" in ST_LAYOUT structure.
    FORM layout_build USING p_st_layout TYPE slis_layout_alv.
    p_st_layout-box_fieldname = 'SELK'. " Checkbox
    ENDFORM. " LAYOUT_BUILD
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    is_layout = st_layout
    IMPORTING
    E_EXIT_CAUSED_BY_CALLER* ES_EXIT_CAUSED_BY_USER TABLES
    t_outtab = itab.
    For further reference
    http://www.sapdev.co.uk/reporting/alv/alvgrid_rowsel.htm
    Re: How to select multiple rows in OO ALV list....?
    Regards
    Pavan

  • Is java 100% pure object oriented?

    I am very confuse is java 100% pure object oriented language.
    bcoz
    1)object oriented means everything should be in object but
    primitive data type is not object.
    2) java don't support multiple inheritances which is one of the oop 's
    concept

    I'd say that java is 100% java. No more, noless.
    I'm gonna say it's about 99.4738383% java. For
    no
    reason other than to confuse idiotsSomeone's always bumping their heads against
    some
    arbitrary theoretical purity when they aremissing
    what was, is and always has been most important:
    functionality.Functionality matters virtually nothing to thepeople
    that post these "questions". All that matters is
    being able to say the right thing in interviews so
    they can get a job and get carried through their
    career by people who actually know what they're
    doing. See it all the timeHehe, who carries you whilst you post here all day
    :P
    Ant builds, mostly :p

  • Classical ALV

    How to display ALV GRID in the middle of the screen.I am using classical ALV not OOP's concept.
    Thanks in Advance,
    Sumithra

    Hi,
    If you are using reuse_alv_grid_display, have a look at the parameters.
    I_SCREEN_START_COLUMN        
    I_SCREEN_START_LINE          
    I_SCREEN_END_COLUMN          
    I_SCREEN_END_LINE            
    Fill the necessary values and try the output.

  • Regarding ALV(font)

    I want to change the font in the display for the text.. using OOP's concept . can any one help me with the code...
    regards,
    Sampath

    Hi,
    Font of ALV cannot be changed.
    Best regards,
    Prashant

  • ALV Print Options

    Hi,
    I have a report program, made using oops ALV concept. The requirement is such that if the report output displays 10 rows, and if you select 5 rows and say PRINT then only those selected 5 rows should be printed.
    In the standard print functionality this is not possible. Could you please suggest an appropriate work-around for this issue?
    Thanks in Advance,
    Shivali

    Hi Shivali,
    As an alternative you may define a USER COMMAND event .
    Create a button on toolbar, which perform the print operation for those selected rows.
    Something like this -
    FORM user_command USING u_ucomm TYPE syucomm
    us_selfield TYPE slis_selfield. "#EC CALLED
    CASE u_ucomm.
    WHEN 'PRINT'.
    *Call the print operation
    ENDCASE.
    ENDFORM.
    Regards,
    Amit

  • Why standard programs uses the OCCURS statement

    Hi Experts,
    instead of occurs we usually use STANDARD TABLE OF due to performance issue ,
    but i noticed that stadard programs are using OCCURS statement only.
    could u plz tell me why stadard programs are using OCCURS only.
    Thanks.

    Hi,
    Occurs Statement created the internal table with header line. But Header Line is not supported in Oop's Concept. So it is better practice to create the table with TYPE/LIKE STANDARD TABLE OF statement without specifying Header line option in declaration.
    Yes in most of the standard Programs OCCURS statement are used. This is because these are SAP standard and developed in older version of sap.

Maybe you are looking for

  • Adobe Acrobat 9.0 Pro - Compare Documents

    Hello everyone, I work for a construction company and have to sets of plans showing the building site in pdf. Say they are revision A and revision B. I want to see the differences between the two drawings. When i use the compare documents feature in

  • Help!- problems with Adobe reader v9 ifilter and sqlserver2005

    Hello, I am trying to implement search of pdf in binary column in sqlserver2005 using Adobe ifilter. I installed full version of Adobe reader v9 which has its own Ifilter on my server (runs on 32bit) I have done the following based on what i read on

  • Admin server and Managed Server not Running

    Hi, Admin server doesnot change its state to RUNNING from STARTING. Even after hrs of starting the server.. the satus is as shown. <Jun 1, 2011 10:22:59 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 P

  • Track ends early and follows story end

    I have 2 very similar tracks (slightly different versions of same video) with identical chapter markers. One plays all the way through just fine. The other plays through several chapters but when it gets to the end of one chapter it follows the end j

  • Css copy paste problem in Dreamweaver CS4

    Having a problem in CS4 when I want to copy and paste things in my stylesheet. Whenever I do ctrl +c to select a something the whole stylesheet gets selected. And that is not what I want. Even is I want to copy something from an other css into the cs