Posts

SAP ABAP SMARTFORMS

SAP ABAP SMARTFORMS Smart Forms in SAP ABAP. SAP Smart Forms is used to create and maintain forms for bulk printing on SAP systems. As an output medium, SAP Smart Forms supports a printer, fax, email, or the Internet (using the generated XML output). SAP introduced SmartForms in 1998 to overcome the limitations in SAP Scripts. What are SMARTFORMS in SAP ABAP Smart Form technology allows you to design print forms. ABAP programs need to "call them" for spools to be generated, ready to print. SMARTFORMS is the transaction for designing the smart form layout. It is possible to incorporate texts, images, tables, bar codes. The import parameters must be defined so that an ABAP program can send the data to be printed. When the smart form is activated, a function module is generated that an ABAP program must call. You should never assume the name of this function module because it can change on each system after the import. See below how to do it. Trans...

What is an IDOC in SAP ABAP ?

What is an IDOC in SAP ABAP ? What is an IDOC? IDOC is simply a data container used to exchange information between any two processes that can understand the syntax and semantics of the data. In other words, an IDOC is like a data file with a specified format which is exchanged between 2 systems which know how to interpret that data. IDOC stands for " Intermediate Document" When we execute an outbound ALE or EDI Process, an IDOC is created. In the SAP System, I DOCs are stored in database. Every IDOC has a unique number(within a client). In this tutorial you will learn: What is an IDOC? Structure of an IDOC IDOC Types What is a Segment? What is Extension IDOC type? IDOC Views Partner Profiles Port The Outbound Process The Inbound Process Key Features IDOCs are independent of the sending and receiving systems.(SAP-to-SAP as well as Non-SAP) IDOCs are based on EDI standards, ANSI ASC X12 and EDIFACT. In a case of any conflict in data ...

SAP ABAP Operators

SAP ABAP Operators Arithmetic operators are used in mathematical expressions,Comparison Operators,Bitwise Operators,Character String Operators. All ABAP operators are classified into four categories − Arithmetic Operators Comparison Operators Bitwise Operators Character String Operators SAP ABAP Operators Example Programs REPORT ZS_SEP_01. DATA: A TYPE I VALUE 150, B TYPE I VALUE 50, Result TYPE I. Result =  A / B. WRITE / Result. DATA: A TYPE I VALUE 115,       B TYPE I VALUE 119.       IF A LT B.       WRITE: / 'A is less than B'.       ENDIF REPORT ZS_SEP_02. DATA: A TYPE I.       IF A IS INITIAL.       WRITE: / 'A is assigned'.       ENDIF. REPORT ZS_SEP_03. DATA: P(10) TYPE C VALUE 'APPLE',       Q(10) TYPE C VALUE 'CHAIR'.       IF P CA Q.       WRITE: / 'P contains at least one cha...

Table Components in SAP ABAP

Table Components in SAP ABAP As a SAP ABAP ,Every ABAP Developer should know about table components and its Technical details to increase basic strong knowledge to understand the Table Components technically. A relationship which can be defined between tables and must be explicitly defined at field level. Foreign keys are used to ensure the consistency of data. Data entered should be checked against existing data to ensure that there are now contradiction. While defining foreign key relationship cardinality has to be specified. Cardinality mentions how many dependent records or how referenced records are possible. What are Compound Foreign Key in ABAP Dictionary? A compound foreign key is a foreign key composed of two or more fields. In other words, a check is done to compare two fields in the foreign key table against two fields in the check table. The combination of values must exist in the check table before they can be inserted into the foreign key table. However...

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...