I need  abap oops help docu?

i need abap oops help docu?

Hi Karthikeyan,
Chk this standard Programs.
ABAP_OBJECTS_ENJOY_0 Template for Solutions of ABAP Object Enjoy Course
ABAP_OBJECTS_ENJOY_1 Model Solution 1: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_2 Model Solution 2: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_3 Model Solution 3: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_4 Model Solution 4: ABAP Objects Enjoy Course
ABAP_OBJECTS_ENJOY_5 Model Solution 5: ABAP Objects Enjoy Course
DEMO_ABAP_OBJECTS Complete Demonstration for ABAP Objects
DEMO_ABAP_OBJECTS_CONTROLS GUI Controls on Screen
DEMO_ABAP_OBJECTS_EVENTS Demonstration of Events in ABAP Objects
DEMO_ABAP_OBJECTS_GENERAL ABAP Objects Demonstration
DEMO_ABAP_OBJECTS_INTERFACES Demonstration of Interfaces in ABAP Objects
DEMO_ABAP_OBJECTS_METHODS Demonstration of Methods in ABAP Objects
DEMO_ABAP_OBJECTS_SPLIT_SCREEN Splitter Control on Screen
links for OO ABAP.
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
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.sap-img.com/
http://www.sapgenie.com/
http://help.sap.com
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com.
http://www.sapgenie.com/abap/OO/index.htm
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://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
some more materials.
Go through the following Documents Links & Materials for ABAP Objects
check the below links lot of info and examples r there
http://www.sapgenie.com/abap/OO/index.htm
http://www.geocities.com/victorav15/sapr3/abap_ood.html
http://www.brabandt.de/html/abap_oo.html
Check this cool weblog:
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
/people/sap.user72/blog/2005/05/10/a-small-tip-for-the-beginners-in-oo-abap
/people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action
/people/thomas.jung3/blog/2005/09/08/oo-abap-dynpro-programming
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
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.sap-img.com/
http://www.sapgenie.com/
http://help.sap.com
http://www.sapgenie.com/abap/OO/
http://www.sapgenie.com/abap/OO/index.htm
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://www.sapgenie.com/abap/OO/index.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
http://www.sapgenie.com/abap/OO/
these links
http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
For funtion module to class
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
for classes
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
for methods
http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
for inheritance
http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
for interfaces
http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
check the below links lot of info and examples r there
http://www.sapgenie.com/abap/OO/index.htm
http://www.geocities.com/victorav15/sapr3/abap_ood.html
http://www.brabandt.de/html/abap_oo.html
Check this cool weblog:
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
/people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
OO ABAP is nothing but a class-method apprach to write ABAP codes and define them : below are few of the informations which will be of help for a newbie :
Types of attributes and the basic concepts :
Public attributes
Private attributes
Instance attributes
Static attributes
Public methods
Private methods
Constructor method
Static constructor
Protected components
Polymorphism
Public attributes
Public attributes are defined in the PUBLIC section and can be viewed and changed from outside the class. There is direct access to public attributes. As a general rule, as few public attributes should be defined as possible.
PUBLIC SECTION.
DATA: Counter type i.
Private attributes
Private attributes are defined in the PRIVATE section. The can only be viewes and changed from within the class. There is no direct access from outside the class.
PRIVATE SECTION.
DATA: name(25) TYPE c,
planetype LIKE saplane-planetyp,
Instance attributes
There exist one instance attribute for each instance of the class, thus they exist seperately for each object. Instance attributes are declared with the DATA keyword.
Static attributes
Static attributes exist only once for each class. The data are the same for all instances of the class, and can be used e.g. for instance counters. Static attributes are defined with the keyword CLASS-DATA.
PRIVATE SECTION.
CLASS-DATA: counter type i,
Public methods
Can called from outside the class
PUBLIC SECTION.
METHODS: set_attributes IMPORTING p_name(25) TYPE c,
p_planetype LIKE saplane-planetyp,
Private methods
Can only be called from inside the class. They are placed in the PRIVATE section of the class.
Constructor method
Implicitly, each class has an instance constructor method with the reserved name constructor and a static constructor method with the reserved name class_constructor.
The instance constructor is executed each time you create an object (instance) with the CREATE OBJECT statement, while the class constructor is executed exactly once before you first access a class.
The constructors are always present. However, to implement a constructor you must declare it explicitly with the METHODS or CLASS-METHODS statements. An instance constructor can have IMPORTING parameters and exceptions. You must pass all non-optional parameters when creating an object. Static constructors have no parameters.
Static constructor
The static constructor is always called CLASS_CONSTRUCTER, and is called autmatically before the clas is first accessed, that is before any of the following actions are executed:
Creating an instance using CREATE_OBJECT
Adressing a static attribute using <classname>-><attrbute>
Calling a ststic attribute using CALL METHOD
Registering a static event handler
Registering an evetm handler method for a static event
The static constructor cannot be called explicitly.
Protected components
When we are talking subclassing and enheritance there is one more component than Public and Private, the Protected component. Protected components can be used by the superclass and all of the subclasses. Note that Subclasses cannot access Private components.
Polymorphism
Polymorphism: When the same method is implemented differently in different classes. This can be done using enheritance, by redefining a method from the superclass in subclasses and implement it differently.
Reward points if helpful.
Regards,
Harini.S

Similar Messages

  • I need abap oops web site?

    i need abap oops help web site?

    Hi,
    Go through the below links,
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    OO ABAP links:
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    <b>Reward Points if it helps,</b>
    Satish
    Excellent simple pgms in SAP.
    ABAP_OBJECTS_ENJOY_0 Template for Solutions of ABAP Object Enjoy Course
    ABAP_OBJECTS_ENJOY_1 Model Solution 1: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_2 Model Solution 2: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_3 Model Solution 3: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_4 Model Solution 4: ABAP Objects Enjoy Course
    ABAP_OBJECTS_ENJOY_5 Model Solution 5: ABAP Objects Enjoy Course
    DEMO_ABAP_OBJECTS Complete Demonstration for ABAP Objects
    DEMO_ABAP_OBJECTS_CONTROLS GUI Controls on Screen
    DEMO_ABAP_OBJECTS_EVENTS Demonstration of Events in ABAP Objects
    DEMO_ABAP_OBJECTS_GENERAL ABAP Objects Demonstration
    DEMO_ABAP_OBJECTS_INTERFACES Demonstration of Interfaces in ABAP Objects
    DEMO_ABAP_OBJECTS_METHODS Demonstration of Methods in ABAP Objects
    DEMO_ABAP_OBJECTS_SPLIT_SCREEN Splitter Control on Screen

  • I need abap object help file.helpful link

    i need abap object help file.helpful link

    Hi
    Go through the below links,
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    OO ABAP links:
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    check all the below links
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.geocities.com/victorav15/sapr3/abap_ood.html
    http://www.brabandt.de/html/abap_oo.html
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    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.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    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://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    Check these links.
    http://www.henrikfrank.dk/abapuk.html
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
    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

  • Need ABAP OOPs

    hi all
    I'm new for ABAP OOPS, I want to know about abap oops concept. Can you any one explain about that i want simple example.
    with regards.
    Muthukumar.K

    Hi Muthu,
    Please check out transaction ABAPDOCU. It contains multiple examples on ABAP Objects. Also, browse this site for more examples on ABAP Objects. I also have included a sample report that I did using ABAP Objects. Please check it out. Hope it helps...
    P.S. Please award points if it helps...
    *==================================================================
    * Program Name : ZFR_FOREX_REV_ACCTG
    * Author       : Aris Hidalgo
    * Date Created : August 3, 2006
    * Description  : Show the exchange rate for a given range of 7 years
    *==================================================================
    REPORT zfr_forex_rev_acctg
           NO STANDARD PAGE HEADING
           LINE-SIZE 500
           LINE-COUNT 0
           MESSAGE-ID zz.
    * Data dictionary table/s                     *
    TABLES: bsis,
            bsas,
            tcurr,
            t001.
    * Global Structure/s                          *
    TYPES: BEGIN OF t_bsis_bsas,
            hkont    TYPE bsis-hkont,   "General ledger account
            year_dum TYPE bsis-gjahr,
            belnr    TYPE bsis-belnr,   "Accounting document number
            bldat    TYPE bsis-bldat,   "Document date in document
            waers    TYPE bsis-waers,   "Currency Key
            dmbtr    TYPE bsis-dmbtr,   "Amount in local currency
            wrbtr    TYPE bsis-wrbtr,   "Amount in document currency
            shkzg    TYPE bsis-shkzg,   "Debit/credit indicator
            zuonr    TYPE bsis-zuonr,   "Assignment number
            gjahr    TYPE bsis-gjahr,   "Fiscal year
            blart    TYPE bsis-blart,   "Document type
           END OF t_bsis_bsas.
    TYPES: BEGIN OF t_summary,
            hkont    TYPE bsis-hkont,
            year_dum TYPE bsis-gjahr,
            waers    TYPE bsis-waers,
            rate     TYPE tcurr-ukurs,
            wrbtr    TYPE bsis-wrbtr,
            dmbtr    TYPE bsis-dmbtr,
            gl_bal   TYPE bsis-wrbtr,
            unrealized TYPE bsis-wrbtr,
           END OF t_summary.
    TYPES: BEGIN OF t_exch,
            year      TYPE bsis-gjahr,
            rate      TYPE bapi1093_1-rate_type,
            from_curr TYPE bapi1093_1-from_curr,
            exch_rate TYPE bapi1093_0-exch_rate_v,
           END OF t_exch.
    * Global Data                                 *
    DATA: gv_hkont TYPE bsis-hkont,
          it_bsis_bsas TYPE STANDARD TABLE OF t_bsis_bsas,
          it_exch      TYPE SORTED   TABLE OF t_exch WITH UNIQUE
                                         KEY year rate from_curr,
          it_summary   TYPE STANDARD TABLE OF t_summary,
          wa_summary   LIKE LINE OF it_summary,
          wa_exch      LIKE LINE OF it_exch,
          t_rate_type  TYPE bapi1093_1-rate_type  VALUE 'ME',
          t_from_curr  TYPE bapi1093_1-from_curr,
          t_to_curr    TYPE bapi1093_1-to_currncy VALUE 'USD',
          t_date       TYPE bapi1093_2-trans_date,
          t_date_out   TYPE bapi1093_2-trans_date,
          t_exch_rate  TYPE bapi1093_0,
          t_message    TYPE bapireturn1.
    FIELD-SYMBOLS: <fs_asof>      TYPE bsis-gjahr,
                   <fs_bsis_bsas> LIKE LINE OF it_bsis_bsas.
    * Selection screen                             *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_bukrs TYPE t001-bukrs OBLIGATORY,
                p_asof  TYPE bsis-budat OBLIGATORY,
                p_year  TYPE bsis-gjahr OBLIGATORY.
    SELECT-OPTIONS: s_hkont FOR bsis-hkont NO INTERVALS OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1.
    */ CLASS DEFINITIONS
    *       CLASS lcl_main DEFINITION
    CLASS lcl_main DEFINITION.
      PUBLIC SECTION.
        METHODS: get_data,
                 get_diff,
                 display_subheader,
                 display_rate
                    IMPORTING
                       rate TYPE tcurr-ukurs
                       pos  TYPE i,
                 display_header,
                 top_of_page,
                 get_rate_and_show
                    EXPORTING
                       ex_bsis_bsas LIKE it_bsis_bsas
                       ex_exch      LIKE it_exch,
                 conversion
                    IMPORTING
                       year      TYPE bsis-gjahr
                       rate_type TYPE bapi1093_1-rate_type
                       from_curr TYPE bapi1093_1-from_curr
                       to_curr   TYPE bapi1093_1-to_currncy
                    EXPORTING
                       exch_rate TYPE bapi1093_0
                       t_date    TYPE bapi1093_2-trans_date.
        EVENTS: no_data EXPORTING value(hkont) TYPE bsis-hkont.
      PRIVATE SECTION.
        TYPES: BEGIN OF t_waers,
                waers TYPE bsis-waers,
               END OF t_waers.
        TYPES: BEGIN OF t_local,
                year      TYPE bsis-gjahr,
                rate      TYPE tcurr-ukurs,
               END OF t_local.
        DATA: it_waers     TYPE SORTED TABLE OF t_waers WITH UNIQUE
                                KEY waers,
              it_local     TYPE SORTED TABLE OF t_local WITH UNIQUE
                                KEY year,
              wa_waers     LIKE LINE OF it_waers,
              wa_local     LIKE LINE OF it_local,
              lv_counter   TYPE i,
              lv_asof      TYPE bsis-gjahr,
              lv_year      TYPE bsis-gjahr,
              lv_check     TYPE i,
              lv_7years    TYPE i,
              lv_date      TYPE pc226-endda,
              lv_pos       TYPE i,
              lv_pos2      TYPE i,
              lv_vline     TYPE i,
              lv_rate      TYPE p DECIMALS 5,
              lv_givendate TYPE syst-datum.
    ENDCLASS.
    *       CLASS lcl_summary DEFINITION
    CLASS lcl_summary DEFINITION INHERITING FROM lcl_main.
      PUBLIC SECTION.
        METHODS: display_summary_header,
                 display_summary
                    IMPORTING
                       im_bsis_bsas LIKE it_bsis_bsas
                       im_exch      LIKE it_exch.
    ENDCLASS.
    *       CLASS lcl_handler DEFINITION
    CLASS lcl_handler DEFINITION.
      PUBLIC SECTION.
        METHODS handle_event FOR EVENT no_data OF lcl_main
        IMPORTING hkont.
    ENDCLASS.
    */ CLASS IMPLEMENTATIONS
    *       CLASS lcl_main IMPLEMENTATION
    CLASS lcl_main IMPLEMENTATION.
    * METHOD get_data                              *
      METHOD get_data.
        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
    *     PERCENTAGE       = 0
           text             = 'Getting data. Please wait...'
    *   get records from BSIS
        SELECT hkont zuonr gjahr belnr waers bldat blart dmbtr wrbtr shkzg
        FROM bsis
        INTO  CORRESPONDING FIELDS OF TABLE it_bsis_bsas
        WHERE bukrs = p_bukrs
          AND hkont IN s_hkont
          AND budat <= p_asof.
    *   get records from BSAS
        SELECT hkont zuonr gjahr belnr waers bldat blart dmbtr wrbtr shkzg
        FROM bsas
        APPENDING CORRESPONDING FIELDS OF TABLE it_bsis_bsas
        WHERE bukrs = p_bukrs
          AND hkont IN s_hkont
          AND budat <= p_asof
          AND augdt > p_asof.
    *   if itab has no records, raise event
        IF it_bsis_bsas[] IS INITIAL.
          RAISE EVENT no_data EXPORTING hkont = s_hkont-low.
        ENDIF.
      ENDMETHOD.
    * METHOD get_diff                              *
      METHOD get_diff.
        DATA: lv_sub7 TYPE i.
        lv_asof = p_year + 6.
        IF lv_asof > p_asof+0(4).
          lv_asof = p_asof+0(4).
        ENDIF.
        lv_year = p_year.
    *   determine how many years will be displayed
        lv_counter = lv_asof - lv_year.
        ADD 1 TO lv_counter.
        lv_sub7   = lv_asof - 6.
        lv_7years = lv_asof - lv_sub7.
        ADD 1 TO lv_7years.
      ENDMETHOD.
    * METHOD display_subheader                     *
      METHOD display_subheader.
        DATA: lv_date(10)  TYPE c,
              lv_gdatu     TYPE tcurr-gdatu,
              lv_flag(1)   TYPE c,
              lv_pos_dum   TYPE i.
        FIELD-SYMBOLS: <fs_bsis_bsas> LIKE LINE OF it_bsis_bsas.
    *   pre-defined length of uline and vline depending on the
    *   number of years to be displayed
        CASE lv_counter.
          WHEN 1.
            lv_pos   = 24.
            lv_pos2  = 37.
            lv_vline = 126.
          WHEN 2.
            lv_pos   = 45.
            lv_pos2  = 58.
            lv_vline = 147.
          WHEN 3.
            lv_pos   = 66.
            lv_pos2  = 79.
            lv_vline = 168.
          WHEN 4.
            lv_pos   = 87.
            lv_pos2  = 100.
            lv_vline = 189.
          WHEN 5.
            lv_pos   = 108.
            lv_pos2  = 121.
            lv_vline = 210.
          WHEN 6.
            lv_pos   = 128.
            lv_pos2  = 141.
            lv_vline = 230.
          WHEN 7.
            lv_pos   = 148.
            lv_pos2  = 161.
            lv_vline = 250.
        ENDCASE.
    *  get currency
        IF NOT lv_check = 1.
          LOOP AT it_bsis_bsas ASSIGNING <fs_bsis_bsas>.
            MOVE <fs_bsis_bsas>-waers TO wa_waers.
            INSERT wa_waers INTO TABLE it_waers.
            <fs_bsis_bsas>-year_dum = <fs_bsis_bsas>-bldat+0(4).
          ENDLOOP.
        ENDIF.
        ASSIGN lv_asof TO <fs_asof>.
        IF NOT lv_check = 1.
          SORT it_bsis_bsas BY hkont year_dum belnr bldat waers dmbtr wrbtr.
          IF <fs_bsis_bsas> IS ASSIGNED.
            UNASSIGN <fs_bsis_bsas>.
            READ TABLE it_bsis_bsas INDEX 1 ASSIGNING <fs_bsis_bsas>.
            IF sy-subrc = 0 AND <fs_bsis_bsas> IS ASSIGNED.
              gv_hkont = <fs_bsis_bsas>-hkont.
            ENDIF.
          ENDIF.
        ENDIF.
    *   write sub-header
        DESCRIBE TABLE it_waers LINES sy-tfill.
        LOOP AT it_waers INTO wa_waers.
          IF sy-tfill = 1 AND wa_waers-waers = 'PHP'.
            lv_flag = 1 .
          ENDIF.
          IF NOT lv_flag = 1.
            IF lv_check IS INITIAL.
              WRITE: AT /103 sy-uline(lv_pos),
                     AT /103 sy-vline.
            ENDIF.
    *       write the years in the sub-header
            IF NOT lv_check = 1.
              lv_pos_dum = 110.
              FORMAT COLOR COL_HEADING.
              DO lv_counter TIMES.
                IF sy-index = 6.
                  WRITE: AT lv_pos_dum(14) <fs_asof> RIGHT-JUSTIFIED.
                ELSEIF sy-index = 7.
                  WRITE: AT lv_pos_dum(13) <fs_asof> RIGHT-JUSTIFIED.
                ELSE.
                  WRITE: AT lv_pos_dum(15) <fs_asof> RIGHT-JUSTIFIED.
                ENDIF.
                ADD 21 TO lv_pos_dum.
                SUBTRACT 1 FROM <fs_asof>.
              ENDDO.
              WRITE sy-vline.
              FORMAT COLOR OFF.
            ENDIF.
            IF sy-tabix = 1 AND wa_waers-waers = 'PHP'.
              WRITE: AT /90 sy-uline(lv_pos2).
            ENDIF.
            IF wa_waers-waers <> 'PHP'.
              IF lv_check IS INITIAL.
                WRITE: AT /90 sy-uline(lv_pos2).
                WRITE: AT /90 sy-vline.
              ELSE.
                WRITE: AT /90 sy-vline.
              ENDIF.
            ENDIF.
            FORMAT COLOR COL_NORMAL.
            IF NOT wa_waers-waers = 'PHP'.
             WRITE: AT 91(10) wa_waers-waers CENTERED.   "write the currency
            ENDIF.
          ENDIF.
          lv_asof = p_year + 6.
          IF lv_asof > p_asof+0(4).
            lv_asof = p_asof+0(4).
          ENDIF.
    *     get exchange rate from PHP to USD
          IF lv_check IS INITIAL.
            t_from_curr = 'PHP'.
            DO lv_counter TIMES.
    *         use BAPI to get exchange rate
              CALL METHOD me->conversion EXPORTING
                                           year      = <fs_asof>
                                           rate_type = t_rate_type
                                           from_curr = t_from_curr
                                           to_curr   = t_to_curr
                                          IMPORTING
                                           exch_rate = t_exch_rate
                                           t_date    = t_date_out.
    *         if no exchange rate was fetched, get directly from TCURR
    *         using given date
              IF t_exch_rate-exch_rate_v IS INITIAL.
                WRITE t_date_out TO lv_date USING EDIT MASK '__/__/____'.
                CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
                     EXPORTING
                          input  = lv_date
                     IMPORTING
                          output = lv_date.
                SELECT SINGLE ukurs FROM tcurr
                INTO t_exch_rate-exch_rate_v
                WHERE kurst = 'ME'
                  AND fcurr = 'PHP'
                  AND tcurr = 'USD'
                  AND gdatu = lv_date.
              ENDIF.
              IF NOT t_exch_rate-exch_rate_v IS INITIAL.
                t_exch_rate-exch_rate_v = abs( t_exch_rate-exch_rate_v ).
                wa_local-year = <fs_asof>.
                wa_local-rate = t_exch_rate-exch_rate_v.
                INSERT wa_local INTO TABLE it_local.
              ENDIF.
              SUBTRACT 1 FROM <fs_asof>.
              CLEAR: t_exch_rate, wa_local, t_date_out, lv_date.
            ENDDO.
          ENDIF.
          lv_pos = 106.
    *     get exchange rate from itab to USD
          CLEAR: t_exch_rate, lv_gdatu.
          t_from_curr = wa_waers-waers.
          lv_asof = p_year + 6.
          IF lv_asof > p_asof+0(4).
            lv_asof = p_asof+0(4).
          ENDIF.
          DO lv_counter TIMES.
            IF t_from_curr = 'USD'.
              READ TABLE it_local WITH KEY year = <fs_asof>
                                           INTO wa_local TRANSPORTING rate.
              lv_rate = wa_local-rate.
            ELSEIF t_from_curr = 'PHP'.
              READ TABLE it_local WITH KEY year = <fs_asof>
                                           INTO wa_local TRANSPORTING rate.
              lv_rate = wa_local-rate.
            ELSE.
    *         use BAPI to get exchange rate for currencies that is
    *         not 'PHP' and 'USD'
              CALL METHOD me->conversion EXPORTING
                                          year      = <fs_asof>
                                          rate_type = t_rate_type
                                          from_curr = t_from_curr
                                          to_curr   = t_to_curr
                                         IMPORTING
                                          exch_rate = t_exch_rate
                                          t_date    = t_date_out.
    *         if no exchange rate was fetched, get directly from TCURR
    *         using given date
              IF t_exch_rate-exch_rate_v IS INITIAL.
                WRITE t_date_out TO lv_date USING EDIT MASK '__/__/____'.
                CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
                     EXPORTING
                          input  = lv_date
                     IMPORTING
                          output = lv_date.
                SELECT SINGLE ukurs FROM tcurr
                INTO t_exch_rate-exch_rate_v
                WHERE kurst = 'ME'
                  AND fcurr = wa_waers-waers
                  AND tcurr = 'USD'
                  AND gdatu = lv_date.
              ENDIF.
              IF NOT t_exch_rate-exch_rate_v IS INITIAL.
                READ TABLE it_local WITH KEY year = <fs_asof>
                                            INTO wa_local TRANSPORTING rate.
                IF sy-subrc = 0.
                  IF t_exch_rate-exch_rate_v <> wa_local-rate.
                    lv_rate = 1 / t_exch_rate-exch_rate_v * wa_local-rate.
                  ELSE.
                    lv_rate = t_exch_rate-exch_rate_v.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
            IF NOT lv_rate IS INITIAL.
              lv_rate = abs( lv_rate ).
              wa_exch-year      = <fs_asof>.
              wa_exch-rate      = t_rate_type.
              wa_exch-from_curr = t_from_curr.
              wa_exch-exch_rate = lv_rate.
              INSERT wa_exch INTO TABLE it_exch.
              IF NOT lv_flag = 1.
                IF NOT wa_waers-waers = 'PHP'.
                  CALL METHOD me->display_rate
                     EXPORTING
                        rate = wa_exch-exch_rate
                        pos  = lv_pos.
                  CLEAR wa_exch.
                ENDIF.
              ENDIF.
            ENDIF.
            ADD 21 TO lv_pos.
            SUBTRACT 1 FROM <fs_asof>.
            CLEAR: t_exch_rate, wa_local, t_date_out,
                   lv_date,lv_rate.
          ENDDO.
          IF NOT lv_flag = 1.
            WRITE: AT lv_vline sy-vline.
          ENDIF.
          FORMAT COLOR OFF.
          lv_asof = p_year + 6.
          IF lv_asof > p_asof+0(4).
            lv_asof = p_asof+0(4).
          ENDIF.
          lv_check = 1.
          CLEAR lv_flag.
        ENDLOOP.
      ENDMETHOD.
    * METHOD display_rate                          *
      METHOD display_rate.
        WRITE: AT pos(15) rate RIGHT-JUSTIFIED.
      ENDMETHOD.
    * METHOD display_header                        *
      METHOD display_header.
        CLEAR lv_pos.
        lv_asof = p_year + 6.
        IF lv_asof > p_asof+0(4).
          lv_asof = p_asof+0(4).
        ENDIF.
        CLEAR lv_pos2.
        CASE lv_counter.
          WHEN 1.
            lv_pos2 = 126.
          WHEN 2.
            lv_pos2 = 147.
          WHEN 3.
            lv_pos2 = 168.
          WHEN 4.
            lv_pos2 = 189.
          WHEN 5.
            lv_pos2 = 210.
          WHEN 6.
            lv_pos2 = 230.
          WHEN 7.
            lv_pos2 = 250.
        ENDCASE.
        lv_pos = 110.
        FORMAT COLOR COL_HEADING.
        WRITE: /   sy-uline(lv_pos2),
               /   sy-vline,
             (18) 'Allocation'         CENTERED,
             (04) 'DT'                 CENTERED,
             (11) 'Doc. No.'           CENTERED,
             (11) 'Doc. Date'          LEFT-JUSTIFIED,
             (06) 'Cur.'               LEFT-JUSTIFIED,
             (20) 'Transaction Curr.'  CENTERED,
             (20) 'Local Curr. (PHP)'  CENTERED.
        DO lv_counter TIMES.
          WRITE: AT lv_pos(14) <fs_asof> RIGHT-JUSTIFIED.
          SUBTRACT 1 FROM <fs_asof>.
          ADD 21 TO lv_pos.
        ENDDO.
        WRITE: AT lv_pos2 sy-vline,
               /  sy-uline(lv_pos2).
        FORMAT COLOR OFF.
      ENDMETHOD.
    * METHOD top_of_page                           *
      METHOD top_of_page.
        DATA: text1         TYPE string,
              text2         TYPE string,
              lv_asof       TYPE bsis-budat,
              lv_pageno(03) TYPE n,
              lv_date(10)   TYPE c.
    *   get company code description
        SELECT SINGLE butxt FROM t001
        INTO t001-butxt
        WHERE bukrs = p_bukrs.
        WRITE: / t001-butxt,
               / sy-title.
    *   write account code(HKONT)
        CONCATENATE: gv_hkont '/' p_bukrs
                     INTO text1.
        CONCATENATE: 'Account:' text1
                     INTO text2
                     SEPARATED BY space.
        WRITE: / text2.
        CLEAR: text1, text2.
    *   write as of date
        WRITE p_asof TO lv_date USING EDIT MASK '__/__/____'.
        CONCATENATE: 'As of' lv_date
                       INTO text1
                       SEPARATED BY space.
        WRITE: / text1.
        CLEAR: text1, lv_date.
    *   from year to as of year
        lv_asof = p_asof+0(4).
        CONCATENATE: 'Year:' p_year 'to' lv_asof
                     INTO text1
                     SEPARATED BY space.
        WRITE: / text1.
        CLEAR text1.
    *   page number
        lv_pageno = sy-pagno.
        CONCATENATE: 'Page No:' lv_pageno
                     INTO text1
                     SEPARATED BY space.
        WRITE: / text1.
        CLEAR text1.
        SKIP 2.
      ENDMETHOD.
    * METHOD get_rate_and_show                     *
      METHOD get_rate_and_show.
        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
    *       PERCENTAGE       = 0
           text             = 'Combining data.Please wait... '
        DATA: lv_amount(15)    TYPE p DECIMALS 2,
              lv_color(1)      TYPE n VALUE 1,
              lv_index1(15)    TYPE p DECIMALS 2,
              lv_index2(15)    TYPE p DECIMALS 2,
              lv_index3(15)    TYPE p DECIMALS 2,
              lv_index4(15)    TYPE p DECIMALS 2,
              lv_index5(15)    TYPE p DECIMALS 2,
              lv_index6(15)    TYPE p DECIMALS 2,
              lv_index7(15)    TYPE p DECIMALS 2,
              lv_total1(15)    TYPE p DECIMALS 2,
              lv_total2(15)    TYPE p DECIMALS 2,
              lv_total3(15)    TYPE p DECIMALS 2,
              lv_total4(15)    TYPE p DECIMALS 2,
              lv_total5(15)    TYPE p DECIMALS 2,
              lv_total6(15)    TYPE p DECIMALS 2,
              lv_total7(15)    TYPE p DECIMALS 2,
              lv_dmbtr(15)     TYPE p DECIMALS 2,
              lv_dmbtr_tot(15) TYPE p DECIMALS 2,
              lv_old           TYPE bsis-hkont,
              lv_new           TYPE bsis-hkont.
        lv_asof = p_year + 6.
        IF lv_asof > p_asof+0(4).
          lv_asof = p_asof+0(4).
        ENDIF.
        CLEAR lv_check.
        ADD 1 TO lv_check.
        SORT it_bsis_bsas BY hkont year_dum belnr bldat waers dmbtr wrbtr.
    *   write details
        LOOP AT it_bsis_bsas ASSIGNING <fs_bsis_bsas>.
          IF lv_color = 1.
            lv_color = 2.
          ELSE.
            lv_color = 1.
          ENDIF.
    *     if <fs_bsis_bsas>-shkzg = 'H', multiply WRBTR and
    *     DMBTR by -1
          IF <fs_bsis_bsas>-shkzg = 'H'.
            <fs_bsis_bsas>-wrbtr = <fs_bsis_bsas>-wrbtr * -1.
            <fs_bsis_bsas>-dmbtr = <fs_bsis_bsas>-dmbtr * -1.
          ENDIF.
    *     for every new account no.(HKONT), create a new page
          lv_new = <fs_bsis_bsas>-hkont.
          gv_hkont = <fs_bsis_bsas>-hkont.
          IF lv_new <> lv_old AND NOT lv_old IS INITIAL.
            NEW-PAGE.
            CALL METHOD me->display_subheader.
            CALL METHOD me->display_header.
          ENDIF.
          lv_old = lv_new.
    *     write details
          FORMAT INTENSIFIED OFF COLOR = lv_color.
          WRITE: /   sy-vline,
                (18) <fs_bsis_bsas>-zuonr   CENTERED,
                (04) <fs_bsis_bsas>-blart   CENTERED,
                (10) <fs_bsis_bsas>-belnr   CENTERED,
                (10) <fs_bsis_bsas>-bldat   RIGHT-JUSTIFIED,
                (05) <fs_bsis_bsas>-waers   RIGHT-JUSTIFIED,
                (20) <fs_bsis_bsas>-wrbtr   RIGHT-JUSTIFIED,
                (20) <fs_bsis_bsas>-dmbtr   RIGHT-JUSTIFIED.
          ADD <fs_bsis_bsas>-dmbtr TO: lv_dmbtr, lv_dmbtr_tot.
    *     write the converted amount for a given year
          WHILE lv_check <= lv_counter.
            IF <fs_asof> >= <fs_bsis_bsas>-bldat+0(4).
              t_from_curr = <fs_bsis_bsas>-waers.
              READ TABLE it_exch WITH KEY year      = <fs_asof>
                                          rate      = t_rate_type
                                          from_curr = t_from_curr
                                        INTO wa_exch TRANSPORTING exch_rate.
              IF sy-subrc = 0.
                IF <fs_bsis_bsas>-waers = 'PHP'.
                  lv_amount = 1 / wa_exch-exch_rate * wa_exch-exch_rate.
                  lv_amount = <fs_bsis_bsas>-wrbtr * lv_amount.
                ELSE.
                  lv_amount = <fs_bsis_bsas>-wrbtr * wa_exch-exch_rate.
                ENDIF.
                WRITE: (20) lv_amount RIGHT-JUSTIFIED.
                CASE sy-index.
                  WHEN 1.
                    ADD lv_amount TO lv_index1.
                    ADD lv_amount TO lv_total1.
                  WHEN 2.
                    ADD lv_amount TO lv_index2.
                    ADD lv_amount TO lv_total2.
                  WHEN 3.
                    ADD lv_amount TO lv_index3.
                    ADD lv_amount TO lv_total3.
                  WHEN 4.
                    ADD lv_amount TO lv_index4.
                    ADD lv_amount TO lv_total4.
                  WHEN 5.
                    ADD lv_amount TO lv_index5.
                    ADD lv_amount TO lv_total5.
                  WHEN 6.
                    ADD lv_amount TO lv_index6.
                    ADD lv_amount TO lv_total6.
                  WHEN 7.
                    ADD lv_amount TO lv_index7.
                    ADD lv_amount TO lv_total7.
                ENDCASE.
              ENDIF.
            ENDIF.
            CLEAR: lv_amount, wa_exch.
            SUBTRACT 1 FROM <fs_asof>.
            ADD 1 TO lv_check.
          ENDWHILE.
          WRITE AT lv_pos2 sy-vline.
    *     write sub-total for every year for the same account code(HKONT)
          AT END OF year_dum.
            FORMAT COLOR COL_TOTAL.
            WRITE: / sy-vline,
                   <fs_bsis_bsas>-year_dum,
                   'Sub-total:'.
            IF NOT lv_dmbtr IS INITIAL.
              WRITE: AT 76(20) lv_dmbtr RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_index1 IS INITIAL.
              WRITE: (20) lv_index1     RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_index2 IS INITIAL.
              WRITE (20) lv_index2      RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_index3 IS INITIAL.
              WRITE (20) lv_index3      RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_index4 IS INITIAL.
              WRITE (20) lv_index4      RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_index5 IS INITIAL.
              WRITE (20) lv_index5      RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_index6 IS INITIAL.
              WRITE: (20) lv_index6     RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_index7 IS INITIAL.
              WRITE: (20) lv_index7      RIGHT-JUSTIFIED.
            ENDIF.
            WRITE: AT lv_pos2 sy-vline.
            FORMAT COLOR OFF.
            CLEAR: lv_index1, lv_index2, lv_index3,
                   lv_index4, lv_index5, lv_index6,
                   lv_index7, lv_dmbtr.
          ENDAT.
    *     write total for a given account code(HKONT)
          AT END OF hkont.
            FORMAT COLOR COL_TOTAL INTENSIFIED.
            WRITE: / sy-vline,
                     'Total', <fs_bsis_bsas>-hkont, 'GI'.
            IF NOT lv_dmbtr_tot IS INITIAL.
              WRITE: AT 76(20) lv_dmbtr_tot RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_total1 IS INITIAL.
              WRITE: (20) lv_total1         RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_total2 IS INITIAL.
              WRITE (20) lv_total2          RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_total3 IS INITIAL.
              WRITE (20) lv_total3          RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_total4 IS INITIAL.
              WRITE (20) lv_total4          RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_total5 IS INITIAL.
              WRITE (20) lv_total5          RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_total6 IS INITIAL.
              WRITE: (20) lv_total6         RIGHT-JUSTIFIED.
            ENDIF.
            IF NOT lv_total7 IS INITIAL.
              WRITE: (20) lv_total7         RIGHT-JUSTIFIED.
            ENDIF.
            WRITE: AT lv_pos2 sy-vline.
            FORMAT COLOR OFF.
            CLEAR: lv_total1, lv_total2, lv_total3,
                   lv_total4, lv_total5, lv_total6,
                   lv_total7, lv_dmbtr_tot.
            WRITE: / sy-uline(lv_pos2).
          ENDAT.
          lv_asof = p_year + 6.
          IF lv_asof > p_asof+0(4).
            lv_asof = p_asof+0(4).
          ENDIF.
          CLEAR lv_check.
          ADD 1 TO lv_check.
          FORMAT COLOR OFF.
        ENDLOOP.
        SKIP 5.
        ex_bsis_bsas[] = it_bsis_bsas[].
        ex_exch[]      = it_exch[].
      ENDMETHOD.
    * METHOD conversion                            *
      METHOD conversion.
        IF year = p_asof+0(4).
    *     get last date of a given month and year
          CALL FUNCTION 'LAST_DAY_OF_MONTHS'
           EXPORTING
             day_in                  = p_asof
           IMPORTING
             last_day_of_month       = lv_givendate
    *     EXCEPTIONS
    *       DAY_IN_NO_DATE          = 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.
        ELSE.
    *   get last date of a given year
          CALL FUNCTION 'HR_E_GET_FISC_YEAR_DATES'
            EXPORTING
              fisc_year         = year
          IMPORTING
    *      FISC_FECINI       =
             fisc_fecfin       = lv_date
    *    EXCEPTIONS
    *      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.
        ENDIF.
        IF lv_date IS INITIAL.
          t_date = lv_givendate.
          CLEAR lv_givendate.
        ELSE.
          t_date = lv_date.
          CLEAR lv_date.
        ENDIF.
    *   get exchange rate from a given currency to US dollars
        CALL FUNCTION 'BAPI_EXCHANGERATE_GETDETAIL'
          EXPORTING
            rate_type        = rate_type
            from_curr        = from_curr
            to_currncy       = to_curr
            date             = t_date
          IMPORTING
            exch_rate        = t_exch_rate
    *      RETURN           =
      ENDMETHOD.
    ENDCLASS.
    *       CLASS lcl_summary IMPLEMENTATION
    CLASS lcl_summary IMPLEMENTATION.
    * METHOD display_summary                       *
      METHOD display_summary.
        TYPES: BEGIN OF t_total,
                hkont      TYPE bsis-hkont,
                waers      TYPE bsis-waers,
                wrbtr      TYPE bsis-wrbtr,
                dmbtr      TYPE bsis-dmbtr,
                gl_bal     TYPE bsis-wrbtr,
                unrealized TYPE bsis-wrbtr,
               END OF t_total.
        DATA: lv_balance        TYPE bsis-wrbtr,
              lv_date(10)       TYPE c,
              lv_color(1)       TYPE n VALUE '1',
              lv_wrbtr          TYPE bsis-wrbtr,
              lv_dmbtr          TYPE bsis-dmbtr,
              lv_gl_bal         TYPE bsis-wrbtr,
              lv_unrealized     TYPE bsis-wrbtr,
              lv_old_year       TYPE bsis-gjahr,
              lv_new_year       TYPE bsis-gjahr,
              lv_flag(1)        TYPE n,
              lt_bsis_bsas_dum  TYPE STANDARD TABLE OF t_bsis_bsas,
              lt_total          TYPE STANDARD TABLE OF t_total,
              wa_total          LIKE LINE OF lt_total.
        FIELD-SYMBOLS: <fs_dum> LIKE LINE OF lt_bsis_bsas_dum.
        it_bsis_bsas[] = im_bsis_bsas[].
        it_exch[]      = im_exch[].
        CLEAR wa_exch.
        SORT it_bsis_bsas BY hkont year_dum DESCENDING waers.
        lt_bsis_bsas_dum[] = it_bsis_bsas[].
        LOOP AT it_bsis_bsas ASSIGNING <fs_bsis_bsas>.
          AT NEW hkont.
            MOVE <fs_bsis_bsas>-hkont TO wa_summary-hkont.
          ENDAT.
          AT NEW year_dum.
            MOVE <fs_bsis_bsas>-year_dum TO wa_summary-year_dum.
          ENDAT.
          AT NEW waers.
            MOVE <fs_bsis_bsas>-waers TO wa_summary-waers.
            t_from_curr = wa_summary-waers.
            READ TABLE it_exch WITH KEY year      = wa_summary-year_dum
                                        rate      = t_rate_type
                                        from_curr = t_from_curr
                                        INTO wa_exch TRANSPORTING exch_rate.
            IF sy-subrc = 0.
              MOVE wa_exch-exch_rate TO wa_summary-rate.
            ELSE.
              CALL METHOD me->conversion
                 EXPORTING
                    year      = wa_summary-year_dum
                    rate_type = t_rate_type
                    from_curr = t_from_curr
                    to_curr   = t_to_curr
                 IMPORTING
                    exch_rate = t_exch_rate
                    t_date    = t_date_out.
              IF t_exch_rate-exch_rate_v IS INITIAL.
                WRITE t_date_out TO lv_date USING EDIT MASK '__/__/____'.
                CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
                     EXPORTING
                          input  = lv_date
                     IMPORTING
                          output = lv_date.
                SELECT SINGLE ukurs FROM tcurr
                INTO t_exch_rate-exch_rate_v
                WHERE kurst = 'ME'
                  AND fcurr = 'PHP'
                  AND tcurr = 'USD'
                  AND gdatu = lv_date.
              ENDIF.
              IF NOT t_exch_rate-exch_rate_v IS INITIAL.
                t_exch_rate-exch_rate_v = abs( t_exch_rate-exch_rate_v ).
                MOVE t_exch_rate-exch_rate_v TO wa_summary-rate.
              ENDIF.
            ENDIF.
          ENDAT.
          LOOP AT lt_bsis_bsas_dum ASSIGNING <fs_dum>
             WHERE hkont    = wa_summary-hkont
               AND year_dum = wa_summary-year_dum
               AND waers    = wa_summary-waers.
            ADD <fs_dum>-wrbtr TO wa_summary-wrbtr.
            ADD <fs_dum>-dmbtr TO wa_summary-dmbtr.
            IF NOT wa_exch-exch_rate IS INITIAL.
              IF <fs_dum>-waers = 'PHP'.
                lv_balance = 1 / wa_exch-exch_rate * wa_exch-exch_rate.
                lv_balance = <fs_dum>-wrbtr * lv_balance.
                ADD lv_balance TO wa_summary-gl_bal.
              ELSE.
                lv_balance = <fs_dum>-wrbtr * wa_exch-exch_rate.
                ADD lv_balance TO wa_summary-gl_bal.
              ENDIF.
            ENDIF.
            CLEAR lv_balance.
            DELETE lt_bsis_bsas_dum.
          ENDLOOP.
          DELETE it_bsis_bsas WHERE hkont    = wa_summary-hkont
                                AND year_dum = wa_summary-year_dum
                                AND waers    = wa_summary-waers.
          wa_summary-unrealized = wa_summary-dmbtr - wa_summary-gl_bal.
          APPEND wa_summary TO it_summary.
          CLEAR wa_summary.
        ENDLOOP.
        IF NOT it_summary[] IS INITIAL.
          CALL METHOD me->display_summary_header.
          CLEAR wa_summary.
          SORT it_summary BY hkont year_dum DESCENDING waers.
    */     WRITE SUMMARY
          LOOP AT it_summary INTO wa_summary.
            IF lv_color = 1.
              lv_color = 2.
            ELSE.
              lv_color = 1.
            ENDIF.
            MOVE: wa_summary-hkont     TO wa_total-hkont,
                  wa_summary-waers     TO wa_total-waers.
            READ TABLE lt_total WITH KEY hkont = wa_summary-hkont
                                         waers = wa_summary-waers
                                         INTO wa_total.
            IF sy-subrc = 0.
              ADD: wa_summary-wrbtr      TO wa_total-wrbtr,
                   wa_summary-dmbtr      TO wa_total-dmbtr,
                   wa_summary-gl_bal     TO wa_total-gl_bal,
                   wa_summary-unrealized TO wa_total-unrealized.
              MODIFY lt_total FROM wa_total TRANSPORTING
               wrbtr dmbtr gl_bal unrealized
                  WHERE hkont = wa_summary-hkont
                    AND waers = wa_summary-waers.
              CLEAR wa_total.
              lv_flag = 1.
            ELSE.
              ADD: wa_summary-wrbtr      TO wa_total-wrbtr,
                   wa_summary-dmbtr      TO wa_total-dmbtr,
                   wa_summary-gl_bal     TO wa_total-gl_bal,
                   wa_summary-unrealized TO wa_total-unrealized.
            ENDIF.
    *       write sub-total for every end of a year
            lv_new_year = wa_summary-year_dum.
            IF lv_new_year <> lv_old_year AND NOT lv_old_year IS INITIAL.
              FORMAT COLOR COL_TOTAL INTENSIFIED OFF.
              WRITE: /    sy-vline,
                     (42) 'Subtotal',
                     (18) lv_wrbtr      RIGHT-JUSTIFIED,
                     (18) lv_dmbtr      RIGHT-JUSTIFIED,
                     (18) lv_gl_bal     RIGHT-JUSTIFIED,
                     (18) lv_unrealized RIGHT-JUSTIFIED,
                          sy-vline.
              FORMAT COLOR OFF.
              CLEAR: lv_wrbtr, lv_dmbtr, lv_gl_bal, lv_unrealized.
            ENDIF.
            lv_old_year = lv_new_year.
            ADD: wa_summary-wrbtr      TO lv_wrbtr,
                 wa_summary-dmbtr      TO lv_dmbtr,
                 wa_summary-gl_bal     TO lv_gl_bal,
                 wa_summary-unrealized TO lv_unrealized.
            FORMAT INTENSIFIED OFF COLOR = lv_color.
            WRITE: /    sy-vline,
                   (15) wa_summary-hkont,
                   (04) wa_summary-year_dum,
                   (05) wa_summary-waers,
                   (15) wa_summary-rate,
                   (18) wa_summary-wrbtr,
                   (18) wa_summary-dmbtr,
                   (18) wa_summary-gl_bal,
                   (18) wa_summary-unrealized,
                        sy-vline.
            FORMAT COLOR OFF.
            IF NOT lv_flag = 1.
              APPEND wa_total TO lt_total.
              CLEAR wa_total.
            ENDIF.
            AT END OF hkont.
    *         write the last sub-total
              FORMAT COLOR COL_TOTAL INTENSIFIED OFF.
              WRITE: /    sy-vline,
                     (37) 'Subtotal', wa_summary-year_dum,
                     (18) lv_wrbtr      RIGHT-JUSTIFIED,
                     (18) lv_dmbtr      RIGHT-JUSTIFIED,
                     (18) lv_gl_bal     RIGHT-JUSTIFIED,
                     (18) lv_unrealized RIGHT-JUSTIFIED,
                          sy-vline.
              FORMAT COLOR OFF.
              CLEAR: lv_wrbtr, lv_dmbtr, lv_gl_bal, lv_unrealized.
    *         write the total for a given account code(HKONT)
              FORMAT COLOR COL_TOTAL INTENSIFIED ON.
              LOOP AT lt_total INTO wa_total
                 WHERE hkont = wa_summary-hkont.
                WRITE: /    sy-vline.
                IF sy-tabix = 1.
                  WRITE: (25) 'Total', wa_summary-hkont.
                ENDIF.
                IF sy-tabix = 1.
                  WRITE: (05) wa_total-waers,
                         (18) wa_total-wrbtr,
                         (18) wa_total-dmbtr,
                         (18) wa_total-gl_bal,
                         (18) wa_total-unrealized,
                              sy-vline.
                ELSE.
                  WRITE: AT 40(05) wa_total-waers,
                              (18) wa_total-wrbtr,
                              (18) wa_total-dmbtr,
                              (18) wa_total-gl_bal,
                              (18) wa_total-unrealized,
                                   sy-vline.
                ENDIF.
              ENDLOOP.
              FORMAT COLOR OFF.
            ENDAT.
            CLEAR lv_flag.
          ENDLOOP.
          WRITE: / sy-uline(122).
        ENDIF.
      ENDMETHOD.
    * METHOD display_summary                       *
      METHOD display_summary_header.
        FORMAT COLOR COL_HEADING.
        WRITE: /    sy-uline(122),
               /    sy-vline,
               (15) 'GL Account'  CENTERED,
               (04) 'Year'        CENTERED,
               (05) 'Curr.'       CENTERED,
               (15) 'Rate'        CENTERED,
               (18) 'Trans. Curr' CENTERED,
               (18) 'Local Curr.' CENTERED,
               (18) 'GL Balance'  CENTERED,
               (18) 'Unrealized'  CENTERED,
                     sy-vline,
               /     sy-uline(122).
        FORMAT COLOR OFF.
      ENDMETHOD.
    ENDCLASS.
    *       CLASS lcl_handler IMPLEMENTATION
    CLASS lcl_handler IMPLEMENTATION.
      METHOD handle_event.
        MESSAGE i008 WITH 'No data found for account no:' hkont.
        LEAVE LIST-PROCESSING.
      ENDMETHOD.
    ENDCLASS.
    * TOP-OF-PAGE                                  *
    TOP-OF-PAGE.
      DATA: o_top TYPE REF TO lcl_main.
      CREATE OBJECT o_top.
      CALL METHOD o_top->top_of_page.
    * START-OF-SELECTION                           *
    START-OF-SELECTION.
      DATA: o_main           TYPE REF TO lcl_main,
            o_handler        TYPE REF TO lcl_handler,
            o_summary        TYPE REF TO lcl_summary,
            it_bsis_bsas_dum TYPE STANDARD TABLE OF t_bsis_bsas,
            it_exch_dum      LIKE it_exch.
      CREATE OBJECT: o_main, o_handler, o_summary.
      SET HANDLER o_handler->handle_event FOR ALL INSTANCES.
      CALL METHOD o_main->get_data.
      CALL METHOD o_main->get_diff.
      CALL METHOD o_main->display_subheader.
      CALL METHOD o_main->display_header.
      CALL METHOD o_main->get_rate_and_show
         IMPORTING
            ex_bsis_bsas = it_bsis_bsas_dum
            ex_exch      = it_exch_dum.
      CALL METHOD o_summary->display_summary
         EXPORTING
            im_bsis_bsas = it_bsis_bsas_dum
            im_exch      = it_exch_dum.

  • Need to put help document on home page.

    Hi All..... in my project several users are not trained on oracle HRMS as to how to use the selfservice due to being on leave. I have prepared a document with screenshots on how to use the functions. I want to put this document in home page.
    So when user logs in can see this document. Is there any way to place a document on the self service pages through personbalization. Users shoud be able to see it for reference.
    Appreciate your inputs.
    Thanks

    Hello
    One way of doing is to create the Item with item type as "Spacer" in the Home Page personalization screen.Then attach this item and you can give the link of your document in the Text column of this item . You need to put the document on some location which can be accessed by every one.
    HTH
    Gaurav

  • Need Abap Code Help

    Hi ,
    I am trying to activate an ODS but it is failing the activation process . When I look into the application log I see this error    "Value 'RAM???¿????????S RAM' (hex. '4D41524B3F3F3FBF3F3F3F3F3F3F3F3F5320574F524B') of characteristic ZEUID contains invalid characters "
    I am new to ABAP and I need an ABAP code to filter this value when loading data into ODS .
    Thanks a lot for your help

    HI,
      Write the code in the start routine.
      IN the start routine you have a table called SOURCE_PACKAGE.
      declare work area x_souce_package type source_package
    data : lv_string(100).
      loop at souce_package into x_source_package.
      lv_string =  x_source_package-value.
    TRANSLATE LV_STRING TO UPPER CASE
      if lv_string CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' .
      ELSE.
      DELETE SOURCE_PACKAGE INDEX SY-TABIX.
      ENDIF.
      endloop

  • Abap-OOPS  Help with standard class Cl_RSPLFC_COPY

    Please help me out in expanding the functionality of an existing class cl_rsplfc_copy .As i want 2 copy some data from one cube 2 an another cube taking some characters common in both the cubes.

    Is there any specific reason you want to use exit, when there is a standard copy planning function which does the copy without any customization? Why not use a multiplanning area and copy its simple to implement and maintain.

  • Help Document for Keyfigures and Characteristics

    Hello,
    Using BEx Browser I'm generating reports so i need to create help documents for Keyfigues and characteristics that way user will know by looking documentation they will know what is what
    How can we create help documentation?
    Experts help would be appreciated
    Thanks

    actually we are using BI7.0 version but we don't have portal and web that is the reason we are using old BEx browser for front end but ETL we are using BI7.0.
    so using old BEx browser can we create documentation for keyfigures or not?
    if so How?
    Thanks

  • Help needed - ABAP for  function modules and routines.

    Dear BW gurus,
    Hope everyone is doing great.
    I gotta project recently and we are going live in 3 weeks.My BWLead is getting rolled out in a week and he has to make the knowledge transfer to me ASAP.The bottle-necking thing is I need to have a good idea about the function modules and routines.So I request our SND community to help me out with good ABAP documents for function modules,routines and query.
    my mail id is [email protected]
    Thanks in advance
    Have a nice day
    Regards
    sathiya

    Hello Sam,
    You can create function module in ABAP using tcode SE37.
    For more informations on ABAP:
    http://help.sap.com/saphelp_47x200/helpdata/en/c9/5472f6787f11d194c90000e8353423/frameset.htm
    Use http://help.sap.com
    and also use <b>ABAPDOCU</b> transaction.
    Check these links also...
    <b>Online PDFs:</b>
    http://easymarketplace.de/online-pdfs.php
    <b>ABAP HELP</b>
    If you check these links, you can find many example programs.
    http://www.sap-img.com/abap.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
    http://sappoint.com/abap/
    FAQs in ABAP
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    Smart forms
    http://www.sap-basis-abap.com/sapsf001.htm
    Workflow
    <http://www.sap-img.com/workflow/sap-workflow.htm>
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    Mail
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    SAP Scripts:
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapuk.html
    Some useful ABAP Links for learning:
    http://cma.zdnet.com/book/abap/index.htm
    http://www.sapdevelopment.co.uk/
    http://www.sap-img.com/
    http://juliet.stfx.ca/people/fac/infosys/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/d6/0db357494511d182b70000e829fbfe/frameset.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://www.sapgenie.com/abap/example_code.htm
    http://www.geocities.com/SiliconValley/Campus/6345/abapindx.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://www.sap-img.com/abap-function.htm
    http://www.sapgenie.com/abap/code/abap19.htm
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://help.sap.com/saphelp_40b/helpdata/ru/d6/0dc169494511d182b70000e829fbfe/applet.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
    http://www.henrikfrank.dk/abapexamples/index.html
    http://sap.ittoolbox.com/documents/document.asp?i=752
    http://members.aol.com/_ht_a/skarkada/sap/
    http://sappoint.com/abap/
    http://members.tripod.com/abap4/SAP_Functions.html
    http://members.ozemail.com.au/~anmari/sap/index.html
    http://www.planetsap.com/Userexit_List.htm
    http://www.planetsap.com/Tips_and_Tricks.htm
    http://www.kabai.com/abaps/q.htm
    http://www.planetsap.com/Userexit_List.htm
    http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a8090505211d189550000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
    http://www.sap-basis-abap.com/index.htm
    http://help.sap.com/saphelp_40b/helpdata/en/fc/eb2c46358411d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/aa/aeb23789e95378e10000009b38f8cf/frameset.htm
    http://www.geocities.com/ResearchTriangle/1635/system.html
    http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
    http://help.sap.com/saphelp_45b/helpdata/en/d1/801bdf454211d189710000e8322d00/content.htm
    http://www.sapfans.com/sapfans/repos/saprep.htm
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_util464/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sap-img.com/abap.htm
    http://help.sap.com/saphelp_46c/helpdata/en/fc/eb2d67358411d1829f0000e829fbfe/content.htm
    http://www.geocities.com/victorav15/sapr3/abap.html
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://abap4.tripod.com/Other_Useful_Tips.html
    http://help.sap.com/saphelp_45b/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    http://www.sap-basis-abap.com/sapmm.htm
    http://sap.ittoolbox.com/nav/t.asp?t=303&p=448&h1=303&h2=322&h3=448
    http://sapfans.com/
    http://cma.zdnet.com/book/abap/ch03/ch03.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapuk.html
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://www.sapgenie.com/abap/index.htm
    http://www.sap-img.com/abap.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
    http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448
    http://www.thespot4sap.com/
    http://www.kabai.com/abaps/q.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapgenie.com/abap/tips_and_tricks.htm
    http://www.sapassist.com/code/d.asp?whichpage=1&pagesize=10&i=10&a=c&o=&t=&q=&qt=
    For FAQ
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.sapgenie.com/faq/abap.htm
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    Web log for receive email and processing it through ABAP
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    For Logical database
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Useful link to websites
    http://www.hernangn.com.ar/sap.htm
    Useful for background
    http://www.sappoint.com/basis/bckprsng.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    For posting web log,
    /people/sap.user72/blog/2005/06/28/sdn-weblogs-making-it-easier
    Dynamic Internal table -web log in sdn
    /people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    Mail
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    BOM Explosion
    /people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
    BOM
    http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
    http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
    http://www.sap-basis-abap.com/sappp007.htm
    OLE
    http://www.sapgenie.com/abap/ole.htm
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm
    ALVGRID with refresh
    http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON.html
    For language setting and decimal separator
    /people/horst.keller/blog/2004/11/16/abap-geek-7-150-babylonian-confusion
    Oracle queries
    http://sqlzoo.net/
    To format SQL
    http://www.sqlinform.com/
    SCOT settings
    http://www.sap-img.com/basis/basis-faq.htm
    Status Icon [ALV,Table Control,Tab Strip]
    http://www.sapdesignguild.org/resources/MiniSG-old/from_develop/norm_status_icons.htm#positioning_4
    ALV Group Heading
    http://www.sap-img.com/fu037.htm
    For multiMedia
    /people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework
    Uploading LOGO in SAP
    http://www.sap-img.com/ts001.htm
    LSMW
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    http://www.consolut.de/saphelp/sap_online_help.html
    http://www.sap-img.com/
    http://www.sappoint.com/
    http://www.sapdevelopment.co.uk/
    http://www.allsaplinks.com/idoc_search.html
    Best Regards,
    Thangesh

  • I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out wh

    I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out what is going on? We have it set on auto renewal so I know its not that we haven't renewed this subscription, because we pay automatically.

    Hi olivias,
    It sounds like there may be some confusion on your system about what application should be associated with PDF files. You can reset filename associations by following the steps in these articles (depending on your operating system):
    How to change the default application for a file type | Macworld
    http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7
    Please let us know if you have additional questions.
    Best,
    Sara

  • SAP Help Document needed

    Hi Guys,
        I am trying to enter into the world of SAP. I would like to learn ABAP. So please help me with some basic documents and SAP Help Document. Please suggest me with some tips with how to start with ABAP....
    My email id is [email protected]
    Thnx.

    hi,
    welcome to sap.
             http://www.sap-img.com
            http://www.sapgenie.com
             http://www.sappoint.com
           http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    ·         http://sap.ittoolbox.com
    Tons of information in these sites…..
    award pts if helpful.
    thanks,
    keerthi.

  • I need basic ABAP OOPS material to learn OOPS concepts

    Hi,
    I need  ABAP Object oriented programming material.
    if any one having pls send it to my mail id
    [email protected]
    Thanks
    lokesh

    Hi,
    check the below links lot of info and examples r there
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.geocities.com/victorav15/sapr3/abap_ood.html
    http://www.brabandt.de/html/abap_oo.html
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    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.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    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://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    these links
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    For Materials:
    1) http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf -- Page no: 1291
    2) http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    3) http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    4) http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    5) http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    6) http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    7) http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    8) http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    1) http://www.erpgenie.com/sap/abap/OO/index.htm
    2) http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    Regards,
    Priyanka.

  • Ive need to open a document and it states that i need the latest version. Im running the 11.0.09 on windows 7 help!

    ive need to open a document and it states that i need the latest version. Im running the 11.0.09 on windows 7 help!
    ive followed the link several times and updated to the latest version, what am i doing wrong?

    Hi stuartosachuk,
    Please type chrome://plugins in the Chrome address bar. Then, disable 'Chrome PDF Viewer' and enable 'Adobe Reader' plug-in as shown in the screenshot below:
    Now, close the Plug-ins tab and restart Chrome.
    Regards,
    Anubha

  • Need a small help

    Hi
    I am   a  BW consultant working an MNC ..  i need to learn ABAP .
    I need to learn the Basic skills of ABAP
    Writing Routines
    writing ABAP programs
    user exits
    i need ABAP relavent to BW ..
    can any one help me .. where can i get the good material . which is more easy to understand..explainatory
    If any docs please forwd to [email protected]
    are any links that will be gr8 tooo..
    Thanks in Advance..
    regards
    AK

    hi
    You can use these links...
    ABAP in 21 days
    http://cma.zdnet.com/book/abap/ch03/ch03.htm
    http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm SAP Online Help For Dictionary.
    http://sappoint.com/abap/
    for SAPscripts
    For follg., refer http://www.henrikfrank.dk/abapuk.html
    Please note that I do not offer any support for the examples !
    ABAP objects and control technology
    IDOC
    SapScript
    Performance tuning
    BAPI Programming
    Visual Basic Integration - Using the DCOM Connector and BAPI OCX (Only available in Danish)
    JAVA and the SAP java connector
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    for keywords
    very useful link for all
    http://www.sapgenie.com/abap/index.htm
    http://www.sap-img.com/abap.htm
    http://www.sapdevelopment.co.uk/tips/tipshome.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
    http://sap.ittoolbox.com/nav/t.asp?t=322&p=322&h1=322
    http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448
    http://www.thespot4sap.com/
    http://www.kabai.com/abaps/q.htm
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapgenie.com/abap/tips_and_tricks.htm
    http://www.sapassist.com/code/d.asp?whichpage=1&pagesize=10&i=10&a=c&o=&t=&q=&qt=
    For FAQ
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.sapgenie.com/faq/abap.htm
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    Weblog for receive email and processing it through ABAP
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    For Logical database
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    very useful
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Useful link to websites
    http://www.hernangn.com.ar/sap.htm
    Useful for background
    http://www.sappoint.com/basis/bckprsng.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    For posting weblog,
    /people/sap.user72/blog/2005/06/28/sdn-weblogs-making-it-easier
    Dynamic Internal table -weblog in sdn
    /people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table
    Smartforms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    Mail
    http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
    http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Sending mail in background or spool mail
    http://www.sap-basis-abap.com/sapac018.htm
    BOM Explosion
    /people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
    BOM
    http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
    http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
    http://www.sap-basis-abap.com/sappp007.htm
    OLE
    http://www.sapgenie.com/abap/ole.htm
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae3f2e488f11d189490000e829fbbd/frameset.htm
    ALVGRID with refresh
    http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON.html
    For language setting and decimal separator
    /people/horst.keller/blog/2004/11/16/abap-geek-7-150-babylonian-confusion
    Oracle queries
    http://sqlzoo.net/
    To format SQL
    http://www.sqlinform.com/
    SCOT settings
    http://www.sap-img.com/basis/basis-faq.htm
    Status Icon [ALV,Table Control,Tab Strip]
    http://www.sapdesignguild.org/resources/MiniSG-old/from_develop/norm_status_icons.htm#positioning_4
    ALV Group Heading
    http://www.sap-img.com/fu037.htm
    For multiMedia
    /people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework
    Uploading LOGO in SAP
    http://www.sap-img.com/ts001.htm
    LSMW
    http://www.sap-img.com/sap-data-migration.htm
    http://www.sapgenie.com/saptech/lsmw.htm
    http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
    http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
    OOPS ALV
    OOPS - Events.
    Editable ALV
    Tree
    TabStrip
    Multigrid
    Check this for basic concepts of OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
    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
    Tabstrip
    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%20for%20tab%20strip%20in%20alv.pdf
    Editable ALV
    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%20edit%20alv%20grid.doc
    Tree
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
    Function Module
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    My Links
    Smartforms
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    Table Control
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table%20control%20in%20abap.pdf
    regards.

  • Info on ABAP-OOPS

    Hi All,
    I want to know where exactly can we use ABAP OOPS..
    Can  we use in Classical Reports,
                            Pool Programming
    If we can use them in Pool Programming can you help me out with a small example.
    Regards

    hi,
    Object Orientation
    A programming technique in which solutions reflect real world objects
    What are objects ?
    An object is an instantiation of a class. E.g. If “Animal” is a class, A cat
    can be an object of that class .
    With respect to code, Object refers to a set of services ( methods /
    attributes ) and can contain data
    What are classes ?
    A class defines the properties of an object. A class can be instantiated
    as many number of times
    Advantages of Object Orientated approach
    Easier to understand when the system is complex
    Easy to make changes
    Encapsulation - Can restrict the visibility of the data ( Restrict the access to the data )
    Polymorphism - Identically named methods behave differently in different classes
    Inheritance - You can use an existing class to define a new class
    Polymorphism and inheritance lead to code reuse
    Classes in abap
    Classes in ABAP are either local or global
    Global classes are declared in class builder (SE24 )
    Local classes are declared within programs
    Components of a class
    Attributes : Internal data fields of class
    Attributes can be either instance attributes – specific to each instance of the class ( object ) or static attributes which are common to all instances
    Methods :
    Subroutines / procedures in a class that define the behavior of the object. Methods can also be instance methods or static methods
    Encapsulation in ABAP
    Encapsulation is obtained through the restriction in visibility of attributes / methods attained through the definition of Public, Private and Protected section of a class
    Public Section
    All of the components declared in the public section are accessible to all users of the class, and to the methods of the class and any classes that inherit from it. The public components of the class form the interface between the class and its users.
    Protected Section
    All of the components declared in the protected section are accessible to all methods of the class and of classes that inherit from it.
    Private Section
    Components that you declare in the private section are only visible in the methods of the same class.
    Inheritance in ABAP
    Inheritance allows you to derive a class based on an already existing class.
    CLASS <subclass> DEFINITION INHERITING FROM <superclass>.
    ENDCLASS.
    CLASS <subclass> IMPLEMENTATION.
    ENDCLASS.
    All attributes / methods of super class become the property of the subclass too. Only public and protected attributes / methods are visible in the subclass
    Polymorphism in ABAP
    When methods with same name perform differently under different
    circumstances we call it polymorphism.
    Methods redefined in a subclass is an example for Polymorphism
    Interfaces
    Interfaces are used to define the model of a class.
    They also like classes can be either local or global.
    Global interfaces are defined through SE24 and local interfaces are defined in program.
    Please check this online document (starting page 1291).
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Also check this links as well.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.futureobjects.de/content/intro_oo_e.html
    http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
    /people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action
    check the below links lot of info and examples r there
    http://www.sapgenie.com/abap/OO/index.htm
    http://www.geocities.com/victorav15/sapr3/abap_ood.html
    http://www.brabandt.de/html/abap_oo.html
    Check this cool weblog:
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b6254f411d194a60000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    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.sap-img.com/
    http://www.sapgenie.com/
    http://help.sap.com
    http://www.sapgenie.com/abap/OO/
    http://www.sapgenie.com/abap/OO/index.htm
    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://www.sapgenie.com/abap/OO/index.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://help.sap.com/saphelp_47x200/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
    For funtion module to class
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm
    for classes
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    for methods
    http://help.sap.com/saphelp_47x200/helpdata/en/08/d27c03b81011d194f60000e8353423/content.htm
    for inheritance
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/4049c40f4611d3b9380000e8353423/content.htm
    for interfaces
    http://help.sap.com/saphelp_47x200/helpdata/en/c3/225b6254f411d194a60000e8353423/content.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards
    Omkar

Maybe you are looking for

  • T400 graphic upgrade

    Hi everyone, Simple question for you guys: Can I upgrade the graphic device for my Lenovo T400 (6474-CV3)??? Its currently a Intel 4500MHD and doesnt run much...  My first guess is no since most laptops have an integrated chips onboard for graphic bu

  • Reporting CLOB columns in Analysis

    Hi, I've created a view in the database which has a CLOB column. For this column I've use the DBMS_LOB.SUBSTR(<Clob column>) as detailed in the following forum note Reporting on CLOB not working in OBIEE The CLOB column in the RDP Physical and BMM la

  • SAP router IP address

    i am confused with what should be my SAP router Machine IP. my WAN IP is 115.186.139.38 the Live IP pool or public IP address which i have purchased from by ISP: 115.186.151.200/30 115.186.151.201 115.186.151.202 115.186.151.203 and the machince on w

  • My keyboard has no at for emails and the letters are not the same as I can see. Y is Z, My keyboard has no at for emails and the letters are not the same as I can see. Y is Z

    My keyboard has a probleme because I cannot use at for emails and Y is Z for exemple. Can someone just explain the way to get anormal keyboard. Thanks

  • Osx Lion and WHS 2011

    If using lion server, can you utilize whs2011 for a storage platform, ie like a Drobo?  In the wegotserved.com guide, he used a Drobo to coincide with his mac server but I want to be able to use my WHS, even if that means i need to reformart the whol