Symptom
Changed Purchase Order after Output Channel was changed to XML (from E-Mail or printer or Fax) are being maintained as "PurchaseOrderRequest" in XML payload rather than "PurchaseOrderChangeRequest".
Environment
SAP Business ByDesign
Reproducing the Issue
1. initially the Output Channel for Supplier is email in supplier master under collaboration tab> communication tab.
2. Then Create new PO and order then make change by adding new line by using Copy button and click on send update button , you will see both create output form and change output form in output history tab of PO also both XML can be seen that they have correct header details respectively.
3.change Output Channel for the Supplier to XML in supplier master under collaboration tab> communication tab.
4.Now make a change in same PO by adding new line by using Copy button and send update and you see that it does not create change Purchase order in the XML header rather it is showing as Create purchase request.
5.Again make a change in same PO that you created by adding another new line by using Copy button and send update and you see that it does create change Purchase order in the XML header as expected.
( to check the XML go to application user management work center> webservice monitoring, click on refresh button then choose date and time same as out put submission date and time and click on view button and choose payload)
Cause
In this case when the Output channel selection is changed from other mediums like Email, Fax, Printer to XML then this is a limitation because during the XML processing there is a message communication to Supplier which is triggered.
Now since there are no entries in Process agent Framework View of Business Documents system assumes this as a first instance and hence the create action code is set. When this is set, then while generating the XML , there is create XML which is triggered instead of an update.
Resolution
So we don't advise the customers to make such change.
Thus we don't expect in general this change and its something done very rare and only first time when you make such change for that supplier this issue happens, so no work around as such as of now.
Keywords
KBA , changed purchase order not appearing , created purchase order form is chosen , AP-POP-PO , Purchase Order , Problem