Skip to Content
Recently I’ve been sitting and trying to figure out how in the world I’m gonna maintain all the little tidbits of information I’ve been collecting and reusing from SDN and the forums. Then I thought, hey I’ll just use a FAQ program and that’ll be that.

Well wait a second, I’m also trying to understand all these little tidbits of information I’ve been collecting as well. Since I’ve got my MiniWAS up and Mini me of WebAS 6.20 why not try to kill two birds with one stone so to speak?

With that I had my solution, I’ll build a easy to use F.A.Q. program with BSP and incorporate some of the various things I’ve learned, figured out, discovered, and read about here. I’ll make it simple and straight forward using just standard BSP and pages, no model view or anything that way I can share the code with everyone here as well.

So why not get started?

So do I have you interested just yet? I’ve decided to break the weblogs into these parts in order to not cram your brains with too much at once. The complete code in a Transport request I hope from my MiniWAS will be submitted to SDN as a code sample as well.
Teasers…

image

image

image

As you can see from the screen shots most of the program is done and I hope to supply each of these parts within a day or so of each other in order to keep the development momentum flowing.

Comments and suggestions are always welcome!


You will need to start by creating a new package: ZCSC_FAQ. Now you will need to create your Dictionary Objects.

Tables

ZFAQ_CAT – Categories for your F.A.Q.
ID INT4
NAME CHAR32 Name of the Category
SRC CHAR10 Image source of the category e.g. @IY@
CAT_DESC CHAR255 Description for the category

ZFAQ_DATA – Your F.A.Q.’s
ID INT4
CAT_ID INT4
SUBJECT CHAR255
TITLE CHAR255
SHORT_DESC CHAR255
LONG_DESC TEXT
URL CHAR255
RATING INT4
AUTHOR CHAR50
CDATE CHAR10

ZFAQ_SDNRSS – For accessing SDN RSS Feeds
TITLE CHAR120
LINK CHAR255
DESCRIPTION CHAR255
CREATOR CHAR50
PDATE CHAR10
SUBJECT CHAR255

Now make the following Table Types.

ZFAQCATTAB, ZFAQFAQTAB, ZFAQSDNRSSTAB

image

Each should of course correspond to the three tables you just created.

Next make a ABAP report somewhere with the following code.

This will populate the Category list with an inital category.

Look for BSP / HowTo: Exploring BSP Development and the MiniWAS 6.20 Part 2 of this serious and we build our Classes, Methods and Iterators for use in our pages.

To report this post you need to login first.

6 Comments

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

    1. Craig Cmehil
      I’ve already started part 2 and I have the basics written down for part 3 as well. Glad you like it. I’m hoping Part II will be posted today and Part III possibly as well.

      With Part 3 you can actually use it 😉 and Part 4 will be a nice little twist to RSS Feeds and SDN.

      (0) 
      1. Anonymous
        Nice 🙂
        Think I will get myself a MiniWAS installed on the laptop, just for the fun of having this piece of SDN on there …

        How long have you been working on this, Craig?

        (0) 
        1. Craig Cmehil
          Actually I started on Saturday afternoon 🙂 You can actually do this in a normal WebAS as well but yeah having the mobility for testing and everything is very nice!
          (0) 
  1. Pankaj Kumar
    Craig,

    Thanks for starting a great series. I was looking for this kind of tutorial/weblog. I have just started with MiniWAS and I come from Java scheme of things in development. Although I can make out what you are saying from your weblog. But I am clueless when you say create following tables or the report. It would be great for clueless guys like me if you can provide a little pointer by saying create tables using transaction ABCD. Then I can look at documentation for ABCD etc.

    Thanks for the great work you are doing.

    Pankaj

    (0) 
    1. Craig Cmehil
      Thank you!

      Ahh Ahhh! I forgot about that starting point.  Go into Transaction SE80 select Package in the Drop down list on the left. Once oyu enter the package name and hit enter it’ll ask you if you want to create it. Then from there by right clicking on the package you’ll get all the various create options.

      Craig

      (0) 

Leave a Reply