Skip to Content
0
Former Member
Sep 25, 2005 at 04:03 PM

Assigning Constant Value to a key field

14 Views

Hi Friends,

I am trying to assign some constant value to an (key field) infobject based on simple condition in the start routine.

here is sample code.

Loop at DATA_PACKAGE.

if DATA_PACKAGE-<ORDERNUM>= '01'.

move '2' to DATA_PACKAGE-</BIC/ZQUAN>.

ENDIF.

ENDLOOP.

but after the condition it not replacing the constant value '2' in the quantity field.

as i want to place this value in all the records.

i hope i am asking simple question. but kindly help me.

Regards,

Ala.