sapaabap intervw.docx

7
What is the difference between RFC and BAPI Ans1>BAPI: its a remote enabled function modules available for public to interact with SAP RFC: Its a protocol used to call a function module from SAP system A to SAP system B. BAPI:Outside world can interact with SAP thru BAPI. RFC: Outside world cannot. Ans2> RFC is the protocol used by SAP for remote communication, that is, for communications between remote (independent) systems. BAPI are RFC enabled function modules. The difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non- SAP) such as VB or JAVA. In this case you only specify the business object and its method from external system in BAPI there is no direct system call. While RFC are direct system call. When top of the page event is triggered? Top-of-page event occurs when it notices the first u-line or write statement in a program. top-of-page gets triggered when it see first write statement or new page TOP-OF-PAGE is a list processing event which is executed before the first data is output on a new page. i.e. first write: statement Describe interactive report classical report and ALVAlso what is the difference in them and why Classical Report : It is nothing but getting data from one or more tables and displays it on LPS formated or unformated. It is having only one screens for the output. It has not any sub list. Events like that.

Transcript of sapaabap intervw.docx

What is the difference between RFC and BAPI

Ans1>BAPI: its a remote enabled function modules available for public to interact with SAPRFC: Its a protocol used to call a function module from SAP system A to SAP system B.BAPI:Outside world can interact with SAP thru BAPI.RFC: Outside world cannot.

Ans2> RFC is the protocol used by SAP for remote communication, that is, for communications between remote (independent) systems.

BAPI are RFC enabled function modules. The difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA.

In this case you only specify the business object and its method from external system in BAPI there is no direct system call. While RFC are direct system call.

When top of the page event is triggered?

Top-of-page event occurs when it notices the first u-line or write statement in a program.

top-of-page gets triggered when it see first write statement or new page

TOP-OF-PAGE is a list processing event which is executed before the first data is output on a new page. i.e. first write: statement

Describe interactive report classical report and ALVAlso what is the difference in them and why

Classical Report : It is nothing but getting data from one or more tables and displays it on LPS formated or unformated. It is having only one screens for the output. It has not any sub list.Events like that.InitilizationsAt selection-screenStart-of-selectionsTop-of-pageEnd-of-pageEnd-of-selections

Interactive Report : Is nothing but communications between one report data to another. its having one primary list and 20 secondary list for the outputs.Events like thatAt line selectionsAt user-command

At pt Top-of-page-during line-selections.

ALV Report : Its stands for Application line viewer, it is used for analysis purpose, it has no limitations characters for the printing. These are two types list and grid.

Ans2> Classical report is used to display the entire information in a single list. Eg: sales order header details, item details are displayed in a single list.

Interactive report is used to displayed the summarised information in a basic list and detailed information in secondary list. we have only one basic list and 9 secondary lists are thereEg:college name, person name in a basic list and college address, person address, person family details, education in secondary list.

ALV: ALV reports are used to display the output with predefined functionalities like sorting the list in ascending order, descending order, down the list, excel sheet, totals etc.

Have you used performance tuning? What major steps will you use for these?

The Main Transaction Code Involved in Performance Tuning is SE30-Run Time Analysis and ST05-SQL Tracer.

Ans2>

What is Table Maintenance Generator?

About Table maintenance generator:If your table maintenance generate end user easily enter data for the table.there are two types in it.1. one-step2. two-stepif you do one-step processor what are data in the table and what you enter in the table you see both values.if you go two-step you will see separately what are the values in table and what are you given values in table.

What is the difference between SY-TABIX and SY-INDEX

Sy-tabix: NO of record in the internal tableSy-index: index number of record which is currently executed.eg: itab contains values 1 to 10.loop at itab into wa_itab.write: wa_itab-field1.

endloop.suppose if the loop is getting executed for the 3rd time, then the sy-index will store the value as 3.

read table itab into wa_itab where field1 = 3.after execution of this statement, the value of sy-index will be 3

Ans2>

sy-tabix : it is used in internal table loops.it gets the no.of records in the internal table.sy-index : it is used in simple loops like(do......enddo).it gets the particular record number.

What is RFC..?

A Remote Function Call (RFC)is the call or remote execution of a Remote Function Module in an external system. In the SAP system, these functions are provided by the RFC interface system. The RFC interface system enables function calls between two SAP systems, or between a SAP system and an external system.

What is the transaction code to check how many times the program executed

The T-code is to check how many times reports or other transaction has been exevuted is ' STAT ' .

Have you worked with field groups? Have you used Import/Export statements?

Internal tables are used to hold the records which have the fixed line structures.Where as Extract Datasets are used to hold the records which have different line structures. These records are defined by FieldGroups. FieldGroups are used to combine several fields under one name.But FieldGroup does not reserve memory to the fields but holds a pointer to the fields.

What are the advantages and disadvantages of using views in ABAP porgramming ?

advantages:

view is used to retrieve the data very fastly from the database tables

*memory wastage is reduced

*faster than joins to retrieve the data from database tables

disadvantages:

view is not a container,it will not hold the data

*view memory is not permanent memory

In ALV GRID is it possible to update database?

I think ALV is a tool used to display the data for end-user and sap doesn't recommend for update the changed data from ALV to back db

What is lock Object ?

Lock Object is a relationship defined in the Data Dictionary between a main table and possible secondary tables

What is difference between value table and check table?

As i know when we define foriegn key in an value table then its is called as check table.but i dont have clear idea about value table and chech table i have confusion in my mind.

What is difference between SE01, SE09, SE10?

SE01 - Transport Request Organizer

SE09 - Workbench Request Organizer

SE10 - Customizing Request Organizer

Can we create a field without data element ?

Yes , it possible first you have to select predefined component in table.In this condition no need to defined data element , directly you can defined domain for field .

User Exit and BADI Questions

What are enhancements?Q. what are user-exits?Q. what is badi?Q. what is the difference between user-exit & BADIs?Q. what is the difference between user-exit & customer-exit?Q. How do you get functional specs when you are assigned some object? (specs through email..??)Q. How do you write technical specs?Q. How do you write UTP?(unit test plan)

Which transaction code can I used to analyze the performance of ABAP program.

SE30 runtime analysis ST05 Performace trace

What is a collect statement? How is it different from append?

APPEND:

APPEND statement is used to append(insert) a record at the end of an internal table.here it will not check weather the record is existed with the same field values or not.

Syntax: APPEND wa TO itab.

COLLECT:

COLLECT statement is used to add the numeric field values of an existing record(if all the other field values are equal to the existing record) or inserting a new rcord(if any one of the other field value is different).

Syntax: COLLECT wa INTO itab.

How to pass strings as parametres in methods of ABAP Object Class?

In reports how to upload a logo?

Hi

Please check the sample program

RSDEMO_CUSTOM_CONTROL

There are two ways of doing it, one : Use Graphics Admin SE78. Use this for uploading BMP, JPG, etc... two : In SE38 run the program RSTXLDMC. Use this to upload Photoshop Files (high Clarity)

Can I put last or middle field as a key field?

No we can't . It is not allowed and during syntax check one get's an error.

NACE Tcode...

Explain use of NACE tcode and how to add smartforms using NACE??? First you run nace tcode.and select which application you want add that smartforms that module you select it.click output types on tool bar.then select the Output types that smartform .(ex: fax,email,etc....)then double click processing routines.New window open.In that window which is your output medium there row you see the column name pdf/Smartformthere you assign your smartform.

then save it.If you run where you are see the smartform in particular tcode

Pretty Printer

Which component gives you better visibility?

What is the significance of Material Type?

Material type tells you whether a material is a Finished good, semi-finished, trading good, beverages , food etc. Like this there are nearly 40 material types provided by SAP , you can find them in MARA table -> F4 on MTART field.

What does the extract statement do in ABAP program? Extract statement is a shortform for EXTRACT HEADER. It is used to extract dataset.When Extract statement is encountered then the System creates the extract dataset and adds the first extracted record.