on 08-29-2008 6:15 AM
Hi Experts,
I am checking a condition in lfa1 table field lovem depending on the result X or not. I need pass a value 1 or 0 to a field in output file structure in that i am passing all fields from one z table zvend along with one extra field to check flag 1 or 0. zvend table contains lifnr field as primary key means as a common field between lfa1 and zvend
Read table LFA1 where LIFNR = ZVENDPLT-LIFNR. If LFA1-LOEVM = 'X' send '1' Else send '0' to DELETE_LOC field and dont pass lovem field.
Plz need your help.
Thanks
Basu
.
Hi,
Do something like this..
Loop at ZVENDPLT.
Read table LFA1 where LIFNR = ZVENDPLT-LIFNR.
If LFA1-LOEVM = 'X'.
Move '1' to DELETE_LOC.
else.
move '0' to DELETE_LOC.
endif.
EndLoop.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Basu,
wrong forum
Regards Mario
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.