‎2004 Oct 13 3:10 PM
How can I get the technical documents of a determinate material?
‎2004 Oct 14 4:13 PM
Yes, I need to know what is the relaction between a material(mara-matnr) and the Unique Identificer (PHIO) of the document
‎2004 Oct 14 10:40 AM
Do you mean documents (Transaction CV01N, CV02N, CV03N) connected to a material master (transaction MM01/MM02/MM03)?
‎2004 Oct 14 4:13 PM
Yes, I need to know what is the relaction between a material(mara-matnr) and the Unique Identificer (PHIO) of the document
‎2004 Oct 14 4:50 PM
You find relation between material master and document master in table DRAD.
Example:
select * from DRAD
where dokob = 'MARA'
and 'OBJKY' = matnr.
Use BAPI BAPI_DOCUMENT_GETDETAIL2 to get details of the document master. Table DOCUMENTFILES contains all files connected to the document master. Fields APPLICATION_ID and FILE_ID of table DOCUMENTFILES contain LOIO and PHIO.