Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Save Delivery, Stop Post Goods Issue from VL01N

Former Member
0 Kudos
847

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...

4 REPLIES 4

brad_bohn
Active Contributor
0 Kudos
288

Yes, see the BADI documentation in the IMG for PGI for deliveries (posting goods movements).

Former Member
0 Kudos
288

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

Former Member
0 Kudos
288

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

0 Kudos
288

Hi Shiva,

Could you please tell us how did you achieved it with the code snippets?

Thanks...