Skip to Content
Author's profile photo Sergio Ferrari

BSP In-Depth: Model Data Binding

As you can experiment, MVC framework and data Binding does not require any change to the controller or the model when you change a view….  I like it

Assigned Tags

      11 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Hi,

      Infact, We have Planned to Create the BSP Application for Giving the Functionality of Substitution For the Workflows to the Users as the Standard UWL will not Allow the Managing SUbstitutions for WAS 6.20

      In this Application, I need to Apply All the Data Validation and Also the Defaulting of the Values.

      This Document Will Help me To Achieve My Requirements.

      Thanks For the Nice Article.

      Regards
      Sumanth

      Author's profile photo Former Member
      Former Member
      Great,
      its very usefull to make a standar in our BSP pages.

      Thanks,
      SL

      Author's profile photo Former Member
      Former Member
      Very helpful article.

      Thanks,
      Ravikiran.

      Author's profile photo Former Member
      Former Member
      Well done,
      it's very helpful.

      Regards,
      Sergio Locatelli

      Author's profile photo Former Member
      Former Member
      Very good article.

      Thanks,
      Mauricio

      Author's profile photo Former Member
      Former Member
      After realizing all steps explained in the weblog neither the labels were displayed nor any value have been shown in the dropdown listbox for the Airline Carrier ID.
      The first problem was due to a program error (I am working in a system with Basis Component support package SAPKB62050). Applying note no. 828971 this problem was solved.
      In order to solve the second one the BSP input field has to refer to a help searcher which supplies the values to be displayed. Two steps were necessary to realize this:
      - the creation of a data element ZSDN_CARRID 
        which refers to the standard domain S_CARR_ID
        and assigned the SAP standard search helper
        H_SCARR to the data element.
      - in structure ZSDN_MODEL_BINDING the component
        CARRID instead of referring to component type 
        S_CARR_ID has to refer to this new component
        type ZSDN_CARRID.   
      Author's profile photo Sergio Ferrari
      Sergio Ferrari
      Blog Post Author
      Knut, thanks a lot for the explanation about search help. Now I got that values come from Search Helps and not from the foreign keys....
      Author's profile photo Daniel Humberg
      Daniel Humberg
      Interesting article.However it seems that the link to the PDF document at the beginning is not working ("404 - not available").
      Can you check this?
      Author's profile photo Sergio Ferrari
      Sergio Ferrari
      Blog Post Author
      Link repaired.
      It's a link to an sdn article (it seems that the sdn url has been changed).
      In any case you can find it searching in the SDN library
      Author's profile photo John Patterson
      John Patterson
      Last week i was having a discussion with colleagues on the merits of model binding, lost for words i said it made things easier and enforces separation of concerns. Without any simple examples at hand i wasnt able to get the point across.

      You make a stronger argument than i could have and the code backs this up nicely.

      cheers
      jsp

      Author's profile photo Former Member
      Former Member
      Very helpful article.

      Thanks,
         Antonio