Hi Shiva,
Please use a dictionary structure to create context node. So that the currency reference fields are considered by framework
Let me explain in detail:
Do not create node attributes directly...
Create a structure ZST_TEST with fields AMT_FLD & WAERS. Now, for the field AMT_FLD define the reference field as below
reference structure: ZST_TEST ( i.e. same structure name )
reference fields : WAERS
So, the field AMT_FLD gets the reference of currency from the same structure.
Use this structure to create your context node.
Hope this helps you.
Regards,
Rama