cancel
Showing results for 
Search instead for 
Did you mean: 

Quantity Field with UOM

edemey
Explorer
0 Kudos

Hi,

I created a BRF decision table and a function programmatically using a DDIC structure which contains a quantity field and a Unit Of Measure assigned to the quantity field:

Created Decision Table:

As you see the quantitiy field height (Höhe) in the decision table contains the value and the UOM.

Now I'd like to execute the corresponding BRF function but I don't know how to pass the UOM to the BRF framework.

I am currently  using this method IF_FDT_CONTEXT->set_value(

         EXPORTING iv_name  lv_context_name

                   ia_value = <lv_value> ).


But how to set the UOM with the heigt value?


Could anyone help?


Thanks and BR,

Eddy

Accepted Solutions (1)

Accepted Solutions (1)

christianlechne
Active Contributor
0 Kudos

Hi,

did you create the call of the function in ABAP via the code template functionality in the BRFplus workbench (level of the function - you have to have the personlization set to "expert" to see that button)?

This should give you the right way/code to transfer the quantity as name-value pair of number and unit to BRFplus.

Hope that helps

BR

Christian

edemey
Explorer
0 Kudos

Hi Christian,

thanks, that helped.

BR, Eddy

Answers (0)