Skip to Content
author's profile photo Former Member
Former Member

MC-BSP-MVC: Passing contents of HTMLB-TextEdit control from view to control

Hello Experts-

I am trying to pass an HTMLB:TextEdit control from a view to my controller.

I can pass a string field from the view [HTMLB:InputField] to a class attribute in my controller class through the 'DO_HANDLE_DATA' method. Unfortunately the same syntax is not working when I am trying to pass the contents of the HTMLB:TextEdit control from my view into a class attribute with the same table type as in the HTMLB:TextEdit field on my view.

What is the correct syntax/technique for passing a muti-line text edit field (which I am assuming is handled by the view as an internal table) from the view to the controller?

Your help will be appreciated.


- Vik.

P.S.: The syntax in the controller class' 'DO_HANDLE_EVENT' that I use for passing strings from my view to my controller is:

field-symbols: <field> type ihttpnvp.

read table form_fields with table key

name = 'selapprover' assigning <field>.

me->selapprover = <field>-value.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 12, 2004 at 09:17 PM

    Many thanks to: Venky Varadadesigan.

    Venky posted the solution to this question in response to a different question on this very forum -> "BC-BSP-MVC: How can I pass text in table format from view to controller?".


    Hi Vik,

    Please note that the 'text' attribute of htmlb elements 'textEdit' and 'textView' is simple "String" and not an internal table.


    Venky Varadadesigan

    SAP NetWeaver consulting.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.