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 don’t 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. Let’s 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?

Also SM13/SM14 can be used.Answer: se30 is the Tcode for run time analysis. function modules.it will come last date.First Date? Answer: sy-date -1 . Using this we can modify tables at database level Or Table maintenance is nothing but adding / modifying / deleting records from table. . data base load. system load. 1. Or ULINE. Write: sy-uline. 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 . For getting of particular dates we have some function modules. Except that uline is used outside the ‘Write’ Statement. Or It is used to maintain tables and provide authorization for particular tables.There is an option called 'Buffering not allowed'. Question: what is exact difference between uline ad sy-uline? Answer: No difference. element level and program level. Question: Prepare a Report for last month Last Date. Sy-uline is a system field. is a tool it display report based on LPs for abap program execution time. You can use transactions SM30 / SM31 for the same. These are all will Display in micro seconds. 2. Question: what is table maintenance? Answer: sm30. One step maintenance. We can create search help at domain level. How many types are there? Answer: Search helps nothing but retrive possible values from a database level for a field. This tool will use for Transaction code. Two step maintenance Question: what is search helps. No-difference.

Question: A Report program is executed in Back ground mode. The users are based on an Organizational assignment defined in a configuration table. but it points to the field which is not known until the run time of the program. The out put of this program must be sent to the inbox for a list of users. Question: Final entry in the BDC Table? Answer: Final Entry of bdc table is SAVE bdc_okcode = 'save' ('/11') . It’s closely related to pointer concept in C. What is the Best way this can be performed? Answer: Since the users are having Org Assignment. Question: program? which processor controls the flow logic of an online Answer: screen processor Or flow logic control processor. 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: 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.

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. But if we use chain and end chain. Question: What is the way to precede search helps in POV? Answer: Use this function module . 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. if u doesn’t use this then. if one of the fields in selection screen is not properly entered it won’t allow u to enter the remaining fields.e. even if one of the fields is not entered correctly it will allow u to enter the remaining fields. DYNPROTAB i. In which the last field is fval (internal table-field). then we can use this chain and end chain. Normally. Transaction code of which module pool progs we are using in BDC Session method.Or The structure we use in BDC Programming is BDC Data.e.

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

But directly we give default values to the selection screen Using default key word for select-options statement. High = 10 + sy-datum. It will triggers before displaying the selection screen. Initialization. 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. Evbeln-options = 'bt'. Those 7580 and 7590 are included. 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. If we use e exclude. Evbeln-low = '7580'. Evbeln-high = '7590'. Select-options: evbeln for vbak. For ex: Low = sy-datum. 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 . 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. Evbeln-sign = 'i'. BT means between. This event is used to provide default values to the Selection screen.Answer: LIKP-Delivery Header Data LIPS .Delivery item document Question: After preparing the SAP script. I mean include.

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. A . 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. E . . Question: Give the syntax of Inner.all screens 2. Or Using Drill-down reports we can create 30 interactive list. 1.error screens 3. Question: What are Call Transaction Modes? Answer: There r 3 modes in call transaction. means of calling report. 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>. in any of the interactive list. We can have any number of duplicate records we want Or Internal table is just a structure that exists only during run-time. insert statements u can enter the data into the internal tables.Question: What is Internal Table? Answer: It’s a table which has no primary key and a temporary ones. N . It could be used as a snapshot of database table. Question: How to insert data in internal table? Answer: using append.

student no. The variables used beside hide will be stored in an internal Table.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: 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. This hide mainly works if a write statement is executed. Eg. Hide: 'here we can give the values what are to be stored'. which can be used in multiple tables. If we have student.. It is just like a template with data type. dept no. But business object differentiates between them or BAPIs are RFC enabled function module stored in BOR (Business Object Repository) used for access . size. 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. Question: Domain-use? Answer: Domain is a common field. Or Used to the get the technical attributes of a field.. department table. Both are remote-enabled calls. we can create a single domain for.

Used for Analyzing the Performance of the System Calls.”No data Exist". from single statements to a complete transaction. Generally used for performance of programs. Question: Menu painter? Answer: It’s a tool to Create and maintain the menus/GUI status for the user defined transactions. 3) While deleting particular field. 2) Before deleting data from internal table. do use the option called comparing. 5) In your report. Runtime analysis shows you how long it takes to process ABAP code. your main table is EKKO and based on EKKO. SAP defined BAPI are easy to use by another system such as JAVA VB etc. do use Loop + Read table statement. Fully used Index key. Question: Performance techniques? Answer: Let's talk about internal table 1) While fetching data from transparent table. ENDIF. You get this syntax in library. if you failed to get the record from EKKO. 4) Instead of multiple Loop statement. T-code SE30. If sy-subrc <> 0. Exit. It is used for maintain the menus status for user defined transactions. The Tcode is se41. screens. This comes out of the report. this would appear on the screen. Here. Or Menu painter transaction Tcode is SE43. after select fields from EKKO. Or It’s a Tool. Question: what is the functionality of Runtime Analysis? Answer: It is a tool used for optimizing your programs. you fetched the further data from EKPO and MARA. if you set any message like information. Tcode is ‘SE30'. .data’s from other system. screens and programs. Ldb's and programs. use Sort on internal table.

As per DBMS what we call foreign key table. Here data can be maintained at client level. This is a sort of master check .For example you have Employee master table & Employee Transaction table. For example you go to Domain SHKZG Debit/credit indicator. you can enter allowed values. This is nothing but a Parent & Child relationship. Dynbegin indicates the new screen in BDCDATA table . 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. When ever you create a Domain. To be maintained as a customization object.6) Try to use for all entries syntax. If it is 1st secondary list then make sy-lsind to 1.This is maintained at Domain Level. So that we will be in the 1st list. Question: Brief scenario of check table / value table? Answer: Value Table . so we can refer to the employee master table. is called as check table in SAP. the system will force you to enter only these values. There are 1 basic list and 20 secondary list. no development involved. When ever an employee Transacts we need to check whether that employee exists. 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. When ever you use this Domain. Here only allowed values are H or S. Check table . This means that if you want to enter values to this table you have to create a development request & transport the same.

in that u will get one option called component.Question: BDC Data which format? Answer: It is structure having the fields program. Sometimes these tables also act as a buffer where data is stored before populating them into SAP tables. you will get sub task.It is character format. you have Attached in that request.. standard text. So we go in for customized tables. dynpro.Serach your request no. Double click on the request. Question: why you are creating tables? Already so many Predefined tables are there? Answer: Sap tables don’t satisfy the customer needs fully. go to transaction code SE09. The purpose may vary. whatever component like script form. 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: who will release request number? Answer: To release the request. se38 program. . fval . Dynbegin. those entire components would appear under the component tab. fnam.

they are user defined. which is being used to transport the request from one client to other. Up to one row.300 Question: Answer: Receiving Client Q16-310. Up to one row will have better performance than the Select single * Or Select single read db records with primary key. instead it will try to find the most suitable index. and Material group. ex... what is text symbol and standard symbol? In relation to SAP Script. Question: What you did in scripts? Question: What is the difference between Select single * and Select . Text Symbols .defined using control command DEFINE. Standard symbol . Select up to doesn’t read for a primary key. select it. Here you need to give sending as well as receiving client details like D16-300 (Development Client) Or Q16-310 (Testing Client) Sending D16.Go to main request no. Question: In selection screen I have three fields. Hence select up to is faster than select single. &x1& = '12'. And which method is better for performance? Answer: Select.Plant. Maintained centrally in table TTDTG. If i insert plant how do i get the material no and material group based on plant dynamically? . You will get new truck kind of symbol. It can be defined for any text module and is valid only in the text module for which you have defined it... Material No.

. callback_program = sy-repid. Endform.. 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 . . we can write a select statement to retrieve data from database based on filed and assign their values to parameters..allows to use database specific sql statements in an abap program. Question: How do you generate interactive lists in ALV? Answer: in FM reuse_alv_grid_display.Answer: at-selection screen on field.. Question: Answer: what is MSEG. Pass the value to the following . MKPF? MSEG material document segment table MKPF material document header table . In that field. Set parameter id id1 field r_field... Parameters... Open sql: it will work on any r/3 system regardless of the database system in use. (In checking we can) Or we have to write select statement which will fetch all the material no. callback_usercommand = interactive list. Then create a subroutine like form interactive list using r_ucomm like sy-ucomm using rfield like rs_selfield.

This provides for greater stability of the linkage and independence from the underlying communication technology Question: What is IDOC? . either on a local network or on the Internet. 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. PAYR. BAPIs allow integration at the business level. 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. Display table. 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. Click on utilities-table contents-display. not the technical level.Question: Answer: Question: Answer: Question: Answer: Question: tell me some of FI/CO tables BSEG. BKPF. and between SAP and non-SAP components.

Question: How do you check (find) out the user exists? Answer: TCODE: SPRO HERE WE ARE FINDING SALES USEREXITS. . IDOCs hold the data in CHAR format.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. IDOCs is used to send Business related data to send data to other system. 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. Just like a word document which is used to send data to others. It holds the data which is to be transferred to other system. SPRO |_ SAP CONFIGURE IMG |_SYSTEM MODIFICATION |_USER EXITS |_USER EXITS IN SALES |_USER EXITS IN SALES DOCUMENT PROCESSING |_ HERE U SEES SOME USEREXITS.. Or IDOCs is nothing but a container of data. There has not been any problem for enhanced code for SAP newer version releases. 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.

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 . 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.... callback_usercommand = interactive list...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. Parameters. callback_program = sy-repid. Endform. .... pass the value to the foll.

. 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. In open_form the form name will be given. But would be successfully uploaded.. in Write_form the data which has to transfer to the form will be given.. They are open_form. Coz some of the logos uploaded in BMP or TIFF format won't be seen in Print Preview.. what it will consists?" it is nothing but Message Status table. So by executing the program we can reach our requirements.. Question: How do you run the scripts? Answer: After creating a form of your requirement...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... The only way to check it out is by taking a print out. write_form and Close_form. . Question: Answer: Question: Answer: what is TNAPR table? It consists of form and its corresponding driver program "What is NAST Table. by calling some function modules. u can tell ALV as to which fields have to be displayed in the list and at what position they have to be.

First Identify name of the transaction for doing bdc 2. INSERT_GROUP. 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]: .Question: How you upload Logo? Answer: In Scripts U can upload the logo using the TCODE se78. Write a program to build a bdctable that will be used to submit the data into SAP.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. Final Step is Submit the BDC TABLE INTO system using single transaction (CALL TRANSACTION) OR SESSION METHOD. CLOSE_GROUP. How will you do in session method? 1. 3. Question: Answer: session.

Then store that data into R3Database.for mapping we can use predefined mapping logic method. But now no one is using direct input method unless it is Necessary.. here if the valid data transferred to R3 database. 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? . 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. call Transaction using and direct input method. Or In case of transfer data from non-sap to sap system: First Upload data into internal table.... nothing but session. 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. The methods we have in abap are batch input session. call transaction .Before storing data we have to validate that data for this we have to perform mapping logic. bdc is used to transfer data from a non-sap System to a sap system or vice-versa.. invalid data stored in log files .IN THE MENU BAR SELECT.

.. Question: what is the Tcode to send customer master data to another system.Question: difference between BAPIs and Lsmw Answer: BAPIs are RFC enable function module used to update data’s from legacy system.. 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>.. 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 . LSMW also used to upload data but it is mostly used by Functional people not generally used by the ABAP technical consultant.|ALL FIELDS].

The program called can then read from the ABAP memory.Or refresh clears the data in the internal table body . The internal Session of the called program then replaces that of the calling program. Or SAP memory The SAP memory. Its contents are retained across transaction boundaries as well as external and internal sessions. Other ABAP programs can then retrieve the set parameters using The GET PARAMETER statement. 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. Data within this area remains intact during a whole sequence of program calls. If control is then returned to the program which made the initial call. To pass data to a program which you are calling. otherwise known as the global memory. the SAP memory. The SET PARAMETER and GET PARAMETER statements allow you to write to. is available to a user during the entire duration of a terminal session. the data needs to be placed in ABAP memory before the call is made. You can use SAP memory either to pass data from one program to another within a session. 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 . or read from. 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. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). the same process operates in reverse. or to pass data from one session to another. These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement.but free clears the data in the body and as well as in work area.

The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to. 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 . Question: how will you debug sap script? Answer: Use the Standard program RSTXDBUG execute the program in which client u want debug the script. Next run script program. or read data from. Or 1) In command prompt put /h and execute. You can retain or pass data across internal sessions.Units). the ABAP memory. then automatically switch on the debugger.

To be maintained as a customization object.This is maintained at Domain Level. Both are remote-enabled calls. is called as check table in SAP. . How will i do it? . Check table . Question: what is ALE? Answer: application linking and enabling between r/3 systems through IDOC using RFC communication. This is nothing but a Parent & Child relationship. When ever an employee Transacts we need to check whether that employee exists. For example you go to Domain SHKZG Debit/credit indicator. Question: Brief scenario of check table / value table? Answer: Value Table . Here only allowed values are H or S. Here data can be maintained at client level. you can enter allowed values.For example you have Employee master table & Employee Transaction table. SAP defined BAPI are easy to use by another system such as JAVA VB etc. This is a sort of master check.-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. Or BAPIs are RFC enabled function module stored in BOR (Business Object Repository) used for access data’s from other system. When ever you use this Domain. 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 . This means that if you want to enter values to this table you have to create a development request & transport the same. . the system will force you to enter only these values. no development involved. . so we can refer to the employee master table. As per DBMS what we call foreign key table. When ever you create a domain. But business object differentiates between them.

Question: tables. Changes made to the variable are not affected outside the subroutine. The memory is freed once it leaves the subroutine. Question: Differences between the sorted. All the ALE related things. before going to do ale configuration. standard. Changes made to the variable within the subroutine affects the variable outside the subroutine. we have to check which logical system is receiving or sending system and decide then configure according to your requirement. hashed Tcode for create Basic ALE settings? Answer: SALE is a Tcode for manipulating. Question: How will you process errors in session method? . 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. Call By Reference: Passes a pointer to the memory location.

Answer: In Session method. A subroutine normally ends at the ENDFORM statement. 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. When we pressed the incorrect button we can see the errors occurred during the Process. However. you can terminate them earlier by using the EXIT or CHECK statement. If you use the CHECK <expr> statement within an event block but not within a loop. Question: Difference between ATPF and AT user command? Answer: At pf<nn> will be triggered when a function key was pressed in any list. In loop structures like . Then we can loop over the message table to write out any messages that were entered into it. the system exits the processing block immediately. the system exits the processing block immediately. 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. WHILE. 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. <expr> can be any logical expression or the name of a selection table. and the condition <expr> is not fulfilled. If the CHECK statement occurs in a loop using DO. it is the loop that terminates. or LOOP. after processing the session there is buttons called incorrect and correct. and the condition <expr> is not fulfilled. not the processing block. Question: what is check statement? Answer: If you use the CHECK <expr> statement within an event block but not within a loop.

If not itab1 [] is initial.. Question: Difference between report and module pool ...DO . ENDFUNCTION MODULE . 3. . 2.. Or else duplicate records will not get selected. And what it really does? Answer: In order to avoid nested select statements we can go for "FOR ALL ENTRIES"... 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. In structures like FORM .. if there is one. End if.. ENDMODULE Question: In ABAP what is the Use of "FOR ALL ENTRIES" Clause & when it is being used.. ENDWHILE LOOP . For all entries select statement should have all primary keys in where clause. ENDDO WHILE ..... It is mandatory that we have to declare all the primary keys in either select Stmt or in where condition. ENDLOOP SELECT .. 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. 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... ENDFORM FUNCTION . check Primary table should not be blank. It is good for small data but for large data it is not good to use.

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

. 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. Tcode RFC. In sap basis RFCs is used for remote client copies. for transfer of data directly between source and target client on remote systems in sap system landscape. Activate the function group 4.sm59 display/maintain FUNCTION MODULE contains functions in particular to a module like finance. 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. They allow getting data from other SAP or Non SAP system.Function module is always created under function group. where as normal function module is used within the system.. To call the function module remotely..e. MM.Question: WHAT IS INTERFACE? HOW MANY INTERFACES Answer: Generally BAPI. ALE.. Question: What is the difference between RFC & normal Function module? Answer: RFC is used to call the function module from the remote system. Activate the function module 6. IDOC are called interfaces. U create function module in following way 1. RFC is Remote Function Call which can be used to execute the function module on remote system to get the required data.. Normal function module is one which can be used to execute the function module in the local system to get the required data. we have to enable the remote call radio button located in the attribute of the function module.. Access the function module . HR. Tcode..sm37 2. Create a function group 3. Create the function module 5..

Or we know the delivery order . Communication_failure 2. now I change the resolution of my system and again I run the same program. all rows are selected into the destination table. It is working fine and is displaying the report on the screen. Question: You have written a program for displaying a report on the screen. System_failure Question: How can u get the Sales order no.Question: In Function module SAP provides Two Standard Exceptions. what will be the output? Answer: No effect Question: Suppose u r using FOR ALL ENTRIES. Answer: In the function module two standard exceptions are 1.using vbfa table we can find out the sales order no. 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. In that Goto option “Environment -> Document flow ". . give name of those two exceptions. There it wills shows all the document no's and the Status of that Delivery also. delivery document category. in the where clause we have to mention the sales document category. 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. Hence it is advisable to check before-hand that the first table is not empty. Or Go to the Delivery change or Display and give the Delivery number and press enter.

for all entries in itab.. 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.. 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. This will prevent from the query fetching all data. Question: How you prepare documentation? Answer: There is an option in se38. Where u know to see our session Name. Or Using itab1 [] = itab2 []..Go to Utilities and there u can find option called documentation.How will you do that one? . Select . Or apqi-groupid store the session name. This internal table is the one used 'for all entries in itab'. Or Also select the radio button documentation in the initial screen of ABAP editor and press display. Remove the lock and process the session.. Question: After the SESSION is created where is it stored? Answer: It stores in the sm35.. Click that and u can write our documentation. IF ITAB NOT INITIAL.documentation.Or When you are using for all entries always check whether IF ITAB NOT INITIAL. End if.. Or An option is present in the menu Goto .

.. The following is the step-by-step procedure: 1) SETUP LOGICAL SYSTEM: 2) ALLOCATE the created logical systems to respective clients. For individual variables and for exporting internal table the command is EXPORT <Table name> to MEMORY ID <Key>.Answer: U can do this by EXPORT IMPORT concept. The Receiving System is Client 100 and Sending System is client 200. IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] . 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. This P. 3) DEFINE the RFC Destination.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. 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. is send to client 100 as a Sales Order. Do the following.....O.. . Cross applications -> Distribution ALE ->Communications -> generate partner ->profiles for customer model. TO MEMORY ID <key>.. Then. EXPORT <f1> <f 2> . u can import them in some other program by using the command... Sales Order created in client 200 initiates a Purchase Order automatically.

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. this can be send through smart form with out main window . These status numbers range from 1 to 49 for outbound processing and 50 to 99 for inbound processing. This is because Looping is not possible and is done by Main Window.By using lsind we can get the list number.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. 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. 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. 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. 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.

Or Yes Question: If I code parameters and selection events without writing the start-of-selection. Question: In SE11 we created two database tables say some 1000 fields each. Move-corresponding a2 to a3.Question: program? Answer: Or which processor controls the flow logic of an online screen processor flow logic control processor. 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? . will the report runs? Answer: Yes. 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. Will be stored in the database? Answer: NO.Now f we want both the tables combined into one table. Because BDCMSGCOLL is a structure. Question: will the messages in the call transaction.

Question: Answer: Commonly used tables in MM and SD? Commonly used tables in MM MARA. Depending upon the client requirement we can extend the Quality Systems & Production Systems to more than one.VBAK.LIPS Question: Answer: Question: where are the system fields stored? SYST table What does import and export do? . They are 1) Development system 2) Quality Assurance 3) Production System All these r in sequence. application servers and data base server.MAKT. Question: what is project system Landscape? Answer: it is the number of presentation.VBRP.VBPA.VBAP.MVKE Commonly used tables in SD.LIKP. Or In general this project system Landscape maintains minimum of 3 servers/systems.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.VBRK.

end at At new. end at On change of. what are the events in Module pool Programming? Question: Answer: Question: Answer: In general there are 4 events in module pool programs.. Question: Upload? what is the difference between upload and WS- .e. SY-LISEL. SY-LILLI. Import: it will receive data from that memory by using Import sap memory (around the session).. end at At end of. SY-LINNO. Namely 1) PROCESS BEFORE OUTPUT (PBO) 2) PROCESS AFTER INPUT (PAI) 3) PROCESS ON VALUE REQUEST (POV) 4) PROCESS ON HELP REQUEST (POH). 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.Answer: Export: it will send the data to a memory which is an internally we store it. POV & POH are not used.x versions onwards the last i. end at System fields in Interactive reports? SY-LSIND. end on At last. But on 4. Question: what are Table-Controls? Answer: Table control is a tool used in dialog programming to view data in a table format.

Uploading/Downloading Data. Top-of-page during line-selection. Here you do not get a dialog-box. 2. 1.Answer: Upload is function used to write data from a file in the presentation server to internal table. At user-command.. R/3 : Real time. CLIENT LAYER: It is the GUI 2. Through call transaction we will send data to database directly. Session Methods. It has tier arch. but without screen. We have some predefined methods for Mapping Logic. Question: Answer: Events in Interactive reporting? At line-selection. 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. APPLICATION LAYER 3. Mapping Logic (for validations). DATABASE LAYER. Here you get a dialog-box to enter the path of the file name. How do you do BDC? Question: Answer: By using SHDB transaction code. For this we have to perform 2 steps: 1. At pf-status.. Recording. Ws_upload also performs the same function. 2. . Question: Answer: what is SAP R/3? What it means? SYSTEM APPLICATION PRODUCT IN DATA PROCESSING. CallTransaction Method. Or BDC-Batch Data Conversion/Communication. we will start the Recording. 3. By using BDC we can transfer data from non-sap to sap system or sap to non-sap system. Through this we will process the code to report Programming & write the program. 1. rather you need to type the path of the file name.

Question: give examples of pool...Question: How can you print the company logo? Answer: If you are using SMARTFORMS it is pretty easy. each server has its specific name. Statistics: Reports with statistical functions like Average. cluster tables Answer: These two tables are used in HRABAP. Finally. Different table’s records are stored in one table is pool table. Or you can use either RSTXLDMC program from abap editor or you can use SE78 to upload a logo. Functional group can be created using with or without logical database table. Percentages. Upload the logo using SE78 and then in layout of smart form have the logo called in one of the windows. ABAP/4 Query can generate the following 3 simple reports: Basic List: It is the simple reports. create a query on the functional group generated. programmer has to create user group and a functional group. sap has only one server. – For creating a ABAP/4 Query.it follows binary search. Ranked Lists: For analytical reports. assign user group to functional group. Cluster follows same definition but it follows linear search . Question: What is ABAP query? Answer: ABAP/4 Query is a powerful tool to generate simple reports without any coding. U need to work in igate or get any one working in igate can do this favor for u. 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. Finally.

Or pooled table is an integration of two or more table’s . 1. used for materials Management that I have used. Local update Question: Answer: Modes in Call Transaction? Modes of displaying screens are 1) All 2) None 3) Error . Graphical and Main (Default). constant. Question: window? what is the difference between window & page Answer: Window: window is what type of window like variable. 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. Synchronous update 2. Asynchronous update 3. Page Window: It should be the Position like size of every window.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: Types of updating in call transaction? Answer: There are three types of updating in Call transaction.

Like this we way we create table with out using domain and data element. Or Yes.Method of updating the database is 1) Synchronous 2) Asynchronous 3) Local Question: domain? Answer: Can you create a field without data element NO. Itab like Mara. .

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer: Get 4 months of Scribd and The New York Times for just $1.87 per week!

Master Your Semester with a Special Offer from Scribd & The New York Times