Quantcast
Channel: SCN : Blog List - ABAP Development
Browsing all 943 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Data not displayed in Excel in ALV report

In ALV report , when we click on Microsoft Excelbutton(CTRL+SHIFT+F7) as shown below, the excel sheet does not display data.           For data to appear here do the following :  1. Open Excel  2....

View Article


Image may be NSFW.
Clik here to view.

A handy RTTC tool

in one of my project the data type of the variable to hold service consumption result is not known in design time so I have to generate the data type dynamically via code, using ABAP RTTC( runtime type...

View Article


Image may be NSFW.
Clik here to view.

Various ways to debug a smartform

SFTRACE transaction.Hard break point.Debugging the actual function module generated on activation of smartforms.  1. SFTRACE transaction:    This transaction is useful when you need to debug in...

View Article

Image may be NSFW.
Clik here to view.

Change fieldcatalog and layout of ALV after its initial display.

We can do any number of modification to the fieldcatalog and layout of ALV grid even after it has been displayed on the screen, we can hide certain columns , change the column text, change the column...

View Article

Image may be NSFW.
Clik here to view.

Leave Module Pool screen when field is mandatory

Hello again! This one is for the newbies out there or for those experienced ones who are new to Module Pool programming or Dynpro I must say. Main and the foremost objective of this post is to leave...

View Article


Mock specific classes with mockA

With mockA it is quite easy to mock interfaces for unit tests. But it is also capable of creating mock objects that are not based only on interfaces, but specific classes. This blog post shows how it...

View Article

Image may be NSFW.
Clik here to view.

Code snippet to get the tag values from XML instead of using Transformation

Using Transformation , while retrieving values from XML can be sometimes difficult as most of the times exceptions are thrown from Transformation, which is difficult to understand. Using Object...

View Article

Image may be NSFW.
Clik here to view.

[SAP & Excel Integration] Part 1: Backup/export data from any SAP table to Excel

Hi SCN, I'm currently working on SAP integration with Excel and want to share my developments with the SCN Community.In this first part of the integration project I'll share my development to export...

View Article


Purchase order and Sales Document maintain in dialog mode

Sometimes the task is not to create order through Bapi, because in this case it will be saved,if not error occured. If you need to go into a standard transaction, passingwith some header information...

View Article


Image may be NSFW.
Clik here to view.

My favourite cryptic ST22 dumps around CL_GUI_ALV_TREE

Before you read this: I’ve spent some time debugging the things I describe here, I thoroughly searched SCN, I used my brain and although it can sound like one big low-brainer what I describe here, I...

View Article

Image may be NSFW.
Clik here to view.

How to add a view into favourite

the idea comes from Sougata Chatterjee's anwser in this thread:Suppose I need to add the maintenance view COMV_PARTNER_FCT to my favorite list. I expect once the entry in the favorite list is double...

View Article

Image may be NSFW.
Clik here to view.

Vendor classification in Vendor master

I was searching for reports which can give up a report of Vendor classification used in vendore master.This blog is about getting the report for vendor classification in the Vendor master data. Also...

View Article

Image may be NSFW.
Clik here to view.

Multipart Emails

One of our customers requested data from SAP sent to him via Email. The data was a table and the customer complained that the presentation wasn't a in tabular form. Well, that is how plain text emails...

View Article


Image may be NSFW.
Clik here to view.

Do you agree to write IF 1 = 0 in your production code

IMHO one purpose to write IF 1 = 0 code is to enable the cross reference of message raised in application code.  I have written several blogs to discuss the tip how to find the source code where the...

View Article

Image may be NSFW.
Clik here to view.

Creating the objects in different landscapes using Nugget files concept

To have same object in different systems we can achieve with help of nugget files. First you need to install the plugins. Once plugins are installed then a program with zsaplink is created in your...

View Article


Image may be NSFW.
Clik here to view.

A small debugger tip: Access static attribute in debugger

To illustrate the usage of this small tip, I write the following simple report. cl_singleton is a simple singleton class. The single instance has one string table with two entries filled. The...

View Article

Image may be NSFW.
Clik here to view.

Automatic setting lock when creating the purchase requisition. BADI...

Task essence:My task was to set Block ID and Text automatically while end-user created purchase requisition in ME51N.Why do it? Because, it should be approved in another SAP module (PSM-FM) and only...

View Article


Image may be NSFW.
Clik here to view.

General properties of ABAP Classes / Interfaces

Every day you create or change ABAP class in class builder. When you activate your change, have you noticed a series of objects with several "=" in the middle part of each?Technically speaking, an ABAP...

View Article

Image may be NSFW.
Clik here to view.

SAP OSS Notes Series - Applying SAP Notes

 After some time, we're back with "SAP OSS Notes Series" - a series of blog posts which aims to cover everything you need to know about SAP OSS Notes. If you haven't read the previous episodes, check...

View Article

Dumps are your friend. A different way of thinking.

When I talk with people about ABAP quality, the way they think of dumps always amazes me. Most people believe dumps are their worst enemy. Actually they are not. Actually you're lucky if your software...

View Article
Browsing all 943 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>