Skip to Content
avatar image
Former Member

Replicate ME52N create attachment and attachment list in Web dynpro

Dear Experts,

Please can someone provide sample code and 'How to' steps to replicate ME52N create attachment and attachment list in Web dynpro?

I've looked at FILEUPLOAD and FILEDOWNLOAD in Web dynpro and this seems suitable for only 1 file attachment.

Many thanks, Jas.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 29, 2010 at 10:09 PM

    Hi ,

    If your are having a UI like ME52N and you want an attachment feature in each row, I have below suggestions:

    Suggestion 1: If you use ALV

    Add a column in list of type Xstring or which ever suits your document specificatio

    Add a Button on the ALV for attachment,

    On click of the button you can Popup a browse window and user can select the file.

    The content of the file can be stored as Xstring for that Line item.

    Suggestion 2: IF you use Table UI element

    Add an attreibute to context node of type Xstring

    In the Table set, you can set FIleUpload as the editor for this column.

    I hope it helps.

    Regards,

    Sumit

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sumit,

      Can you please help me with similar topic like one above, I'm trying to display all attachments for one purchase order, can you please provide function module, so I can get list of this data.

      Thank you

      Roman