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

Vendor Idoc

Former Member
0 Likes
1,229

Hi all,

I am creating a vendor outbound Idoc which works perfectly when creating/changing a vendor using XK01/XK02, the Idoc is created in vendor user exit EXIT_SAPMF02K_001.

Our business also creates vendors via an inbound idoc which then needs to trigger the outbound Idoc, this part is not working.  It is creating the vendor but does not trigger the outbound Idoc, I have tried putting in a break point but does not stop.

Many thanks in advance for you help.

Morris

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,090

But how do you create the outbound IDoc, using change pointers? I'd guess that it should work all the same no matter how the vendor master is created/changed. But maybe there is an issue with the change pointer creation when inbound IDoc is posted? In this case trying to debug outbound process won't be helpful IMHO.

5 REPLIES 5
Read only

Former Member
0 Likes
1,090

How have you set the breakpoint? You have to use external breakpoints and set the username to the user who creates the idoc. (See debugger settings.)

Read only

0 Likes
1,090

Thank you for you very quick response.

I set an external break point in my code, then processed the idoc in debug mode.

Is that is not correct please can you let me know how it should be done.

Read only

0 Likes
1,090

That should be correct. If your idoc is processed by a background user, you have to change the username in debugger settings. Are there any shortdumps? And have you checked BD87 / SM58?

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,091

But how do you create the outbound IDoc, using change pointers? I'd guess that it should work all the same no matter how the vendor master is created/changed. But maybe there is an issue with the change pointer creation when inbound IDoc is posted? In this case trying to debug outbound process won't be helpful IMHO.

Read only

0 Likes
1,090

Thanks Jelena,

I was not using change pointer but have made the change to use them and it works perfectly.

thanks you