2009 May 27 6:41 AM
Hi,
I want to add a document to a material (transaction mm01 --> additional data --> Document data) via BAPI.
I am using the BAPI BAPI_MATERIAL_CREATE2 to create the material, but I can not find the import parameter to pass the document.
Does another BAPI exist, or where can I find the relation between the material and the document?
Please provide me with some information about this.
Many thanks for your help,
Christoph
2009 May 27 7:01 AM
Check out for Business object DRAW, a number of methods are available to create a document and link it with the material.
Thanks and regards,
Hadiman
Hi,
I want to add a document to a material (transaction mm01 --> additional data --> Document data) via BAPI.
I am using the BAPI BAPI_MATERIAL_CREATE2 to create the material, but I can not find the import parameter to pass the document.
Does another BAPI exist, or where can I find the relation between the material and the document?
Please provide me with some information about this.
Many thanks for your help,
Christoph
2009 May 27 7:01 AM
Check out for Business object DRAW, a number of methods are available to create a document and link it with the material.
Thanks and regards,
Hadiman
2009 May 27 2:57 PM
Hi Hadiman,
many thanks for your answer. I got checked it out and at the end I am going to use the
BAPI bapi_document_saveobjectlinks. This should be fine to fullfill my requirements.
Best regards,
Christoph
2023 Jan 07 6:16 PM
After using BAPI bapi_document_saveobjectlinks.
you have to use
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
it works well