on 06-01-2015 8:48 PM
Hi!
I would like to know where I can see the outbound delivery is block for changes on SAP ECC 6.0. I need to see that it is not possible to change an outbound delivery item, like price or quantity, when I'm creating an invoice. The items need to be exactly like the sales order and cannot be changed.
Hi Lidiane
When you create a billing document in VF01 (with reference to a delivery) the system calls function module ENQUEUE_EVVBLKE and sets an exclusive lock on Lock object EVVBLKE. So if you go to
SM12 in a separate session you will see the SM12 lock on your delivery on LIKP and EVVBLKE.
To show your auditors that it is not possible to update this delivery simultaneously when a billing document is being created you can do as follows:
SE37 set a breakpoint in function ENQUEUE_EVVBLKE.
Run VF01 for your delivery
It will hit your BP - press F7 in the debugger
You will see that the sy-subrc is '0' so all OK the lock was set. (See SM12)
Go to VL02n for the same delivery
It will hit your BP again - press F7 in the debugger
You will see that the sy-subrc is '2' ......
You will get error VL046 This delivery* is currently being processed by another user *
I hope this helps you to convince your auditors it is safe.
Kind regards
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lidiane,
If you are creating an invoice I am assuming that post goods issue (PGI) has already been posted. If that's the case then anyways you can not modify the outbound delivery.
What do you mean by "items need to be exactly like the sales order and cannot be changed"?
If you are creating a delivery 1:1 with sales order that is for complete quantity then it would be same. On the other hand if you are creating partial deliveries then it would not be same.
You can check the same in VL06o (last option "list outbound deliveries") with various filters.
I hope it is clear for yourself.
Regards
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liadiane,
Basically when PGI is done it's status changes to C. This is defined in VOFM in the routines. Click on copying requirements, billing documents. Check 004 for an example. Then this is assigned in VTFL, example source LF and target F2. And here copying requirements is 004.
Same way when status is C, this can't be changed (the document itself).
I hope you can show to auditors the same that by configuration its not possible.
Regards
Rahul
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.