Skip to Content

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

Add Attachments into Oitm object

Hi

how can I add attachments into Oitm object?

Thanks

Former Member
replied

Hi Feliciello,

Follow this step :

1. Start Transaction.

2. Create Attachment object and upon success, get the AttachementEntry from oCompany.GetNewObjectKey()

3. Create Activity.

   Before you Add the Activity into database, set the oAct.AttachmentEntry = The Attachment Entry you get from point 2 above.

4. Commit the transaction.


Regards

Edy

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