Posts

Showing posts from November, 2017

Use of field symbols in SAP ABAP programming, using field symbols in SAP ABAP

Use of field symbols in SAP ABAP programming, using field symbols in SAP ABAP  the declaration operator FIELD-SYMBOL declares a field symbol <fs> to which a memory area is assigned in the current operand position. The declared field symbol is visible statically in the program from FIELD-SYMBOL (<fs>) and is valid in the current context. The declaration is made when the program is compiled, regardless of whether the statement is actually executed. The syntax for declaring a field symbol. FIELD-SYMBOLS: <FIELD_SYMBOL> TYPE MARA-MATNR. "here MARA-MATNR is a variable type FIELD-SYMBOLS: <FIELD_SYMBOL> TYPE  MARA. "here MARA is a structure FIELD-SYMBOLS: <FIELD_SYMBOL> TYPE REF TO DATA . "here DATA is a reference type  ASSIGNING and ASSIGN are the keywords that are used to assign a value to the field symbol. Example of using field symbol as a work area In the below example we are going to use the field symbol as a work area. REPORT ZS...

How to Disable Icons in SAP ALV Toolbar :SAP ABAP Language

How to Disable Icons in SAP ALV Toolbar :SAP ABAP Language I have developed One SAP ALV Report in which i want to Disable Icons ,so How can you do that ,to learn ,follow the below steps. Fetch data from database table. Build field catalog and fill the excluding table with function codes of icons that you want to disable. &ILT& is the function code for Filter Icon. Pass field catalog and excluding table to function module ‘REUSE_ALV_GRID_DISPLAY’. TYPE-POOLS: slis.  " SLIS contains all the ALV data types *&---------------------------------------------------------------------* *& Data Declaration *&---------------------------------------------------------------------* DATA: it_sbook     TYPE TABLE OF sbook. DATA: it_fieldcat  TYPE slis_t_fieldcat_alv,       wa_fieldcat  TYPE slis_fieldcat_alv. DATA: it_excluding TYPE slis_t_extab,       wa_excluding TYPE slis_extab. DATA: g_repid  ...

SAP ABAP Full Form

SAP ABAP Full Form Many ABAP beginners do not know what is SAP ABAP Full Form? so I discussed here it, in brief, to teach ABAP Full Form for ABAP learners. ABAP stands for Advanced Business Application Programming. It is a programming language developed by SAP. SAP is a German company that develops ERP (Enterprise Resource Planning System) systems. ABAP (Advanced Business Application Programming) is a programming language for developing applications for the SAP R/3 system, a widely-installed business application subsystem. The latest version, ABAP Objects, is object-oriented programming. SAP is just a company name and Abap or Abap/4 is a language programming. SAP company has a lot of products: ERP(material, sales, costs, financial), CRM, SRM, SCM, and all of them are customizing and programmed with ABAP and Java. ... Much of SAP's software is written in ABAP. Functional SAP ERP Modules Human Resource Management (SAP HRM), also known as Human Resource (H...

How to Check RFC Connection using Function Module RFC_PING before Calling RFC Function Module

How to Check RFC Connection using Function Module RFC_PING before Calling RFC Function Module RFC part in SAP ABAP is may be some what confused ,but learn How to validate RFC connection in SAP?,Validating RFC destination before calling RFC function module, check RFC connection using Function module RFC_PING In ABAP programming, some times we may need to validate and check RFC Destination before calling a function module, you can find useful information in this tutorial. Required validations for RFC: Check if RFC destination is available or not. Check RFC destination connection is working or not. Example programm to validate RFC destination All the RFC destinations are stored in table RFCDES, we can check connection using function module RFC_PING (When ever you call and RFC, it will automatically validate connection, if you need to validate explicitly you can use this function module). REPORT ZSRI_CHECK_RFC. DATA : WA_DES TYPE RFCDES. PARAMETERS P_RFC TYPE STRING. ...