Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Populating Quantity fields in Table Maintainance generator Events.

Former Member
0 Likes
620

Hi all,

I have a custom table, in that i have to check the material number and the quantity of the previously present entries and current entry which i am adding in the before save event.

However in the total table.... The value of material is getting populated correctly but the value of the quantity is not the actual one which i have entered, It is taking the value 0.00 at runtime.

Please suggest me the approach when we have to deal with the Quantity fields in the table events.

Thanks in advance for your help.

Regards,

Anuja

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
590

Hi,

Quantity field should have quantity reference field. SO make sure with that...

Regards,

Kumar..

Hi all,

I have a custom table, in that i have to check the material number and the quantity of the previously present entries and current entry which i am adding in the before save event.

However in the total table.... The value of material is getting populated correctly but the value of the quantity is not the actual one which i have entered, It is taking the value 0.00 at runtime.

Please suggest me the approach when we have to deal with the Quantity fields in the table events.

Thanks in advance for your help.

Regards,

Anuja

3 REPLIES 3
Read only

Former Member
0 Likes
591

Hi,

Quantity field should have quantity reference field. SO make sure with that...

Regards,

Kumar..

Read only

Former Member
0 Likes
590

Hi,

The reference for the Quantity field is provided in the Custom table. However the value of the Quantity is taken as 0.00 at run time.

Please refer to the below code.

LOOP AT total.

IF <action> EQ space.

l_wa_temp-matnr = total+3(18).

l_wa_temp-bmenge = total+95(13).

APPEND l_wa_temp TO l_i_temp.

CLEAR l_wa_temp .

ENDIF.

ENDLOOP.

however the l_wa_temp-bmenge is getting populated as 0.00 however the actual value entered for it is 10

Regards,

Anuja

Read only

Former Member
0 Likes
590

This message was moderated.