Skip to Content
If you have read my previos blogs…You might know that sometimes I came up with some weird and useless projects…Well…I don’t to dissapoint you…So here’s is my newest weird and useless project *ABAP LOGO*.   The idea behind this came to me, when in my current project, they asked me to do a report using *WRITE* statements…A very complex layout I must say…So I was there, doing my stuff when something came trough my mind…Why can’t we *draw* in ABAP? I start thinking on the Logo Programming Language  (http://en.wikipedia.org/wiki/Logo_%28programming_language%29) and yesterday I start working on this nice prototype…  We had a single interface…image” You can pass a file to either Upload or Download the script used to create the graphics…image As you can see…It’s a pretty simple script….You can define *GOTO* and *DRAW*…By this time, you can only draw Squares and Triangles.  This is the output of the script…image
To report this post you need to login first.

8 Comments

You must be Logged on to comment or reply to a post.

    1. Alvaro Tejada Galindo Post author
      Hi Aryani:

      Thank for the link -:) First time I seen it -:P

      The idea behind my program is to hide all the WRITE statements from the users…You just use a simple script to create the graphics…So you don’t need to spend your time writting code -;) Also, as I said…This is a weird and useless project…It’s just for fun and not intended to create any kind of layouts…

      But sure, I’m going to add some text to the program, which I didn’t add to my TODO list, because it’s a natural step in my project -;)

      Greetings,

      Blag.

      (0) 
  1. Christopher Solomon
    Fun stuff! I don’t think any of this sort of work is “useless”….it flexes your brain and really helps build your undertanding of the language (you can also find the “holes” in it this way too). I use to do the same thing in my “early” ABAP days…..just come up with fun little side projects. I worked with some “graphics” ideas as well. I use to go nuts with the horizontal lines and special characters on my reports to format them all nice and graphical, so I worked on building an “engine” that would do it for me. That was a fun one…..pretty much made HTML-like tables (row, column, and cell borders, padding, etc) and graphical “trees” (parent-child node stuff) but in a straight ol’ ABAP report. I LOVE seeing this kind of stuff so please keep it up!!! =)
    (0) 
    1. Alvaro Tejada Galindo Post author
      Christopher!

      Thanks a lot for your comment! -:D Now I don’t feel that useless LOL

      Of course I’m going to keep it up developing this project…And anything else that my mind came up with -:)

      As you say…There’s nothing like play with the system -;)

      Greetings,

      Blag.

      (0) 
      1. Alvaro Tejada Galindo Post author
        Ok…I already implemented both WRITE and DRAW RECTANGLE statements…I’m going to blog again when everythings gets ready and working -:) Need to work on some more funcy stuff -:P

        Greetings,

        Blag.

        (0) 
  2. Alvaro Tejada Galindo Post author
    I have finished the project…So tomorrow I’m going to post the new blog…I could update this one, but as long as it was a prototype, I rather wrote a new one explaining in detail the application.

    Stay Tuned! -:D

    Greetings,

    Blag.

    (0) 
  3. Rashid Javed
    Actually what you are doing it is quite useful. I remember during my early days of ABAP development, i was asked to develop a report and display it in a graph (bar chart actually) Although i developed the graph using write statements, using a set of generic macros or forms was always on my TODO list 🙂 That was until I came across the SAP graph functions (T.code GRAL ).
    Now reading your blog refreshed those memories. I think your idea can be used to quickly  output bar graph type chats right there in ABAP list (as opposed to being displayed in a separate window; the way SAP provided graphic functions display it)
    May be we need another wrapper FM that would input data and ranges etc. and use your GOTO and DRAW to   output a graph.
    (0) 
    1. Alvaro Tejada Galindo Post author
      Hi Rashid:

      Thanks for your comments -:) I’m going to post a new blog in a couple of minutes, with the all ready new version of ABAP LOGO -:D Hope you like it -;) It has a lot of improvements -:D

      Greetings,

      Blag.

      (0) 

Leave a Reply