on 01-29-2007 3:30 PM
I need to write an Update Rule which will populate the Storage Location field. The Storage Location could for example (below). What I want is to put the 10 value, the source does not contain a value for Storage Location. Thanks
S010
S013
S019
S021
S031
O010
O011
O012
O013
O019
O021
Hi Niten,
You can use code like:
result = COMM_STRUCTURE-field+2(2).
Hope this helps...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Niten,
try
data: ystorloc type string.
ystorloc = COMM_STRUCTURE-field+2(2).
if comm_structure-<your field> is not initial AND ystorloc EQ '10'.
result = COMM_STRUCTURE-field.
else.
Result=0.
endif.
Arun
P.S This is pretty much the same what Bhanu has mentioned - if you could give the Infoobject names - the code can be modified further...
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.