Skip to Content
avatar image
Former Member

Attachments to Material Master

Hi Guys,

I have the ff scenario:

1. I have a wed dynpro.

2. I can create X number of materials using the data I entered in the web dynpro.

3. In each of the materials that I'm about to create, there can be an X number of attachments.

4. I store the attachments in an internal table.

It needs to be stored in an internal table first because the web dynpro needs to pass through reviewers and approvers before I can actually create the material. The reviewers and approvers can check the attachment and delete and reupload it if needed.

5. I'm creating the material using 'BAPI_MATERIAL_SAVEDATA'.


How can I attach my attachments to the materials created?

My attachments is in the database table.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    May 23, 2014 at 04:11 AM

    Hi Navi,

    You can attach the documents to the material by using GOS.

    Please refer the below document.

    Attach files to GOS with Save, Retrieve, Delete functionality in SAP Web Dynpro ABAP - Part 1

    In the above document, you just need to focus on the logic, which attaches the file to GOS and rest may not be applicable to you.



    Add comment
    10|10000 characters needed characters exceeded