cancel
Showing results for 
Search instead for 
Did you mean: 

view creation

Former Member
0 Kudos

Hi,

My requirement is to create a view which composes of two input fields of type string, when the button 'show' is clicked 2nd view with the combination of these two strings should be displayed.

I know this can be done by value node, but with Bol node is this possible?

I want to use <THTMLB INPUTFIELD> in the layout any other approach feasible?

for button I can use <THTMLB BUTTON> in the view, can I also difine an attribute GT_BUTTON in the implementation class of the view and do the coding in the DO_PREPARE_OUTPUT of should I go for IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS?

I need to create a CUCO for binding of data between these two views?

What should be the code in the event handler EH_ONSHOW?

All detailed inputs are welcome.

regards,

CMP.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You should create a navigational link from the source to your z-view and put the coding to call that link in one Outbound Plug (custom).

Sample coding in OP would be like


  view_manager->navigate( source_rep_view = rep_view
                          outbound_plug   = 'ToContactAltNewEF' ).

In the Event handler of the button call the OP.

Regards,

Shobhit

Former Member
0 Kudos

Hi Shobit,

Thanks for your reply!

I want to put <HTMLB INPUTFIELD> tags in the view 1 and the two fields are are string types, the value is blank.

<THTMLB INPUTFIELD ID= ?

helpinputfield=?

helpoutputfield=?

value=? >

</THTMLB INPUTFIELD>

the user should provie input for this. Please tell me what should be the VALUE=?

regards,

CMP

Former Member
0 Kudos

Hi,

Why you want to use htm coding, try using model node and use event handler method, or explain if you have any specific requirement in detail.

Regards,

Shobhit

Former Member
0 Kudos

Hi,

the value should look like this:


<THTMLB:INPUTFIELD ID= "id_123"
value="//context_node_name/attribute_name" />

Greetings,

TW

Answers (0)