cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cannot trigger BAdi BBP_PO_SEND_XML to send PO to supplier via XI

former_member186444
Participant
0 Likes
727

We want to send an SRM PO to a supplier via XI. I assumed that this is performed via transaction 'BBP_PO_ACTION_DEF', using the 'BBP_PO_SEND_XML' BAdi. However, I have not been able to prove that this is the case as I cannot get it to hit my breakpoint in debug when creating a PO. As the customizing is currently set to 'Process using selecton report', I ran program 'RSPPFPROCESS', thinking that this would trigger the BAdi (the 'Output Medium' for the supplier is set to 'XML/XI'). It did not, however. The reason for this being that there is no entry for the newly created PO in table PPFTTRIGG. So, I guess I'm either running the wrong report or there is a problem stopping the PO getting into this table.

Can anyone help with ths please ?

thanks,

Malcolm.

View Entire Topic
Former Member
0 Likes

One potential reason that your breakpoint wasn't effective is that the PO output (automatic when ordered) is through an asynchronous process, e.g. with background task. What you could try is to "repeat output" for the same PO and see if the breakpoint hits. If you are in SRM 7 environment, the button to repeat output is under "header" tab >> "output" link.

former_member186444
Participant
0 Likes

thanks for the suggestion Jay. For some reason, when I try to do that, there are no outputs available to try and perform the 'repeat output'. I can see that it is set to 'XML' but that seems to be as far as it has got so far. Being fairly new to SRM, I have no idea why that would be the case.

Former Member
0 Likes

If your PO in "ordered" status?