on 04-12-2007 8:52 PM
Guys I am trying to SKIP a few Materials in my DATA LOAD. And I am using the following formula
IF( MATERIAL = "ABC", SKIP_RECORD( ), MATERIAL )
but I keep getting error "Formula element is not allowed here"
What am I doing wrong???
I need to SKIP a few Materials. If you want to suggest that I write a START or TRANSFER ROUTINE, could you please give me the exact formula Please...
Much appreciated
Right form must be...
IF( MATERIAL = 'ABC' OR MATERIAL = 'BDC', SKIP_RECORD( ), MATERIAL )
You could have many ORs but always with "MATERIAL ="
Regards
Message was edited by:
Oscar Díaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try do that in normal mode....i try to do yoru routine in normal mode and next change to expert mode and the formula changes automathically to:
IF( MATERIAL = 'ABC', SKIP_RECORD( ), MATERIAL )
Try this....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works
That is INSANE..... I could not believe that.. Thanks a lot Oscar.
I also would like to know how would I do it for say about 50 odd materials, should I keep adding OR and the Materials. Will that be the right approach.
IF( MATERIAL = 'ABC' OR 'BCD', SKIP_RECORD( ), MATERIAL )
Thanks dude,
which version are you on..?
write this in start routine..
DELETE DATA_PACKAGE WHERE MATERIAL EQ 'ABC'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using expert mode?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.