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

IDoc automatic triggering using User Exit or BADI

Former Member
0 Likes
2,423

Hi,

I want to trigger IDoc immediately and automatic from user exit or BADI when save of MM01/MM02 ( Example )

I know change pointers using RBDMIDOC and BD10. But this will not work for automatic triggering.

For my requirement, This automatic IDoc triggering should work for MATMAS and BOMMAT IDocs. Please help.

Thanks,

Vinay.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,331

Try like this.

After calling the function module MASTER_IDOC_DISTRIBUTE, Use CALL TRANSACTION BD21 in SE38.

Sri.

Edited by: srikanthn on Apr 12, 2010 5:44 PM

3 REPLIES 3
Read only

Former Member
0 Likes
1,331

Hi,

Create an update function module which in turn call the function module "MASTER_IDOC_DISTRIBUTE"(Function module to create IDOC). Call the first function module in Update task during the execution of Material Master User exit.

Regards

Vinod

Read only

Former Member
0 Likes
1,332

Try like this.

After calling the function module MASTER_IDOC_DISTRIBUTE, Use CALL TRANSACTION BD21 in SE38.

Sri.

Edited by: srikanthn on Apr 12, 2010 5:44 PM

Read only

Former Member
0 Likes
1,331

Check the partner profiles: Output Mode should be snt to "TRANSFER IDOCS IMMEDIATELY*