Hi Ramakrishnappa,
Thank you for the reply and i think you're idea is correct and I am getting the quanitity from EKPO but I'm having trouble doing what you say...
Originally I was just passing the EKPO value into my context attribute (which was also of type EKPO-MENGE) i.e.
webdynpro_menge = wa_ekpo-menge.
However if I change it to:
Write wa_ekpo-menge to webdynpro_menge unit 'CPY'.
this doesn't work either.
Do you know what I might be doing wrong?