on 09-25-2005 5:03 PM
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.
You can do the same in the field level routine or in the start routine you can try with putting the value of the internal table in work area and modifying the table.
Regards,
Anupama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Before ENDIF.
use MODIFY DATA_PACKAGE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Loop at DATA_PACKAGE.
if DATA_PACKAGE-<ORDERNUM>= '01'.
DATA_PACKAGE-</BIC/ZQUAN> = 2.
ENDIF.
ENDLOOP.
try this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.