Posts

Showing posts from August, 2019

How to Define SAP ABAP ALV Report Output list description

Image
How to Define SAP ABAP ALV Report Output list description In the previous Post ,we have discussed about SAP ABAP ALV Reports data declaration ,Events Table ,Selecting the optional Variants and Output Field Characteristics and their importance in ALV report ,from this post ,we will learn about ALV Report Output list description which defines the list output that is ALV layout which user want to display on the real time screen. A layout is build for the report output list description USING the internal table declared above (I_LAYOUT). Output list description structure.      The parameters are described under the following heads: -          Display options -          Exceptions -          Totals -          Interaction -          Detail screen -          Display variants (only for hierarchical-sequential ...

What is Search Help Exit in SAP ABAP and How to Create it

What is Search Help Exit in SAP ABAP and How to Create it? Search Help Exit You may not know the correct records when you searching for some information from the SAP Data Base, in this case, based on known values, you can filter records to retrieve the data or you can filter the data to fetch your required records with the help of Search Help Exit and also using this function module, you can modify F4 Values at run time. Search Help Exit Definition Search Help Exit is a function module which contains predefined changing and tables parameter you can be modified/filter the F4 values selected by Elementary or collective search help using Search help exit function module from the DataBase table. Consider searching for sales order through VA03, and select sales document not fully confirmed tab, enter the customer number, and press enter   The result list will be displayed as below,   Now say our requirement is to have a customer number and custome...

How to Create Events Table in SAP ABAP ALV Report

How to Create Events Table in SAP ABAP ALV Report In the Previous Posts , we have learnt declaring data types ,selecting optional variants and ALV Report output characteristics ,here we will learn what is events table and its importance and it parameters detailed descriptions.  A list of possible events is populated into an event table (I_EVENTS) when this table is passed from the function module REUSE_ALV_EVENT_NAMES_GET. The return table from this function module contains all the possible events. The function module contains following import and export parameters. IMPORTING PARAMETERS: I_LIST_TYPE This parameter has possible values from 0-4. The parameter I_LIST_TYPE is of TYPE SLIS_LIST_TYPE and is DEFAULT 0 .  EXPORTING PARAMETERS:  I_EVENTS table. This table is of TYPE SLIS_T_EVENT and returns to the program the name of all the possible events. The table structure contains the fields:                 I_EVE...

Defining Output Fields Characteristics of ALV Report in SAP ABAP

Defining Output Fields Characteristics of ALV Report in SAP ABAP  In the Previous Post ,we have learnt,ALV Reports Data Declaration,Selecting Optional Variants and now here ,we will learn output fields descriptions which defines the description of fields that resulted in the ALV output. DEFININING OUTPUT CHARACTERISTICS: PREPARING DISPLAY FIELDS CATALOG A field catalog is prepared using the internal table (I_FIELDCAT) of type SLIS_T_FIELDCAT_ALV. Field catalog containing descriptions of the list output fields (usually a subset of the internal output table fields).  A field catalog is required for every ALV list output to add desired functionality (i.e. Key, Hotspot, Specific headings, Justify, Col. position etc) to certain fields of the output. If not mentioned specifically, then the defaults are taken. The possible values and defaults are listed below. The field catalog for the output table is built-up in the caller's coding. The build-up can be completely o...

SAP ABAP ALV Reports Selecting the Optional variants

SAP ABAP ALV Reports Selecting the Optional variants In the previous Post ,we have discussed on Data Declarations in ALV Reports ,in this post ,i will discuss on selecting variants which are optional depends on your requirement. The variants in the list display can be both user-specific and general. The user can pro-grammatically set the initial (default) variant for list display.  The default variant can be found using the function module 'REUSE_ALV_VARIANT_DEFAULT_GET'. Example Program on Selecting the variants in ALV Report CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save               = variant save condition (A=all, U = user-specific) CHANGING cs_variant          = internal table containing the program name (and the default variant---optional) EXCEPTIONS not_found = 2. The user can also choose from the list of existing variants using the function module  'REUS...

SAP ABAP ALV Reports Data Declaration Steps

SAP ABAP ALV Reports Data Declaration Steps As an ABAP consultant, while learning ALV reports, you should be start with data declaration steps, after learning this first step, you can start creating simple ALV report, here we will learn, how to declare data in ALV reports code. Step 1: DATA DECLARATION Example: Step 2: Selecting the variants(Optional) Step 3: (Defining Output Characteristics) Step 4: (Build up events table) Step 5: (Report Output list description) Step 6: (Pass Selection-screen Information) Step 7: (Deciding Sort Criteria) Step 8: (Final Step) Example: Step 1: ALV Report DATA DECLARATION Sap standard type pools:  SLIS, KKBLO.  Sap standard tables types taken from the type pools are:  SLIS_LAYOUT_ALV, SLIS_T_FIELDCAT_ALV SLIS_T_LISTHEADER, SLIS_T_EVENT, SLIS_SELFIELD.  Internal tables to be used in the program declared based on the above table types DATA:   I_LAYOUT  ...

SAP NetWeaver AS ABAP 7.52 Released in September 2017

SAP NetWeaver AS ABAP 7.52 Released in September 2017 Björn Goerke, SAP's Chief Technology Officer, announced ABAP in SAP Cloud Platform, which will make the ABAP development and runtime environment available in SAP Cloud Platform in 2018. Introducing ABAP 7.52 Released in September 2017, SAP NetWeaver Application Server for ABAP 7.52 is a standalone ABAP stack consisting of the SAP kernel and ABAP development tools for Eclipse, similar to its predecessor ABAP 7.51.1 ABAP 7.52 is based on core data services and the responsive SAP Fiori user experience, and supports all traditional ABAP-based user interface technologies, such as Web Dynpro. SAP NetWeaver AS ABAP 7.52 also serves as the foundation for a range of SAP HANA-only deliveries, including SAP S/4HANA 1709 on premise and ABAP add-ons such as SAP Hybris Marketing. What are some of the new innovations and features that are delivered with ABAP 7.52? ABAP 7.52 Innovations and Features SAP NetWeaver AS ABAP 7.52 includ...