Tag Archives: ABAP

How to Download an iDoc to XML File (3 Different Techniques)

If you want to download iDocs as files, there are several standard SAP options. But, if you want to convert an iDoc in your SAP system as an XML, capabilities and limited. You may need to download an iDoc created in the system in XML format for multiple reasons. You may want to communicate iDoc […]

How to Transport LSMW Objects?

Lets look how to transport LSMW Objects between clients. LSMW (Legacy System Migration Workbench) is a tool that supports legacy system data migration to SAP systems. Legacy data can be imported, transformed and saved to SAP via iDocs, BAPIs, Batch Data Input (BDC) or as Direct Input. This article discuss ways you can transport LSMW […]

Create LSMW with BDC Recording Example

LSMW which stands for Legacy System Migration Workbench supports conversion of legacy system data in a orderly and convenient way. Tool allows you to import converted legacy data to SAP. There are several ways you can import legacy data to SAP using LSMW. Below are few common methods used to migrate legacy data to SAP […]

Send Emails Using Object Oriented Method – CL_BCS

In newer versions of SAP (newer than 6.10 release) best practice is to send emails using BCS interface instead of API1 interface. BCS interface is easier to use than the older API1 interface. Plus you are not required to fill the packing list which makes it less complicated. These function modules can be used to […]

XML Transformation Example with XSLT_TOOL

With ever changing world of integration one language that has stood the test of time is XML. Due to capabilities of XML and large number of system integration requirments, its impertinent for technical consultants to understand the XML transformation capabilities in SAP.  SAP transformations are used to filter and recognize XML data. SAP transformations can […]

Find SAP Query Detail from Program Name

SAP queries automatically creates a ABAP program when they are saved and generated. These auto generated programs starts with AQ. If you come across a report transaction with a long program name similar to AQ====****====**** this could be a program generated by a SAP query. Name should be in the following format: First 2 letters of report […]

Troubleshoot SAP Query Short Dumps after Upgrade – Error When Importing Object

After a upgrade, sometime SAP query programs assigned to transaction codes terminates with runtime errors. Few errors I have come across are, Error when importing object FIELDCAT. The generated program does not exists. The generated program mismatches the query definition. Short dump of the type IMPORT_ALIGNMENT_MISMATCH in program SAPLAQRUNT. Some of the errors like missing program names […]

Enhance Standard Search Help Example – Append Search Help

Hi All, SAP standard search help have capabilities of displaying all possible input values for a selection field. This is a standard functionality in all verticals of SAP for standard fields. In addition standard collective search helps let the user select values using multiple paths. For example customer numbers could be filtered either with first […]

Step by Step Example on Events in Table Maintenance

Table maintenance is the standard recommended method which allows contents of SAP tables to be accessed or modified. Standard table maintenance views provide basic read/write functionalists to end user. Users could perform table entry modification functions such as INSERT, UPDATE, and DELETE to underline database table data using the table maintenance dialog. Table maintenance views are […]

Bar Code Printing with Smatforms – SAP ABAP

This is an step by step guide on how to print bar codes in SAP using smartforms. This is the new procedure of printing bar codes without using any special hardware in the printer. In the traditional bar code printing in SAP, special SIMM modules had to be used in the printer and can only […]