Skip to Content
0
Feb 16, 2011 at 06:53 AM

delete from VAPMA is taking long time

355 Views

Hello Team

Steps followed to create order in ECC

1) Create ZORD for customer 3022243 in VA01

2) Add material 2001436 quantity 18, press enter

3) Add material 2001436 quantity 1, press enter. Change item category to ZANP. Add Promo ID AS10061 in Additional Data B screen of item

4) Add material 2001157 quantity 1, press enter. Change item category to ZANP. Add Promo ID AS10061 in Additional Data B screen of item

5) Add material 5001044 quantity 1, press enter. Reject item "Y6 Promo not available"

6) Set delivery block on the order - "Y6 Open Order Block"

7) Save

8) Change Order, remove delivery block, save.

At this point the system calls function RV_SALES_DOCUMENT_UPDATE in update task. This subsequently calls form INDEX_VAPMA_SCHREIBEN in program SAPLV05I which deletes entries from table VAPMA. It is this form that is taking time to execute. In SM50 this can be seen quite clearly.

SM50 shows as below

27 UPD 19707 Running Yes 346 SAPLV05I 020 DXEVANS2 Delete VAPMA

No Ty. PID Status Reasn Start Err Sem CPU Time Cl. User

27 UPD 19707 Running Yes 0:23 471 020 DXEVANS2

Report / Spool action

SAPLV05I

Main Program

RSM13000

Delete VAPMA

So i request you to please check and suggest any steps which i need to follow from my side.

Reg

Rj