How do you limit the data retrieved by a SELECT statement? Ans :- WHERE clause. |
Where and where do you use a goto command? Ans :- NEVER. |
Are the following logical expressions true or false? T a) value1 LT value3 T b) value3 > value1 T c) value2 between value1 and value 3 F d) value2 LE value1 T e) value3 <> value1 F f) value3 CS '+5' T g) value2 CA '0A9GB' **NOTE wildcards +,*, # only work with CP |
What is the output of the following: Given TABA: Country City A NewYorkNews A Johannesville A MartinMarietta A Rockville B Littleton B Sr.Charles Ans :- PROGRAM Program TABLES: TABA. SELECT * FROM TABA. WRITE: /TABA-COUNTRY, TABA_CITY. ENDON. ENDSELECT. B Littleton. |
What do CHECK, EXITS do in a program? - CHECK - EXIT-terminates the current loop or subroutine; outside of a loop structure, subsequent statements in the current processing block are not executed. |
What is the difference between a field string and an internal table? Ans :- The declaration of an internal table includes an OCCURS parameter (the number of entries in the main storage roll area) field string-corresponds to one record internal table-corresponds to many records |
T or F: Move corresponding is an effective way to move fields with like names from a DB table record to an internal table header line? Ans :- T. |
T or F: An append will add a record to a database table? Ans :- (F).You can only append to an internal table. |
What is the effect of an include structure statement? Ans :- Allows you to quickly declare field strings and /or internal tables that are similar in structure to R/3 Repository Tables defined in the Data Dictionary. |
T or F:The COLLECT statement will total up all P,I,F fields in database table Ans :- If non-numeric entries in the header line match those in the internal table, COLLECT will add all numeric entries in the internal table header line to table entries where match was found. When no match is found the contents of the header line is added to the end of the table as a new line. |
T or F: The SELECT statement allows the processing in internal table. Ans :- (F).Use the LOOP AT … ENDLOOP instead. |
T or F: The LOOP at command allows you to use the where clause. Ans :- (T). If there is no table entry satisfying the 'where' logical expression ,the loop cannot be executed and the system field SY_SUBRC is set to a value not equal to zero .In any case the entire table is read. |
T or F: The read table command using the key clause is similar to the select single. Ans :- (T). Yes in that they both return only one entry from table But the READ is associated with an internal table and SELECT is associated with a database table. |
How does the READ with KEY statement work? Ans :- READ TABLE The search argument is compared character by character with the start of the 'tab' internal table lines and returns one entry that matches |
What field within the SY table contains the table index/ Ans :- The SY_TABIX system field holds the index value of the table line which has been placed in the header line of an internal table. |
T or F: An internal table can be deleted, modified, or inserted without the use of an index? Ans :- (T).Within a LOOP you can make changes to an internal table. The line affected is always the current line. If you don’t use the LOOP command an index must be used to change and internal table. |
What does the CLEAR and REFRESH commands do? Ans :- CLEAR : Initializes the header line REFRESH : Deletes all table lines .Paging is released does not clear the header FREE : Deletes all table lines ,Memory is released does not clear the header **CLEAR and REFRESH are typically used together. |
Why would you use describe table command? Ans :- To gather information about an internal table (i.e. OCCURS value ,LINES existing table entries). |
What are the subroutines used for? Ans :- Subroutines are used in two different ways; 1) Subroutines and its call are in the same ABAP/4 program(internal call ) 2) The subroutine is an external program. |
When should you use an include versus a perform versus a function module? Ans :- All are modularization techniques but typically the INCLUDE is for data structures, the PERFORM is for ABAP/4 subroutines and function modules are for non-ABAP/4 subroutines. |
What is the difference between internal and external calls? Ans :- INTERNAL-within program. EXTERNAL-outside program. |
Explain pass by value, reference and changing value? Ans :- By Value:When the subroutine is called ,the formal parameters are copies of the actual parameters(with their own storage location) By Value and Result : the formal parameters have a separate storage location .At the end of subroutine the value of the formal parameter is passed to the storage location of the actual parameter Assigned By Reference: when called the formal parameters are not allocated separate storage locations. Instead the address of the actual parameter is passed. Changes to the values of the formal parameters therefore have a direct effect on the assigned main program fields. |
What is the syntax of perform, include and function modules? Perform: PERFORM FORM Include: INCLUDE Function modules: CALL FUNCTION ‘function name’ EXPORTING … IMPORTING … |
Ads
Tuesday, November 17, 2009
IBM abap interview Questions phase - D
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(185)
-
▼
November
(122)
- SAP Glossary B
- SAP Glossary A
- Designing SAP Transactions SAP Dynpros
- SAP DB Interview FAQs
- SAP Business One
- SAP BDC Interview Questions And Answers
- An Introduction to SAP
- SAP (Systems, Applications and Products in Data Pr...
- What is roll out of SAP Project?
- Resume tips
- SAP ABAP FAQs
- REPORTING – GENERAL
- REPORT GENERATION – FORMATTING
- SAP R/3 ARCHITECTURE QUESTIONS
- QUESTIONS TO ASK HR
- Main Functions of QM Functional Consultant
- What is the Purpose of R/3?
- SAP Purchasing Tables
- SAP Production Planning tables
- Plant Maintenance/Sales
- Object oriented programming (OOP) IX
- Object oriented programming (OOP) VIII
- Object oriented programming (OOP) VII
- Object oriented programming (OOP) VI
- Object oriented programming (OOP) V
- Object oriented programming (OOP) IV
- Object oriented programming (OOP) III
- Object oriented programming (OOP) II
- Object oriented programming (OOP) XVII
- Object oriented programming (OOP) XVI
- Object oriented programming (OOP) XV
- Object oriented programming (OOP) XIV
- Object oriented programming (OOP) XIII
- Object oriented programming (OOP) XII
- Object oriented programming (OOP) XI
- Object oriented programming (OOP) X
- Object oriented programming (OOP) Step-by-step
- Object oriented programming (OOP) explained with a...
- SAP Modules Interview Questions And Answers
- Creating SAP Module Definitions
- SAP MM Tables
- SAP Transaction codes
- Will ABAP be Obsolete? Will JAVA Replace ABAP?
- SAP Implemetation Phases
- IBM abap interview Questions Phase - IV
- IBM abap interview Questions phase - III
- IBM abap interview Questions phase - II
- IBM abap interview Questions phase - I
- IBM abap interview Questions phase - E
- IBM abap interview Questions phase - D
- IBM abap interview Questions phase - C
- IBM abap interview Questions phse - B
- IBM abap interview Questions phase - A
- IBM abap interview Questions phase - Final III
- IBM abap interview Questions phase - Final II
- IBM abap interview Questions phase - Final I
- SAP HR INTERVIEW QUESTIONS
- Difference between the User Exit & Gap analysis
- Role of a mySAP Functional Consultant
- Role of a Functional Consultant in an End To End I...
- For those who wished to know the role of a functio...
- Designing SAP Transactions Flow Logic
- SAP Finance Tables
- SAP FI Functional Consultant Responsibilities
- Dynamic Variant in a report
- What are the tools to download tickets from client...
- Display company logo in the top of ALV report
- Designing SAP Transactions Introduction
- SAP ABAP FAQs
- Creating F1 helps in ease
- What courses are offered in Unauthorized training ...
- What is Client? What is the difference between Cus...
- Abap interview Qustions
- Difference Between BW Technical and Functional
- Batch Data Communication (BDC)
- SAP BDC
- SAP Functional
- Important Ale Idocs Faqs
- What is ALE
- ACCENTURA ABAP Qustions
- Important sap Smartforms faqs
- important abap script faqs
- Sap ABAP Dictionary Faqs
- SAP Program II
- SAP Program I
- Date and Time Calculations
- Substring in SAP's ABAP programming
- sample program I
- Understanding Date Selections Using the HR Logical...
- Different method of Converting Date in ABAP
- ABAP Date Time Variables and Addressing Subfields
- Pop a Date in ABAP Report Selection Screens
- Add n number of working days to date
- Add n number of working days to date (using SAP pe...
- Add n number of working days to date
- Convert month value of a date to text
- SAP ABAP program for A SAP Pop-out Calculator
- Step by step learning ABAP
- Download
- How to transport layout ALV?
-
▼
November
(122)
No comments:
Post a Comment