Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FM creating new attachment, for using in a created document via FM

Hi everybody,

I'm creating contract via FM, now I'd like to add attachments, I have been doing test and is working with attachments already created in the system.

I am filling out the parameter E_ATTACH with structure type BBPT_PDS_ATT_T.

Does anybody know a function module that allow me previously insert my attachment. In that way I suppose I will know de LOIO_OBJID and PHIO_OBJID. (I am using LOIO_CLASS = BBP_L_DOC and PHIO_CLASS= BBP_P_CLASS)

I have tested with SDOK_WS_UPLOAD, but I don't get any OBJID

thanks

Best Regards

Not what you were looking for? View more on this topic or Ask a question