Difference Between BAPI and RFC

The main difference between BAPI and RFC and difference between BAPI and BDC-

 

 

BAPI is used only when it is available for the particular  transaction like Delivery Sales order. but BDC can be used for any transaction which have screen and fields.

BAPI is directly updated the database instead BDC run through the screen flow.

So BAPI can’t handle all the flow logic checking and enhancement put by programmer to faciliate the user requirement.
 

 

 

 

Difference between BAPI and BDC:

BAPI is a higher end usage for tranfering the data from SAP to non-SAP and vice-versa. for ex: if we are using VB application,where in that we want to connect to SAP and retireve the data,and then change and update the data in SAP for that purpose we can use that.

Apart from that, we can also use it for Uploading/Downloading the data from SAP to Non-SAP like BDC, provided we have an existing  BAPI for that. 

BAPI function modules will also do all the checks required for data integrity like Transactions for BDC.

There is one more advantage using BAPI instead of BDC. When we go for upgradation, there might be possibility to change the screen elements for transactions depending on the requirement. In that case, our BDC program may or may not work (depending on the screen changes they have made). Unless and until we prepare new BDC we cant use the old BDC program. But in BAPI, SAP promises that they are going to keep the old BAPI and for new functionality they will provide an upgraded BAPI. Until we write a new BAPI program, we can use the exisitng BAPI program.

 

Custom HR Infotypes Creation

There are requirements for an ABAP-HR programmer for creating custom HR infotypes.

The following PDF shows a walk-through of the steps required to set up custom Infotype from scratch.

The steps include creating new Infotype from PM01, to defining structure for it, to defining attributes, till dialog module assignment.

 

 

Download link: ABAP HR Infotype Creation

Complete Reference to ABAP Basics

The following ebook is for the ABAP beginners giving an overview of basic topics in ABAP.

This reference guide focuses on following topics:

  • ENTERPRISE RESOURCE PLANNING (ERP)
  • SAP ADVANTAGES
  • Role of ABAPer
  • R/3 ARCHITECTURE COMPONENTS
  • WHAT IS CLIENT IN SAP
  • Developemt Obects -  REPOSITORY OBJECTS and  DATA DICTIONARY OBJECTS
  • ABAP GUI
  • DATA DICTIONARY
  • INTERNAL TABLES
  • SUBROUTINES
  • Reports
  • MODULE POOL PROGRAMMING
  • Menu Painter
  • BATCH DATA COMMUNICATION
  • LSMW ( Legacy System Migration Workbench)
  • SAPSCRIPTS
  • SMARTFORMS

  Continue Reading…

Change assigned Package in SAP

ABAP prgrammer sometimes do workout on things locally (Technically, making the object Local in nature). After all the changes done to the object, the object is ready to transport to the next landscape for further testing.

Following steps defines how an ABAPer can reassign the Transport Package to the Object to be transported.

Continue Reading…

Transport Variants of an ABAP Program

There are requirements where you want to transport only program variants to your landscapes, instead of the whole program. You can do so by two ways:

1. Using a program named RSTRANSP.

2. Using Transaction SE38/SA38. Select Variants and click Display. Enter variant name. Goto Utilities -> Transport Request. It eventually goes to the same transaction i.e., RSTRANSP.  Continue Reading…

Page 7 of 21« First...56789...Last »