on 05-19-2008 12:59 PM
If Brand(MVKE-MVGR1)=u201916u2019 then Part Number is EAN ie MEAN-EAN11 for EAN Category ie MEAN-EANTP = Z1.
only true for parts with u2013 XXXXX ;( 5 digits after the' u2013 ' in the material description MAKT-MAKTX followed by ;). For the rest of the parts return blank.
How to code this?
Please give the resolution.ooking for urgent reply.
Question is not clear!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the below code.
data: v_true(40),
v_others(40).
data: v_maktx like makt-maktx value 'fdfhfhgfh-12345;'.
split v_maktx at '-' into v_others v_true.
move: space to v_others,
space to v_true+5.
write:/ v_true+0(5).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi arjya,
use this code.
v_pos = strlen ( v_maktx ).
add 2 to v_pos.
if v_maktx+v_pos(5) eq 'XXXXX'.
* do processing here.
endif.
regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check this
apply the same in ur logic
data:val type string.
val = 'hello-abcde;ert'.
if val cp '-+++++;'.
write 'YES'.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
V_LEN = LEN ( MAKT-MAKTX ).
V_LEN = V_LEN - 5.
IF V_LEN+V_LEN(1) = '-'.
check for other conditions here.
else.
part is blank.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.