Learn SAP — Batch Data Communication BDC

In this post let us see how to use BDC on a program or function module to input from a text file or excel in batch mode. If you have more data to input for transaction then you need to create a background job to batch process to load the data. Manually entering takes lot of time. That is where the BDC plays its role.  I am just adding this with a example so that it will be much easier for a beginner to get a idea.
Continue reading

Advertisements

Learn SAP — Parallel Processing in ABAP programing

In this post let us see how we can write a parallel processing report. I explained here and the code is at end of the post.

 The usual way of programming is serial processing. The program executes one line at a time and if you call a function that will wait until the control returns from the function and executes the rest of the code. In some case you might be calling the same function again and again for different set of master data. You know that there wont be any conflict between the data and you would like to execute the same function multiple times with different set of data. We need to do this in parallel processing this way the process will be completed much faster with multiple processes in different servers. Let us see how we can achieve this with an example.

Continue reading

Learn SAP — IDOC Configuration

If you want to know the IDOC basic (create , execute and select the list) then Click Here.

In this post let us see how to configure a new IDOC message type in the SAP system.

The Main SAP Transaction for IDOC processing is WEDI. AS soon as you go there you will see all the t-code associated with the IDOC will appear. This contains all the IDOC t-codes  from creating to processing to configuration.

Here we are going to look in to a business case and see how we can configure the IDOC and how to process the IDOC.  We have a Text file coming from a 3rd party with customer first name, last name and Age.
Continue reading

Learn SAP — IDOC basic

In this post let us see about IDOC.

What is a IDOC?

    IDOC is a Intermediate DOCument[IDOC] that is used in SAP. The best way to import data from Any system to SAP is thru IDOC. Once the data is in the IDOC format SAP can read the information and store the data in that as IDOC which it stores in the database and will be available for processing and posting the data in the SAP system.
Continue reading