SAP MM, HR, FI, CO, PP, SD, PM, PS, QM, SM, BW, APO, Basis,  ABAP/4, Certification, Books
Reset Set Zero Count for Physical Inventory

This ABAP report is to reset the zero count status after executing MI35 - Set Zero Count

4.6x

REPORT ZPI_CHANGE_ZERO_CNT.

tables: ikpf,
        iseg.

select-options: xiblnr for ikpf-iblnr.

select * from ikpf where iblnr in xiblnr.
  clear ikpf-ZSTAT.
  modify ikpf.
  select * from iseg where iblnr = ikpf-iblnr.
    clear iseg-USNAZ.
    clear iseg-XZAEL.
    clear iseg-XNULL.
    modify iseg.
  endselect.
  write:/ 'Modify Successful Table :- ikpf, iseg'.
endselect.

Return to :-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.sap-basis-abap.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.sap-basis-abap.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.