Sunteți pe pagina 1din 3

1.Why BAPI need then BDC ?

BAPI"S provide the standard interface to other applications apart from SAP and within differnt vesions of SAP too. Also it is OOD bases so dosen"t depends on screen flow. BDC gets failed if we make changes for screen changes through IMG customization BAPI: is nothing but a business application programming interface is used to connce to the third party system to the sap system. But these all business objects are stored into the business object repository. all the tasks are done by background processing. Whereas in BDC these tasks are done by different kinds of process like forground/Background/ BAPI is mainly use for non-sap to sap access.BAPI is an interface so once we did the bapi on one client then no need to do it again on another client we have to access it only, we called it as a RFC.This means bapi is client independent.bapi direct update the db,thas the reason bapi is fast.BAPI has asynchronous updates BDC:it client specific. u can update synchoronous or asyschoronous.bdc run through the screen flow,so slow working.
2.How to debug an Idoc at runtime?
(or)

IDocs are processed by a function module, which are mapped against in table EDIFCT. When you process an IDoc with BD87 you can have a breakpoint in the function and it will stop. For outbound processing it depends on which program is sending the IDoc. For transactional data like purchase orders, the IDoc is created via RSNAST00 which in turn calls a function module assigned to the processing code (BD41).
3.In events start-of-selection is default event. When we have to use this event explicitly? Why?

The default event in the ABAP is Start-of-selection.We have to call explicitely this event when you are writing other than ths event?, that is when you write AT?SELECTION-SCREEN EVENTS OR INITIALIZATION EVENT etc,you have to explicitely mention the Start-of-selection event while you are writing the logic.

start-of-selection is an default event in ABAP language, it means this event is maintained by SAP defaultly. When we are using more than one processing block in our report, in such cases we are maintaing explicitly the event start-of-selection.
4.Difference between interactive and ALV Reports ?

Interactive reports display output in rows nd column where as alv is Abap List Viewer used to enhance the performance of reports.

5.What is difference between table control and alv grid in dialog programming in abap.

Alv Grid control is advanced for Table control. table control means we have to use in Dialg Programing But grid control is having features like ALV Programing.

Table control is a screen table to display table data in a screen. You can add table control to a screen in the Screen Painter. The typical flow-logic to process table control is: LOOP AT <internal table> CURSOR <scroll-var> WITH CONTROL <table-control> FROM <line1> TO <line2> . ...<actions>... ENDLOOP. ALV Grid is a SAP Technology to display a set of data on the output screen. For example if you have selected some SAP tables and processed these data in a way you want to display, then you can pass the internal table to the ALV Grid and it will be displayed on the result screen as ALV Grid. See example in SE16 result.
6.What are different ABAP/4 editors? What are the differences?

The 2 editors are se38 and se80 both have the abap editor in place. In se38 you can go create programs and view online reports and basically do all thedevelopmet of objects in this editor. In se80 ( object navigator) there are additional features such as creating packages,module pool , function group ,classes, programs ( where you can create ur programs) and BSP applications .
7.What is the difference between SAP memory and ABAP memory?

Data sending between main sessions using get parameter and set parameter is sap memory Data sending between internal sessions using import or export parameters is ABAP memory.

sap is a global memory where as abap is local memory. sap memory is available to the user during the entire terminal session. ABAP memory is available to the user during the external session.

8.What is the difference between normal report program and module pool program?

report is displaying in application serve as per normal requirement.it is used in transaction code -se38.technically speaking report is an executables program with 3 stages. DATA INPUT (select screen) DATA PROCESSING (select statement) DATA OUTPUT (defining output types in write,uline,skip,output fields) module pool program are dialog program dialog program are used to call transaction this are used in customizing of screens this are more flexible than reports.

Using reports wecan select data from database as per selectioncriter and process it and display it on screen. We can also write BDC program to upload or download data. The selection screen can be designed in which user gives his requirement. The limitation is that complex selection screen cannot be designed I case of modulepoolo the above can be achieved but we can create complex selection screens screens and output screens also.
(or)

reports-no automatic field checks,no need to write screen processing logic dialog-reverse of above

S-ar putea să vă placă și