Pages

Saturday, 14 February 2015

ALV REPORTS

First we have to known about the  reports.Those are used for the column alignment,sorting,filtering,totals,exports etc.As it like ALV features same like this.Let we start the below for one by one step ALV.

ALV Means:
ALV is called by the version based.It is called from SAP 4.6C Version, ALV- SAP List Viewer and Prior to 4.6c Version, called as an  ALV- ABAP List Viewer.

ALV Features:
 1)This set of ALV functions can help choose selected columns and arrange the different columns from report output and also save different variants for report display.

2)This is a very efficient tool for dynamically sorting and arranging the columns from a report ouput.
3)To implement these, less of coding and logic is required.

4)This work approches by the Function modules.

ALV Work approaches:

In this two types of approaches there.
1)Procedural
2)Object oriented.

1)Procedural:
It is doing by the function modules.It means it is used the function modules for reducing the code.In this different types of function modules there.
i)Simple ALV
ii)BLOCKED ALV
iii)Hirearchical Sequential ALV.

i)Simple alv contains the 2 types is there like reports.Those are classical and interactive alvs.
 Classical :
   Filling an events internal table with the list of events to be handled and pass that internal table to FM: REUSE_ALV_GRID_DISPLAY  (or) REUSE_ALV_LIST_DISPLAY.

ii)Interactive:
   Iteractive  has selected the Line contents,Field name,Field value of  type SLIS_SELIFIELD. Those are based on the selection screen information FILED: TABINDEX, SELFIELD, VALUE.

iii)Blocked ALV:
     This is used to display Multiple lists continuously one after one as a BLOCK. It is used the function module as  REUSE_ALV_BLOCK_LIST_INIT.

iv)Hirearchical Sequential ALV:
      It is to display the master (Header) data and Transactional(iteam) data in the same alv.It is used the function module as REUSE_ALV_HIERSER_LIST_DISPLAY.

 Sample Programme:

CREATE ONE INCLUDE PROGRAME
zdemo_alv_top..

Type-POOLS SLIS.
Data: It_ekko like table of EKKO,   "Purchase Documents.
      WA_EKKO like ekko,               "Purchasing Documents
      IT_EKKO LIKE TABLE OF EKPO,   "Purchase Doc Items
      It_csks like Table of csks,   "costs center data
      It_events type SLIS_T_EVENT,  "EVENTS TABLE
      WA_EVENTS TYPE SLIS_ALV_EVENT,
      IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
      IT_T001 LIKE TABLE OF T001,
      IT_KNB1 LIKE TABLE OF KNB1,
      LIST_LAYOUT type SLIS_LAYOUT_ALV,
      GS_KEYINFO TYPE SLIS_KEYINFO_ALV.


Main Programe:
report zdemo_display_cost_centers.

Include zdemo_alv_top.


SATRT-OF-SELECTION.
SELECT * INTO TABLE it_cska from csks up to 15 rows.

Perform fill_events_table.

end-of-selection.

perform display_data_using_grid.


Form display_data_using_grid.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORING
  I_CALLBACK_PROGRAM  = SY-CPROG   "name of the calling programe
  I_STRUCTURE_NAME =   'CSKS'
  IT_EVENTS        = IT_EVENTS
  Tables
    t_outtab    = it_csks

endform.


 Form fill_events_table.

     clear wa_events.
     wa_events-name = 'TOP_OF_PAGE'.
    WA_EVENTS-FORM = 'PRINT_HEADING'.
    APPEND WA_EVENTS TO IT_EVENTS.

   ENDFORM.


    FORM PRINT_HEADING.


        DATA IT_HEADINGS TYPE SLIS_T_LISTHEADER.
        DATA WA_HEADINGS LIKE LINE OF IT_HEADINGS.
       CLEAR WA_HEADINGS.
        WA_HEADINGS-TYP  = 'H'.
        wa_headings-info  = 'LIst of Cost Cneters'.
        Append wa_headings to it_headings.
        call fucntion 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
            IT_LIST_COMMENTARY  = IT_HEADINGS
            IT_LOGO               = 'WorldNatureTrues'.


  ENDFORM.

ABAP(Advanced Business Application Programming)

I am discussing about the 4th generation ABAP. ABAP Nothing But a Combination of certain Statements.Every Programming has  a own Syntax so ABAP have also own Syntax It's Developed By the SAP.

ABAP Programming Syntax :  
                      ABAP Program is not a case sensitive..Every Statement has ended with a Period (Period means Dot .). In this Every Program has Follows the above flow.In this programmed by the group of statements.It means Underline in real life used for draw the line of the below text .Like  this in programmed for uses the Statement as ULINE. And also display the color for used same color.In this progromme support only the 0 to 7 colors.In this display the statement into the output for uses the WRITE statement.To see the below example.

EX : Write 'welcome to ABAP programming' color 2.
Output:
 
               
 On above screenshot to highlighted by the some color the text of  "WELCOME TO ABAP" .It is like every number have a own color to display.

SAP Development Software

SAP means System Application Product It's Created By the one of the Software GERMAN Company SAP. It is currently Positioned as the language for programming SAP's Web Application Server,Part of it's Net Weaver Platform for building Business Applications.It's Syntax is Some what Similar to COBOL.This is a ERP Product. ERP means 'ENTERPRISE RESOURCE PLANNING'. It is used  to mainly the Business Development and Planning Purpose.

                             

In this based on the User Requirement  different  Function Modules was there.In this mainly modules configured below.
  • SAP APO module – Advanced Planner Optimizer
  • SAP CO module – Controlling
  • SAP CRM module – Customer Relationship Management
  • SAP CS module –  Customer Service
  • SAP EC module –  Enterprise Controlling
  • SAP EHS module – Environment, Health & Safety
  • SAP EWM module – Extended Warehouse Management
  • SAP FI module – Financial Accounting
  • SAP FM module – Fleet Management
  • SAP FSCM module -Financial Supply Chain Management
  • SAP HR module: – Human Resources
  • SAP IM module – Investment Management
  • SAP MM module: – Materials Management
  • SAP PLM module – Product Life cycle Management
  • SAP PM module – Plant Maintenance
  • SAP PP module – Production Planning
  • SAP PS module – Project Systems
  • SAP QM module: – Quality Management.
  • SAP RE module – Real Estate
  • SAP SCM module – Supply Chain Management
  • SAP SD module – Sales and Distribution.  SAP SD is one of the most popular SAP modules.  Learn how to be a master in this module with this comprehensive SAP SD training course.
  • SAP SEM module – Strategic Enterprise Management
  • SAP SM module – Service Management
  • SAP TR module: – Treasury
  • SAP WM module – Warehouse Management
  • SAP LO module – Logistics General
      
    TECHNICAL MODULES
  • SAP ABAP module – Advanced Business Application Programming
  • SAP Basis module –  Basis Admin, administration of SAP
  • SAP BI module – Business Intelligence
  • SAP BPC module – Business Planning and Consolidation
  • SAP BODI module – Business Objects Data Integrator
  • SAP EP module -Enterprise Portal
  • SAP GRC module – Group Risk Compliance.  If you are interested in earning your certification of completion for a training course in SAP GRC, take a look at this class.  In this training course you will gain valuable insights into risk, compliance, and control management for an enterprise by studying GRC RAR.
  • SAP MDM module – Master Data Management
  • SAP Netweaver module – The technical foundation for SAP applications.  Some may find that SAP Netweaver is a bit tricky to get the hang of at first.  If this is true for you, try taking a course on SAP Netweaver training and learn from an instructor with industry experience.
  • SAP Security module – Security for enterprise operations
  • SAP Solution Manager module – Manages technical support for distributed systems
  • SAP XI module – Allows the implementation of cross-system processes on services
  • SAP PI module – Enterprise application integration (EAI)software

INDUSTRY SPECIFIC MODULES (KNOWN AS SAP IS)

  • SAP IS Aerospace & Defense – Air and military industries
  • SAP IS Automotive – Automobile manufacturing industries
  • SAP IS Banking – Financial Industries, Banking, and Market Risk Management
  • SAP IS Chemicals – Chemical industries
  • SAP IS Consumer Products – Consumer product industries
  • SAP IS Defense & Security – Defense and security industries.
  • SAP IS Engineering, Construction, and Operations – Construction and engineering companies
  • SAP IS Healthcare – Hospitals and healthcare institutions
  • SAP IS Higher Education & Research – Campus management
  • SAP IS High Tech – High tech industries
  • SAP IS Industrial Machinery and Components – Heavy machinery manufacturing companies
  • SAP IS Insurance – Insurance companies and Currency Markets
  • SAP IS Life Sciences – Life sciences industry
  • SAP IS Media – Communication and Publishing industries
  • SAP IS Mill Products – Mill product industries
  • SAP IS Mining – Mining industries
  • SAP IS Oil & Gas – Oil and Gas Industries

    If any user comes to use any two modules combination it can be possible only with SAP Programming. So SAP already developed the Product for the different fields of categories purpose But we can Modify the product for User Requirement by ABAP(Advanced Business Application Programming). If you wants to learn the ABAP Programming on Deatils go to Below Link.
       ABAP Programming