Skip to Content
Author's profile photo Craig Cmehil

BSP / HowTo: Exploring BSP Development with MVC 2a

    ** [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

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      Wow, this is an oldie 🙂

      To be honest with you I'm not sure I've not tried this with any of the newer system what version are you on?