ABAP Automailer program for sending output of SAP TCodes in Background

There has been requirement from users to get output of some report(s), mailed to them in excel format(so that they can adjust/formulate the data as they want). And mostly such reports have fixed periodicity, such as weekly, fortnight or monthly.

schedule

Continue Reading…

Program to Print FI/MM Documents having Note Attachment

There has been a requirement to generate a program for displaying all those FI Documents and Material Documents having a Note as an attachment. Following program can be used to get all FI and MM documents that a user have created with a Note.

Note Attachment 

Visual Basic Calling SAP – using BAPI Calls

BAPI is a useful resource provided by SAP though which we can communicate with SAP also from external envirnment / sources.  The following code shows the example of how to call BAPI externally, although SAP authentication for the user is done.

The example is a program developed in Visual Basic which I developed in my learning phase. It gives an idea about the hierarchy that needs to be followed when calling BAPI.

The example consists of three BAPI calls namely, for PO, GRN and Sales Order creation. The code is also available for download, but may require a bit tweaking.

Continue Reading…

Complete Reference to ABAP Basics

The following ebook is for the ABAP beginners giving an overview of basic topics in ABAP.

This reference guide focuses on following topics:

  • ENTERPRISE RESOURCE PLANNING (ERP)
  • SAP ADVANTAGES
  • Role of ABAPer
  • R/3 ARCHITECTURE COMPONENTS
  • WHAT IS CLIENT IN SAP
  • Developemt Obects -  REPOSITORY OBJECTS and  DATA DICTIONARY OBJECTS
  • ABAP GUI
  • DATA DICTIONARY
  • INTERNAL TABLES
  • SUBROUTINES
  • Reports
  • MODULE POOL PROGRAMMING
  • Menu Painter
  • BATCH DATA COMMUNICATION
  • LSMW ( Legacy System Migration Workbench)
  • SAPSCRIPTS
  • SMARTFORMS

  Continue Reading…

ABAP HR Program to list maintained Infotypes in SAP

Following ABAP HR program is used to display a list of all the Infotype structures maintaine in the SAP. The program generates an ALV Grid which lists all the infotypes in the system.

list_of_infotype_structure

Continue Reading…

Page 1 of 3123