Thursday 31 October 2019

Bill of Material (BOM) – Components | Deletion steps

Introduction


In data migration testing, we can come across a situation where the records which are being created as per the file provided by the client, later on can be irrelevant from the functional point of view. So what to do now? Will we have to delete them manually? The answer to this problem lies in this blog post.

Wednesday 30 October 2019

Displaying Plant Maintenance Order Plan/Actual Line Item Wise

I had a client requirement where i was asked to show Plant Maintenance Order Plan/Actual (line item wise) side by side like below.

SAP ABAP Tutorial and Materials, SAP ABAP Study Materials, SAP ABAP Guides, SAP ABAP Certifications

Friday 25 October 2019

Re-process the IDOC ID

Introduction:


This blog post is about reprocess the IDOC, while getting an error to post the inbound IDOC.

In this blog post you can see how to find the issue or how to debug the existing error IDOC.

Wednesday 23 October 2019

ABAP to JSON with Custom Transformation

Introduction:


ABAP to JSON conversion is very common requirement now-a-days. This can be done easily using the standard class “/UI2/CL_JSON”. This is the best way to convert ABAP to JSON. There are already couples of blog post already there.

Monday 21 October 2019

File encryption and decryption using ABAP

This blog post is intended to give an overall idea on file encryption and decryption process using a key in ABAP. By end of this blog post, we will be able to learn ‘how to encrypt a text file or data using a key and in the end we will also able know “how to decrypt the encrypted data using the same key”.

You can also try this blog post if you are getting run time error “CX_SEC_SXML_ENCRYPT_ERROR” in class “CL_SEC_SXML_WRITER” during decryption of the data.

Friday 18 October 2019

A Neanderthal guide to configuration of Fiori my Inbox App with SAP business workflow

This article contains information about the configuration of Fiori my inbox App with workflow on a gateway central hub deployment.

In a standard work item that appears in your inbox, there is always a workflow id and step id assigned to it. This workflow id and step id when viewed in T-Code SWDD appears as a workflow activity with a task id assigned to the workflow activity. This task id should be noted as it will be later maintained in the scenario definition on the front end server.

Thursday 17 October 2019

AbapTurtle – make something pretty in abap (and possibly win prizes!)

Introduction


In order for our legacy to continue, we should be thinking about raising the next generation of ABAP programmers. In my experience, talent can easily be attracted by using shiny or colorful things.

Turtle graphics are a popular method of visual programming. If only we had something like this in ABAP!

Wednesday 16 October 2019

Alternative to “discover” Workflow executions coming from FIORI MyInbox and SBWP

In this Blog i’m gonna show you a alternative to a “common” question among the community: How do i know if a Workflow was executed coming from FIORI MyInbox or SBWP?

Well, there are a few ways to do that… This is one of them, a “coding” approach.

So let’s get to it!

Monday 14 October 2019

E-Mail Templates in S/4 HANA

E-Mail communication is very common business requirements in day-to-day life. SAP understands that and comes up with very interesting feature in S/4 HANA (cloud and on premise both) – E-Mail Templates. In this article, I will provide a little overview and a demo of E-Mail templates.

Friday 11 October 2019

Custom Search help Find technical information, Debug and Troubleshoot search help not returning any values

This blog discusses how you could add SAP custom Search help to standard search help and also troubleshoot why the SAP custom search help does not return any values even when user selected multiple values. It covers below topic areas:

i. Check how to find the technical name of the search help being used
ii. Add custom search help by modifying the standard search help
iii. Fix the issue for user being able to see any option returned when selecting multiple options in the search help window.

Thursday 10 October 2019

ABAP BAPI BO Class Code Generator – Create method

This blog post is a follow-up blog post of the blog post ABAP BAPI BO Class Generator.

The explaining of the Create method is done by example.
The example is creating a Sales Order – Create method based on BAPI BAPI_SALESORDER_CREATEFROMDAT2.

Wednesday 9 October 2019

Creation of Odata services for beginners

In this series of Odata and UI5 blog posts I will be sharing my development experiences, challenges and different tips and tricks which I learned through a lot of internet searches.

My only motto will be to save time and efforts of many developers who are searching for a solution for their problem, which has either already appeared/solved by someone else.

If you have any question/query regarding this blog post or anything related to Odata, ABAP, JAVA, Android or any other technology, post a comment I will try to answer it.

Monday 7 October 2019

CRUD Operations in Module Pool

Introduction


In the below example I am going to explain CRUD Operations using module pool programming.

Here, I have done CRUD operations by taking separate screens i.e., GET, CREATE, UPDATE and DELETE operations.

Saturday 5 October 2019

ABAP on Cloud Trial on SCP set up info

ABAP on cloud was in introduced in september 2018 with official name SAP Cloud Platform ABAP Environment. SAP Cloud Platform ABAP Environment is a platform as a service (PaaS) offering for the ABAP developer community running in the Cloud Foundry environment of SAP Cloud Platform.

ABAP developers can leverage their existing ABAP know-how to develop and run native ABAP applications, either as an extension to SAP software or as standalone applications.So, we  can combine latest ABAP on HANA with the innovations available in SAP Cloud Platform, like SAP Leonardo, and the benefits of a cloud-based deployment.

Friday 4 October 2019

AES Encryption in ABAP

Introduction


Recently we had a requirement in our organization to implement encryption for all data transmission happening from SAP to external systems to have an additional layer of security.  The requirement was to AES256 encrypt and Base64 Encode the information shared between the systems.The encryption/decryption was done with a common key which gets generated in SAP and shared through automated email from the system.

Wednesday 2 October 2019

How to insert test data into tables in SAP Cloud Platform, ABAP Environment

Since there aren’t any sophisticated techniques available yet I asked colleagues for ways how to upload test data into tables in SAP Cloud Platform, ABAP Environment and found the following workaround.

1. Create a report in the source (ERP) system that reads the data and creates a list output using “write” statements that contains appropriate Open SQL INSERT statements.

2. Create a table in the target system.

3. Create a class in the target system and start the import via F9.