Hi All,
I am facing issue in validation of 2 fields. One is discount percentage discount ( Type Dec3_2 , 3 places before, 2 decimal places after decimal point) and another is unit of measure field (type meins).
When i am giving wrong value in both the fields and trying to do the validation in WDDOBEFOREACTION, the values are not coming. This simple field value assignment in WDDOBEFOREACTION, i am using
* navigate from <CONTEXT> to <Article> via lead selection
Node_Zmm = wd_Context->get_Child_Node( Name = IF_MAIN=>wdctx_article ).
* get element via lead selection
Elem_Zmm = Node_Zmm->get_Element( ).
* get all declared attributes
Elem_Zmm->get_Static_Attributes(
importing
Static_Attributes = Stru_Zmm ).
Now when i am checking Stru_zmm-meins or Stru_zmm-discount, it is not having any value, but when i give correct value these fields hold value.
Please let me know how to get the values in validation, so that i can pass message
Thanks