Domain Value Function Module In Sap
As long as you have variable defined with reference to domain.
Domain value function module in sap. When using round with floating point types real and double the precision of the numeric representation can affect the result that will be obtained. Function group is a container of function modules every function module must be saved in a function group. As the following fig shows the fixed value for the domain xfeld are the code is as follows.
Häufig hat man die anforderung den text von festwerten zu einer domäne zu ermitteln. Lv ddtext type dd07v ddtext lv domvalue type dd07v domvalue l. All these methods requires you to specify domain name or some would say require you to hardcode domain name.
Function module are always grouped into function group. Call function domain value get exporting i domname z cc funktion i domvalue lv domvalue importing e ddtext lv ddtext. Useful class methods.
Function group in sap abap. Step 6 save your. Entered the name of your function group and short text description then press save button.
However the advantage of using this fm is that unlike other fm s you have the option to fetch the text as and when required. There are other fm s as well. If the domain is restricted to having only fixed values then enter the fixed values or intervals.
By default round function uses round half up. Idd07v type table of dd07v with header line. Recently i ve found this elegant way which doesn t require to specify domain name.