cancel
Showing results for 
Search instead for 
Did you mean: 

using select option and function module in single view

Former Member
0 Kudos

Hi All,

I Have a requirment ,using service call i get a function module and bind to specified UI elements with low and high attributes to input fileds which i designed in my view . And i have to keep range for input values using select options for those input values and clicking on submit i have to display data in VC but it's going to dump

the bug is

Adapter error in INPUT_FIELD "SALEDOC_TXT" of view "ZSD_ORDERSTATUS.MAIN": Context binding of property VALUE cannot be resolved: Node COMPONENTCONTROLLER.1.ZSD_ORDER_STATUS.1.CHANGING.1.S_VBELN does not contain any elements

can any one get me out of this.

Thank U,

Madhan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Call FM using CALL FUNCTION, if you want to pass selectoptions type values to FM..

Try like this...

DATA : delivery TYPE TABLE OF RVBELN,

wa_delivery TYPE RVBELN,

wa_delivery-sign = 'E'.

wa_delivery-option = 'BT'.

wa_delivery-low = lv_FROM_DELIVERYNO.

wa_delivery-high = lv_TO_DELIVERYNO.

APPEND wa_delivery to delivery.

CLEAR wa_delivery.

Pass Delivery to FM.

Cheers,

Kris.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi madan ,

Check the cardinality of the node .

Make it 0:1 or0 :n based on your requirement and also unchecked the initial lead selection.

Dump is coming because you have selected the cardinality 1:1 or 1:n but there are no elements or data in the

context.

Regards

Kuldeep