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

SAP Basic Frequently Asked Questions & Interview Questions

Question: Layout conversion? Answer: 1.Presentation Layer. 2. Application Layer. 3. Database Layer. Question: How to write record to a file? & ABAP editor provides? Answer: WRITE [AT [/] [<pos>] [(<len>)]] <f> [AS CHECKBOX|SYMBOL|ICON|LINE] [QUICKINFO <g>]. [<Format>] Question: How to transport query? Answer: se01

Question: D/b view? Answer: D/b view are implement an inner join ,that is only one records of the primary table for which the corresponding records of the secondary tables also exits are fetched inconsistencies between primary and secondary table could ,therefore, lead to a reduced selection set Question: Sy-field for internal table process? Answer: For System fields which are existing in the internal table.

Question: LDB represents what? Answer: Logical database, the three elements on ldb is structure, selection and database program Question: How to change output option of table control?

Answer: After creating the table control.. Double click on the columns. In the attributes of table control you will have program tab in that you have check box for Output.

Question: How is data transported from module to program? Answer: Module is used for screens. When you double click on module it will take you to the program only. So you are retrieving data in the program. Module is acts like a perform for screens. Question: Final entry BDC table? Answer: BDC_CURSOR. Can be the final entry of the BDC table. Actually it depends on the transaction you are processing. Question: Testing is a process or methodology, diff between methodology and process? Answer: Process: The high level procedural representation of the over all activities in the Testing phase. Methodology: The techniques or methods to be followed in order to execute the (Testing) activities. Or Process:-the document specify a step by step procedure to execute written test cases Methodology: Selection of required testing techniques to be applied on the built Question: Do u know abt integration testing, how do u integrate diff modules? Answer: Integration means a module to which an implementation is applied for the new feature request or a functionality which is dependent on the previous code. Now when the new code for the new feature request been implemented on the old code we check for the basic functionality of the old and then check for the functionality of the newly merged code. If the implementation is correct as per the expected result then the fix is fine for the functionality Or Integration testing means testing an application to verify the data flows between the modules. For example, when you are

testing a bank application, in account balance it shows the 100$as the available balance. But in database it shows the 120$. Main thing is "integration done by the developers and integration testing done by the testers" Question: do u know abt configuration management tool, what is the purpose of maintaining all the documents in configuration management tool?

Answer: It is focused primarily on maintaining the file changes in the history. Documents are subjected to change for ex: consider the Test case document .Initially you draft the Test cases document and place it in Version control tool (Visual Source Safe for ex).Then you send it for Peer Review .They will provide some comments and that document will be saved in VSS again. Similarly the document undergoes changes and all the changes history will be maintained in Version control. Or It helps in referring to the previous version of a document. Also one person can work on a document (by checking out) at a time. Also it keeps track that has done the changes, time and date. Generally the entire Test Plan, Test cases, Automation design docs are placed in VSS. Proper access rights needs to be given so that the documents dont get deleted or modified. Question: What is Integration between SD and MM: SD and FICO? Can any body give me this is?

Answer: while creating a Std. Order it an integration with MM and FI, when u r giving the material no & Qty , it is an integration with MM, and raising the billing document it is an integration with FI, Like there r so many integration situation r there is sap. Or SD and FI. In Business We would want to post the revenues or the discounts offered, taxes collected, Freight charges to a particular GL account for accounting purposes. Lets say i want to account for all the revenues i generated for finished goods. I would use this finished goods as the Material Account assignment group and assign that in the Sales org 2 view just above the Item cat group. Then with Account determination process. I would link the Account Key ERL (In Pricing proc) + Finished Goods (Material Account Assignment group) ---- TO A GL ACCOUNT.

SD and MM. In Pricing we would want to determine the cost of the product thru VPRS Condition Type. This cost of the material is picked from the Material Master. How this happens is, if we would want to determine this cost VPRS in the Sales Order for Profitability purpose then, all those Item categories that can appear in a sales order must be activated for Determine Cost Check box in customizing. Or The main integration with SD MM and FI is the sales order i.e. the good movement data in the sales order, the movement type is set by MM i.e. 601, 651 for returns, etc SD uses the movement type for the flow of goods or material, and FI will set the accounting details for the movement of the goods. Or We assign our sales organization and distribution channel to plant which is the highest organizational element in materials management. We assign our sales organization to company code in order to post all the sales transactions, as company code is the highest organizational element in financial accounting. Question: Back ground job... Transaction code? Answer: SM 36: job scheduling (job creation), SM 37: job overview Or SM35 SM13 or ST07 - Batch Monitor SHDB Recording Question: What is the client specific data? Give two examples of client specific data? Question: How you support the clients. Could you explain me procedure of logging the tokens and how do you interact to clients. Also how many tokens you get in a day (on an average). Question: How to maintain Transport Request? Question: Run Time Analysis - Transaction code?

Answer: se30 is the Tcode for run time analysis, is a tool it display report based on LPs for abap program execution time, data base load, system load. These are all will Display in micro seconds. This tool will use for Transaction code, function modules, abap programs Question: SQL Trace - Transaction code? Answer: ST05 FOR sql trace

Question: How to find Buffered or not? Answer: We can find buffered or not by going to the technical settings of a table .There is an option called 'Buffering not allowed'. Question: what is table maintenance? Answer: sm30. Using this we can modify tables at database level Or Table maintenance is nothing but adding / modifying / deleting records from table. You can use transactions SM30 / SM31 for the same. Also SM13/SM14 can be used. Or It is used to maintain tables and provide authorization for particular tables. 1. One step maintenance. 2. Two step maintenance Question: what is search helps. How many types are there? Answer: Search helps nothing but retrive possible values from a database level for a field. We can create search help at domain level, element level and program level. Question: Prepare a Report for last month Last Date- First Date? Answer: sy-date -1 .it will come last date. For getting of particular dates we have some function modules. Question: what is exact difference between uline ad sy-uline? Answer: No difference. Sy-uline is a system field.

Or ULINE. Write: sy-uline. No-difference. Except that uline is used outside the Write Statement.

Question: In Background Report, how to handle errors? Answer: Using error logs

Question: How to process the session dynamically? Answer: using rsbdcsub we can process session dynamically

Question: The standard symbols in SAP script are stored in which table? Answer: In table TTDTG

Question: what is a field symbol? Answer: Field symbol does not physically reserve a space for a field, but it points to the field which is not known until the run time of the program. Its closely related to pointer concept in C. Question: program? which processor controls the flow logic of an online

Answer: screen processor Or flow logic control processor.

Question: A Report program is executed in Back ground mode. The out put of this program must be sent to the inbox for a list of users. The users are based on an Organizational assignment defined in a configuration table. What is the Best way this can be performed? Answer: Since the users are having Org Assignment, we can have a workflow wherein one task is to run the program in background and next task will read the spool and send Output to the list of users. These users will have a common job assignment. Question: Final entry in the BDC Table? Answer: Final Entry of bdc table is SAVE

bdc_okcode = 'save' ('/11')

Or The structure we use in BDC Programming is BDC Data, In which the last field is fval (internal table-field), BDC Ok-code and cursor are not mandatory but we have to give the value of fval hence I think the last field we pass is internal table field name or /00 Question: what are parameters of DDC insert function module? Answer: This is not ddc insert, it is BDC_INSERT fun module and the required parameters are Tcode i.e. Transaction code of which module pool progs we are using in BDC Session method. DYNPROTAB i.e. the structural internal table based upon BDC data structure Question: where is security relevant information such as Password for ITS are stored? Question: In the Windows NT environment A-gate and w-gate are connected via which protocols? Question: What is the Procedure for BDC? Question: what is the procedure for direct I/P method? Question: what is the status code when IDOC is created? Answer: Question: Answer: 01 how to debug user exits? using break-point

Question: use of chain and enchain? Answer: If we want to validate more than one field in the selection screen, then we can use this chain and end chain. Normally, if u doesnt use this then, if one of the fields in selection screen is not properly entered it wont allow u to enter the remaining fields. But if we use chain and end chain, even if one of the fields is not entered correctly it will allow u to enter the remaining fields. Question: What is the way to precede search helps in POV? Answer: Use this function module

f4if_INT_TABLE_VALUE_REQUEST Question: what is message type? Answer: IN SAP ABAP/4, WE HAVE 5 MESSAGE TYPES IN A MESSAGE CLASS. THEY ARE... 1. I -> INFORMATION MESSAGE 2. W -> WARNING MESSAGE 3. S -> SUCCESS MESSAGE 4. E -> ERROR MESSAGE 5. A -> ABAND MESSAGE (FOR ABNORMAL ENDING). A MESSAGE TYPE DESCRIBES WAT TYPE OF MESSAGE TRIGERRED! Or Enter the Tcode for which u want to know about user exits. Use menu SYSTEM->STATUS. Click on program name. GOTO-> OBJECT DIRECTORY ENTRY. Get the PACKAGE name. Enter Tcode smod Give the package name Well get list of all user exits related to that particular Tcode Or MESSAGE TYPE R 6 TYPES----> I----> INFORMATION S----> STATUS A----> ABORT W----> WARNING E----> ERROR X----> EXIT WITH ABAP DUMP. Question: Is it possible to write code in LSMW if so when wills you write? Answer: Write code in LSMW is possible. We will write code in LSMW when we need some condition or mapping data in step maintain field mapping and Conversion rule. Or when we don't have a developer key, we can use LSMW as editor to coding for process and insert table. We can use step maintain field mapping and Conversion rule at position after end-of-transaction and before end-of-processing. Question: what is Delivery? In which table does delivery data will be stored?

Answer:

LIKP-Delivery Header Data LIPS - Delivery item document

Question: After preparing the SAP script. What is the procedure to send that script to e-mail? Question: what is Initialization Purpose? Answer: Initialization is the first event when u r writing the Report. It will triggers before displaying the selection screen. This event is used to provide default values to the Selection screen. But directly we give default values to the selection screen Using default key word for select-options statement. The use of initialization events is we have to calculate the low and high values in the initialization event then it will display on the selection screen. For ex: Low = sy-datum. High = 10 + sy-datum. Here we are not giving direct values to the selection screen we are calculating the high value then after words we are Giving the high value to the selection screen. Select-options: evbeln for vbak. Initialization. Evbeln-low = '7580'. Evbeln-high = '7590'. Evbeln-sign = 'i'. Evbeln-options = 'bt'. I mean include. Those 7580 and 7590 are included. If we use e exclude. BT means between. Question: Events in Reports? Answer: initialization At selection-screen output At selection-screen Start-of-selection End-of-selection Top-of-page End-of-page

Question: what the Recording Purpose? Answer: To upload the multiple data from flat file

Question: What is Internal Table? Answer: Its a table which has no primary key and a temporary ones. We can have any number of duplicate records we want Or Internal table is just a structure that exists only during run-time. It could be used as a snapshot of database table. Question: What are Call Transaction Modes? Answer: There r 3 modes in call transaction. 1. A - all screens 2. E - error screens 3. N - no screens

Question: what is system Variables? Answer: System variable r sap defined us can use any where of a program and also these are global Question: How 10 Digits are stored in Packed Decimal? In Data Types, Packed p?

Question: How can i develop more than 30 interactive lists in reports? Answer: We can create 30 interactive lists by using submit statement, means of calling report, in any of the interactive list. Or Using Drill-down reports we can create 30 interactive list. Question: How to insert data in internal table? Answer: using append, insert statements u can enter the data into the internal tables.

Question: Give the syntax of Inner, outer Join?" Answer: inner join: Select P~<fieldname> d~<fieldname> into corresponding fields of table internal table> from (<table> as p inner join <table> as d on <join condition> and <cond>.

Outer join: Select P~<fieldname> d~<fieldname> into corresponding fields of table <internal table> from (<table> as p left outer join <table> as d on <join condition> and <cond>. Question: what is Hide? Answer: In interactive reporting if we click on some field values and if we want to get those values afterwards then we will Use hide technique. Hide: 'here we can give the values what are to be stored'. This hide mainly works if a write statement is executed. The variables used beside hide will be stored in an internal Table. Question: Domain-use? Answer: Domain is a common field, which can be used in multiple tables. It is just like a template with data type, size. Eg. If we have student, department table, we can create a single domain for, student no, dept no... Or Used to the get the technical attributes of a field. Question: In Dialog program Syntax of Synchronous and Asynchronous?

Question: what is the different event functions used in SAP Scripts? Answer: OPEN_FORM START_FORM WRITE_FORM END_FORM CLOSE_FORM What is the difference between BAPI and RFC?

Question:

Answer: The main and basic difference between BAPIs and RFC is the business Object. Both are remote-enabled calls. But business object differentiates between them or BAPIs are RFC enabled function module stored in BOR (Business Object Repository) used for access

datas from other system. SAP defined BAPI are easy to use by another system such as JAVA VB etc. Question: Menu painter? Answer: Its a tool to Create and maintain the menus/GUI status for the user defined transactions, screens, Ldb's and programs. The Tcode is se41. Or Menu painter transaction Tcode is SE43. It is used for maintain the menus status for user defined transactions, screens and programs. Question: what is the functionality of Runtime Analysis?

Answer: It is a tool used for optimizing your programs. Generally used for performance of programs. Runtime analysis shows you how long it takes to process ABAP code, from single statements to a complete transaction. T-code SE30. Or Its a Tool, Used for Analyzing the Performance of the System Calls. Tcode is SE30'. Question: Performance techniques?

Answer: Let's talk about internal table 1) While fetching data from transparent table. Fully used Index key. 2) Before deleting data from internal table, use Sort on internal table. 3) While deleting particular field, do use the option called comparing. You get this syntax in library. 4) Instead of multiple Loop statement, do use Loop + Read table statement. 5) In your report, your main table is EKKO and based on EKKO, you fetched the further data from EKPO and MARA. Here, if you failed to get the record from EKKO, after select fields from EKKO. If sy-subrc <> 0. Exit. ENDIF. This comes out of the report, if you set any message like information.No data Exist", this would appear on the screen.

6) Try to use for all entries syntax.

Question:

Brief scenario of check table / value table?

Answer: Value Table - This is maintained at Domain Level. When ever you create a Domain, you can enter allowed values. For example you go to Domain SHKZG Debit/credit indicator. Here only allowed values are H or S. When ever you use this Domain, the system will force you to enter only these values. This is a sort of master check . To be maintained as a customization object. This means that if you want to enter values to this table you have to create a development request & transport the same. Check table - For example you have Employee master table & Employee Transaction table. When ever an employee Transacts we need to check whether that employee exists, so we can refer to the employee master table. This is nothing but a Parent & Child relationship. Here data can be maintained at client level, no development involved. As per DBMS what we call foreign key table, is called as check table in SAP. Question: If you are at 3rd list how you can back to 1st list?

Answer: If we refer the 1st list as the basic list then we have to make the system variable sy-lsind to 0. So that we will be in the 1st list. If it is 1st secondary list then make sy-lsind to 1. There are 1 basic list and 20 secondary list. Question: Answer: Question: How many interactive lists? There can be up to 20 interactive lists what is DYN Begin?

Answer: It holds the initial screen number. Dynbegin indicates the new screen in BDCDATA table

Question:

BDC Data which format?

Answer: It is structure having the fields program, dynpro, Dynbegin, fnam, fval .It is character format. Question: Answer: BDC Structure?

Field Name Type Length Description Program Char 8 BDC module pool Dynpro Numc 4 BDC dynpro number Dynbegin Char 1 BDC starting a dynpro Fnam Char 35 BDC Field name Fvalue Char 80 BDC Field value Tell me about NGT?

Question:

Question: Why you are creating tables? Already so many Predefined tables are there? Answer: Tables that are created by user are of two types:-

1)Internal tables : which represent the exact structure of DDIC tables by using internal tables the traffic of data dictionary can be reduced a lot and data exactly reside in DDIC can be retrieved easily. Question: why you are creating tables? Already so many Predefined tables are there? Answer: Sap tables dont satisfy the customer needs fully. So we go in for customized tables. The purpose may vary. Sometimes these tables also act as a buffer where data is stored before populating them into SAP tables. Question: who will release request number?

Answer: To release the request, go to transaction code SE09..Serach your request no. Double click on the request, you will get sub task, in that u will get one option called component, whatever component like script form, standard text, se38 program, you have Attached in that request, those entire components would appear under the component tab.

Go to main request no, select it. You will get new truck kind of symbol, which is being used to transport the request from one client to other. Here you need to give sending as well as receiving client details like D16-300 (Development Client) Or Q16-310 (Testing Client) Sending D16- 300 Question: Answer: Receiving Client Q16-310. what is text symbol and standard symbol? In relation to SAP Script,

Text Symbols - defined using control command DEFINE. ex. &x1& = '12'. It can be defined for any text module and is valid only in the text module for which you have defined it. Standard symbol - they are user defined. Maintained centrally in table TTDTG.

Question:

What you did in scripts?

Question: What is the difference between Select single * and Select ... Up to one row. And which method is better for performance? Answer: Select... Up to one row will have better performance than the Select single * Or Select single read db records with primary key. Select up to doesnt read for a primary key, instead it will try to find the most suitable index. Hence select up to is faster than select single.

Question: In selection screen I have three fields- Plant, Material No, and Material group. If i insert plant how do i get the material no and material group based on plant dynamically?

Answer: at-selection screen on field. In that field, we can write a select statement to retrieve data from database based on filed and assign their values to parameters. (In checking we can) Or we have to write select statement which will fetch all the material no, and group which belongs to that particular plant Question: sql ? What is the difference between open sql & native

Answer: native sql: are not checked and converted they are sent directly to the database system .allows to use database specific sql statements in an abap program. Open sql: it will work on any r/3 system regardless of the database system in use.

Question:

How do you generate interactive lists in ALV?

Answer: in FM reuse_alv_grid_display. Pass the value to the following . Parameters, callback_program = sy-repid. callback_usercommand = interactive list. Then create a subroutine like form interactive list using r_ucomm like sy-ucomm using rfield like rs_selfield. Set parameter id id1 field r_field. ......... Endform.

Question: Answer:

what is MSEG, MKPF? MSEG material document segment table MKPF material document header table

Question: Answer: Question: Answer: Question: Answer: Question:

tell me some of FI/CO tables BSEG, BKPF, PAYR, REUGH what is the Tcode to function module? se37 what is Tcode to write ABAP program? TRANSACTION CODE: SE38 How do you create a table?

Answer: Use Tcode SE11 and Create Fields with Domain Name/Data Type

Question:

How do you see the data in a table?

Answer: use t code se12. Display table. Click on utilities-table contents-display. Question: what is BAPI?

Answer: BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet. BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology Question: What is IDOC?

Answer: It is a standard intermediate document used in EDI/ALE process used in transferring the business objects to business partners and in distribution of master data to the diff plants which belongs to diff company codes. Or IDOCs is nothing but a container of data. It holds the data which is to be transferred to other system. IDOCs hold the data in CHAR format. Just like a word document which is used to send data to others, IDOCs is used to send Business related data to send data to other system. Question: How do you check (find) out the user exists?

Answer: TCODE: SPRO HERE WE ARE FINDING SALES USEREXITS.. SPRO |_ SAP CONFIGURE IMG |_SYSTEM MODIFICATION |_USER EXITS |_USER EXITS IN SALES |_USER EXITS IN SALES DOCUMENT PROCESSING |_ HERE U SEES SOME USEREXITS, SELECT FROM THEM

Question:

What is user exists?

Answer: It's a classical type of enhancing the standard programs without modifying Question: What is meant by enhancements?

Answer: changes that are to be made. Changes can be done in the current version or in the next version Or Enhancement is one with which we can add our own functionality without modifying the standard program provided by SAP according to the business needs. There has not been any problem for enhanced code for SAP newer version releases.

Or enhancement means adding some functionality to the standard program for this first go to CMOD find the user exit and in that user exit make the changes in the include program provided by sap Question: what is Cross Applications?

Question: what IDOCs will have and respected tables to out them? What is work flow? Question: what is the Performance technique you used?

Question: How do you generate interactive lists in ALV? Answer: in FM reuse_alv_grid_display, pass the value to the foll. Parameters, callback_program = sy-repid. callback_usercommand = interactive list. Then create a subroutine like form interactive list using r_ucomm like sy-ucomm Using rfield like rs_selfield Set parameter id id1 field r_field. ......... Endform. Question: What are the FM's you used in ALV? Answer: REUSE_ALV_LIST_DISPLAY REUSE_ALV_GRID_DISPLAY REUSE_ALV_BLOCK_LIST_APPEND REUSE_ALV_BLOCK_LIST_DATA_GET REUSE_ALV_BLOCK_LIST_DATA_SET REUSE_ALV_BLOCK_LIST_DISPLAY REUSE_ALV_BLOCK_LIST_HS_APPEND REUSE_ALV_BLOCK_LIST_INIT REUSE_ALV_BLOCK_LIST_REFRESH REUSE_ALV_BLOCK_STATUS_GET REUSE_ALV_CHECKBOX_SET REUSE_ALV_COMMENTARY_WRITE REUSE_ALV_EVENTS_GET REUSE_ALV_EVENTS_TRANSFER REUSE_ALV_EVENT_NAMES_GET REUSE_ALV_FIELDCATALOG_MERGE REUSE_ALV_HIERSEQ_LIST_DISPLAY

REUSE_ALV_HS_LIST_WIDTH_GET REUSE_ALV_HS_TABLES_GET REUSE_ALV_LIST_DISPLAY REUSE_ALV_LIST_LAYOUT_INFO_GET REUSE_ALV_LIST_LAYOUT_INFO_SET REUSE_ALV_LIST_WIDTH_GET REUSE_ALV_POPUP_TO_SELECT REUSE_ALV_TABLES_GET REUSE_ALV_TABLE_CREATE Question: What is field catalog?

Answer: Field catalog comes in ALV. Through Field catalog, u can tell ALV as to which fields have to be displayed in the list and at what position they have to be.... Question: How do you run the scripts?

Answer: After creating a form of your requirement, by calling some function modules. They are open_form, write_form and Close_form. In open_form the form name will be given, in Write_form the data which has to transfer to the form will be given. So by executing the program we can reach our requirements. Question: Answer: Question: Answer: what is TNAPR table? It consists of form and its corresponding driver program "What is NAST Table, what it will consists?" it is nothing but Message Status table. it is cluster table

Question: How do you check it out whether the Logo is added or not in your forms? Answer: if you think you have successfully uploaded the logo then better take a printout and test it... Coz some of the logos uploaded in BMP or TIFF format won't be seen in Print Preview... But would be successfully uploaded... The only way to check it out is by taking a print out.

Question:

How you upload Logo?

Answer: In Scripts U can upload the logo using the TCODE se78.or using the SAP STANDARD PROGRAM CALLED RSTXLDMC using this program u can upload the logo in scripts. Question: What is the FM you used in Session method?

Answer: THE FM'S USED IN SESSION METHOD ARE OPEN_GROUP, INSERT_GROUP, CLOSE_GROUP. Question: Answer: session. How will you do in session method? 1. First Identify name of the transaction for doing bdc

2. Write a program to build a bdctable that will be used to submit the data into SAP. 3. Final Step is Submit the BDC TABLE INTO system using single transaction (CALL TRANSACTION) OR SESSION METHOD. Question: Answer: Modes in Call Transaction? There are 3 modes A: Display All E: Errors only N: Display Nothing Question: Question: Question: Question: What are the things you did in ALV grid display? What you modified in Purchase Order? What you did in scripts? What is Direct Input method?

Question: Answer:

How do you do Recording and what will you do? RECORDING [SHDB]:

IN THE MENU BAR SELECT... SYSTEM |_SERVICES |_BATCH INPUT |_RECORDER CLICK ON 'NEW RECORDING' TAB THEN ENTER THE VALUES IN THE FIELDS AS.. RECORDING: PR (FOR PURCHASE REQ) TCODE : ME51 CLICK ON 'START RECORDING' TAB AFTER THIS U ENTER THE FIELDS WAT U NEEDED TO FILL, AFTER FILLING THE NECESSARY FIELDS 'SAVE'.AFTER SAVING RECORDING WILL STOP! AFTER THIS U WRITE UR OWN BDC PROGRAM! Question: What you did in BDC?

Answer: Actually, bdc is used to transfer data from a non-sap System to a sap system or vice-versa. The methods we have in abap are batch input session, call Transaction using and direct input method. But now no one is using direct input method unless it is Necessary. Or In case of transfer data from non-sap to sap system:

First Upload data into internal table. Then store that data into R3Database.Before storing data we have to validate that data for this we have to perform mapping logic. here if the valid data transferred to R3 database, invalid data stored in log files .for mapping we can use predefined mapping logic method, nothing but session, call transaction .... Question: Question: Question: Explain a report that you recently did? How do you handle in Call Transaction? Tell me MM related report that you have done?

Question:

difference between BAPIs and Lsmw

Answer: BAPIs are RFC enable function module used to update datas from legacy system. LSMW also used to upload data but it is mostly used by Functional people not generally used by the ABAP technical consultant. Question: what is the syntax for eliminating duplicate values in internal table? Answer: By using select Distinct

Or syntax: DELETE ADJACENT DUPLICATE ENTRIES FROM <ITAB> [COMPARING<F1><F2>.....|ALL FIELDS]. Question: what is the Tcode to send customer master data to another system. Answer: SEND MATERIAL MASTER: BD10 GET MATERIAL MASTER: BD11 SEND VENDOR MASTER: BD12 GET VENDOR MASTER: BD13 SEND CUSTOMER MASTER: BD14 GET CUSTOMER MASTER: BD15

Question: what is the print program used to change the status of IDOC from 03-12 Answer: Question: rbdmoind what is the use of free and refresh?

Answer: refresh clears the data in the internal table and free not only clears data but also frees memory for the same

Or refresh clears the data in the internal table body .but free clears the data in the body and as well as in work area. Question: what is the transaction code for asset master transaction? Answer: Question: AS01 give example of sap memory and abap memory

Answer: SAP Memory SAP memory is a memory area to which all main sessions within a SAP Gui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using The GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens ABAP/4 Memory ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal Session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. Or SAP memory The SAP memory, otherwise known as the global memory, is available to a user during the entire duration of a terminal session. Its contents are retained across transaction boundaries as well as external and internal sessions. The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory. ABAP/4 memory The contents of the ABAP/4 memory are retained only during the lifetime of an external session (see also Organization of Modularization

Units). You can retain or pass data across internal sessions. The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory. Question: how will you debug sap script?

Answer: Use the Standard program RSTXDBUG execute the program in which client u want debug the script, then automatically switch on the debugger. Or 1) In command prompt put /h and execute. Next run script program. 2) In script program Goto menu path and activate sap script debugger

Question: What actually is real time implementation how many phases are there in that? Answer: Best implement of ERP can be done using its 11 stages and these are as follows -Pre-evaluation and screening -Package evaluation -Project planning phase -Gap analysis -Reengineering -Configuration -Implementation team training -Testing -Going live -End-user training

-Post-implementation Question: What is the difference between BAPI and RFC?

Answer: The main and basic difference between BAPIs and RFC is the business object. Both are remote-enabled calls. But business object differentiates between them. Or BAPIs are RFC enabled function module stored in BOR (Business Object Repository) used for access datas from other system. SAP defined BAPI are easy to use by another system such as JAVA VB etc. Question: what is ALE?

Answer: application linking and enabling between r/3 systems through IDOC using RFC communication.

Question:

Brief scenario of check table / value table?

Answer: Value Table - This is maintained at Domain Level. When ever you create a domain, you can enter allowed values. For example you go to Domain SHKZG Debit/credit indicator. Here only allowed values are H or S. When ever you use this Domain, the system will force you to enter only these values. This is a sort of master check. To be maintained as a customization object. This means that if you want to enter values to this table you have to create a development request & transport the same. Check table - For example you have Employee master table & Employee Transaction table. When ever an employee Transacts we need to check whether that employee exists, so we can refer to the employee master table. This is nothing but a Parent & Child relationship. Here data can be maintained at client level, no development involved. As per DBMS what we call foreign key table, is called as check table in SAP. Question: Program for Prime numbers and Matrix plz explain me the procedural method with steps Question: i want to print 1 to 100 in sap script in a single page in a vertical manner 1 6 2 7 3 8 . . . . How will i do it?

Question: tables. Question:

Differences between the sorted, standard, hashed Tcode for create Basic ALE settings?

Answer: SALE is a Tcode for manipulating. All the ALE related things, before going to do ale configuration, we have to check which logical system is receiving or sending system and decide then configure according to your requirement. Maintain logical systems Assign logical systems to a particular client RFC Destination maintaince Implementation model view and distribution model Partner profile check Port (medium) creation Question: Answer: Messages what is the Tcode BD87? To Select a particular IDOC and monitor the status of ALE

Question: Difference between Call By Value and Call By Reference? Answer: Call By Value: Creates a new memory location for use within the subroutine. The memory is freed once it leaves the subroutine. Changes made to the variable are not affected outside the subroutine. Call By Reference: Passes a pointer to the memory location. Changes made to the variable within the subroutine affects the variable outside the subroutine. Question: How will you process errors in session method?

Answer: In Session method, after processing the session there is buttons called incorrect and correct. When we pressed the incorrect button we can see the errors occurred during the Process. And Log will give where the error occurred Question: How you will catch errors in call transaction?

Answer: All the errors are entered into an internal table of type BDCMSGCOLL. Then we can loop over the message table to write out any messages that were entered into it. Question: Difference between ATPF and AT user command?

Answer: At pf<nn> will be triggered when a function key was pressed in any list. At user command will b triggered when a button or any element containing function code was clicked. Question: what will happen in Initialization event?

Answer: This event is used to assign values to the parameters on the selection screen. Question: what is check statement? Answer: If you use the CHECK <expr> statement within an event block but not within a loop, and the condition <expr> is not fulfilled, the system exits the processing block immediately. <expr> can be any logical expression or the name of a selection table. If you specify a selection table and the contents of the corresponding table work are do not fulfill the condition in the selection table, it is the same as a false logical expression. If you use the CHECK <expr> statement within an event block but not within a loop, and the condition <expr> is not fulfilled, the system exits the processing block immediately. If the CHECK statement occurs in a loop using DO, WHILE, or LOOP, it is the loop that terminates, not the processing block. A subroutine normally ends at the ENDFORM statement. However, you can terminate them earlier by using the EXIT or CHECK statement. In loop structures like

DO ... ENDDO WHILE ... ENDWHILE LOOP ... ENDLOOP SELECT ... ENDSELECT CHECK with a negative outcome terminates the current loop pass and goes back to the beginning of the loop to start the next pass, if there is one. In structures like FORM ... ENDFORM FUNCTION ... ENDFUNCTION MODULE ... ENDMODULE

Question: In ABAP what is the Use of "FOR ALL ENTRIES" Clause & when it is being used. And what it really does? Answer: In order to avoid nested select statements we can go for "FOR ALL ENTRIES". First fetch values from database table to internal table and only for the values in the internal table we can fetch values from other database table based on conditions in the where clause. It is mandatory that we have to declare all the primary keys in either select Stmt or in where condition. Or else duplicate records will not get selected. Question: when we use the SELECT statement along with FOR ALL ENTRIES then what type of validations we have do before executing this statement Answer: 1. check Primary table should not be blank. If not itab1 [] is initial. ... End if.

2. For all entries select statement should have all primary keys in where clause. 3. It is good for small data but for large data it is not good to use. Question: Difference between report and module pool

Answer: Report means you are displaying the records on the list, by fetching the records from the table and updating some table but in module pool programs you are showing the data in a screen and you can add different functionality like pushbutton, GUI menu, and PF etc. and it is called as module bcoz on screen you can't use subroutine or have to write the code in module, end module. Question: What is the difference between LSMW and BDC?

Answer: Actually there is no difference b/w these 2. Lsmw is just a tool to get the data from a legacy system. In bdc we have 2 write the code and call the required method. In functionality perspective there is no Difference. Or BDC is Batch Data Communication. It is basically a program either generated by SAP after a recording or programmed by a abaper.Its like running the transaction manually but all the data is populated on the screens automatically.It is a little complex when the screens contain table controls. LSMW is legacy system migration workbench is a more user-friendly tool thru which one can do the same as a BDC. One just has to follow some 14 steps, click buttons and the data is set to be uploaded &#8230;.LSMW offer you 4 ways to import data into SAP, they are BDC, Direct Input, BAPI(BO), IDOC. To spell out the differences in detail: Or LSMW: Legacy System Migration Workbench. BDC: Batch Data Communication. LSMW: It is used for migrating the data b/w the Non-SAP and SAP application to do for that we can take the Non-SAP application data and Converts the data into the Legacy data. (Legacy data means Cleansing data and Purging the data After the Legacy data creation convert the data in to the "Flat file". That flat file is in the form of text file or excel format. If the file is in the form of text format we can create the ".txt" file ("ABC.txt") and in the form of excel ".xls" file is created. Flat file for does and .xls file for IBM. The converted file (.txt/.xls)is either upload or download. The Upload functionality if used for .txt file to SAP and where as Downloading is the concept while SAP to .txt/.xls file. BDC: It is also used for migrating the b/w the non-sap to sap applications. In lsmw below 5000 records are updating or inserting purpose we can use the lsmw. But where as above 5000 records are uploaded we can use BDC.

Question:

WHAT IS INTERFACE? HOW MANY INTERFACES

Answer: Generally BAPI, ALE, IDOC are called interfaces. They allow getting data from other SAP or Non SAP system. Question: What is the difference between RFC & normal Function module? Answer: RFC is used to call the function module from the remote system, where as normal function module is used within the system. RFC is Remote Function Call which can be used to execute the function module on remote system to get the required data. To call the function module remotely, we have to enable the remote call radio button located in the attribute of the function module. Normal function module is one which can be used to execute the function module in the local system to get the required data. Or RFC stands for REMOTE FUNCTION CALL RFCs are used to establish a connection between two different application servers RFCs used for accessing functions of a function module in a function group present on different application servers with in a landscape i.e., for transfer of data directly between source and target client on remote systems in sap system landscape. In sap basis RFCs is used for remote client copies. Tcode RFC- sm59 display/maintain FUNCTION MODULE contains functions in particular to a module like finance, HR, MM........Function module is always created under function group. one group can contain one or more function modules a function module can be accessed from remote system where u can call it as RFC call. U create function module in following way 1. Tcode- sm37 2. Create a function group 3. Activate the function group 4. Create the function module 5. Activate the function module 6. Access the function module

Question: In Function module SAP provides Two Standard Exceptions, give name of those two exceptions. Answer: In the function module two standard exceptions are 1. Communication_failure 2. System_failure

Question: How can u get the Sales order no. if u know only Delivery order Answer: Enter the Delivery document # from the Change/Display (VL02/VL03) mode of the delivery document and Click the Document Flow tab. Or Go to the Delivery change or Display and give the Delivery number and press enter. In that Goto option Environment -> Document flow ". There it wills shows all the document no's and the Status of that Delivery also. Or we know the delivery order .using vbfa table we can find out the sales order no. in the where clause we have to mention the sales document category, delivery document category. Question: You have written a program for displaying a report on the screen. It is working fine and is displaying the report on the screen. now I change the resolution of my system and again I run the same program. what will be the output? Answer: No effect

Question: Suppose u r using FOR ALL ENTRIES. What happens when there is no data in the itab which is using all the entries? Answer: Checking All data will upload to main internal table with out any

Or If the table on which the For All Entries IN clause is based is empty, all rows are selected into the destination table. Hence it is advisable to check before-hand that the first table is not empty.

Or When you are using for all entries always check whether IF ITAB NOT INITIAL. This internal table is the one used 'for all entries in itab'. This will prevent from the query fetching all data. IF ITAB NOT INITIAL. Select ... for all entries in itab. End if.

Question: How can u transfer the data from one itab to another without using move & write statements? Answer: Transfer data can using command APPEND LINES OF itab1 [FROM idx1] [TO idx2] TO itab2. Or Using itab1 [] = itab2 []. Question: After the SESSION is created where is it stored?

Answer: It stores in the sm35. Where u know to see our session Name. Remove the lock and process the session. Or apqi-groupid store the session name. Question: How you prepare documentation?

Answer: There is an option in se38...Go to Utilities and there u can find option called documentation. Click that and u can write our documentation. Or An option is present in the menu Goto - documentation.

Or Also select the radio button documentation in the initial screen of ABAP editor and press display. If u wants create or change press change and write and save it Question: Suppose in the Report Program I want to pass data to another Report Program...How will you do that one?

Answer: U can do this by EXPORT IMPORT concept...u export all the data which you want may it be an internal table or just a structure or some data object using the command... EXPORT <f1> <f 2> ... TO MEMORY ID <key>. For individual variables and for exporting internal table the command is EXPORT <Table name> to MEMORY ID <Key>. Then, u can import them in some other program by using the command... IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>. Question: what are the steps in ALE?

Answer: Let us assume we are working with two clients namely Client 100 and Client 200 The settings for Decentralized Sales and Centralized Shipping are done in Following Manner. The Receiving System is Client 100 and Sending System is client 200. Sales Order created in client 200 initiates a Purchase Order automatically. This P.O. is send to client 100 as a Sales Order. The following is the step-by-step procedure: 1) SETUP LOGICAL SYSTEM: 2) ALLOCATE the created logical systems to respective clients. 3) DEFINE the RFC Destination. Do the following. 4) Distributing the Customer Model 5) Generate Partner Profiles using Cross Application -> Distribution (ALE) ->Distribution Customer Model 6) Distribute the Customer Model Again 7) Log on to client 100. Cross applications -> Distribution ALE ->Communications -> generate partner ->profiles for customer model.

Question: Answer: Question:

what is Tcode for Basic ALE configuration? SALE how you identify errors in call transaction?

Answer: With Call Transaction statement we can give the addition as MESSAGES INTO <internal table> which is of type BDCMSGCOLL which will contain all the messages. Then loop through this table to analyze the messages. Question: tell me about status codes?

Answer: These are the mile stones in transfer of IDOC by which the IDOC sending system knows the status of IDOC. These status numbers range from 1 to 49 for outbound processing and 50 to 99 for inbound processing. Question: What is the Difference Between basic list and interactive list? Answer: There is only a single basic list where as we can have any Interactive lists in which these should be between 1 and 20.By using lsind we can get the list number. Question: what is a label and why labels are not generated in smart forms? Question: can we create a smart form without a MAIN window? Give me the reason Answer: No. we can't create Main Window in smart form as it provides the features of looping the data which flows on every page created which is not possible in scripts. This is because Looping is not possible and is done by Main Window. Or it is possible to create smart form with out a main window. in case conformation of a mail to client or customer there is no need of main window, this can be send through smart form with out main window

Question: program? Answer: Or

which processor controls the flow logic of an online screen processor flow logic control processor.

Question: In SE11 we created two database tables say some 1000 fields each.Now f we want both the tables combined into one table, how do we do that? Answer: Or Append

If we have two tables a1 a2 to be combined in to a3 use Move-corresponding a1 to a3. Move-corresponding a2 to a3.

Question: will the messages in the call transaction. Will be stored in the database? Answer: NO, Because BDCMSGCOLL is a structure. Or Yes Question: If I code parameters and selection events without writing the start-of-selection, will the report runs? Answer: Yes, because the default selection-screen event is the Start-of-selection

Question: Answer: AT AT AT AT FIRST LAST NEW END OF

Control breaks statements in ABAP? Control break statements are:

Question:

what is the default event that is triggers in report?

Answer: Question: Answer: Question:

start-of-selection What is the Tcode for System Dump? ST22 what are OSS notes? What it contains?

Answer: OSS is an online SAP service portal which will have all kinds of updates about SAP patches and latest note information. Question: what is project system Landscape?

Answer: it is the number of presentation, application servers and data base server. Or In general this project system Landscape maintains minimum of 3 servers/systems. They are 1) Development system 2) Quality Assurance 3) Production System All these r in sequence. Depending upon the client requirement we can extend the Quality Systems & Production Systems to more than one. Question: Answer: Commonly used tables in MM and SD?

Commonly used tables in MM MARA,MAKT,MVKE Commonly used tables in SD,VBRK,VBRP,VBAK,VBPA,VBAP,LIKP,LIPS

Question: Answer: Question:

where are the system fields stored? SYST table What does import and export do?

Answer: Export: it will send the data to a memory which is an internally we store it. Import: it will receive data from that memory by using Import sap memory (around the session). Question: what are Table-Controls?

Answer: Table control is a tool used in dialog programming to view data in a table format. Question: Answer: Open-Form and Start-Form? open-form: to open a form start_form: to trigger a form from another form Question: Answer: what are the control break statements in Reports? At first, end at At new, end at At end of, end at On change of, end on At last, end at System fields in Interactive reports? SY-LSIND, SY-LISEL, SY-LINNO, SY-LILLI... what are the events in Module pool Programming?

Question: Answer: Question:

Answer: In general there are 4 events in module pool programs. Namely 1) PROCESS BEFORE OUTPUT (PBO) 2) PROCESS AFTER INPUT (PAI) 3) PROCESS ON VALUE REQUEST (POV) 4) PROCESS ON HELP REQUEST (POH). But on 4.x versions onwards the last i.e. POV & POH are not used.

Question: Upload?

what is the difference between upload and WS-

Answer: Upload is function used to write data from a file in the presentation server to internal table. Here you get a dialog-box to enter the path of the file name. Ws_upload also performs the same function, but without screen. Here you do not get a dialog-box; rather you need to type the path of the file name. Question: Answer: what is SAP R/3? What it means? SYSTEM APPLICATION PRODUCT IN DATA PROCESSING.

R/3 : Real time. It has tier arch. 1. CLIENT LAYER: It is the GUI 2. APPLICATION LAYER 3. DATABASE LAYER. Question: Answer: Events in Interactive reporting? At line-selection. At pf-status. At user-command. Top-of-page during line-selection. How do you do BDC?

Question:

Answer: By using SHDB transaction code, we will start the Recording. Through this we will process the code to report Programming & write the program. Through call transaction we will send data to database directly. But by using session method will process the same Process & after executing the report programming we will go To sm35 transaction code & record the data to the database Table. Or BDC-Batch Data Conversion/Communication. By using BDC we can transfer data from non-sap to sap system or sap to non-sap system. For this we have to perform 2 steps: 1. Uploading/Downloading Data. 2. Mapping Logic (for validations). We have some predefined methods for Mapping Logic... 1. Session Methods. 2. CallTransaction Method. 3. Recording.

Question:

How can you print the company logo?

Answer: If you are using SMARTFORMS it is pretty easy. Upload the logo using SE78 and then in layout of smart form have the logo called in one of the windows. Or you can use either RSTXLDMC program from abap editor or you can use SE78 to upload a logo. Question: What is ABAP query?

Answer: 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.

Question: Answer:

What are data integrity constraints? Foreign key relation ship

Question: Do servers in every company have a specific name can i know the server name of igate and its geographical location and how many servers do a company will have for sap Answer: Yes, each server has its specific name. U need to work in igate or get any one working in igate can do this favor for u. sap has only one server. Question: give examples of pool, cluster tables

Answer: These two tables are used in HRABAP, Different tables records are stored in one table is pool table...it follows binary search. Cluster follows same definition but it follows linear search

Or pooled table is an integration of two or more tables .it enhances efficiency by reducing time of search by binary search. Cluster tab is similar to pooled but all the tables clustered will have similar primary key.

Question: window?

what is the difference between window & page

Answer: Window: window is what type of window like variable, constant, Graphical and Main (Default). Page Window: It should be the Position like size of every window. Question: In what application server the business logic is developed/deployed? Question: What technology used at presentation layer for displaying GUI to SAP user? And where those files were put?

Wipro
Question: which layout sets you used? Answer: MEDRUCK is a predefined layout set, used for materials Management that I have used. Question: Types of updating in call transaction?

Answer: There are three types of updating in Call transaction. 1. Synchronous update 2. Asynchronous update 3. Local update Question: Answer: Modes in Call Transaction? Modes of displaying screens are 1) All 2) None 3) Error

Method of updating the database is 1) Synchronous 2) Asynchronous 3) Local Question: domain?


Answer:

Can you create a field without data element NO.

Or Yes. Itab like Mara. Like this we way we create table with out using domain and data element.

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