Skip to Content
0
Former Member
Sep 13, 2007 at 09:15 AM

Using FM "Popup_get_values" to change a QUANTITY field value

2108 Views

Hi,

I am using FM "Popup_get_values" to get a pop-up displaying certain fields by double-clicking on a alv report output row.

One of the field in the pop-up is VBEP-BMENG (a quantity field).

I did convert it to char format and moved the corresponding value to the Value field of the table FIELDS.

The correct value gets displayed(in editable mode using field_attr = '') when the pop-up appears.

But,when i change the value and proceed to debug the code in the FM, the SVALI table and consequent FIELDS table doesnt get updated with the new value.

But, if i do the same thing with other fields like vbeln/posnr, then,the updated value is reflected.

So, i guess there is some problem with the quant field even though i have taken the necessary measures to convert it to char format and move the field value(instead of assigning).

Please help me if you have any idea about it.

Thanks & Regards,

Tejas Savla