ABAP tutorial - SAP Online Tutorials

Class Summary

ABAP (Advanced Business Application Programming) is the default programming language for SAP applications. This course will teach you basic to advance ABAP programming.

What should i know?

If you are an absolute newbie take the SAP Beginner Course. Familiarity with SAP GUI is required. 


ABAP Fundamentals
1 - Introduction to ABAP
2 - Data Dictionary
3 - Modularity in ABAP: Macro,Include,Subroutines,Function Modules & Groups
Lets Dive into Database
4 - Native and Open SQL
5 - SAP Internal Tables
6 – ABAP Table Controls
Lets CODE!
7- ABAP Report Programming
8- ABAP Dialog Programming
9- Subscreens
10- Process on Value & Process on Help
11- ALV – ABAP List Viewer Programming
Forms and Scripts
12- All About SAP Scripts
13- Smart Forms
Time for Some Exits
14 – Customer and User Exits
15- BADI
Lets Transfer Some Data!
16- All About ABAP Query
17- SAP BDC – Batch Data Communication
18- What is EDI ,ALE and iDOC?
19- IDOC:Definition, Architecture, Implementation
20-All About BAPI
21- RFC

HR (Human Resource) Interview Questions and Answers For Freshers 2016

  • Tell me about yourself: - The most often asked question in interviews. You need to have a short statement prepared in your mind. Be careful that it does not sound rehearsed. Limit it to work-related items unless instructed otherwise. Talk about things you have done and jobs you have held that relate to the position you are interviewing for. Start with the item farthest back and work up to the present.
  • Why did you leave your last job? - Stay positive regardless of the circumstances. Never refer to a major problem with management and never speak ill of supervisors, co-workers or the organization. If you do, you will be the one looking bad. Keep smiling and talk about leaving for a positive reason such as an opportunity, a chance to do something special or other forward-looking reasons.
  • What experience do you have in this field? - Speak about specifics that relate to the position you are applying for. If you do not have specific experience, get as close as you can.
  • Do you consider yourself successful? - You should always answer yes and briefly explain why. A good explanation is that you have set goals, and you have met some and are on track to achieve the others.
  • What do co-workers say about you? - Be prepared with a quote or two from co-workers. Either a specific statement or a paraphrase will work. Jill Clark, a co-worker at Smith Company, always said I was the hardest workers she had ever known. It is as powerful as Jill having said it at the interview herself.
  • What do you know about this organization? - This question is one reason to do some research on the organization before the interview. Find out where they have been and where they are going. What are the current issues and who are the major players?
  • What have you done to improve your knowledge in the last year? - Try to include improvement activities that relate to the job. A wide variety of activities can be mentioned as positive self-improvement. Have some good ones handy to mention.
  • Are you applying for other jobs? - Be honest but do not spend a lot of time in this area. Keep the focus on this job and what you can do for this organization. Anything else is a distraction.
  • Why do you want to work for this organization? - This may take some thought and certainly, should be based on the research you have done on the organization. Sincerity is extremely important here and will easily be sensed. Relate it to your long-term career goals.
  • Do you know anyone who works for us? - Be aware of the policy on relatives working for the organization. This can affect your answer even though they asked about friends not relatives. Be careful to mention a friend only if they are well thought of.
  • What kind of salary do you need? - A loaded question. A nasty little game that you will probably lose if you answer first. So, do not answer it. Instead, say something like, That’s a tough question. Can you tell me the range for this position? In most cases, the interviewer, taken off guard, will tell you. If not, say that it can depend on the details of the job. Then give a wide range.
  • Are you a team player? - You are, of course, a team player. Be sure to have examples ready. Specifics that show you often perform for the good of the team rather than for yourself are good evidence of your team attitude. Do not brag, just say it in a matter-of-fact tone. This is a key point.
  • How long would you expect to work for us if hired? - Specifics here are not good. Something like this should work: I’d like it to be a long time. Or As long as we both feel I’m doing a good job.
  • Have you ever had to fire anyone? How did you feel about that? - This is serious. Do not make light of it or in any way seem like you like to fire people. At the same time, you will do it when it is the right thing to do. When it comes to the organization versus the individual who has created a harmful situation, you will protect the organization. Remember firing is not the same as layoff or reduction in force.
  • What is your philosophy towards work? - The interviewer is not looking for a long or flowery dissertation here. Do you have strong feelings that the job gets done? Yes. That’s the type of answer that works best here. Short and positive, showing a benefit to the organization.
  • If you had enough money to retire right now, would you? - Answer yes if you would. But since you need to work, this is the type of work you prefer. Do not say yes if you do not mean it.
  • Have you ever been asked to leave a position? - If you have not, say no. If you have, be honest, brief and avoid saying negative things about the people or organization involved.
  • Explain how you would be an asset to this organization - You should be anxious for this question. It gives you a chance to highlight your best points as they relate to the position being discussed. Give a little advance thought to this relationship.
  • Why should we hire you? - Point out how your assets meet what the organization needs. Do not mention any other candidates to make a comparison.
  • Tell me about a suggestion you have made - Have a good one ready. Be sure and use a suggestion that was accepted and was then considered successful. One related to the type of work applied for is a real plus.
  • What irritates you about co-workers? - This is a trap question. Think real hard but fail to come up with anything that irritates you. A short statement that you seem to get along with folks is great.
  • What is your greatest strength? - Numerous answers are good, just stay positive. A few good examples: Your ability to prioritize, Your problem-solving skills, Your ability to work under pressure, Your ability to focus on projects, Your professional expertise, Your leadership skills, Your positive attitude .
  • Tell me about your dream job. - Stay away from a specific job. You cannot win. If you say the job you are contending for is it, you strain credibility. If you say another job is it, you plant the suspicion that you will be dissatisfied with this position if hired. The best is to stay genetic and say something like: A job where I love the work, like the people, can contribute and can’t wait to get to work.
  • Why do you think you would do well at this job? - Give several reasons and include skills, experience and interest.
  • What kind of person would you refuse to work with? - Do not be trivial. It would take disloyalty to the organization, violence or lawbreaking to get you to object. Minor objections will label you as a whiner.
  • What is more important to you: the money or the work? - Money is always important, but the work is the most important. There is no better answer.
  • What would your previous supervisor say your strongest point is? - There are numerous good possibilities: Loyalty, Energy, Positive attitude, Leadership, Team player, Expertise, Initiative, Patience, Hard work, Creativity, Problem solver
  • Tell me about a problem you had with a supervisor - Biggest trap of all. This is a test to see if you will speak ill of your boss. If you fall for it and tell about a problem with a former boss, you may well below the interview right there. Stay positive and develop a poor memory about any trouble with a supervisor.
  • What has disappointed you about a job? - Don’t get trivial or negative. Safe areas are few but can include: Not enough of a challenge. You were laid off in a reduction Company did not win a contract, which would have given you more responsibility.
  • Tell me about your ability to work under pressure. - You may say that you thrive under certain types of pressure. Give an example that relates to the type of position applied for.
  • Do your skills match this job or another job more closely? - Probably this one. Do not give fuel to the suspicion that you may want another job more than this one.
  • What motivates you to do your best on the job? - This is a personal trait that only you can say, but good examples are: Challenge, Achievement, Recognition
  • Are you willing to work overtime? Nights? Weekends? - This is up to you. Be totally honest.
  • How would you know you were successful on this job? - Several ways are good measures: You set high standards for yourself and meet them. Your outcomes are a success.Your boss tell you that you are successful
  • Would you be willing to relocate if required? - You should be clear on this with your family prior to the interview if you think there is a chance it may come up. Do not say yes just to get the job if the real answer is no. This can create a lot of problems later on in your career. Be honest at this point and save yourself future grief.
  • Are you willing to put the interests of the organization ahead of your own? - This is a straight loyalty and dedication question. Do not worry about the deep ethical and philosophical implications. Just say yes.
  • Describe your management style. - Try to avoid labels. Some of the more common labels, like progressive, salesman or consensus, can have several meanings or descriptions depending on which management expert you listen to. The situational style is safe, because it says you will manage according to the situation, instead of one size fits all.
  • What have you learned from mistakes on the job? - Here you have to come up with something or you strain credibility. Make it small, well intentioned mistake with a positive lesson learned. An example would be working too far ahead of colleagues on a project and thus throwing coordination off.
  • Do you have any blind spots? - Trick question. If you know about blind spots, they are no longer blind spots. Do not reveal any personal areas of concern here. Let them do their own discovery on your bad points. Do not hand it to them.
  • If you were hiring a person for this job, what would you look for? - Be careful to mention traits that are needed and that you have.
  • Do you think you are overqualified for this position? - Regardless of your qualifications, state that you are very well qualified for the position.
  • How do you propose to compensate for your lack of experience? - First, if you have experience that the interviewer does not know about, bring that up: Then, point out (if true) that you are a hard working quick learner.
  • What qualities do you look for in a boss? - Be generic and positive. Safe qualities are knowledgeable, a sense of humor, fair, loyal to subordinates and holder of high standards. All bosses think they have these traits.
  • Tell me about a time when you helped resolve a dispute between others. - Pick a specific incident. Concentrate on your problem solving technique and not the dispute you settled.
  • What position do you prefer on a team working on a project? - Be honest. If you are comfortable in different roles, point that out.
  • Describe your work ethic. - Emphasize benefits to the organization. Things like, determination to get the job done and work hard but enjoy your work are good.
  • What has been your biggest professional disappointment? - Be sure that you refer to something that was beyond your control. Show acceptance and no negative feelings.
  • Tell me about the most fun you have had on the job. - Talk about having fun by accomplishing something for the organization.
  • Do you have any questions for me? - Always have some questions prepared. Questions prepared where you will be an asset to the organization are good. How soon will I be able to be productive? and What type of projects will I be able to assist on? are examples.

30+ Best Questions To Ask Employers During HR Interviews

Usually by the end of the interview the HR person would ask you whether you have any questions. Under the stress of the job interview sometimes nothing comes to mind, but here’s a list of useful questions to ask.
  1. Why do you enjoy working for this company?
  2. What attracted you to this organization?
  3. Can you describe the work environment here?
  4. How do you describe the philosophy of the company or organization?
  5. What do you consider to be the organization’s strengths and weaknesses?
  6. Can you tell me more about my day-to-day responsibilities?
  7. How soon are you looking to fill this position?
  8. How do my skills compare with those of the other candidates you have interviewed?
  9. I have really enjoyed meeting with you and your team, and I am very interested in the opportunity. I feel my skills and experience would be a good match for this position. What is the next step in your interview process?
  10. Before I leave, is there anything else you need to know concerning my ability to do this job?
  11. In your opinion, what is the most important contribution that this company expects from its employees?
  12. Is there a structured career path at the company?
  13. What are my prospects for advancement? If I do a good job, what is a logical next step?
  14. Assuming I was hired and performed well for a period of time, what additional opportunities might this job lead to?
  15. Do the most successful people in the company tend to come from one area of the company, such as sales or engineering, or do they rise from a cross section of functional areas?
  16. I know that for the position for which I am interviewing, the company decided to recruit from outside the organization. How do you decide between recruiting from within and going outside?
  17. How does this position relate to the bottom line?
  18. What advice would you give to someone in my position?
  19. What major problems are we facing right now in this department or position?
  20. Can you give me a formal, written description of the position? I’m interested in reviewing in detail the major activities involved and what results are expected.
  21. Does this job usually lead to other positions in the company? Which ones?
  22. Can you please tell me a little bit about the people with whom I’ll be working most closely?
  23. As I understand the position, the title as ________, the duties are _______, and the department is called ________. I would report directly to __________. Is that right?
  24. Can you talk about the company’s commitment to equal opportunity and diversity?
  25. Who are the company’s stars, and how was their status determined?
  26. How are executives addressed by their subordinates?
  27. What can you tell me about the prevailing management style?
  28. If you hired me, what would be my first assignment?
  29. Does the company have a mission statement? May I see it? Does the company have a mission statement? May I see it?

SAP ABAP Interview Questions And Answers For Freshers and Experienced (Beginners Tutorial) 2016

SAP ABAP Interview Questions and Answers

Here is the list of SAP ABAP Interview Questions and their answers. We have tried to assemble all types of SAP ABAP interview questions on this site. Please read them before you appear for any SAP ABAP interview.

What is SAP?

SAP is the name of software company founded in Germany in 1972 by five ex-IBM engineers. SAP stands for Systems, Applications, Products in Data Processing.Important products of SAP are SAP ERP, SAP BW, SAP Business Objects software and SAP HANA. SAP has many modules from logistic, financial and human resources domain.

What is SAP ABAP?

Full form of SAP ABAP is Advanced Business Application Programming. SAP ABAP is the development language used in SAP to develop RICEFW objects like Reports, Interfaces, Conversions, Extensions, Forms and Workflows. SAP ABAP has 3 main components.
  • Development Workbench
  • Data Dictionary
  • Repository Information
What are different modules in SAP?

SAP has many modules as listed below.
  • Sales and Distribution (SD)
  • Material Management (MM)
  • Warehouse Management (WM)
  • Production Planning (PP)
  • General Logistics (LO)
  • Quality Management (QM)
  • Financial Accounting (FI)
  • Controlling (CO)
  • Enterprise Controlling (EC)
  • Investment Management (IM)
  • Treasury (TR)
  • Personnel Administration (PA)
  • Personnel Development (PD)
What are the components in SAP ABAP?

SAP ABAP has following applications/sub-modules/screens:
  • ABAP Workbench
  • Menu Painter
  • Screen Painter
  • Data Dictionary
  • SAP Script
  • Business Workflow (BC - WF)
  • ALE
  • EDI
  • Business Connector
  • Business Server Pages
  • Internet Application Server
  • Mercator Report Painter
  • ALV reporting
  • Report writer
  • Dialog Programming
  • Repository Information System
  • LSMW
  • Smartforms
What is PBO event?

Long form of PBO is Process Before Output. It determines the flow logic before displaying the screen.

What is PAI event?

Long form of PAI is Process After Input. It determines the flow logic after the display of the screen and after receiving inputs from the User.

What are the types of programs in SAP ABAP?

Here is the list of types of program in SAP ABAP.
  • 1 REPORT
  • I -
What do you mean by Transaction Codes in SAP ABAP?

A transaction code is four-character code that guides you directly to the screen for the task we want to perform. The following transaction codes are useful for Basis, ABAP, MM and SD modules. For examples - ABAPDOCU -> Example Library, ABAPHELP -> Keyword Documentation, AL03 -> Operating system Alert Monitor.

What is SAP ABAP Editor?

ABAP Editor is a source-code editing tool designed to handle the specifics of ABAP coding. It is the components of the ABAP Workbench. ABAP Editor to write and edit ABAP programs, class methods, function modules, screen flow logic, type groups, and logical databases. The ABAP Editor has the following different modes:
  • Front-End Editor (source code mode - new)
  • Front-End Editor (plain text mode)
  • Back-End Editor (line-based mode)
How to get current year in SAP ABAP?


  • BUKRS = '1100' " Company Code
  • DATE = SY-DATUM " Date to find fiscal year for
  • CURRM = w_currm " Current Fiscal Month
  • CURRY = w_curry " Current Fiscal Year
  • PREVM = w_prevm " Previous Fiscal Month
  • PREVY = w_prevy. " Previous Fiscal Year
How to debug background job?

Steps to debug background job.
  • Go to transaction SM37
  • Select any job that you want to debug
  • Enter 'jdbg' as or code in command box
  • Press ‘Enter’
Note: You can do the same from transaction SM50 as well

How to concatenate in sap ABAP?

There are many Options which you can try Option 1:
data: l_cr(1) type c value cl_abap_char_utilites=>cr_lf,
l_lf(1) type c value cl_abap_char_utilities=>linefeed.
If your Version is 4.6C, do like this
Option 2:
DATA: test1 TYPE String,
test2 TYPE String,
test3 TYPE string.
test1 = 'Hallo'.
test2 = 'du da'.
CONCATENATE test1 sy-uline(5) test2 INTO test3 SEPARATED BY space.
WRITE test3.

What is SAP ABAP Editor?

Comments are texts that you can write between the statements of your ABAP program to explain their purpose to a reader. Comments are distinguished by the preceding signs * (at the beginning of a line) and " (at any position in a line). If you want the entire line to be a comment, enter an asterisk (*) at the beginning of the line. The system then ignores the entire line when it generates the program. If you want part of a line to be a comment, enter a double quotation mark (") before the comment. The system interprets comments indicated by double quotation marks as spaces.
*  PROGRAM SAPMTEST                            *
*  WRITTEN BY CHARLIE BYTE, 06/27/1995         *
*  LAST CHANGED BY RITA DIGIT, 10/01/1995      *
*  TASK:    DEMONSTRATION                      *
PROGRAM sapmtest.
* DECLARATIONS                                 *
DATA: flag(1) TYPE c,   " global flag
      number TYPE i.    " counter
* PROCESSING BLOCKS                            *
How to create a SAP ABAP package?

Go to SE21 Transaction.
Give Package name, short description, and fill all the attributes fields and click on create button.
Save it under the Workbench TR.

How to create foreign key in sap ABAP?

Open the table in Data Dictionary (SE11) for which you want to create a foreign key.
Select the field for which you want to create the foreign key and press Foreign Keys button.
In the popup window enter the check table name and press Generate proposal button.
The system proposes the foreign key relation based on the domain.
Check that the foreign key relationship proposed by the system and press copy Button.
Save and activate the table.

How to debug a sap ABAP program?

You can debug a program by entering ' /h ', before executing.
You can also set break points. When you set a break point at a particular place, the program execution stops at the place where you have set the break point.
Use the keys F5, F7, F8 to proceed thru the debugging mode.
Using F5 executes one statement at a time.
F7 is used to come out thru a PERFORM or a Standard Funtion module.
F8 is used to navigate thru to next break point.
You can always check the values of all variables and contents of various internal tables as well.
By setting watchpoints you can find easily when a particular variable is changing etc.
There are many other things as well, but this will be very helpful initially and you will learn further as you go on.
How to maintain single table entry at a time without coding or debugging ?
  • Go to SE16 transaction
  • Give any table name and press Enter , Ex: MARA
  • Now execute (F8) this screen
  • Choose the record you want to manipulate and display (F7)
  • Go to Debug mode (/H) and press ‘Enter’ 2 times
  • Change the value of the variable ‘CODE’. By default, it is 'SHOW'
  • Change the code value as 'EDIT' for modifications, 'INSR' for insert and 'DELE' for delete.

Why you must read SAP ABAP interview questions and answers listed on this site?

This site contains all frequently asked SAP ABAP interview questions and their answers. These are the most important SAP ABAP questions asked in any SAP ABAP interview for freshers. So knowing answers to these SAP ABAP interview questions is must if you want to crack the SAP ABAP interview. So do read all answers before you appear for any SAP ABAP interview.