Tag Archives: abap

  • SAP ABAP – Program Flow Control and Logical Expressions

    http://www.saptraininghq.com/wp-content/uploads/2013/04/ABAP_CASE_STATEMENT.jpg

    As said in the course, logical expressions are the principal statements used to build up your program logic and algorithms. ABAP offers all the classical loop statements and logical expressions, so you won’t miss anything for sure. I personally missed the for loop from Java and C/C++, but then realized there are other ways to […]

  • Crazy ABAP Course SALE – $127 – An 52% Discount

    http://www.saptraininghq.com/wp-content/uploads/2013/04/SAPCourseImagesforUDEMYabap127-628x353.png

    Looking for an Awesome SAP ABAP Course at a super low price? Look no further… Use this special discount link to grab the full ABAP Video training course for $127 CLICK ME You can also get a discount on the SAP Beginner course too! This special promotion …. grab it while you can!

  • Using ABAP to modify data in a database table

    http://www.saptraininghq.com/wp-content/uploads/2013/04/ABAPModifyData-600x353.jpg

    As I’ve mentioned in the previous review SAP offers you some great tools to help you maintain your database tables. However, to make things better, they’ve added SQL support (Open and Native-SQL). So, If you’ve had some experience with SQL (I’ll take MySQL as an example in this review) you’ll hardly have any problems with […]

  • Working With SAP Database Tables And Other Data Types

    http://www.saptraininghq.com/wp-content/uploads/2013/03/Screen-Shot-2013-03-29-at-07.20.51.png

    Database Tables

    Database tables are the main structures you will work with in SAP. As such, the system offers you all the tools you may need when you build your table. As I said in one of the previous reviews the interface is very understandable, but when it comes to modifying a table, there are some procedures you should do. However, the eight module in the course perfectly explains the steps you have to perform when you modify your table.

    It’s really good there are detailed explanations of the particularities when working with key fields – adding, modifying, and deleting such ones. It’s an important thing because when we edit a key filed we could end up with our table messed out. That’s why there are interpretations of the main scenarios and results of performing one of the mentioned operations.

    I personally liked the foreign key management abilities of the SAP system. Not that I’m so experienced in database modelling, but in comparison to some other software that I’ve worked with, SAP really takes one of the first places.

  • Debugging An SAP ABAP Program

    http://www.saptraininghq.com/wp-content/uploads/2013/03/ABAP_Debugger.jpg

    This is a guest article is by Plamen Velkov, who is taking my Beginners Guide To SAP ABAP programming course. This is part 4 of his course review / journey.

    Debugging

    I don’t know why but debugging code is always something beginners like me pay no attention to. It was the same with me when I started programming with C some years ago. Then a friend of mine made me understand how helpful the debugger is while he helped me with a project for the university. I don’t remember exactly, but I think I was struggling with a recursive function with pointers which simply didn’t work. I spent a couple of days staring at the code and wondering where I went wrong and my friend solved the issue in only 10 minutes using the debugger.

    We recently had a project in Java in the university and I went on to help a colleague with it. When he saw me using the Eclipse Debugger he was like

    “Wow! Do you even use this?!”

    When I managed to fix his code, that he made me explain how to use the debugger because as he said:

    “That thing saves a hell of a lot of time!”

    It’s also interesting that the first thing my manager showed me in ABAP was how she debugged a program with the ABAP Debugger.

    The ABAP Debugger

    I was really glad to see the course includes some videos on the Debugger. I did because I knew from the beginning that it would be an important tool since you work with databases with so many records.

    ABAP Debugger

  • Free SAP ABAP Book Time Again

    http://www.saptraininghq.com/wp-content/uploads/2012/12/ABAP-Book-Image-2-244x353.png

    As many of you know, I have written a book to teach people how to get started with SAP ABAP. Well good news… today, the 18th March the book will be available for FREE. If you are a UK Amazon shopper click this link: http://www.saptraininghq.com/UK-AmazonABAPBook If you are a US, India or elsewhere click this […]

  • Review Part 3 – Calculations and Character Strings

    This is a guest article is by Plamen Velkov, who is taking my Beginners Guide To SAP ABAP programming course. This is part 3 of his course review / journey. (See if you can spot his error with the Keywords Calculations. Plamen, do you see it?)

    Take it away Plamen…

    Performing calculations

    Performing calculations in ABAP is as simple as in every other programming language. The only different thing is you can perform calculations by keywords as well as the regular mathematical operators. These keywords are mentioned in the course but I’d like to present the whole statement constructions because I came across some while examining some ABAP code. The statements are fairly logical but still – here they are:

    Operation Regular math. Statement Statement using Keyword
    Addition c = a + b ADD a TO b.
    Subtraction c = a – b SUBTRACT b FROM a.
    Multiplication c = a * b MULTIPLY a BY b.
    Division c = a / b DIVIDE a BY b.

    Another thing came on my mind – the Power operator (**) was not mentioned in the course. It’s also a simple thing to do – if you want to calculate the following:

    c = 2 to the power 16

    You just have to use this statement:

    c = 2 ** 16.

    Calculator ABAPCalculations in structures

    While I was moving through some ABAP code in my company’s system I saw some statements that surprised me at first. They seemed partly familiar but not at all – the first part of the statement was a regular arithmetic calculation keyword and the second was the CORRESPONDING keyword. I googled the statement and found out that we can use those kind of statements to perform arithmetic operations between the components of structures. The statements I talk about are the following: