Вы находитесь на странице: 1из 20

SAP ABAP QUESTIONS

1. a. b. c. d. 2. a. b. c. d. 3. a. b. c. d. 4. a. b. c. d. 5. a. b. c. d. 6. 7. a. b. c. d. 8. By: rohitash kumar| 06 Sep 2013 5:37 pm | 2637 times viewed | 0 Comments How many radio buttons are associated when there are 4 radio buttons as a single radio button group ? 0 1 2 4 What is the Tcode used for calling transport organizer ? (Multiple Answer Question) SE09 SE10 SM12 SM36 What is the Tcode for Lock entries ? SM04 SM12 SM35 SM36 What is the Tcode to view the list of users associated with the same client ? SE16 SE04 SM04 SM12 What is the Internal Table which has a same response time irrespective with the size o f the table. Standard Table Sorted Table Hashed Table Table with Header line What is meant by REDIFINiTION ? In a search help, by using which parameter the specialization of a field is found.. Lpos Spos Import Export What happens when a get_instance factory method is called a. reference variable is instantiated b. error exception is raised because static variables cannot be called using get_instance c. object reference method can now be called d. interface is instantiated

9. a. b. c. d. 10. a. b. c. d. 11. a. b. c. d. 12. a. b. c. d. 13. a. b. c. d. 14. a. b. c. d. 15. a.

What is the Tcode for SAP Online Support System?? OSS OSS1 OSS2 SNOTE What is the Tcode where we can develop the USER-EXITS ? CMOD SMOD SALE NACE Customization is done in ?? Sandbox Devolopment Quality Production Syntax for Static Method Specification ? Call class-method Call method classname=>method Call method classname->method Call method -> Class Name Dynamically generated function code is stored in SY-UCOMM SY-PFKEY PICK SY-SUBRC Which component of class, preserves its own consistency. Private Attributes Public Static Methods Function Modules What happens when a Function Module has been called ? All the function Modules related to that Function Group will be called into the Buffer

b. c. 16. a. b. c. d. 17. a. b. c. d. 18. a. b. c. d. 19. a. b. c. d. 20. a. b. c. d. 21. a. b. c. 22. a. b. c. d. 23. a. b. c. d. 24. a. b. c. d. 25. a. b. c. d. 26. a. b. c. d. 27. a. b. c. d. 28. a. b. c. d. 29. a. b. c. d. 30. a.

Only that specific function module will be executed (Something else was given .. I dont remember) Shipping comes under which module of SAP ?? Sales & Distribution Production Planning Material Management Supply Relation Management What are the output formats of ALV ?? List and Grid List and Forms Forms and Scripts Grid and Layout Which view uses only one table Projection View Maintanance View Database View Help View What is the activity done in the Production server of SAP?? User Training User Acceptance Testing Creating Master Data Configurations What is the responsibility of a DBA ? Backup DB Management Configurations Retrieval Placing value of screen fields to ABAP fields which one is used Assign ON_INPUT Move What is the Tcode for IDoc Testing Tool ? WE 19 WE 20 WE30 SM35 What is the Tcode for RFC Programming ? SM12 SM35 SM36 SM59 What happens when two top-of-page statements were given in the Program ? Syntax Error Prints both of them Overwrites one on the Other No Change What are the servers involved during QRA ? DEV PRD QRA All of the above What are the default menus seen in the SAP Screen ?? System Help Navigate None What are not the attributes with respect to Tabstrip ?? Tab Title Scroll Bar I/O Element Sub Screen How can we start a ABAP new Debugger ? Give /h in the command field Give /hn in the command field Give /hend in the command field Debugger will not start until and unless a breakpoint is set. What are the components of Logical Database ? Structures Selections Database Program Views What does Business Add-in does not consists of ?? BADI Definition

(Multiple Answer Question)

(Multiple Answer Question)

b. c. d. 31. a. b. c. d. 32. a. b. c. d. 33. a. b. c. d. 34. a. b. c. d. 35. a. b. c. d. 36. a. b. c. d. 37. a. b. c. d. 38. a. b. c. d. 39. a. b. c. 40. a. b. c. d.

BADI Customer Program BADI Implementation (Some other was given .. I am not sure) In regard to the field selection, which option of the SELECT statement is required ?? FOR ALL ENTRIES IN WHERE INTO MOVE-CORRESPONDING Identify the Keyword that determines if a CMOD function exit has been provided ? CALL PROGRAM-EXIT CALL CUSTOMER-SUBSCREEN CALL CUSTOMER-FUNCTION CALL USER-EXIT What is the attribute which defines the size of a Standard Table or a Custom Table ? Data Class Delivery Class Size Category Package What is the Tcode for SQL Trace ?? (Multiple Answer Question) ST01 ST05 SQL Trace All of the Above What is the Structure of LSMW ?? BDCDATA BDCMSGCOLL BDCBG00 All of the Above Which of the following below are true about IDOC ?? (Multiple Answer Question) IDocs are sent from SAP to SAP Systems IDocs can be sent from SAP to Legacy Systems IDocs cannot be sent to Non-SAP Systems All of the Above In Debugging, How can the user set a breakpoint ?? Giving /h in the command field Giving /hn in the command field Setting a breakpoint from the Program Editor All of the Above Which statements from below are false about Logical Database ?? More than 1 LDB is used in a report LDB has structures and Database Programs associated with it Tcode for LDB is SE36 None of the Above Where does the BADI Definition reside at ?? Adaptor Class BADI Implementation Both A & B What is the attribute which defines the storage type of a Standard Table or a Custom Table ? Data Class Delivery Class Size Category Package

Hey guys .... How yall doing? Well I am a ABAP professional having more that 7 years of experience in SAP. I wanted to share my experiences in this field with other people so Welcome aboard ...share your opinions with others and give us your insights about different things in life ...ABAP and non-ABAP ..
VIEW MY COMPLETE PROFILE

ABAP questions all topics


1. What are the differences between sap memory and abap memory 2. What are differences between At selection-screen and

at selection-screen output 3. What are the events? 4. what are the interactive events 5. What is Hide? 6. What is te difference between occurs 1 and occurs 2? 7. What is the difference between Free and Refresh? 8. What are elements? 9. Can we have more than one selection-screen and how? 10. How to declare select-option as a parameter? 11. How can u write programatically value help to a field without using searchhelp and matchcodes.? 12. What is RFC? 13. How to set destination? 14. What are the function module types? 15. What are tables? 16. what are client-dependant tables and independent tables? 17. how to distinguish them? 18. what is the use of Table maintanance allowed? 19. What are the domines? 20. What are the check tables and value tables? 21. What is the diffrence between table and structures? 22. How to declare one internal table with out header line without using structures ? 23. what are lockobjects? 24. What are datasets? what are the diffrent syntaxes? 25. What is the diffrences between we_upload and upload? 26. What is the diffrence between open_form and close_form 27. What are the page windows? How many main windows will be there in a page window? 28. How to include Logo in your layout? 29. How to debugg a script? 30. Tell me different standard layouts which we use? 31. sapscripts and abap programs are client dependent or not? why? 32. what are the different internal tables ? explain them? 33. what is runtime analysis ? 34. what si the difference between select singe * and select * upto one row

35. what is the differnce between sum and collect? 36. what are session mothod and call transaction method and explain about them? 37. If you have 10000 records i your file, which method you use in BDC? 38. what are diffrent modes and explain them? 39. what are control events in a loop? 40. what are the events we use in dialog programming? and explain them? 41. what are the differnces between se01 , se09 and se10? 42. what is the inside concept in select-options? 43. what is client? 44. what is get cursor field? 45. what is read line? 46. what are the diff. between call screen and leave screen? 47. what is the transaction code for Table maintenance? 48. what are the differences between CALL SCREEN , LEAVE SCREEN ? 49. Interactive Reporting. what is the event that in used in classic reporting and cannot be used in interactive reporting?

50. which process is faster call transaction or session method? 51. Whether background process or frontend process is faster in uploading data? 52. how to handle errors in background process? 53. BDC type questions???? What could they ask?

More good abap interview questions


************Emerald solutions********** 1) NAST 2) TRANSACTION WE20 / WE21 FOR? 3) DIFFERENCE BETWEEN V1 TYPE D and V1 like sy-datum. 4) what is stack list? 5) How many Modules can be called? 6) How to create checkbox in write statement? Ans: WRITE AS CHECKBOX.

Eg. DATA: flag1(1) TYPE c VALUE ' ', flag2(1) TYPE c VALUE 'X', flag3(5) TYPE c VALUE 'Xenon'. WRITE: / 'Flag 1 ', flag1 AS CHECKBOX, / 'Flag 2 ', flag2 AS CHECKBOX, / 'Flag 3 ', flag3 AS CHECKBOX. 7) How to upload file at Application Server? 8) How to directly jump to 15th list from Basic list? Ans. Sy-lsind = 0. 9) If a view consists of only one table then is the view Read only or Read-Write. 10)What is Node? *********** Patni ************** 11) Smartform: Can u create template in table? 12) What is true about Check field and Validation table field a)Both must hv same name. b) Both must hv same domain name. c) Both must hv same data element. 13) Can data be transferred from SAP to non-SAP system through LSMW? 14) hide one of the field on the selection screen. a) Screen-Active = 1 & Screen-Input = 1 b) Screen-Active = 1 & Screen-Invisible = 1 c) Screen-Invisible = 1 & Screen-Active does not matter. d) Screen-Invisible = 0 & Screen-Active does not matter.

15) Data : data_pattern(5) Value ABC, data_str(12) Value abcdeABCDE. Replace data_pattern with 12345 into data_str. Data_str = ? Ans: Data_str = abcde12345DE. 16) Which stmnt bypasses Buffering (correct option can be more than one) a)Select. b)Selectinto..

c) Select..distinct.. e) Selectfor update.. 17) How do we handle EXCEPTIONs in ABAP? 18) Authorization takes place when: (NOT SURE OF OPTIONS) a) during SELECT. (ans: NO) b) AUTHORITY-CHECK IS WRITTEN. c) System Administrator checks for the authorizations taken.

) NAST message status table

2) TRANSACTION WE20 / WE21 FOR? we20 partner profile we21 port

3) DIFFERENCE BETWEEN V1 TYPE D and V1 like sy-datum. v1 : when date is assigned then not formated .format is ddmmyyyy. v2 : when date is assigned then formated .format is dd.mm.yyyy.

4) what is stack list? the list in which screen numbers are stored.can be up to 9 screens.

5) How many Modules can be called? not getting the question....

6) How to create checkbox in write statement? Ans: WRITE AS CHECKBOX. this is ok.. this is how u do it.. Eg. DATA: flag1(1) TYPE c VALUE ' ', flag2(1) TYPE c VALUE 'X',

flag3(5) TYPE c VALUE 'Xenon'. WRITE: / 'Flag 1 ', flag1 AS CHECKBOX, / 'Flag 2 ', flag2 AS CHECKBOX, / 'Flag 3 ', flag3 AS CHECKBOX. flag1 - checkbox will be written after flag 1 and will be blank. flag2 - checkbox will be written after flag 2 and will be checked. flag3 - checkbox will be written after flag 3 and will be checked with only length of 1 character.other 4 characters will be ignored. And since 1st character is X it will also be checked.But if the 1st character is anything other than X that is even ' ' it will keep box as blank. imp note : and next time dont ask such silly questions.

7) How to upload file at Application Server? open dataset for output/appending.

8) How to directly jump to 15th list from Basic list? Ans : sy-lsind = 15 .

9) If a view consists of only one table then is the view Read only or Read-Write. i dont know read only or read-write only... but it is projection view and they are read only or read and change.. more abt views : projection view : no joining since single table . maintaince : outer join data can be maintained. help view : outer join.

10)What is Node? a node can be a root node or child node in LDB( logical data base ) and it has to be either database table or a dictonary type. otehr 2 are there but only for your information pourpose.. data types and dynamic type nodes.

11) Smartform: Can u create template in table? i m not gettign in....under table node templet can be created...line type of templets can be created using

table..but in table i dont know.... I know the answer is no. u cant.. 12) What is true about Check field and Validation table field 0answer : the domain of both the fields should be same a)Both must hv same name. b) Both must hv same domain name. (this is correct) c) Both must hv same data element.

13) Can data be transferred from SAP to non-SAP system through LSMW? ya it can be ..but for that idocs are to be used.

14) hide one of the field on the selection screen. ANSWER : SCREEN-ACTIVE = 0 . Screen-Active = 1 & Screen-Input = 1 Screen-Active = 1 & Screen-Invisible = 1 Screen-Invisible = 1 & Screen-Active does not matter. Screen-Invisible = 0 & Screen-Active does not matter. 15) Data : data_pattern(5) Value ABC, data_str(12) Value abcdeABCDE. Replace data_pattern with 12345 into data_str. Data_str = ? Ans: Data_str = abcde12345DE.

16) Which stmnt bypasses Buffering (correct option can be more than one) a)Select. b)Selectinto.. c) Select..distinct.. passes buffering . Selectfor update..

17) How do we handle EXCEPTIONs in ABAP? by checking sy-subrc values .

18) Authorization takes place when: (NOT SURE OF OPTIONS)

abap program is executed . authority-check statement is used. rest all rubbish.... during SELECT. (ans: NO) AUTHORITY-CHECK IS WRITTEN. System Administrator checks for the authorizations taken.

important topics in abap interview


1. How data is stored in cluster table? Each field of cluster table behaves as tables which contains the no. of entries. 2. What are client dependant objects in abap/sap? SAP Script layout, text element, and some DDIC objects. 3. On which even we can validate the input fields in module programs? 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.) 4. 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. 5. 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. 6. When top of the page event is triggered? After executing first write statement in start-of-selection event. 7. Can we create field without data element and how? In SE11 one option is available above the fields strip. Data element/ direct type. 8. How do we debug sapscript? Go to SE71 give lay set name, go to utilities select debugger mode on. 9. Which transaction code can I used to analyze the performance of ABAP program. TCode AL21. 10. 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.

ABAP Frequently Asked Question ABAP/4 Q: When we create a customer the information is updated in structure RF02D and the some tables like KNA1 are updated. How can we find the tables for master data transactions? A: Go to ABAP Workbench -> Overview -> application hierarchy - SAP -> follow the customizing based tree for your application. Double click on a lowest hierarchy level to get for the correct marked development class. Here you can find all the tables, views, logical databases etc. used for a system operation. SapScript Q: We get the total number of pages as expected by using 'SAPSCRIPT-FORMPAGES' in a duplex layout. In our case duplex case is always 'Terms & Conditions'. We do not want the number of pages as in duplex printing. What is the best possible solution? A: On the Terms & Conditions page, Change the Page counter mode to 'HOLD' to keep the page counter from incrementing when you print the Term & Conditions. ________________________________________

important abap questions for interview


Hi everyone....... Welcome to this blog which discusses all important things to consider before going to an abap interview .We will try not to discuss the usual questions like what is 3 tier architecture and other BABY questions ,but real time questions ,.....hmmmm...well I think I'll need to give you an example . Ok in one of the interviews I attended , the interviewers started with a question .. "What will happen if you put the Spos in a search help to SPACE??" ...Well............ So you see what I talking about is these types of situations where the interviewers can ask you any thing out of the bolt.I May or may not have answers to all such questions but one thing is sure that together we can solve lots of such tricky issues. Many of you must be thinking why is the need for another site for important interview questions for interview ???.... when so many others are available ....well let me frank ...how may useful sites did you actually find , moreover I have some free time and I like sharing my knowledge with others ...Also when you explain something to some one ...you too will learn a lot of things yourself .So the next time please check in for some surprising easy and some really tough abap questions ' .. :-)

I know that all of us here ;want to be REAL GOOD in SAP .Well we have some choices to make we can either wait for our companies to give us
trainings wait for projects ,or else be ready to spend a real huge sum of money to learn SAP from a reliable

and quality source. or....there is a one what if I tell you that I discovered some thing really special ,a program that solves all

solution to all these problems, at a very small price ....wanna be known as the best SAP consultant around ,wanna double; yes double you salary in maybe 6 months .Interested? well read on .Wanna see for yourself ? check out the ultimate
our problems SAP learning course ever!

What this program gives you :-

Hundreds of high quality SAP software computer based training Interactive CBTs, that guide you every step of the way,it covers all major SAP
modules including R/3, ERP, ABAP, DB, MM, Basis and more.Certification materials and resources with industry handbooks, workbooks and examination software applications.Step-By-Step Instructions walk you through the most common questions, issues and task you'll encounter with SAP.Case study-based exercises help you build and test your knowledge and tips to warn about potential problems.

Learn about SAP module implementation, SAP business webflow and master SAP object programming,Flash enabled visual lessons with text and user interactivity to make learning SAP fun and simple.Complete SAP modules with intelligent self assessment that advice and guides you like a real-life instructor.Exercises and study exam guides with Q&A to allow you to pass your certification examination with ease.I have benefitted a lot from this program and thought where would I have been if I would have found this program earlier .Please do give it a thought and see for your self.

The program covers the following topics to name just a few.

All SAP R/3 4.6 To Enterprise 4.70 Users .. What's Included you wont believe !!!:

Project Systems SAP Computer Based Training Modules Strategic Enterprise Management Database Administration and Monitoring Production Planning and SOP Database Administration Made Easy Cost Centre Accountant Financial Accountant Shipping Clerk Customer Relationship Management (CRM) CO CCA Periodical Processing MM Invoice Verification AR Accountant CO CCA Master Data Cust Order Processing Advanced Administration and CCMS Cust Ship and Delivery CO CCA Peridoical Allocations & Reports SAP BW Configuration 1 SAP BW Configuration 2 Structure and Operations System Management: Systems Admin FSCM Biller Consolidator SAP Finance In-House Cash SAP Finance Biller Direct Purchaser, Billing & Controlling Finanacial Management Inventory Management FSCM In-House Cash FSCM Biller Direct Mat Acq & Payment Production Planning Product Costing

Financial Supply Chain Management Materials Requirements FSCM Collaborative Business Scenario Extract OnDemand for SAP R/3 Planning Business Process Management TMS Configuration Warehouse Management Fundamentals Asset Accounting -----

Latest SAP ABAP Interview Questions and Answers


Posted Under SAP-ABAP-Interview Questions

What is the advantage of structures? How do you use them in the ABAP programs? Ans GLOBAL EXISTANCE (these could be used by any other program without creating it again).

What does an extract statement do in the ABAP program? Ans Once you have declared the possible record types as field groups and defined their structure, you can fill the extract dataset using the following statements:

EXTRACT .

When the first EXTRACT statement occurs in a program, the system creates the extract dataset and adds the first extract record to it. In each subsequent EXTRACT statement, the new extract record is added to the dataset

EXTRACT HEADER.

When you extract the data, the record is filled with the current values of the corresponding fields.

As soon as the system has processed the first EXTRACT statement for a field group , the structure of the corresponding extract record in the extract dataset is fixed. You can no longer insert new fields into the field groups and HEADER. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement, a runtime error occurs.

By processing EXTRACT statements several times using different field groups, you fill the extract dataset with records of different

length and structure. Since you can modify field groups dynamically up to their first usage in an EXTRACT statement, extract datasets provide the advantage that you need not determine the structure at the beginning of the program.

What is a collect statement? How is it different from append? Ans Collect : If an entry with the same key already exists, the COLLECT statement does not append a new line, but adds the contents of the numeric fields in the work area to the contents of the numeric fields in the existing entry.

Append Duplicate entries occurs.

What is OPEN SQL vs NATIVE SQL? Ans Open SQL These statements are a subset of standard SQL. It consists of DML command (Select, Insert, Update, Delete). It can simplify and speed up database access. Buffering is partly stored in the working memory and shared memory. Data in buffer is not always up-to-date.

Native SQL They are loosely integrated into ABAP. It allows access to all functions containing programming interface. They are not checked and converted. They are sent directly to the database system. Programs that use Native SQL are specific to the database system for which they were written. For e.g. to create or change table definition in the ABAP.

What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it? Ans To use a Native SQL statement, you must precede it with the EXEC SQL statement, and follow it with the ENDEXEC statement as follows: EXEC SQL [PERFORMING ].

ENDEXEC. There is no period after Native SQL statements. Furthermore, using inverted commas (") or an asterisk (*) at the beginning of a line in a native SQL statement does not introduce a comment as it would in normal ABAP syntax. You need to know whether table and field names are case-sensitive in your chosen database.

What is the meaning of ABAP editor integrated with ABAP data dictionary? Ans ABAP Editor: Tool in the ABAP Workbench in which you enter the source code of ABAP programs and check their syntax. You can also navigate from the ABAP Editor to the other tools in the ABAP Workbench.

What are the events in ABAP language?

Ans The events are as follows:

1. Initialization 2. At selection-screen 3. Start-of-selection 4. End-of-selection 5. Top-of-page 6. End-of-page 7. At line-selection 8. At user-command 9. At PF 10. Get 11. At New 12. At LAST 13. AT END 14. AT FIRST

What is an interactive report? What is the obvious difference of such report compared with classical type reports? Ans An Interactive report is a dynamic drill down report that produces the list on users choice.

Difference: a) The list produced by classical report doesn't allow user to interact with the system where as the list produced by interactive report allows the user to interact with the system. B) Once a classical report, executed user looses control where as Interactive, user has control. C) In classical report, drilling is not possible where as in interactive, drilling is possible.

What is a drill down report? Ans Its an Interactive report where in the user can get more relevant data by selecting explicitly.

How do you write a function module in SAP? Describe. Ans 1. Called program - SE37 - Creating function group, function module by assigning attributes, importing, exporting, tables, and

exceptions. 2. Calling program - SE38 - In program, click pattern and write function name- provide export, import, tables, exception values.

What are the exceptions in function module? Ans Exceptions: Our function module needs an exception that it can trigger if there are no entries in table SPFLI that meet the selection criterion. The exception NOT_FOUND serves this function.

COMMUNICATION_FAILURE & SYSTEM_FAILURE

How are the date and time field values stored in SAP? Ans DD.MM.YYYY. HH:MM:SS What are the fields in a BDC_Tab and BDCDATA Table? Ans Fields of BDC_Tab & BDCDATA Table:

Sr.No Fields - Description 1) Program - BDC Module pool 2) Dynpro - BDC Screen Number 3) Dynbegin - BDC Screen Start 4) Fname - Field Name 5) Fval - BDC field value 150) Name a few data dictionary objects? Ans Different types of data dictionary objects:

1) Tables 2) Views 3) Data elements 4) Structure 5) Matchcode 6) Domains 7) Search Helps 8) Local Objects

What happens when a table is activated in DD?

Ans When the table is activated, a physical table definition is created in the database for the table definition stored in the ABAP dictionary. The table definition is translated from the ABAP dictionary of the particular database.

It is available for any insertion, modification and updation of records by any user.

What are matchcodes? Describe? Ans It is similar to table index that gives list of possible values for either primary keys or non-primary keys.

What transactions do you use for data analysis? Ans

What are the elements of selection screen? Ans There are 5 elements of selection screen:

Selection-screen include blocks Selection-screen include parameters Selection-screen include select-options Selection-screen include comment Selection-screen include push-button

What are ranges? What are number ranges? Ans Main function of ranges to pass data to the actual selection tables without displaying the selection screen.

Min, Max values provided in selection screens.

It is often necessary to directly access individual records in a data structure. This is done using unique keys. Number ranges are used to assign numbers to individual database records for a commercial object, to complete the key. Such numbers are e.g. order numbers or material master numbers.

What are select options and what is the diff from parameters? Ans Parameters : We can enter a single value. PARAMETERS: PARAM(10). Select-options: We can enter low and high value i.e. range has to be specify. By using NO-INTERVAL user can process only single

fields. SELECT-OPTIONS: DNO FOR DEPT-DNO. SELECT-OPTIONS: DNO FOR DEPT-DNO NO-INTERVAL. SELECT-OPTIONS declares an internal table, which is automatically filled with values or ranges of values entered by the end user. For each SELECT-OPTIONS, the system creates a selection table. SELECT-OPTIONS FOR . A selection table is an internal table with fields SIGN, OPTION, LOW and HIGH. The type of LOW and HIGH is the same as that of . The SIGN field can take the following values: I Inclusive (should apply) E Exclusive (should not apply) The OPTION field can take the following values: EQ Equal GT Greater than NE Not equal BT Between LE Less than or equal NB Not between LT Less than CP Contains pattern GE Greater than or equal NP No pattern. DifferencesPARAMETERS allow users to enter a single value into an internal field within a report. SELECT-OPTIONS allows users to fill an internal table with a range of values. Select-options provide ranges where as parameters do not. For each PARAMETERS or SELECT-OPTIONS statement you should define text elements by choosing Goto - Text elements - Selection texts - Change. Eg:- Parameters name(30). When the user executes the ABAP/4 program, an input field for 'name' will appear on the selection screen. You can change the comments on the left side of the input fields by using text elements as described in Selection Texts.

How do you validate the selection criteria of a report? And how do you display initial values in a selection screen? Ans The selection criteria is validated in the processing block of the AT SELECTION SCREEN event for the input values on the screen and respective messages can be sent.

To display initial values in the selection screen:

1) Use INITIALIZATION EVENT 2) Use DEFAULT VALUE option of PARAMETERS Statement 3) Use SPA/GPA Parameters (PIDs). Validate: - by using match code objects.

Display :- Parameters default 'xxx'. Select-options for spfli-carrid.

Initial values in a selection screen: INITIALIZATION. DNO-LOW = 10. DNO-HIGH = 30 SIGN I. OPTION NB. APPEND DNO.

What are selection texts? Ans

What is CTS and what do you know about it? Ans CTS stands for Correction and Transport System. The CTS provides a range of functions that help you to choose a transport strategy optimally suited to your requirements. We recommend that you follow the transport strategy while you plan and set up your system landscape.

Correction 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. For practical information on working with the Correction and Transport System, see Correction and Transport Organizer and Transport Management System.

Вам также может понравиться