on 11-05-2009 12:20 AM
Hi SDN,
We have some Purchase Orders for which LOEKZ = 'L' but they still exist in BI DSO because ROCANCEL with 'R' have not come in yet.
Are ROCANCEL and LOEKZ linked in a way that 'L' in LOEKZ translates to 'R" in ROCANCEL or SAP considers other things before marking 'ROCANCEL' = 'R' for reversal?
Should we assume that whenever EKPO-LOEKZ = 'L', the record in the DSO should be dropped after the next load? And if not, what is the relationship and what can we expect?
We have mapped ROCANCEL to both RECORDMODE as well as STOR_NO.
Please advise.
Thanks.
SM.
Hi
There as 2 possibilities
1.
PO item is deleted and there is no statistical relevance ( i.e. no GR / IR created against that po item), in that case LIS logic is intelligent enough and simply sets recormode = D and that po item gets deleted from BW. in that case loekz is extracted as blank . you can check in rsa3
2. po item is deleted but it still has statistical relevance aginst it. then LIS logic does not delete such items from bw and sends loekz ='L' in extraction. however if you still want that such PO items shud be deleted from BW,, then you can write routine to below effect
loop at datapack
if datapak-loekz = 'L'
datapak- recordmodel = 'D'
modify datapak
endif
endloop
i dont remember sap note.. i will post later once can find it
regards
sanjyot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Shahid,
LOEKZ is the PO deletion marker (L mean blocked I think and R deleted...)
I beleive ROCANCEL is used like 0RECORDMODE to delete unwanted records in BW.
You should not map those together because there are cases where the PO del marker is not present and yet, ROCANCEL is used for SAP internal logic processing...
I hope this is clear.
Alice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.