Skip to Content
2
Jun 01, 2020 at 07:23 PM

Work Order Object Type for BAPI_CREATE_DOCUMENT

451 Views

We are trying to find the Object Type that we need to use to attach a document to SAP PM Work Order through BAPI_DOCUMENT_CREATE

We are having a hard time attaching the PDF to the work order. We can attach the PDF file to a notification using Object Type PMQMEL under the Object Links in the BAPI, but can’t find which Object Type is used for the work order. Here is a list of Object Types that I have tried but receive the following errors when executing:

  • PMAFKO
  • AFKO
  • PMAFIH
  • AFIH
  • PMAFVC
  • AFVC
  • PMAUFK
  • AUFK
  • PMSDO
  • SDO