2009 Sep 14 10:27 PM
Hi ,
I create a delivery and press 'Post Goods Issue' pushbutton in Tcode 'VL01N'.
Now, If a condition 'X' is not satisfied, I want the Delivery to be saved, but the PGI should not happen.
Does such a scenario exist in SAP?
If Yes, how can it be done technically?
Thanks,
Shivaa...
2009 Sep 14 11:40 PM
Yes, see the BADI documentation in the IMG for PGI for deliveries (posting goods movements).
2009 Sep 15 6:24 AM
Hi,
User exits for PGI
MV50AFZ1
MV50AFZ3
BADI's for PGI.
MB_DOCUMENT_BADI
MB_DOCUMENT_UPDATE
LE_SHP_GOODSMOVEMENT
LE_SHP_DELIVERY_PROC
Put a break point in MB_DOCUMENT_BADI, you will see it stops when PGI is hit.
<put your logic there>.
Regards,
Amit
2009 Sep 15 6:30 AM
Hi Shiva,
Try User Exit for your requirement.
List of all available user exit for VL01n are
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (h
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
Regards,
Vijay
2012 Jan 12 12:28 PM
Hi Shiva,
Could you please tell us how did you achieved it with the code snippets?
Thanks...