Some code tips in using READ statement
Hi All I have prepared this document to be able to help ABAPers to find some easy fixed while they are using READ statement during coding .. I myself faced some issues and saw a lot of open posts for...
View ArticleHandling BOL/Genil in HCM portal applications
The business object layer (BOL) model is a programming concept that allows for uniform application development, decoupled from interface changes in the underlying business-object-specific application...
View ArticleALV list output exception column
Hi Experts, i was working on an report and i had to use the Exception function of the ALV list output. After reasearching i didn't find an proper document that summarizes the Exception groups and the...
View ArticleA Dirty Little Trick to use Check-boxes to Simulate Radio-buttons
The Problem: How many times has this happened to you: you’re sitting at your desk, quietly banging away at the keyboard, pumping out simple, elegant ABAP code, when you user sends you an e-mail saying...
View ArticleiXML Cheat Sheet
One of my maiden attempts at creating an excel output in SAP, was using the iXML method. I found plenty of resources across SCN and other sites which explained how to create an excel.But what I had...
View ArticleBOM alv report / change number solution
In this document ; Bill of material list report developed with alv concept to run all of materials which are listed by users. The most important trick is a solution of dublicate records in BOM tables...
View ArticlePurchasing history report
This document explains how can we create a purchasing history report with query. In standart MM Module , there are a lot of reports like ME80FN , ME2* , MB5S etc. They are used to get your...
View ArticleSAP ABAP Scanner
Hi, It's been long time working in SAP as technical consultant and I think everyday something new comes at the front of my eyes, which is new to me. Which I have already tried. Few months ago, I got an...
View ArticleHow to find the source code where the message is raised
Many a times we get some message in the bottom left of our screen while executing some custom program or TCode. This document will show you how to find the exact line of code which raises this message....
View ArticleFetching Linked DMS Documents of Materials
BACKGROUND IN BRIEF Documents can be assigned to a particular Material in Material Master and as well as in BOM.1) MM03– To View Documents in Material Master 2) CS03 – To View Documents in...
View ArticleWDA: Call WebDynpro application from ABAP code with parameter table type
In the main window of WD component define importing parameter (for example SYSTEM_ROLES with type IHTTPVAL (predefined type - string) Add the parameter to the WD application In the ABAP code (the...
View ArticleABAP - Host Command
Run Host Command from ABAP code. REPORT hostcommand. SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.SELECTION-SCREEN PUSHBUTTON /10(10) bt_calc USER-COMMAND calc.SELECTION-SCREEN...
View ArticleAuthorization Checks
Hello all, Here is the document to create authorization objects. It's all about how to customize and how to use the authorization objects at programming level. Creating Authorization Fields: Go to...
View ArticleCreate Label for Purchase Order Using AdobeForms
RequirementPrint PO label with only PO Number as a bar-code on the label. This would be used for plant to plant to stock transfer.Create AdobeForm Step 1 : Create Interface in Tcode: SFP. Add...
View ArticleHiding Keys in URL Parameters with ABAP
Hy everyone, i'm waiting for a transport request to get into the test system. so i thought i'll quickly write a document about hiding key informations in urls with abap. let's assume you have a web...
View ArticleCheck if component exists in structure and return value (Dynamic)
Hello, i would like to give a simple example how to use Runtime Type Services (RTTS) for components of a flat structure and assign the components of the structure to field symbols. This is often...
View ArticleAn Alphabetic Counter
Introduction An alphabetic counter is a counter that increments from A to B to C etc. through all letters of the alphabet. After Z the counter increases its length by one and increments from AA to AB...
View ArticleLeading Zero disappeared on some fields in Query.
Reproducing the IssueOne query created with table EKPO.Set EKPO-MATNR(Material) & EKPO-EBELP(item) as 'Output List'.Example: the data in table EKPO is MATNR=000111, EBELP=001.Execute query with...
View ArticleCustom TAB in ML81N (Entry Sheet) Header
Creation of Additional Tab in ML81N HeaderStep 1: Use CMOD and create a Project .Step 2: Click on “Enhancement Assignment” and add SRVEUSCRStep 3: Click on “Components”Step 4: Double Click on Table...
View ArticleCreate Custom TAB in ML81N (Entry Sheet) Line
Creation of Additional Tab in ML81N Line ItemStep 1: Use CMOD and create a Project .Step 2: Click on “Enhancement Assignment” and add SRVDETStep 3: Click on “Components”Step 4: Double Click on Table...
View Article