cancel
Showing results for 
Search instead for 
Did you mean: 

PR mass change. deletion Indicator

Former Member
0 Kudos

HI

For MEMASSRQ ( PR Mass change ), i have add field EBAN-LOEKZ ( Delection Indicator ) in table MASSFLDLST throght SM30. when i run the MEMASSRQ mass change, it change other field values except Delection Indicator ( EBAN-LOEKZ ).

when i change Purchase Requsition Delection Indicator in MEMASSRQ Mass change, it gives messsage . successfully changed ,

but nothing changed ( delection Indicator ).

thanks \ Thomas

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Ask your Developer to create new customize report

&---------------------------------------------------------------------*
*& Report  ZPRCLOSE
*&
*&---------------------------------------------------------------------*
*&*Report Purpose: TO Close Open PR's
*&*Caution: Do not run this report until Detail Discussion with MM

*            Consultant *
*&---------------------------------------------------------------------*
***************************************************************
REPORT ZPRCLOSE NO STANDARD PAGE HEADING.

TABLES : EBAN."Purchase Requisition

SELECT-OPTIONS:
         S_BANFN FOR EBAN-BANFN  OBLIGATORY,
         S_BSART FOR EBAN-BSART OBLIGATORY DEFAULT 'NB'.

START-OF-SELECTION.

update EBAN set LOEKZ = 'X'
           where  BANFN IN S_BANFN
             AND BSART IN s_bsart.

if sy-subrc = 0.
write: 'PR deleted'.
Endif.



"" By this report You can delete more than 2000 PR within 2-5 seconds

Former Member
0 Kudos

ss

mauro_bianchi
Active Contributor
0 Kudos

Hello James,

I am sorry but it's not possible to use EBAN-LOEKZ in the mass maintenance transaction.

The MASS transactions simply update the tables EBAN, EKKO, EKPO,... without proofing things.

Behind setting the deletion flag LOEKZfunctionality exists. Not all requisitions or purchase orders can

be deleted, if references exists. So it is not possible to set the deletion flags by MASS.

A possible workaround would be to create your own ABAP report to perform the mass deletion on your requisitions.

Thanx & Regards,

Mauro

Former Member
0 Kudos

Hi James

http://www.sap123.com/showthread.php?t=158

pls ref the link. and chk if any thing u did wrongly and revert

Former Member
0 Kudos

mass maintenance procedure is ok. as i said , it is changing all other fileds values except Deletion Indicator. ( field Delection Indicator , which i added throgh SM30 in MASSFLDLST )