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: 

BADI LE_SHP_DELIVERY_PROC Implementation skip

sri6666
Active Participant
0 Kudos
429

HI ABAP Experts,

I have written code in LE_SHP_DELIVERY_PROC BADI while create/change delivery and its working fine. but I don't want Trigger my code when ever user do the Post Goods issue (PGI) and delete the delivery. can you help how can I skip the code .any variable capture the operations ?

Thanks.

1 ACCEPTED SOLUTION

sri6666
Active Participant
0 Kudos
268

Written Logic Based on User commend and Scrren numbers and working fire.

2 REPLIES 2

RAF
Active Contributor
268

Hi,

please check control flags in is_v50agl for example in methond save_document_prepare.

Here you have flags for PGI (warenausgang and warenausgang_storno).

Kind regards

Robert

sri6666
Active Participant
0 Kudos
269

Written Logic Based on User commend and Scrren numbers and working fire.