on 2011 Jun 13 11:50 AM
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.