SAP Knowledge Base Article - Public

2221148 - The Button View Data XML is Grayed Out in the Output History of Purchase Order Document


You have created a purchase order where the output channel is XML and sent the purchase order to the supplier. However when you go to output history tab, the button View Data XML is grayed out and you can see the output data. (B2B Purchase Orders)


 How to view the XML output in PDF form or preview format


SAP Business ByDesign

Reproducing the Issue

  1. Go to the Purchase Requests and Orders work center
  2. Go to the Purchase Orders view
  3. Select the relevant Purchase Order
  4. Select View All and navigate to Output History tab
  5. The View Data XML button is grayed out


When the output channel is XML, the data is sent via a B2B message and the form message type is not filled. Meaning the XML message used for printing/E-Mail are not identical. They are based on the same purchase order data but each output channel uses a different subset of this data. You cannot print the data send via the B2B XML. The view data xml option will be available for other output channels where the form message type is filled.

Note: Technically you could remove the watermark from the purchase order form template, but this would remove it for all scenarios not just the B2B case. Then the preview (and re-submit) would not display any watermark.


This is the expected behavior of SAP Business ByDesign. You can use the Preview option to generate the created PO form (Test Copy) before ordering the Purchase order.

Since Purchase order is already ordered thus when you click on preview it will shows what is possible now for this PO that is changed PO and cancelled PO, if you haven't made any changes  to the PO then you can use the preview.

also if the send by in out put history tab is email or printer then you can see output PDF, but in your case its XML thus you cannot see PDF,so

Work around is to copy this PO and then click on preview to see the created PO PDF.


preview not visible, output pdf , KBA , AP-POP , Purchase Order Processing , How To


SAP Business ByDesign all versions