Monday, June 4, 2018

SAP-ABAP ALL T-CODE LIST



SAP-ABAP  T-CODE LIST DETAILS
  • OSS1 SAP Online Service System
  • OY19 Compare Tables
  • S001 ABAP Development Workbench
  • S002 System Administration.
  • SA38 Execute a program.
  • SCAT Computer Aided Test Tool
  • SCU0 Compare Tables
  • SE01 Old Transport & Corrections screen
  • SE09 Workbench Organizer
  • SE10 Customizing Organizer
  • SE10 Customizing organizer – requests for user (To release for transport –
    enter user name, press Enter. Select changed object and select ReleaseSE10 New
    Transport & Correction screen
  • SE11 ABAP/4 Dictionary Maintenance SE12 ABAP/4 Dictionary Display SE13
    Maintain Technical Settings (Tables)
  • SE11 ABAP/4 Dictionary.
  • SE12 Dictionary: Initial Screen – enter object name
  • SE13 Access tables in ABAP/4 Dictionary.
  • SE14 ABAP/4 Dictionary: Database Utility.
  • SE14 Utilities for Dictionary Tables
  • SE15 ABAP/4 Repository Information System
  • SE16 Data Browser
  • SE16 Data Browser: Initial Screen.
  • SE16 Display table contents
  • SE17 General Table Display
  • SE30 ABAP/4 Runtime Analysis
  • SE30 ABAP/4 Runtime Analysis: Initial Screen.
  • SE30 Run Time Analysis (press Tips and Tricks button for good stuff)
  • SE32 ABAP/4 Text Element Maintenance
  • SE35 ABAP/4 Dialog Modules
  • SE36 ABAP/4: Logical Databases
  • SE37 ABAP/4 Function Library.
  • SE37 ABAP/4 Function Modules
  • SE38 ABAP Editor
  • SE38 ABAP/4 Program Development
  • SE39 Splitscreen Editor: Program Compare
  • SE41 Menu Painter
  • SE43 Maintain Area Menu
  • SE51 Screen Painter
  • SE51 Screen Painter: Initial Screen.
  • SE54 Generate View Maintenance Module
  • SE61 R/3 Documentation
  • SE62 Industry utilities
  • SE63 Translate Short/Long Text.
  • SE63 Translation
  • SE64 Terminology
  • SE65 R/3 documents. Short text statistics SE66 R/3 Documentation Statistics
    (Test!)
  • SE68 Translation Administration
  • SE71 SAPscript layout set
  • SE71 SAPscript Layouts Create/Change
  • SE72 SAPscript styles
  • SE73 SAPscript font maintenance (revised)
  • SE74 SAPscript format conversion
  • SE75 SAPscript Settings
  • SE76 SAPscript Translation Layout Sets
  • SE77 SAPscript Translation Styles
  • SE80 ABAP/4 Development Workbench
  • SE80 Repository Browser: Initial Screen.
  • SE81 SAP Application Hierarchy
  • SE82 Customer Application Hierarchy
  • SE84 ABAP/4 Repository Information System
  • SE85 ABAP/4 Dictionary Information System
  • SE86 ABAP/4 Repository Information System
  • SE87 Data Modeler Information System
  • SE88 Development Coordination Info System
  • SE91 Maintain Messages
  • SE92 Maintain system log messages
  • SE93 Maintain Transaction Codes
  • SE93 Maintain Transaction.
  • SEU Object Browser
  • SMARTFORMS






T-CODES OF  SD
VA01 - Create Sales Order
VA02 - Change Sales Order
VA03 - Display Sales Order

T-CODES OF MM 
MM01 - Create MATERIAL Order
MM02 - Change MATERIAL Order
MM03 - Display MATERIAL Order



T-CODES OF PURCHASE 
ME21N - Create PURCHASE Order
ME22N - Change PURCHASE Order
ME23N - Display PURCHASE Order


T-CODES OF VENDOR 
XK01 - Create VENDOR Order
XK02 - Change VENDOR Order
XK03 - Display VENDOR Order

T-CODES OF CUSTOMER 
XD01 - Create CUSTOMER Order
XD02 - Change CUSTOMER Order
XD03 - Display CUSTOMER Order










T-CODES OF  SD
VA01 - Create Sales Order
VA02 - Change Sales Order
VA03 - Display Sales Order

VOV8 - Document Type Maintenance
VA05 - List of Sales Orders
VOV7 - Maintain Item Categories
VA21 - Create Quotation
VA41 - Create Contract
V_V2 - Updating Sales Documents by Material
VA00 - Initial Sales Menu
VOV4 - Table TVEPZ Assign  Sched.Line Cat.
VA11 - Create Inquiry
VA22 - Change Quotation
VOV6 - Maintain Schedule Line Categories
VF05 - List Billing Documents
..... - ..................................



 TCODES OF  SD-BILLING
VF01 - Create Billing Document
VF02 - Change Billing Document
VF04 - Maintain Billing Due List
VF03 - Display Billing Document
VTFL - Delivery to bill copying control
VF11 - Cancel Billing Document
VTFA - Order to bill copying control
VFX3 - List Blocked Billing Documents
VTAA - Order to order copying control
VTLA - Order to delivery copying control
VTAF - Bill. doc. to order copying control
VF06 - Batch billing
VF21 - Create Invoice List
VF44 - Revenue Recognition: Worklist
VTFF - Bill to bill copying control
..... - ..................................


TCODES SD- BASIC FUNCTIONS
NACE - WFMC: Initial Customizing Screen
VBKD - Bonus Buy: Condition Types
VOFM - Configuration for Reqs, Formulae
VARA - Archiving
OVA8 - Automatic Credit Checks
VKM3 - Sales Documents
CO09 - Availability Overview
VKM1 - Blocked SD Documents
VORA - Archiving Control for Sales Doc.
VF31 - Output from Billing Documents
OVZ9 - SD Cust. Control Availability Check
VKM4 - SD Documents
CO06 - Backorder Processing
VV31 - Create Output : Billing
VOTXN - Maintain Text Customizing
..... - ..................................








Inventory Management tcodes MM-IM
MIGO - Goods Movement
MB1B - Transfer Posting
MB51 - Material Doc. List
MB1A - Goods Withdrawal
MB1C - Other Goods Receipts
MB5B - Stocks for Posting Date
MB52 - List of Warehouse Stocks on Hand
MB01 - Post Goods Receipt for PO
MB31 - Goods Receipt for Production Order
OMJJ - Customizing: New Movement Types
MB21 - Create Reservation
MBST - Cancel Material Document
MB90 - Output Processing for Mat. Documents
MB5L - List of Stock Values: Balances
MB5T - Stock in transit CC
..... - ..................................


Purchasing tcodes MM-PUR
ME21N - Create Purchase Order
ME22N - Change Purchase Order
ME23N - Display Purchase Order
ME51N - Create Purchase Requisition
ME21 - Create Purchase Order
ME2N - Purchase Orders by PO Number
ME2O - SC Stock Monitoring (Vendor)
ME11 - Create Purchasing Info Record
ME52N - Change Purchase Requisition
ME9F - Message Output: Purchase Orders
ME59N - Automatic generation of POs
ME29N - Release purchase order
ME28 - Release Purchase Order
ME22 - Change Purchase Order
ME59 - Automatic Generation of POs
..... - ..................................

Invoice Verification tcodes MM-IV
MIRO - Enter Incoming Invoice
MR21 - Price Change
MIR7 - Park Invoice
MRKO - Settle Consignment/Pipeline Liabs.
MR8M - Cancel Invoice Document
MRBR - Release Blocked Invoices
OMRI - C MM-IV Item Amount Check Parameters
MRRL - Evaluated Receipt Settlement
MIR4 - Call MIRO - Change Status
MIRA - Fast Invoice Entry
MIR6 - Invoice Overview
OMR6 - Tolerance limits: Inv.Verification
MRIS - Settle Invoicing Plan
MIR5 - Display List of Invoice Documents
MR22 - Material Debit/Credit
..... - ..................................

External Services tcodes MM-SRV
ML81N - Service Entry Sheet
AC03 - Service Master
AC10 - Class Hierarchy with Services
AC01 - Service Master
ML81 - Maintain Service Entry Sheet
ML85 - Collective Release of Entry Sheets
ME2S - Services per Purchase Order
ML84 - List of Service Entry Sheets
AC06 - List Display: Service Master
ML33 - Create Vendor Conditions
ML83 - Message Processing: Service Entry
AC02 - Service Master
ML45 - Display Service Conditions
ML91 - Stand. Values f. Ext.Services Mgmt.
ML10 - Create Model Service Specifications
..... - ..................................

Consumption-Based Planning (See Also PP-MRP) tcodes MM-CBP
WRP1 - Replenishment: Procurement
MPR1 - Forecast Adopted from External Data
OWD1 - Maintain rounding profiles
MPR2 - Deletion of Forecast Data
WFCS01 - Run Sales Forecast
WVM2 - Transfer stock/sales figures
WR60 - Replenishment: Parameter Overview
WVM3 - Display material data transferred
WAHD2 - Change Alternative Historical Data
WVM7 - Assignment of PO Data to Vendor
WFCS02 - Delete Sales Forecast
WVM1 - Execute customer replenishment
WRMO - Replenishment monitor
WAHD3 - Display Alternative Historical Data
WVM4 - Display PROACT data received
..... - ..................................

Electronic Data Interchange tcodes MM-EDI
PRICAT - PRICAT: Maintain mat. as per catalog
PRICATCUS1 - Pricat: Customizing for V_pricat_001
PRICATCUS2 - Pricat: Customizing for V_pricat_002
PRICATCUS3 - Pricat: Customizing for V_Pricat_003
PRICATLOG - PRICAT: Display application log

MM General tcodes
MIGO - Goods Movement
MIRO - Enter Incoming Invoice
ME21N - Create Purchase Order
ME22N - Change Purchase Order
MB1B - Transfer Posting
MB51 - Material Doc. List
ME23N - Display Purchase Order
MB1A - Goods Withdrawal
MB1C - Other Goods Receipts
ME51N - Create Purchase Requisition
MB5B - Stocks for Posting Date
MR21 - Price Change
ML81N - Service Entry Sheet
MB52 - List of Warehouse Stocks on Hand
MB01 - Post Goods Receipt for PO
..... - ..................................
Full list of SAP MM General tcodes

Additional Material Functions tcodes SD-MD-MM-CS
MATERIAL_INFO - Material Information
WSD_CBP - Close-By Plants Application
WSD_KEYWORD - Keyword maintenance


ON CHANGE OF USE IN SAP ABAP.


2. ON CHANGE OF USE IN SAP ABAP.
REPORT  zctrlbrk_on_change NO STANDARD PAGE HEADING.

TYPESBEGIN OF ty_tab,
        werks 
TYPE mard-werks,
        matnr 
TYPE mard-matnr,
        lgort 
TYPE mard-lgort,
       
END OF ty_tab.

DATA: wtab TYPE ty_tab,
      itab 
TYPE TABLE OF ty_tab.

START-OF-SELECTION.

  
SELECT matnr werks lgort
    
UP TO 25 ROWS FROM mard
    
INTO CORRESPONDING FIELDS OF TABLE itab.

  
IF sy-subrc = 0.
    
SORT itab BY werks.
    
WRITE: / 'Material'20 'Plant'27 'Storage Location'.
    
ULINE.

    
LOOP AT itab INTO wtab.
      
WRITE: / wtab-matnr, 20 wtab-werks, 27 wtab-lgort.

      
ON CHANGE OF wtab-werks.
        
WRITE'=== On Change Of triggers at plant - ', wtab-werks.
      
ENDON.
    
ENDLOOP.
  
ENDIF.

AMOUNT CONVERT IN WORD IN SAP ABAP.


1. AMOUNT CONVERT IN WORD IN SAP ABAP.
REPORT ZSWIN_TO_WO.

PARAMETERSpi_amt TYPE pc207-betrg.
DATA:       vi_amt TYPE char100.

CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
  
EXPORTING
    amt_in_num         
pi_amt
  
IMPORTING
    amt_in_words       
vi_amt
  
EXCEPTIONS
    data_type_mismatch 
1
    
OTHERS             2.

CALL FUNCTION 'ISP_CONVERT_FIRSTCHARS_TOUPPER'
  
EXPORTING
    input_string  
vi_amt
    separators    
' '
  
IMPORTING
    output_string 
vi_amt.

WRITE'Amount Convert in Words: 'vi_amt.

Friday, June 1, 2018

SAP ABAP Interview Questions & Answers.

SAP ABAP Interview Questions & Answers.

1. What is the typical structure of an ABAP program? 
2. What are field symbols and field groups.? Have you used "component 
idx of structure" clause with field groups? 
3. What should be the approach for writing a BDC program? 
4. What is a batch input session? 
5. What is the alternative to batch input session? 
6. A situation: An ABAP program creates a batch input session. We need to submit 
the program and the batch session in background. 
How to do it? 
7. What is the difference between a pool table and a transparent table and how they
 are stored at the database level? 
8. What are the problems in processing batch input sessions? How is batch input
 process different from processing on line? 
9. What do you define in the domain and data element? 
10. What are the different types of data dictionary objects? 
11. How many types of tables exist and what are they in data dictionary? 
12. What is the step-by-step process to create a table in data dictionary? 
13. Can a transparent table exist in data dictionary but not in the database physically? 
14. What are the domains and data elements? 
15. Can you create a table with fields not referring to data elements? 
16. What is the advantage of structures? How do you use them in the ABAP programs? 
17. What does an extract statement do in the ABAP program? 
18. What is a collect statement? How is it different from append? 
19. What is open sql vs native sql? 
20. What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it? 
21. What is the meaning of ABAP editor integrated with ABAP data dictionary? 
22. What are the events in ABAP language? 
23. What is an interactive report? What is the obvious diff of such report compared 
with classical type reports? 
24. What is a drill down report? 
25. How do you write a function module in SAP? Describe. 
26. What are the exceptions in function module? 
27. What is a function group? 
28. How are the date abd time field values stored in SAP? 
29. What are the fields in a BDC_Tab Table? 
30. Name a few data dictionary objects? 
31. What happens when a table is activated in DD? 
32. What is a check table and what is a value table? 
33. What are match codes? Describe? 
34. What transactions do you use for data analysis? 
35. What is table maintenance generator? 
36. What are ranges? What are number ranges? 
37. What are select options and what is the diff from parameters? 
38. How do you validate the selection criteria of a report? And how do you display  
initial values in a selection screen? 
39. What are selection texts?
40. What is CTS and what do you know about it? 
41. When a program is created and need to be transported to prodn does selection
 texts always go with it? if not how do you make sure?
 Can you change the CTS entries? How do you do it? 
42. What is the client concept in SAP? What is the meaning of client independent? 
43. Are programs client dependent? 
44. Name a few system global variables you can use in ABAP programs? 
45. What are internal tables? How do you get the number of lines in an internal table? 
How to use a specific number occurs statement? 
46. How do you take care of performance issues in your ABAP programs? 
47. What are datasets? 
48. How to find the return code of a stmt in ABAP programs? 
49. What are interface/conversion programs in SAP? 
50. Have you used SAP supplied programs to load master data? 



1. What are the techniques involved in using SAP supplied programs? 
Do you prefer to write your own programs to load master data? 
Why? 

2. What are logical databases? What are the advantages/disadvantages of logical 
databases? 
3. What specific statements do you using when writing a drill down report? 
4. What are different tools to report data in SAP? What all have you used? 
5. What are the advantages and disadvantages of ABAP query tool? 
6. What are the functional areas? User groups? How does ABAP query 
work in relation to these? 
7. Is a logical database a requirement/must to write an ABAP query? 
8. What is the structure of a BDC sessions. 
9. What are Change header/detail tables? Have you used them? 
10. What do you do when the system crashes in the middle of a BDC batch session? 
11. What do you do with errors in BDC batch sessions? 
12. How do you set up background jobs in SAP? What are the steps?
 What are the event driven batch jobs? 
13. Is it possible to run host command from SAP environment? How do you run? 
14. What kind of financial periods exist in SAP? What is the relevant table for that? 
15. Does SAP handle multiple currencies? Multiple languages? 
16. What is a currency factoring technique? 
17. How do you document ABAP programs? Do you use program
 documentation menu 
option? 
18. What is SAPscript and layout set? 
19. What are the ABAP commands that link to a layout set? 
20. What is output determination?



1. What are Data elements and Domain?

 2. What is check table? What is the difference between check table
and value table?
 3. If we have more than 100 records in one internal table how or
which is the method to transfer or copy to another internal table.
 4. > "> For all entries> "> Uses?
 5. > "> At new> "> method when it triggers?
 6. What is the difference between > '> STOP> '> and > '> EXIT> '> ?
 7. Where do you use data elements in a table?
 8. What does a reference field mean?
 9. Events in classical report?
 10. Debugging, how many are there? What is meant by Stopwatch?
 11. How do you specify ranges values globally in ABAP dictionary?
 12. What is the difference/means what between session method and call
transaction methods?
 13. Do you know about direct input method? If yes how do you proceed?
 14. What is the way to call a flat file in presentation server?
 15. How do you call a flat file in application server?
 16. If the flat file is present at offshore then how do you call into
your application server?
 17. What is meant by data sets?
 18. Enhancements transaction code is what? Did you do any
enhancements?
 19. How many > "> User exits > "> are there in enhancements?
 20. What is the meaning of transaction code SM31?
 21. What is the difference between transparent table and view?
 22. How many SAP internal table types are there?
 23. How do you allocate 2 lines for footer in a report?
 24. How many events are in reports and what are they?
 25. How do you specify menus in Menu painter?
 26. Where do you declare set PF-Status at which event?
 27. Where do you think call transaction in BDC is difficult?
 28. At pf-status for what it is used?
 29. At user-command at which places it is needed?
 30. What is driver program in Sap script?
 31. How many windows are there in sap script and what are they?
 32. What is the structure of BDC data?
 33. Write a select statement that retrieves only one record using
single statement.
 34. How to declare an internal table?
 35. What are the rules used for > '> Single> '> statement.
 36. What are user exit? And Transaction code?
 37. What is a subscreen in a dialog programming.

INTERVIEW QUESTION SAP ABAP

ABAP INTERVIEW QUESTION

ü  What is an ABAP data dictionary?
- ABAP 4 data dictionary describes the logical structures of the objects used in application development and shows how they are mapped to the underlying relational database in tables/views.

ü  What are domains and data element?
- Domains:Domain is the central object for describing the technical characteristics of an attribute of an business objects. It describes the value range of the field. Data Element: It is used to describe the semantic definition of the table fields like description the field. Data element describes how a field can be displayed to end-user.

ü  What is foreign key relationship?
- A relationship which can be defined between tables and must be explicitly defined at field level. Foreign keys are used to ensure the consistency of data. Data entered should be checked against existing data to ensure that there are now contradiction. While defining foreign key relationship cardinality has to be specified. Cardinality mentions how many dependent records or how referenced records are possible.

ü  Describe data classes.
- Master data: It is the data which is seldomly changed. Transaction data: It is the data which is often changed. Organization data: It is a customizing data which is entered in the system when the system is configured and is then rarely changed. System data:It is the data which R/3 system needs for itself.

ü  What are indexes?
- Indexes are described as a copy of a database table reduced to specific fields. This data exists in sorted form. This sorting form ease fast access to the field of the tables. In order that other fields are also read, a pointer to the associated record of the actual table are included in the index. Yhe indexes are activated along with the table and are created automatically with it in the database.

ü  Difference between transparent tables and pooled tables.
- Transparent tables: Transparent tables in the dictionary has a one-to-one relation with the table in database. Its structure corresponds to single database field. Table in the database has the same name as in the dictionary. Transparent table holds application data. Pooled tables. Pooled tables in the dictionary has a many-to-one relation with the table in database. Table in the database has the different name as in the dictionary. Pooled table are stored in table pool at the database level.

ü  What is an ABAP/4 Query?
- ABAP/4 Query is a powerful tool to generate simple reports without any coding. ABAP/4 Query can generate the following 3 simple reports: Basic List: It is the simple reports. Statistics: Reports with statistical functions like Average, Percentages. Ranked Lists: For analytical reports. - For creating a ABAP/4 Query, programmer has to create user group and a functional group. Functional group can be created using with or without logical database table. Finally, assign user group to functional group. Finally, create a query on the functional group generated.

ü  What is BDC programming?
- Transferring of large/external/legacy data into SAP system using Batch Input programming. Batch input is a automatic procedure referred to as BDC(Batch Data Communications).The central component of the transfer is a queue file which receives the data vie a batch input programs and groups associated data into “sessions”.

ü  What are the functional modules used in sequence in BDC?
- These are the 3 functional modules which are used in a sequence to perform a data transfer successfully using BDC programming: BDC_OPEN_GROUP - Parameters like Name of the client, sessions and user name are specified in this functional modules. BDC_INSERT - It is used to insert the data for one transaction into a session. BDC_CLOSE_GROUP - This is used to close the batch input session.

ü  What are internal tables?
- Internal tables are a standard data type object which exists only during the runtime of the program. They are used to perform table calculations on subsets of database tables and for re-organising the contents of database tables according to users need.

ü  What is ITS? What are the merits of ITS?
- ITS is a Internet Transaction Server. ITS forms an interface between HTTP server and R/3 system, which converts screen provided data by the R/3 system into HTML documents and vice-versa. Merits of ITS: A complete web transaction can be developed and tested in R/3 system. All transaction components, including those used by the ITS outside the R/3 system at runtime, can be stored in the R/3 system. The advantage of automatic language processing in the R/3 system can be utilized to language-dependent HTML documents at runtime.

ü  What is DynPro?
- DynPro is a Dynamic Programming which is a combination of screen and the associated flow logic Screen is also called as DynPro.

ü  What are screen painter and menu painter?
- Screen painter: Screen painter is a tool to design and maintain screen and its elements. It allows user to create GUI screens for the transactions. Attributes, layout, filed attributes and flow logic are the elements of Screen painter. Menu painter: Menu painter is a tool to design the interface components. Status, menu bars, menu lists, F-key settings, functions and titles are the components of Menu painters. Screen painter and menu painter both are the graphical interface of an ABAP/4 applications.

ü  What are the components of SAP scripts?
- SAP scripts is a word processing tool of SAP which has the following components: Standard text. It is like a standard normal documents. Layout sets. - Layout set consists of the following components: Windows and pages, Paragraph formats, Character formats. Creating forms in the R/3 system. Every layout set consists of Header, paragraph, and character string. ABAP/4 program.

ü  What is ALV programming in ABAP? When is this grid used in ABAP?
- ALV is Application List viewer. Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. The report output can contain up to 90 columns in the display with the wide array of display options.

ü  What are the events in ABAP/4 language?
- Initialization, At selection-screen, Start-of-selection, end-of-selection, top-of-page, end-of-page, At line-selection, At user-command, At PF, Get, At New, At LAST, AT END, AT FIRST.

ü  What is CTS and what do you know about it?
- The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP Workbench and in Customizing, and then transport the changes between the SAP Systems and clients in your system landscape. This documentation provides you with an overview of how to manage changes with the CTS and essential information on setting up your system and client landscape and deciding on a transport strategy. Read and follow this documentation when planning your development project.

ü  What are logical databases? What are the advantages/ dis-advantages of logical databases?
- To read data from a database tables we use logical database. A logical database provides read-only access to a group of related tables to an ABAP/4 program. Advantages: i)check functions which check that user input is complete, correct,and plausible. ii)Meaningful data selection. iii)central authorization checks for database accesses. iv)good read access performance while retaining the hierarchical data view determined by the application logic. dis advantages: i)If you donot specify a logical database in the program attributes,the GET events never occur. ii)There is no ENDGET command,so the code block associated with an event ends with the next event statement (such as another GET or an END-OF-SELECTION).

ü  What is a batch input session?
- BATCH INPUT SESSION is an intermediate step between internal table and database table. Data along with the action is stored in session ie data for screen fields, to which screen it is passed, program name behind it, and how next screen is processed.

ü  How to upload data using CATT ?
- These are the steps to be followed to Upload data through CATT: Creation of the CATT test case & recording the sample data input. Download of the source file template. Modification of the source file. Upload of the data from the source file.

ü  What is Smart Forms?
- Smart Forms allows you to create forms using a graphical design tool with robust functionality, color, and more. Additionally, all new forms developed at SAP will be created with the new Smart Form solution.

ü  How can I make a differentiation between dependent and independent data?
- Client dependent or independent transfer requirements include client specific or cross client objects in the change requests. Workbench objects like SAPscripts are client specific, some entries in customizing are client independent. If you display the object list for one change request, and then for each object the object attributes, you will find the flag client specific. If one object in the task list has this flag on, then that transport will be client dependent.

ü  What is the difference between macro and subroutine?
- Macros can only be used in the program the are defined in and only after the definition are expanded at compilation / generation. Subroutines (FORM) can be called from both the program the are defined in and other programs . A MACRO is more or less an abbreviation for some lines of code that are used more than once or twice. A FORM is a local subroutine (which can be called external). A FUNCTION is (more or less) a subroutine that is called external. Since debugging a MACRO is not really possible, prevent the use of them (I’ve never used them, but seen them in action). If the subroutine is used only local (called internal) use a FORM. If the subroutine is called external (used by more than one program) use a FUNCTION.


ü  How data is stored in cluster table? 
Each field of cluster table behaves as tables which contains the no. of entries. 

ü  What are client dependant objects in abap/sap? 
SAP Script layout, text element, and some DDIC objects. 

ü  On which even we can validate the input fields in module progams? 
In PAI (Write field statement on field you want to validate, if you want to validate group of fields put in chain and End chain statement.) 

ü  In selection screen I have three fields, plant mat no and material group. If I input plant how do I get the mat no and material group based on plant dynamically? 
AT SELECTION-SCREEN ON VALUE-REQUEST FOR MATERIAL.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' to get material and material group for the plant. 

ü  How do you get output from IDOC? 
Data in IDOc is stored in segments, the output from Idoc is obtained by reading the data stored in its respective segments. 

ü  When top of the page event is triggered? 
After excuteing first write statement in start-of-selection event. 

ü  Can we create field without data element and how? 
In SE11 one option is available above the fields strip. Data element/ direct type. 

ü  How do we debug sapscript? 
Go to SE71 give lay set name , go to utilities select debugger mode on.

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

ü  How can I copy a standard table to make my own z_table.
Go to transaction SE11. Then there is one option to copy table. Press that button.  Enter the name of the standard table and in the Target table enter Z table name and press enter.

ü  Following are some of the answers which I gave upto my knowledge.

ü  1. What is the use of 'outerjoin' 
Ans. With the use of outer join you can join the tables even there is no entry in all the tables used in the view.
        In case of inner join there should be an entry in al the tables use in the view.

ü  2. When to  use logical database?
Ans. Advantage of Logical databases:
        less coding s required to retrieve data compared to normal internel tables.
        Tables used LDB are in hierarchial structure.

ü  3. What is the use of 'table index'?
Ans .Index is used for faster access of data base tables.

ü  4. What is the use of 'FOR ALL ENTRIES'?
Ans. To avoid nested select statements we use SELECT FOR ALL ENTRIES statement.
        If there r more than 10000 records SELECT FOR ALL ENTRIES is used.
        Performance wise SELECT FOR ALL ENTRIES is better to use.

ü  5. Can you set up background processing using CALL TRANSACTION?
       Yes,Using No Screen Mode.

ü  6. What are table buffers?
    Table buffers reside locally on each application server in the system. The data of buffered tables can thus be accessed
    directly  from the buffer of the application server. This avoids the time-consuming process of accessing the database.

ü  Buffering is useful if table needs to be accessed more no. of times in a program.

ü  

ü  How do I set a flag for a field in any table?
Create a char field of length 1. for example field STAS-LKENZ is Deletion Indicator. It means that if the value in the field is 'X' then that record has been deleted.

ü  Can I execute user exits? If yes, how?
Yes you can. after finding the user exit, you need to use, goto CMOD add ur user-exit to your project. Then activate the FM which you require. Now go into that function module there will be a Include program wit name ZX* . Double click on it, it will ask to create an object, answer it Yes and then write your code in it. 

ü  How do I find the output type of a table or a program?
Table TNAPR / NAST