Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Quantity Field with UOM


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,




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



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question