Vous êtes sur la page 1sur 3

Interview questions :

1. Difference between list display and grid display.


Well good question go through this
While all four ALV tools have much functionality in common, critical differences
exist:
1 • More than one table: If you have more then one table to display, you may
position them on a Dynpro and use the ALVGrid. However, printing with
ALVGrid works on individual instances.
2 • Size of data fields: While the list-based ALVList can display only tables of
up to 90 columns, the control-based ALVGrid and ALVFullscreen have a
limitation of 128 characters per data cell.
3 • Cell merging: In the control-based ALVGrid and ALVFullscreen, cells of
sorted columns with the same value can be merged. This is not possible in the
list-based ALVList.
4 • Multiline rows: In the list-based ALVList, you can display a table row in up
to three rows at the screen. This is not possible in the control-based ALVGrid
and ALVFullscreen.
5 • Application interaction: ALV does not know anything about the rest of
your application aside from the data table. Interaction with ALV proceeds
via control events and method calls in case of the ALVGrid, via callbacks in
case of the other list tools. However, in the new ALV object model, eventing
is implemented in a unified way.
6 • Leading blanks: Leading blanks in cell values get lost in the control-based
ALVGrid and ALVFullscreen. In general, optimization does not take leading
blanks into account.
Using SAP List Viewer (ALV) for List Display 5
2. Difference between match code and search help.
Both are same match code are obsolete
Search help can be attached to field or dataelement
Through program we can add search help for parameters using match code
Parameters : p_lifnr like lfa1-lifnr match code object obj
Doble click on obj it will open searchhelp creation window
3. Flow of MM.
MRP Requirements (demand)-> Purchase Requisition (PR)-> Requisition for Quotation
(RFQ) -> Vendor selection (Supplier) ->Purchase Order (PO)-> Goods Receipt
Inspections (Quality Inspection) -> Inventory management -> Invoice Processing /
Invoice Verification
4. If there are 100 records 50 are updated and remaining is yet to update. What do u do if
the system crashes in the middle of BDC (Session and Call transaction)
Process the session and analyze . remove the updated records from flatfile and
rerun the session
5. Where does the data validation happen in direct input method and batch input method.
Through BDCDATA structure
6. Which is efficient session method or call transaction and why?
We have to use these two methods according to our requirement.both are efficient

7 Write the code to handle the Table control for session and call transaction.
For this u have to call pedefined subroutine
Perform bdc_field using bdc_okcode ‘=p+’.
8 Write the code to jump from 1st interactive list to 4th interactive list and to come back
from 4 th to 1 list.
REPORT demo_list_interactive_2 .

START-OF-SELECTION.

WRITE: 'Basic List, SY-LSIND =', sy-lsind.

AT LINE-SELECTION.

IF sy-lsind = 3.
sy-lsind = 0.
ENDIF.

WRITE: 'Secondary List, SY-LSIND =', sy-lsind.

9 what is the purpose of event.


To execute the block of code according to user interaction
10 what are procedure keys in MM and SD.
11 Explain the Conversion-routines with a e.g.!.
To change from display format to sap format vice versa
To suppress leading zeroes and to add leading zeroes we have to work with the
following function modules
Function modules are conversion_exit_alpha_input.
Conversion_exit_alpha_output
12 Explain the code how to switch between multiple forms write the code.
Use FMs START_FORM and END_FORM to open different "layout sets" (called as 'forms'
sometimes).

Vous aimerez peut-être aussi