Application Development and Automation 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: 
Read only

BADI in background issue

Former Member
0 Likes
1,787

Hello experts,

I am using BADI 'LE_SHP_DELIVERY_PROC' to modify some information while creating a delivery. We are working with VL10I transaction for creating deliveries. When we try to create a delivery using 'Dialog' button in VL10I, this BADI is kicking in and doing what it is supposed to do. Where as when we try delivery creation with 'Background' button in VL10I, I am not hitting any break points in my BADI and we are unable to see the changes from BADI on the delivery created. We suspect the BADI is not kicking in at all in background process. Is this something usual? How to get around this issue? Please let me know. THanks.

Hello experts,

I am using BADI 'LE_SHP_DELIVERY_PROC' to modify some information while creating a delivery. We are working with VL10I transaction for creating deliveries. When we try to create a delivery using 'Dialog' button in VL10I, this BADI is kicking in and doing what it is supposed to do. Where as when we try delivery creation with 'Background' button in VL10I, I am not hitting any break points in my BADI and we are unable to see the changes from BADI on the delivery created. We suspect the BADI is not kicking in at all in background process. Is this something usual? How to get around this issue? Please let me know. THanks.

6 REPLIES 6
Read only

Former Member
0 Likes
1,371

HI,

Can't you use VL10C for automatic background job?

Read only

brad_bohn
Active Contributor
0 Likes
1,371

No, that doesn't sound normal. The BADI methods should trigger regardless of delivery create method unless you've implemented one of the dialog-dependent methods. Which one is it? Have you debugged through the RV_DELIVERY_CREATE function call?

Read only

Former Member
0 Likes
1,371

Solved myself

Read only

0 Likes
1,371

Solved myself

That's great, but it's not the way this forum (and others) works. You need to post the resolution so that others who come across this thread at least get some clue as to what to look for or what not to look for. If you expect to 'get', then you should 'give back' as well. I'm not asking for points; I couldn't care less about them...

Read only

0 Likes
1,371

I do completely agrre with Mr. Brad Bohn!

Even if the post is quite old I wanted to share the solution I found (as as I often fin solution in this forum!

Cheers!

Read only

0 Likes
1,371

I have similar issue, that BADI(BADI_HU_SAVE) is not invoked in background when VL10A is executed. Please let me know if you have any ideas/suggestions.

Krishna