Tutorials

By | September 21, 2008 | Tutorials | 117,657 | 5

SALV Table (2D) Display

  • SALV Table 1 : Normal ALV Table Display

    SAP has introduced a new programming model to devleop Object Oriented ALV (OO ALV) using class CL_SALV family class. This class family is avaliable in the SAP Netweaver 04.
    Some Background:
    Prior to SAP Netweaver, we have so many different starting point ...

  • SALV Table 2 : Adding Default PF STATUS in ALV

    We have discussed in post to generate an ALV using new the SALV Model. It is a true object oriented way to generate an ALV.
    Today, we will see how to add standard PF Status (GUI Status) in this Standard ...

  • SALV Table 3 : Adding Custom PF STATUS in ALV

    We have seen in the previous posts of this Blog series about the new SALV model to Create ALV:
    Sometimes we need to create our own PF Status (GUI Stauts) with more buttons which can provide the users more ways to ...

  • SALV Table 4 : Setting up Layout

    Today we will see how easy it is to set up the Layout for the ALV which was created using the reference of the CL_SALV_TABLE calss.
    All these discussions can be found under .
    Layouts provides greate flexibility to users for ...

  • SALV Table 5 – Add Header (Top of page) & Footer (End of Page)

    Today we will discuss how to add the Header and Footer using the SALV model. In ALV, header (top-of-page) and footer (end-of-page) play important role in presentation of the data. Header and footer are imortant when we need to print ...

  • SALV Table 6 – Display Settings

    In the series of the SALV Simple Model, we will see how we can set the Display Settings to the entire ALV. You can find the previous discussions in this blog series at
    To set the display settings, we need ...

  • SALV Table 7 – Changing Column settings

    Today in the SALV model tutorial series, we will see how we can change the Column properites. You can find all the previous discussion in this series can be found at .
    To change the propeties of the Columns ...

  • SALV Table 8 – Add & Handle Hotspot

    In the series of the SALV model table display, today we will see how to add the hotspot and after adding, how to handle that hotspot. You can find all the previous discussion at .
    Hotspot is useful in ...

  • SALV Table 9 – Apply Colors

    In the series of the SALV Model Table display, today we will see how to apply colors to the ALV Grid. In this regards, we will see how to apply colors to the Specific Cell, Specific Row or Specific Column. ...

  • SALV Table 10 – Editable SALV Model (Overcome the restriction of SALV Model)

    We all know that ABAP Object is very powerful over the classical ABAP. Here I want to share one of my best experiments with the ABAP objects to overcome the restrictions of SALV mdoel.
    Original
    Initially I posted this article on SCN ...

  • SALV Table 11 – Apply Aggregations

    Apply Aggregations like Totals, Minimum values to SALV Table
    In the series of the SALV Model Table display in SAP ABAP, today we will see how to apply aggregations to the ALV Grid. You can find all the Previous discussion ...

  • SALV Table 12 – Apply Filters

    Apply Filters to SALV Table
    In the series of the SALV Model Table display in SAP ABAP, today we will see how to apply Filters to the ALV Grid. You can find all the Previous discussion at .
    Filters are ...

  • SALV Table 13 – Apply Sorts

    Apply Sorts to SALV Table
    In the series of the SALV Model Table display in SAP ABAP, today we will see how to apply Sorting to the ALV Grid. You can find all the Previous discussion at .
    Sorts are ...

  • SALV Table 14 – Editable Checkbox

    Editable Checkbox in the SALV table
    In the series of the SALV Model Table display in SAP ABAP, today we will see how to get the editable checkbox in ALV Grid. You can find all the Previous discussion at ...

  • SALV Table 15 – Show Count of Displayed Rows

    Today, I came across an interesting question regarding SALV OM Model. The query was regarding to show the count of displayed rows on the screen. Initially we think it is very easy – just use DESCRIBE table, get count and ...

  • SALV Table 16 – Static Filters

    While writing the last post, , I remembered that I wrote an interesting piece of code to solve the unique requirement – Static Filters on the ALV.
    The trick here is to save the Filter after applying it for the first ...

  • SALV Table 17 – Apply Styles to Cell

    Lets checkout how to apply different styles for cell, yes cell not the entire column. SALV object model does provide us the objects to achieve this.

    Background
    Today is kind of a SALV day – specifically SALV HOTSPOT day. Fellow developer has ...

  • SALV Table 18 – ICONs and Tooltips

    ICONs are great ways to enhance the report output. Let me show you how you can sweeten the deal by adding the tooltip on the ICON.
    Background
    When you design a report and if you just put the text, it wont be ...

  • SALV Table 19 – Columns Specific Grouping

    Specific Groups on the ABAP SALV would help users to easily find the columns in the display setting variants. Lets check it out how you can achieve it.
    What is Columns Specific Grouping
    When you have so many fields in the ALV ...

  • SALV Table 20 – Editable? Yes, as per this Standard SAP Application

    Don’t get too excited about the editable SALV solution out of the box, but I think we have a solution.
    Originally Posted at SCN – SALV Editable? Yes, as per this Standard SAP Application
    Preface
    Recently Paul Hardy published a blog International Editable ...

  • SALV Table 21 – Editable with Single (custom) Method

    Another of my recently published blog on SCN. This is also about making SALV table editable using the single method and removing the extra button.
    Originally published on SCN – SALV Editable with Single (custom) Method
    This has been a SALV Editable ...

  • SALV Table 22 – Get Data Directly after SUBMIT

    ABAP SALV model has some cool features. Getting the data table from the model, is one of them. Let’s explore the solution.
    Problems analyzing LIST returned by LIST_FROM_MEMORY
    SUBMIT is a great feature of ABAP. You can generate the report output, send ...

SALV Hierarchical (Sequential) List Display

  • SALV Hierarchical Table 1 – Simple table display

    The new model of ALV – SALV Model – also provides the interface for application developer to develop the Hierarchical list. This type of list are also known as the Sequential List.
    We use the hierarchical-sequential table to display simple hierarchical ...

  • SALV Hierarchical Table 2 – Adding Default PF Status

    Today we will discuss how easy it is to add a Default PF status. In the previous post, we have discussed how to create a simple hierarchical table: . All discussion related to hierarchical (sequential) table can be found under ...

  • SALV Hierarchical Table 3 – Add Expand/Collapse Option

    Today in the series of the SALV Hiearchical list display, we will see how to add the Expand/Collapse button in the Hierarchical ALV. All discussion related to the Hierarchical table display can be found under .
    Expand/Collapse button will provide ...

Dynamic Internal Table

  • Dynamic Internal Table Creation using RTTS

    Shows how to use the RTTS to create a dynamic internal table. Lets Checkout how we can create internal table at run time using RTTS.
    From the ABAP release 6.40, SAP has provided RTTS – Run Time Type Services to create ...

  • Dynamic Internal Table with Deep structure

    We have seen how we can use Run Time Type Services (RTTS) to create a dynamic internal table in the post: . On the other day, after publishing the post , I was thinking how I can apply these color ...

  • Dynamic Internal Table Creation using class CL_ALV_TABLE_CREATE

    Describes how to show the Dynamic Internal Table Creation using class CL_ALV_TABLE_CREATE
    In the post and , we have seen how we can use the RTTS – Run Time Type Services to create dynamic internal table.
    Today we will eloborate another ...

  • Dynamic Internal Table

    Describes a way to create a dynamic internal table from coding. This is also can be used when RTTS is not supported or class CL_ALV_TABLE_CREATE is not available.
    You can find all Dynamic ITAB discussions at .
    Recently, one of my friends ...

Generic Object Services (GOS)

Bring Data to Life

Exception Handling

  • Function Module Exception Handling

    Exception handling is the integral part of the designing the application. By raising the exception, we are providing the oppertunity to the Caller program to handle the exception in its own way.

    Visit Raising & Handling Non-class based exceptions to learn ...

  • Raising & Handling Non-class based exceptions – I

    Exceptions are way to communicate effectiently to the caller about something went wrong. So, the caller of the FM or method, would process them accordingly.
    Checkout all post related to Exception Raising & handling:

    Before we begin understanding the non-class based exception, ...

  • Raising & Handling Non-class based exceptions – II

    In continuation to previous post on Raising & Handling Non-class based exceptions, lets see the message addition RAISING along with the overall flow control.
    Checkout all post related to Exception Raising & handling:
    Message RAISING
    When we raise the exception by statement RAISE, ...

  • Class-based Exceptions I – Basics

    Class based exceptions are realized based on the instances of the exception class. Lets explore them.

    Checkout all post related to Exception Raising & handling:
    Basics
    Whenever a exception is triggered, an exception object is created. This object would contain more information ...

  • Class-based Exceptions II – Design Time consideration

    In the series of the Class-Based exception raising & handling exceptions, today we’ll see design time considerations.
    Checkout all post related to Exception Raising & handling:
    Main classes
    All Exception classes are inherited from the global exception class’s CX_ROOT these subclasses:

    CX_STATIC_CHECK – If ...

  • Class based Exceptions III – Runtime flow

    Lets continue exploring more about Class based exceptions by checking out the runtime flow when an exception is being raised.
    Checkout all post related to Exception Raising & handling:
    Flow

    .. with code lines
    To understand it better we’ll use the demo example of ...

  • Class based Exceptions IV – CLEANUP

    In the series of Class based Exceptions, lets check out the addition CLEANUP within the TRY..ENDTRY block.
    Checkout all post related to Exception Raising & handling:
    TRY .. ENDTRY block also should have a CLEANUP block. This code block should contain cleaning ...

  • Exception class to use Messages from T100

    Exception class can be defined using to use static Text as well as the messages from the Message repository maintained using transaction SE91. In this article, lets see how to use the message from Message repository T100.

    Define Exception Class using ...

  • Why NOT to have a wrapper around Exception (RAISE) ?

    Class based exception are more powerful compared to the “legacy” exceptions. But you don’t want to create wrapper around the Exceptions?
    Preface
    In the blog The Harlem Function Module Shuffle on (old (older SDN)) SCN, Paul Hardy showed a good way to ...

Application Log

  • Generate Application Log

    Application log is used to generate a log which can be accessed later by the users. Sometimes there would be a situation where we need to generate the log, especially for the Errorenous situation.
    Background
    Application Log is the rich type log. ...

  • Application Log II – New FMs

    We’ll see how we can generate the Application Log using the New Set of Function Modules BAL* which are available since Release 4.6. We have already seen how to using the old set of the FMs APPL_LOG_*. Check SAP ...

Table Maintenance

  • Capture Changed content after the FM VIEW_MAINTENANCE_CALL

    The requirement is to capture the changed contents – updated, deleted or inserted – after the table maintenance call using the FM VIEW_MAINTENANCE_CALL.
    The simple solution to handle this requirement is:1. Get all the data from the database table for ...

  • Add Custom Button on Maintianence View (SM30)

    Whenever we generate the table maintianence, SAP generates some new code and use the Shared code for the Table maintainence generator. Since long time, I was wondering how can I add my own custom PF buttons in the table maintainence ...

  • Call Standard Table Display (SE16) from Report

    Eloborates the easiest way to call the Standard table display (SE16) from a Program
    Sometimes, we need to call the Standard Table display (SE16) from our report program. In option of this we can create a Small ALV program using the ...

  • Call a New Standard Table Display (SE16N) from Report

    Shows another way to call the new Standard Table Display (SE16N), more efficient than calling SE16
    As we have seen in the previous post, how easy it is to call the program. Today, we will see the more powerful and ...

  • Why ABAP Table Controls Are Evil

    Table Controls are not that much flexible enough. On top of that it would also add more issues in the mix based on the way how they are defined.

    Recent Issue
    I have been working on an upgrade project recently where the ...

ABAP Unit Testing

Enhancement Implementation in Enhancement Framework

Looking for ABAP Objects (OO ABAP) index?

Check out ABAP Objects Index for ABAP objects concepts, Design Patterns, Tools usage and more.

Like It? Share!!

Don't miss an Update

Get notified of the new post, right into your inbox

Naimesh Patel{274 articles}

I'm SAP ABAP Consultant for more than a decade. I like to experiment with ABAP especially OO. I have been SDN Top Contributor.
Follow :

Explore all of his 274 articles.

Load comments

5 Comments

  • The works are really awesome, Am a fan of yours and I look for your postings frequently……………claps to you………..

  • Anonymous

    Hi Naimesh,

    Wonder if you can help me with a query on GOS and pardon if this is a repeat but i couldnt locate the answer:

    Q1: How to transfer attachments in tables SOFFCONT1/SOC3 uploaded using ‘Create attachment’ option to content repository on archive server?

    Q2: Further how to disable the ‘Create attachment’ so that users do not repeat the same issue of storing attachments on SAP DB but rather use ‘store business doc’ option that stores documents on Archive server?

    Q3: Also with store bus doc, is there a way to use * in doc type so basically a document in any format can be uploaded? currently we have enabled a few types separately i.e. doc, xls, ppt but the issue is when users get a doc in a new format say rtf and cannot use one of the existing options?

    Highly appreciate your help with the above please

    thanks

    Mukesh
    Mukeshjain100@hotmail.com

  • Mahadev

    Naimesh Excellent work by you… I always refer ur notes i need to work on OO ABAP, not only that others are also too good…

    Keep the spirit up.. and thanks for the post.

    Mahadev S

  • Miguel

    Hi, good day, I like to much this page, congratulation, I want to report the 8 part about link”Generic Object Services (GOS) Toolbar Part 8 : Authorization to prevent Delete”, it has wrong link.

    Greetings.

  • Thanks Miguel. Link for GOS -8 is fixed now.

    Regards,
    Naimesh Patel

Comments on this Post are now closed. If you have something important to share, you can always contact me.

You seem to be new here. Subscribe to stay connected.