SAP renaming Field Names/Keywords using CMOD

SAP allows to modify its Keywords/Field names using the Customer Modification Transaction(CMOD).

To adjust/change any keyword or DDIC field name, navigate to CMOD and browse to the option Goto->Text Enhacements->Keywords->Change.

cmod1

Continue Reading…

Embed a picture/image to body of an email in SAP

There have been requirements to embed an image/picture(company logo, product images, etc.) in the email generated from SAP.

Following code helps to embed the same in mail. Here, we are assuming that we are successful in sending a text based email via ABAP. All you really need to do is a little HTML.

Embed Image

 First, the image should be located on a server which can be hit threw the internet(if this email is to go outside your network). Next, use HTML to build your email body.

  Continue Reading…

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…

Mass Maintenance of Tcode Variants

Many a times there are business scenarios wherein there is a possibility of migration to a new entity, for example if your organization decides to go for the implementation of a standard chart of account for the existing company codes, new company codes might be created. In such cases when the company code changes we also have to ensure that in all the Report variants the new company code needs to be updated. In case the report numbers cross hundreds it would be a painstaking process to change each and every variant. (Same case for background jobs too)

Example Scenario

Now?  There was a business change and company code IN01 would no longer be used and will be replaced with IN02. The ABAP and BASIS teams are entrusted with the responsibility of creating new variants/change the existing variants.

variant

 

 

Continue Reading…

Upload / Download Data from SAP Tables

There have been some cases where we, as an ABAP programmer, want to take SAP table data backup. Specially for the case where Basis Team refuses to get it back-up and restore the data for us.

There have been some codes available on net where data is backed-up but not restored back to SAP.

backup

It is basically Dynamic table export / import facility.

Continue Reading…

Page 1 of 41234