Skip to Content
    ** [Part 1 | BSP / HowTo: Exploring BSP Development with MVC] – Introduction, Tables, Table Types and sample data.  ** Part 2 – Building the App. 0.1.   0.2. [2a | BSP / HowTo: Exploring BSP Development with MVC 2a] – Building your Model  0.3. [2b | BSP / HowTo: Exploring BSP Development with MVC 2b] – Building your Controllers and Classes 0.1.   0.2. [2b_1 | BSP / HowTo: Exploring BSP Development with MVC 2b_1] – Building your Controllers and Classes  0.3. [2b_2 | BSP / HowTo: Exploring BSP Development with MVC 2b_2] – Building your Controllers and Classes  0.4. [2b_3 | BSP / HowTo: Exploring BSP Development with MVC 2b_3] – Building your Controllers and Classes    0.4. [2c | BSP / HowTo: Exploring BSP Development with MVC 2c] – Building your views  0.5. [2d | BSP / HowTo: Exploring BSP Development with MVC 2d] – Building your views    ** Part 3 – Working the App 0.1.   0.2. [3a | BSP / HowTo: Exploring BSP Development with MVC 3a] – Display it and entering  0.3. [3b | BSP / HowTo: Exploring BSP Development with MVC 3b] – Editing and adding categories and subjects    ** [Part 4 | BSP / HowTo: Exploring BSP Development with MVC 4] – OTR  ** [Part 5 | BSP / HowTo: Exploring BSP Development with MVC 5] – Conclusions     Building your Model    With the whole MVC concept we typically if not always use a MODEL, which is basically a class with the Superclass CL_BSP_MODEL.   image   Now if you went through the first series then you can modify your existing class, or simply copy all the methods from that class to the new model. For those of you who did not participate in the first series what we have in this class are methods to help us make our code cleaner and easier to work with.    So what we need to do is get our methods created.   image
To report this post you need to login first.

2 Comments

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

  1. Hans Bouwers
    When I check the class ZFAQ_C_CL_SDN, especially the method DO_REQUEST, I get a syntax error here:

    if selected IS INITIAL.
        lt_data = model->GET_SDN_WEBLOG_BY_URL( ).
    else.

    saying:
    “The obligatory parameter “URL” had no value assigned to it.”

    So I tried changing the parameter “URL” to Optional, in the model’s class defintion, but that eventually raised “argument_not_found” in cl_http_client=>create_by_url( EXPORTING url = url
                                   IMPORTING client = http_client ).

    Any hints appreciated

    (0) 

Leave a Reply