on 09-15-2014 9:17 AM
Hi,
I have a web dynpro component wherein im using few custom controllers. These controllers have already mapped in existing views. Now i have some changes as i need to add few more attributes and node in that. Could anybody please help me how could i add these additional attributes in and more importantly how to make these new attributes visible in view controller.
Rgds
Hi Sudhashu,
To add new attributes to node in controller
To update attributes from custom controller to view controller:
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rama,
That is correct and i did exactly same. View controller has also been updated after update mapping. Problem here is: data of this node being passed to create a pdf document by using method create_pdf of class cl_wd_adobe_services. even after the mapping the changed attributes are not visible in form.
rgds
Hello Rama,
What do you mean by re-bind. could you please let me know more about this. Here is the method call:
DATA: data_source_node TYPE REF TO if_wd_context_node.
data_source_node = wd_context->get_child_node( name = wd_this->wdctx_form_data ).
data: file_data type xstring.
data pdf_data type xstring.
data: adobe type ref to cl_wd_adobe_services.
CREATE OBJECT ADOBE
EXPORTING
I_FORM_NAME = 'FORM_NAME'.
file_data = ADOBE->CREATE_PDF(
ENABLED = abap_true
DATA_SOURCE = data_source_node
* DATA_XML = DATA_XML
LEGACY_EDITING_ENABLED = ABAP_TRUE
* HIDE_TOOLBAR = ABAP_FALSE
* ATTACHMENTS = ATTACHMENTS
).
Interface of form is xml based which is being passed above with reference to the node i have changed.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.